From 18868cbaba7b47820be644a3983f1160a0b6dc23 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Wed, 13 Apr 2022 08:33:14 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/System/IO.lean | 3 + stage0/src/Lean/Data/FuzzyMatching.lean | 4 - stage0/src/Lean/Elab/App.lean | 40 +- stage0/src/Lean/Elab/Inductive.lean | 64 +- stage0/src/Lean/Elab/Match.lean | 32 +- stage0/src/Lean/Elab/Tactic/Config.lean | 2 +- stage0/src/Lean/Elab/Term.lean | 43 +- stage0/src/Lean/Meta/AppBuilder.lean | 53 +- stage0/src/Lean/Meta/ExprDefEq.lean | 13 +- stage0/src/Lean/Meta/Tactic/Simp/Main.lean | 41 +- stage0/src/Lean/Meta/Tactic/Unfold.lean | 2 +- stage0/src/Lean/Meta/WHNF.lean | 16 +- stage0/src/Lean/Server/Watchdog.lean | 5 +- stage0/src/Lean/Structure.lean | 7 + stage0/src/runtime/io.cpp | 11 +- stage0/stdlib/Init/System/IO.c | 752 +- stage0/stdlib/Lean/Data/FuzzyMatching.c | 119 +- stage0/stdlib/Lean/Elab/App.c | 7554 +++++++++++--------- stage0/stdlib/Lean/Elab/Inductive.c | 3652 +++++----- stage0/stdlib/Lean/Elab/Match.c | 3836 +++------- stage0/stdlib/Lean/Elab/Tactic/Config.c | 2988 ++++---- stage0/stdlib/Lean/Elab/Tactic/Rewrite.c | 1677 ++++- stage0/stdlib/Lean/Elab/Tactic/Simp.c | 3300 ++++++++- stage0/stdlib/Lean/Elab/Term.c | 2683 ++++--- stage0/stdlib/Lean/Meta/AppBuilder.c | 6 +- stage0/stdlib/Lean/Meta/ExprDefEq.c | 2128 +++--- stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c | 2786 +++++--- stage0/stdlib/Lean/Meta/Tactic/Unfold.c | 173 +- stage0/stdlib/Lean/Meta/WHNF.c | 981 +-- stage0/stdlib/Lean/Server/Watchdog.c | 249 +- stage0/stdlib/Lean/Structure.c | 493 +- 31 files changed, 20055 insertions(+), 13658 deletions(-) diff --git a/stage0/src/Init/System/IO.lean b/stage0/src/Init/System/IO.lean index e2a31985e3..939a9a61a3 100644 --- a/stage0/src/Init/System/IO.lean +++ b/stage0/src/Init/System/IO.lean @@ -165,6 +165,9 @@ def lazyPure (fn : Unit → α) : IO α := /-- Monotonically increasing time since an unspecified past point in milliseconds. No relation to wall clock time. -/ @[extern "lean_io_mono_ms_now"] constant monoMsNow : BaseIO Nat +/-- Monotonically increasing time since an unspecified past point in nanoseconds. No relation to wall clock time. -/ +@[extern "lean_io_mono_nanos_now"] constant monoNanosNow : BaseIO Nat + /-- Read bytes from a system entropy source. Not guaranteed to be cryptographically secure. If `nBytes = 0`, return immediately with an empty buffer. -/ @[extern "lean_io_get_random_bytes"] constant getRandomBytes (nBytes : USize) : IO ByteArray diff --git a/stage0/src/Lean/Data/FuzzyMatching.lean b/stage0/src/Lean/Data/FuzzyMatching.lean index 09c6d39f03..8915f0f881 100644 --- a/stage0/src/Lean/Data/FuzzyMatching.lean +++ b/stage0/src/Lean/Data/FuzzyMatching.lean @@ -182,10 +182,6 @@ private def fuzzyMatchCore (pattern word : String) (patternRoles wordRoles : Arr /- Match starts in the middle of a segment. -/ if wordRole matches CharRole.tail && !consecutive then score := score - 3 - /- Beginning of a segment in the pattern is not aligned with the - beginning of a segment in the word. -/ - if patternRole matches CharRole.head && wordRole matches CharRole.tail then - score := score - 1 return score diff --git a/stage0/src/Lean/Elab/App.lean b/stage0/src/Lean/Elab/App.lean index d7b427c4cb..d329135f5d 100644 --- a/stage0/src/Lean/Elab/App.lean +++ b/stage0/src/Lean/Elab/App.lean @@ -827,6 +827,33 @@ where | field::fields, true => LVal.fieldName field field.getId.toString (toName (field::fields)) fIdent :: toLVals fields false | field::fields, false => LVal.fieldName field field.getId.toString none fIdent :: toLVals fields false +/-- Resolve `(.$id:ident)` using the expected type to infer namespace. -/ +private partial def resolveDotName (id : Syntax) (expectedType? : Option Expr) : TermElabM Name := do + tryPostponeIfNoneOrMVar expectedType? + let some expectedType := expectedType? + | throwError "invalid dotted identifier notation, expected type must be known" + forallTelescopeReducing expectedType fun _ resultType => do + go resultType expectedType #[] +where + go (resultType : Expr) (expectedType : Expr) (previousExceptions : Array Exception) : TermElabM Name := do + let resultTypeFn := (← instantiateMVars resultType).consumeMData.getAppFn + try + tryPostponeIfMVar resultTypeFn + let .const declName .. := resultTypeFn.consumeMData + | throwError "invalid dotted identifier notation, expected type is not of the form (... → C ...) where C is a constant{indentExpr expectedType}" + let idNew := declName ++ id.getId.eraseMacroScopes + unless (← getEnv).contains idNew do + throwError "invalid dotted identifier notation, unknown identifier `{idNew}` from expected type{indentExpr expectedType}" + return idNew + catch + | ex@(.error _ _) => + match (← unfoldDefinition? resultType) with + | some resultType => go (← whnfCore resultType) expectedType (previousExceptions.push ex) + | none => + previousExceptions.forM fun ex => logException ex + throw ex + | ex@(.internal _ _) => throw ex + private partial def elabAppFn (f : Syntax) (lvals : List LVal) (namedArgs : Array NamedArg) (args : Array Arg) (expectedType? : Option Expr) (explicit ellipsis overloaded : Bool) (acc : Array (TermElabResult Expr)) : TermElabM (Array (TermElabResult Expr)) := do if f.getKind == choiceKind then @@ -862,18 +889,7 @@ private partial def elabAppFn (f : Syntax) (lvals : List LVal) (namedArgs : Arra | `(@$t) => throwUnsupportedSyntax -- invalid occurrence of `@` | `(_) => throwError "placeholders '_' cannot be used where a function is expected" | `(.$id:ident) => - tryPostponeIfNoneOrMVar expectedType? - let some expectedType := expectedType? - | throwError "invalid dotted identifier notation, expected type must be known" - forallTelescopeReducing expectedType fun _ resultType => do - let resultTypeFn := (← instantiateMVars resultType).consumeMData.getAppFn - tryPostponeIfMVar resultTypeFn - let .const declName .. := resultTypeFn.consumeMData - | throwError "invalid dotted identifier notation, expected type is not of the form (... → C ...) where C is a constant{indentExpr expectedType}" - let idNew := declName ++ id.getId.eraseMacroScopes - unless (← getEnv).contains idNew do - throwError "invalid dotted identifier notation, unknown identifier `{idNew}` from expected type{indentExpr expectedType}" - let fConst ← mkConst idNew + let fConst ← mkConst (← resolveDotName id expectedType?) let fConst ← addTermInfo f fConst let s ← observing do let e ← elabAppLVals fConst lvals namedArgs args expectedType? explicit ellipsis diff --git a/stage0/src/Lean/Elab/Inductive.lean b/stage0/src/Lean/Elab/Inductive.lean index af6cd068e9..a4b9252dd2 100644 --- a/stage0/src/Lean/Elab/Inductive.lean +++ b/stage0/src/Lean/Elab/Inductive.lean @@ -269,6 +269,16 @@ private def reorderCtorArgs (ctorType : Expr) : MetaM Expr := do let binderNames := getArrowBinderNames (← instantiateMVars (← inferType C)) return replaceArrowBinderNames r binderNames[:bsPrefix.size] +/-- + Execute `k` with updated binder information for `xs`. Any `x` that is explicit becomes implicit. +-/ +private def withExplicitToImplicit (xs : Array Expr) (k : TermElabM α) : TermElabM α := do + let mut toImplicit := #[] + for x in xs do + if (← getFVarLocalDecl x).binderInfo.isExplicit then + toImplicit := toImplicit.push (x.fvarId!, BinderInfo.implicit) + withNewBinderInfos toImplicit k + /- Elaborate constructor types. @@ -314,7 +324,7 @@ private def elabCtors (indFVars : Array Expr) (indFVar : Expr) (params : Array E let type ← mkForallFVars (extraCtorParams ++ ctorParams) type let type ← reorderCtorArgs type let type ← mkForallFVars params type - trace[Elab.inductive] "{ctorView.declName} : {type} " + trace[Elab.inductive] "{ctorView.declName} : {type}" return { name := ctorView.declName, type } where checkParamOccs (ctorType : Expr) : MetaM Expr := @@ -522,7 +532,7 @@ private def updateParams (vars : Array Expr) (indTypes : List InductiveType) : T indTypes.mapM fun indType => do let type ← mkForallFVars vars indType.type let ctors ← indType.ctors.mapM fun ctor => do - let ctorType ← mkForallFVars vars ctor.type + let ctorType ← withExplicitToImplicit vars (mkForallFVars vars ctor.type) return { ctor with type := ctorType } return { indType with type := type, ctors := ctors } @@ -561,24 +571,6 @@ private def replaceIndFVarsWithConsts (views : Array InductiveView) (indFVars : return { ctor with type := type } return { indType with ctors := ctors } -abbrev Ctor2InferMod := Std.HashMap Name Bool - -private def mkCtor2InferMod (views : Array InductiveView) : Ctor2InferMod := Id.run do - let mut m := {} - for view in views do - for ctorView in view.ctors do - m := m.insert ctorView.declName ctorView.inferMod - return m - -private def applyInferMod (views : Array InductiveView) (numParams : Nat) (indTypes : List InductiveType) : List InductiveType := - let ctor2InferMod := mkCtor2InferMod views - indTypes.map fun indType => - let ctors := indType.ctors.map fun ctor => - let inferMod := ctor2InferMod.find! ctor.name -- true if `{}` was used - let ctorType := ctor.type.inferImplicit numParams !inferMod - { ctor with type := ctorType } - { indType with ctors := ctors } - private def mkAuxConstructions (views : Array InductiveView) : TermElabM Unit := do let env ← getEnv let hasEq := env.contains ``Eq @@ -640,16 +632,26 @@ private def isDomainDefEq (arrowType : Expr) (type : Expr) : MetaM Bool := do if !arrowType.isForall then return false else - withNewMCtxDepth do -- Make sure we do not assign univers metavariables - isDefEq arrowType.bindingDomain! type + /- + We used to use `withNewMCtxDepth` to make sure we do not assign universe metavariables, + but it was not satisfactory. For example, in declarations such as + ``` + inductive Eq : α → α → Prop where + | refl (a : α) : Eq a a + ``` + We want the first two indices to be promoted to parameters, and this will only + happen if we can assign universe metavariables. + -/ + isDefEq arrowType.bindingDomain! type /-- Convert fixed indices to parameters. -/ -private partial def fixedIndicesToParams (numParams : Nat) (indTypes : Array InductiveType) (indFVars : Array Expr) : MetaM (Nat × List InductiveType) := do +private partial def fixedIndicesToParams (numParams : Nat) (indTypes : Array InductiveType) (indFVars : Array Expr) : MetaM Nat := do let masks ← indTypes.mapM (computeFixedIndexBitMask numParams · indFVars) if masks.all fun mask => !mask.contains true then - return (numParams, indTypes.toList) + return numParams + trace[Elab.inductive] "masks: {masks}" -- We process just a non-fixed prefix of the indices for now. Reason: we don't want to change the order. -- TODO: extend it in the future. For example, it should be reasonable to change -- the order of indices generated by the auto implicit feature. @@ -658,7 +660,7 @@ private partial def fixedIndicesToParams (numParams : Nat) (indTypes : Array Ind let otherTypes ← indTypes[1:].toArray.mapM fun indType => do whnfD (← instantiateForall indType.type params) let ctorTypes ← indTypes.toList.mapM fun indType => indType.ctors.mapM fun ctor => do whnfD (← instantiateForall ctor.type params) let typesToCheck := otherTypes.toList ++ ctorTypes.join - let rec go (i : Nat) (typesToCheck : List Expr) : MetaM Nat := do + let rec go (i : Nat) (type : Expr) (typesToCheck : List Expr) : MetaM Nat := do if i < mask.size then if !masks.all fun mask => i < mask.size && mask[i] then return i @@ -666,13 +668,14 @@ private partial def fixedIndicesToParams (numParams : Nat) (indTypes : Array Ind return i let paramType := type.bindingDomain! if !(← typesToCheck.allM fun type => isDomainDefEq type paramType) then + trace[Elab.inductive] "domain not def eq: {i}, {type} =?= {paramType}" return i withLocalDeclD `a paramType fun paramNew => do let typesToCheck ← typesToCheck.mapM fun type => whnfD (type.bindingBody!.instantiate1 paramNew) - go (i+1) typesToCheck + go (i+1) (type.bindingBody!.instantiate1 paramNew) typesToCheck else return i - return (← go numParams typesToCheck, indTypes.toList) + go numParams type typesToCheck private def mkInductiveDecl (vars : Array Expr) (views : Array InductiveView) : TermElabM Unit := do let view0 := views[0] @@ -689,10 +692,12 @@ private def mkInductiveDecl (vars : Array Expr) (views : Array InductiveView) : Term.addLocalVarInfo views[i].declId indFVar let r := rs[i] let type ← mkForallFVars params r.type - let ctors ← elabCtors indFVars indFVar params r + let ctors ← withExplicitToImplicit params (elabCtors indFVars indFVar params r) indTypesArray := indTypesArray.push { name := r.view.declName, type := type, ctors := ctors : InductiveType } Term.synthesizeSyntheticMVarsNoPostponing - let (numExplicitParams, indTypes) ← fixedIndicesToParams params.size indTypesArray indFVars + let numExplicitParams ← fixedIndicesToParams params.size indTypesArray indFVars + trace[Elab.inductive] "numExplicitParams: {numExplicitParams}" + let indTypes := indTypesArray.toList let u ← getResultingUniverse indTypes let univToInfer? ← shouldInferResultUniverse u withUsed vars indTypes fun vars => do @@ -710,7 +715,6 @@ private def mkInductiveDecl (vars : Array Expr) (views : Array InductiveView) : | Except.error msg => throwError msg | Except.ok levelParams => do let indTypes ← replaceIndFVarsWithConsts views indFVars levelParams numVars numParams indTypes - let indTypes := applyInferMod views numParams indTypes let decl := Declaration.inductDecl levelParams numParams indTypes isUnsafe Term.ensureNoUnassignedMVars decl addDecl decl diff --git a/stage0/src/Lean/Elab/Match.lean b/stage0/src/Lean/Elab/Match.lean index 3f169351d4..c802fac250 100644 --- a/stage0/src/Lean/Elab/Match.lean +++ b/stage0/src/Lean/Elab/Match.lean @@ -605,16 +605,30 @@ where /-- Save pattern information in the info tree, and remove `patternWithRef?` annotations. -/ -def savePatternInfo (p : Expr) : TermElabM Expr := - withReader (fun ctx => { ctx with inPattern := false }) do - let post (e : Expr) : TermElabM TransformStep := do - if let some (stx, e) := patternWithRef? e then - -- TODO: track whether we are inside of an inaccessible, and set `isBinder` - addTermInfo' stx e - return .done e +partial def savePatternInfo (p : Expr) : TermElabM Expr := + go p |>.run false +where + /- The `Bool` context is true iff we are inside of an "inaccessible" pattern. -/ + go (p : Expr) : ReaderT Bool TermElabM Expr := do + match p with + | .forallE n d b bi => withLocalDecl n b.binderInfo (← go d) fun x => do mkForallFVars #[x] (← go (b.instantiate1 x)) + | .lam n d b bi => withLocalDecl n b.binderInfo (← go d) fun x => do mkLambdaFVars #[x] (← go (b.instantiate1 x)) + | .letE n t v b .. => withLetDecl n (← go t) (← go v) fun x => do mkLetFVars #[x] (← go (b.instantiate1 x)) + | .app f a _ => return mkApp (← go f) (← go a) + | .proj _ _ b _ => return p.updateProj! (← go b) + | .mdata k b _ => + if inaccessible? p |>.isSome then + return mkMData k (← withReader (fun _ => false) (go b)) + else if let some (stx, p) := patternWithRef? p then + let p ← go p + if p.isFVar && !(← read) then + /- If `p` is a free variable and we are not inside of an "inaccessible" pattern, this `p` is a binder. -/ + addTermInfo stx p (isBinder := true) + else + addTermInfo stx p else - return .done e - transform p (post := post) + return mkMData k (← go b) + | _ => return p /-- Main method for `withDepElimPatterns`. diff --git a/stage0/src/Lean/Elab/Tactic/Config.lean b/stage0/src/Lean/Elab/Tactic/Config.lean index 2a14f47119..af97c69b78 100644 --- a/stage0/src/Lean/Elab/Tactic/Config.lean +++ b/stage0/src/Lean/Elab/Tactic/Config.lean @@ -16,7 +16,7 @@ macro "declare_config_elab" elabName:ident type:ident : command => if optConfig.isNone then return { : $type } else - withoutModifyingState <| withLCtx {} {} <| Term.withSynthesize do + withoutModifyingState <| withLCtx {} {} <| withSaveInfoContext <| Term.withSynthesize do let c ← Term.elabTermEnsuringType optConfig[0][3] (Lean.mkConst ``$type) eval (← instantiateMVars c) ) diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index a1fb5e56ca..2af540ea84 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -305,7 +305,7 @@ def withoutModifyingElabMetaStateWithInfo (x : TermElabM α) : TermElabM α := d private def withoutModifyingStateWithInfoAndMessagesImpl (x : TermElabM α) : TermElabM α := do let saved ← saveState try - x + withSaveInfoContext x finally let s ← get let saved := { saved with elab.infoState := s.infoState, elab.messages := s.messages } @@ -1492,40 +1492,25 @@ private def mkConsts (candidates : List (Name × List String)) (explicitLevels : return (const, projs) :: result def resolveName (stx : Syntax) (n : Name) (preresolved : List (Name × List String)) (explicitLevels : List Level) (expectedType? : Option Expr := none) : TermElabM (List (Expr × List String)) := do - try - if let some (e, projs) ← resolveLocalName n then - if (← read).autoBoundImplicit then - /- We used to generate completion info nodes only for names that could not be resolved. - However, this is very unsatisfactory for when elaborating headers when `autoBoundImplicit` is turned on. - The problem is that new local declarations are introduced by `autoBoundImplicit` and we eventually can always resolve the name. - Thus, we add the completion info in this case. - TODO: revisit this design decision. Alternative design: always create a completion info node. - Note that in the current design if a constant name is a prefix of another one, we will not have a completion info node. - -/ - addCompletionInfo <| CompletionInfo.id stx stx.getId (danglingDot := false) (← getLCtx) expectedType? - unless explicitLevels.isEmpty do - throwError "invalid use of explicit universe parameters, '{e}' is a local" - return [(e, projs)] - -- check for section variable capture by a quotation - let ctx ← read - if let some (e, projs) := preresolved.findSome? fun (n, projs) => ctx.sectionFVars.find? n |>.map (·, projs) then - return [(e, projs)] -- section variables should shadow global decls - if preresolved.isEmpty then - process (← resolveGlobalName n) - else - process preresolved - catch ex => - if preresolved.isEmpty && explicitLevels.isEmpty then - addCompletionInfo <| CompletionInfo.id stx stx.getId (danglingDot := false) (← getLCtx) expectedType? - throw ex + addCompletionInfo <| CompletionInfo.id stx stx.getId (danglingDot := false) (← getLCtx) expectedType? + if let some (e, projs) ← resolveLocalName n then + unless explicitLevels.isEmpty do + throwError "invalid use of explicit universe parameters, '{e}' is a local" + return [(e, projs)] + -- check for section variable capture by a quotation + let ctx ← read + if let some (e, projs) := preresolved.findSome? fun (n, projs) => ctx.sectionFVars.find? n |>.map (·, projs) then + return [(e, projs)] -- section variables should shadow global decls + if preresolved.isEmpty then + process (← resolveGlobalName n) + else + process preresolved where process (candidates : List (Name × List String)) : TermElabM (List (Expr × List String)) := do if candidates.isEmpty then if (← read).autoBoundImplicit && isValidAutoBoundImplicitName n (relaxedAutoImplicit.get (← getOptions)) then throwAutoBoundImplicitLocal n else throwError "unknown identifier '{Lean.mkConst n}'" - if preresolved.isEmpty && explicitLevels.isEmpty then - addCompletionInfo <| CompletionInfo.id stx stx.getId (danglingDot := false) (← getLCtx) expectedType? mkConsts candidates explicitLevels /-- diff --git a/stage0/src/Lean/Meta/AppBuilder.lean b/stage0/src/Lean/Meta/AppBuilder.lean index c3a4a6ca22..1934ab030b 100644 --- a/stage0/src/Lean/Meta/AppBuilder.lean +++ b/stage0/src/Lean/Meta/AppBuilder.lean @@ -363,33 +363,32 @@ def mkPure (monad : Expr) (e : Expr) : MetaM Expr := /-- `mkProjection s fieldName` return an expression for accessing field `fieldName` of the structure `s`. Remark: `fieldName` may be a subfield of `s`. -/ -partial def mkProjection : Expr → Name → MetaM Expr - | s, fieldName => do - let type ← inferType s - let type ← whnf type - match type.getAppFn with - | Expr.const structName us _ => - let env ← getEnv - unless isStructure env structName do - throwAppBuilderException `mkProjection ("structure expected" ++ hasTypeMsg s type) - match getProjFnForField? env structName fieldName with - | some projFn => - let params := type.getAppArgs - return mkApp (mkAppN (mkConst projFn us) params) s - | none => - let fields := getStructureFields env structName - let r? ← fields.findSomeM? fun fieldName' => do - match isSubobjectField? env structName fieldName' with - | none => pure none - | some _ => - let parent ← mkProjection s fieldName' - (do let r ← mkProjection parent fieldName; return some r) - <|> - pure none - match r? with - | some r => pure r - | none => throwAppBuilderException `mkProjectionn ("invalid field name '" ++ toString fieldName ++ "' for" ++ hasTypeMsg s type) - | _ => throwAppBuilderException `mkProjectionn ("structure expected" ++ hasTypeMsg s type) +partial def mkProjection (s : Expr) (fieldName : Name) : MetaM Expr := do + let type ← inferType s + let type ← whnf type + match type.getAppFn with + | Expr.const structName us _ => + let env ← getEnv + unless isStructure env structName do + throwAppBuilderException `mkProjection ("structure expected" ++ hasTypeMsg s type) + match getProjFnForField? env structName fieldName with + | some projFn => + let params := type.getAppArgs + return mkApp (mkAppN (mkConst projFn us) params) s + | none => + let fields := getStructureFields env structName + let r? ← fields.findSomeM? fun fieldName' => do + match isSubobjectField? env structName fieldName' with + | none => pure none + | some _ => + let parent ← mkProjection s fieldName' + (do let r ← mkProjection parent fieldName; return some r) + <|> + pure none + match r? with + | some r => pure r + | none => throwAppBuilderException `mkProjectionn ("invalid field name '" ++ toString fieldName ++ "' for" ++ hasTypeMsg s type) + | _ => throwAppBuilderException `mkProjectionn ("structure expected" ++ hasTypeMsg s type) private def mkListLitAux (nil : Expr) (cons : Expr) : List Expr → Expr | [] => nil diff --git a/stage0/src/Lean/Meta/ExprDefEq.lean b/stage0/src/Lean/Meta/ExprDefEq.lean index f45a504eb1..423a2a7019 100644 --- a/stage0/src/Lean/Meta/ExprDefEq.lean +++ b/stage0/src/Lean/Meta/ExprDefEq.lean @@ -36,10 +36,10 @@ namespace Lean.Meta private def isDefEqEtaStruct (a b : Expr) : MetaM Bool := do if !(← getConfig).etaStruct then return false else - matchConstCtor b.getAppFn (fun _ => return false) fun ctorVal _ => - matchConstCtor a.getAppFn (fun _ => go ctorVal) fun _ _ => return false + matchConstCtor b.getAppFn (fun _ => return false) fun ctorVal us => + matchConstCtor a.getAppFn (fun _ => go ctorVal us) fun _ _ => return false where - go ctorVal := do + go ctorVal us := do if ctorVal.numParams + ctorVal.numFields != b.getAppNumArgs then trace[Meta.isDefEq.eta.struct] "failed, insufficient number of arguments at{indentExpr b}" return false @@ -50,9 +50,12 @@ where else if (← isDefEq (← inferType a) (← inferType b)) then checkpointDefEq do let args := b.getAppArgs + let params := args[:ctorVal.numParams].toArray + let info? := getStructureInfo? (← getEnv) ctorVal.induct for i in [ctorVal.numParams : args.size] do - let proj := mkProj ctorVal.induct (i - ctorVal.numParams) a - trace[Meta.isDefEq.eta.struct] "{a} =?= {b} @ [{i - ctorVal.numParams}], {proj} =?= {args[i]}" + let j := i - ctorVal.numParams + let proj ← mkProjFn ctorVal us params j a + trace[Meta.isDefEq.eta.struct] "{a} =?= {b} @ [{j}], {proj} =?= {args[i]}" unless (← isDefEq proj args[i]) do trace[Meta.isDefEq.eta.struct] "failed, unexpect arg #{i}, projection{indentExpr proj}\nis not defeq to{indentExpr args[i]}" return false diff --git a/stage0/src/Lean/Meta/Tactic/Simp/Main.lean b/stage0/src/Lean/Meta/Tactic/Simp/Main.lean index 4600383bb0..5c739616bd 100644 --- a/stage0/src/Lean/Meta/Tactic/Simp/Main.lean +++ b/stage0/src/Lean/Meta/Tactic/Simp/Main.lean @@ -680,9 +680,9 @@ def applySimpResultToProp (mvarId : MVarId) (proof : Expr) (prop : Expr) (r : Si else return some (proof, r.expr) -def applySimpResultToFVarId (mvarId : MVarId) (fvarId : FVarId) (r : Simp.Result) : MetaM (Option (Expr × Expr)) := do +def applySimpResultToFVarId (mvarId : MVarId) (fvarId : FVarId) (r : Simp.Result) (mayCloseGoal : Bool) : MetaM (Option (Expr × Expr)) := do let localDecl ← getLocalDecl fvarId - applySimpResultToProp mvarId (mkFVar fvarId) localDecl.type r + applySimpResultToProp mvarId (mkFVar fvarId) localDecl.type r mayCloseGoal /-- Simplify `prop` (which is inhabited by `proof`). Return `none` if the goal was closed. Return `some (proof', prop')` @@ -709,8 +709,17 @@ def applySimpResultToLocalDeclCore (mvarId : MVarId) (fvarId : FVarId) (r : Opti /-- Simplify `simp` result to the given local declaration. Return `none` if the goal was closed. This method assumes `mvarId` is not assigned, and we are already using `mvarId`s local context. -/ -def applySimpResultToLocalDecl (mvarId : MVarId) (fvarId : FVarId) (r : Simp.Result) : MetaM (Option (FVarId × MVarId)) := do - applySimpResultToLocalDeclCore mvarId fvarId (← applySimpResultToFVarId mvarId fvarId r) +def applySimpResultToLocalDecl (mvarId : MVarId) (fvarId : FVarId) (r : Simp.Result) (mayCloseGoal : Bool) : MetaM (Option (FVarId × MVarId)) := do + if r.proof?.isNone then + -- New result is definitionally equal to input. Thus, we can avoid creating a new variable if there are dependencies + let mvarId ← replaceLocalDeclDefEq mvarId fvarId r.expr + if mayCloseGoal && r.expr.isConstOf ``False then + assignExprMVar mvarId (← mkFalseElim (← getMVarType mvarId) (mkFVar fvarId)) + return none + else + return some (fvarId, mvarId) + else + applySimpResultToLocalDeclCore mvarId fvarId (← applySimpResultToFVarId mvarId fvarId r mayCloseGoal) def simpLocalDecl (mvarId : MVarId) (fvarId : FVarId) (ctx : Simp.Context) (discharge? : Option Simp.Discharge := none) (mayCloseGoal := true) : MetaM (Option (FVarId × MVarId)) := do withMVarContext mvarId do @@ -725,22 +734,34 @@ def simpGoal (mvarId : MVarId) (ctx : Simp.Context) (discharge? : Option Simp.Di withMVarContext mvarId do checkNotAssigned mvarId `simp let mut mvarId := mvarId - let mut toAssert : Array Hypothesis := #[] + let mut toAssert := #[] + let mut replaced := #[] for fvarId in fvarIdsToSimp do let localDecl ← getLocalDecl fvarId let type ← instantiateMVars localDecl.type let ctx ← match fvarIdToLemmaId.find? localDecl.fvarId with | none => pure ctx | some thmId => pure { ctx with simpTheorems := ctx.simpTheorems.eraseTheorem thmId } - match (← simpStep mvarId (mkFVar fvarId) type ctx discharge?) with - | none => return none - | some (value, type) => toAssert := toAssert.push { userName := localDecl.userName, type := type, value := value } - if simplifyTarget then + let r ← simp type ctx discharge? + match r.proof? with + | some proof => match (← applySimpResultToProp mvarId (mkFVar fvarId) type r) with + | none => return none + | some (value, type) => toAssert := toAssert.push { userName := localDecl.userName, type := type, value := value } + | none => + if r.expr.isConstOf ``False then + assignExprMVar mvarId (← mkFalseElim (← getMVarType mvarId) (mkFVar fvarId)) + return none + -- TODO: if there are no forwards dependencies we may consider using the same approach we used when `r.proof?` is a `some ...` + -- Reason: it introduces a `mkExpectedTypeHint` + mvarId ← replaceLocalDeclDefEq mvarId fvarId r.expr + replaced := replaced.push fvarId + if simplifyTarget then match (← simpTarget mvarId ctx discharge?) with | none => return none | some mvarIdNew => mvarId := mvarIdNew let (fvarIdsNew, mvarIdNew) ← assertHypotheses mvarId toAssert - let mvarIdNew ← tryClearMany mvarIdNew fvarIdsToSimp + let toClear := fvarIdsToSimp.filter fun fvarId => !replaced.contains fvarId + let mvarIdNew ← tryClearMany mvarIdNew toClear return (fvarIdsNew, mvarIdNew) def simpTargetStar (mvarId : MVarId) (ctx : Simp.Context) (discharge? : Option Simp.Discharge := none) : MetaM TacticResultCNM := withMVarContext mvarId do diff --git a/stage0/src/Lean/Meta/Tactic/Unfold.lean b/stage0/src/Lean/Meta/Tactic/Unfold.lean index 3a7b91d06f..89b1dbc569 100644 --- a/stage0/src/Lean/Meta/Tactic/Unfold.lean +++ b/stage0/src/Lean/Meta/Tactic/Unfold.lean @@ -36,7 +36,7 @@ def unfoldTarget (mvarId : MVarId) (declName : Name) : MetaM MVarId := withMVarC def unfoldLocalDecl (mvarId : MVarId) (fvarId : FVarId) (declName : Name) : MetaM MVarId := withMVarContext mvarId do let localDecl ← getLocalDecl fvarId let r ← unfold (← instantiateMVars localDecl.type) declName - let some (_, mvarId) ← applySimpResultToLocalDecl mvarId fvarId r | unreachable! + let some (_, mvarId) ← applySimpResultToLocalDecl mvarId fvarId r (mayCloseGoal := false) | unreachable! return mvarId end Lean.Meta diff --git a/stage0/src/Lean/Meta/WHNF.lean b/stage0/src/Lean/Meta/WHNF.lean index 4dad9c83c2..d404b15fce 100644 --- a/stage0/src/Lean/Meta/WHNF.lean +++ b/stage0/src/Lean/Meta/WHNF.lean @@ -115,6 +115,17 @@ private def toCtorWhenK (recVal : RecursorVal) (major : Expr) : MetaM Expr := do else return major +/-- + Create the `i`th projection `major`. It tries to use the auto-generated projection functions if available. Otherwise falls back + to `Expr.proj`. +-/ +def mkProjFn (ctorVal : ConstructorVal) (us : List Level) (params : Array Expr) (i : Nat) (major : Expr) : CoreM Expr := do + match getStructureInfo? (← getEnv) ctorVal.induct with + | none => return mkProj ctorVal.induct i major + | some info => match info.getProjFn? i with + | none => return mkProj ctorVal.induct i major + | some projFn => return mkApp (mkAppN (mkConst projFn us) params) major + /-- If `major` is not a constructor application, and its type is a structure `C ...`, then return `C.mk major.1 ... major.n` @@ -142,9 +153,10 @@ private def toCtorWhenStructure (inductName : Name) (major : Expr) : MetaM Expr else let some ctorName ← getFirstCtor d | pure major let ctorInfo ← getConstInfoCtor ctorName - let mut result := mkAppN (mkConst ctorName us) (majorType.getAppArgs.shrink ctorInfo.numParams) + let params := majorType.getAppArgs.shrink ctorInfo.numParams + let mut result := mkAppN (mkConst ctorName us) params for i in [:ctorInfo.numFields] do - result := mkApp result (mkProj inductName i major) + result := mkApp result (← mkProjFn ctorInfo us params i major) return result | _ => return major diff --git a/stage0/src/Lean/Server/Watchdog.lean b/stage0/src/Lean/Server/Watchdog.lean index 9c2cbaf518..09d2d81ecf 100644 --- a/stage0/src/Lean/Server/Watchdog.lean +++ b/stage0/src/Lean/Server/Watchdog.lean @@ -394,9 +394,11 @@ def handleReference (p : ReferenceParams) : ServerM (Array Location) := do return result def handleWorkspaceSymbol (p : WorkspaceSymbolParams) : ServerM (Array SymbolInformation) := do + if p.query.isEmpty then + return #[] let references ← (← read).references.get let srcSearchPath := (← read).srcSearchPath - let symbols ← references.definitionsMatching srcSearchPath (maxAmount? := some 100) + let symbols ← references.definitionsMatching srcSearchPath (maxAmount? := none) fun name => let name := privateToUserName? name |>.getD name if let some score := fuzzyMatchScoreWithThreshold? p.query name.toString then @@ -405,6 +407,7 @@ def handleWorkspaceSymbol (p : WorkspaceSymbolParams) : ServerM (Array SymbolInf none return symbols |>.qsort (fun ((_, s1), _) ((_, s2), _) => s1 > s2) + |>.extract 0 100 -- max amount |>.map fun ((name, score), location) => { name, kind := SymbolKind.constant, location } diff --git a/stage0/src/Lean/Structure.lean b/stage0/src/Lean/Structure.lean index b43a90b3f2..282e8c1144 100644 --- a/stage0/src/Lean/Structure.lean +++ b/stage0/src/Lean/Structure.lean @@ -30,6 +30,13 @@ structure StructureInfo where def StructureInfo.lt (i₁ i₂ : StructureInfo) : Bool := Name.quickLt i₁.structName i₂.structName +def StructureInfo.getProjFn? (info : StructureInfo) (i : Nat) : Option Name := + if h : i < info.fieldNames.size then + let fieldName := info.fieldNames.get ⟨i, h⟩ + info.fieldInfo.binSearch { fieldName := fieldName, projFn := default, subobject? := none, binderInfo := default, inferMod := false } StructureFieldInfo.lt |>.map (·.projFn) + else + none + /-- Auxiliary state for structures defined in the current module. -/ private structure StructureState where map : Std.PersistentHashMap Name StructureInfo := {} diff --git a/stage0/src/runtime/io.cpp b/stage0/src/runtime/io.cpp index 44f31489c5..39038c9b4d 100644 --- a/stage0/src/runtime/io.cpp +++ b/stage0/src/runtime/io.cpp @@ -360,9 +360,18 @@ extern "C" LEAN_EXPORT obj_res lean_io_prim_handle_put_str(b_obj_arg h, b_obj_ar /* monoMsNow : BaseIO Nat */ extern "C" LEAN_EXPORT obj_res lean_io_mono_ms_now(obj_arg /* w */) { + static_assert(sizeof(std::chrono::milliseconds::rep) <= sizeof(uint64)); auto now = std::chrono::steady_clock::now(); auto tm = std::chrono::duration_cast(now.time_since_epoch()); - return io_result_mk_ok(usize_to_nat(tm.count())); + return io_result_mk_ok(uint64_to_nat(tm.count())); +} + +/* monoNanosNow : BaseIO Nat */ +extern "C" LEAN_EXPORT obj_res lean_io_mono_nanos_now(obj_arg /* w */) { + static_assert(sizeof(std::chrono::nanoseconds::rep) <= sizeof(uint64)); + auto now = std::chrono::steady_clock::now(); + auto tm = std::chrono::duration_cast(now.time_since_epoch()); + return io_result_mk_ok(uint64_to_nat(tm.count())); } /* getRandomBytes (nBytes : USize) : IO ByteArray */ diff --git a/stage0/stdlib/Init/System/IO.c b/stage0/stdlib/Init/System/IO.c index ced08196ab..c8487b2121 100644 --- a/stage0/stdlib/Init/System/IO.c +++ b/stage0/stdlib/Init/System/IO.c @@ -21,14 +21,14 @@ LEAN_EXPORT lean_object* l_IO_cancel___boxed(lean_object*, lean_object*, lean_ob LEAN_EXPORT lean_object* l_IO_FS_Stream_Buffer_pos___default; LEAN_EXPORT lean_object* l_IO_FS_FileType_noConfusion(lean_object*); static lean_object* l_IO_FS_instReprMetadata___closed__1; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__23; size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_IO_FS_instInhabitedStream___lambda__3___boxed(lean_object*, lean_object*); lean_object* lean_get_stdout(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Mode_noConfusion___rarg___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_removeFile___boxed(lean_object*, lean_object*); lean_object* lean_io_get_num_heartbeats(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122_(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__23; LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_removeDir___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_allocprof___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -51,49 +51,49 @@ LEAN_EXPORT lean_object* l_Lean_runEval(lean_object*); uint8_t lean_uint8_dec_eq(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_wait_any(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__12; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_io_error_to_string(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__12; LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer___elambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_println(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__6; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__6; LEAN_EXPORT lean_object* l_IO_hasFinished___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_ofHandle___elambda__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; LEAN_EXPORT lean_object* l_IO_FS_Handle_read___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_withFile___rarg(lean_object*, uint8_t, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2230_(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2234_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instMonadFinallyEIO(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__14; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__5; LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer___elambda__2(lean_object*, lean_object*); lean_object* lean_io_cancel(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instEval___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2159_(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2163_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_Process_Stdio_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__5; LEAN_EXPORT lean_object* l_IO_FS_realPath___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_waitAny___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FileRight_user___default___closed__1; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__31; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__14; LEAN_EXPORT lean_object* l_Lean_instEval___rarg(lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_IO_toEIO(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_Process_Stdio_noConfusion___rarg(uint8_t, uint8_t, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__18; LEAN_EXPORT lean_object* l_IO_setStdin___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Handle_mk___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Handle_putStrLn___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__13; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__18; LEAN_EXPORT lean_object* l_Lean_instEvalIO___rarg(lean_object*, lean_object*, uint8_t, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__1; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__13; static lean_object* l_Lean_instEvalUnit___rarg___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__15; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__1; LEAN_EXPORT lean_object* l_EIO_toBaseIO(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__15; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__17; LEAN_EXPORT lean_object* l_unsafeIO___rarg(lean_object*); LEAN_EXPORT lean_object* l_EIO_toIO_x27(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__17; uint32_t lean_uint32_shift_left(uint32_t, uint32_t); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* lean_io_prim_handle_write(lean_object*, lean_object*, lean_object*); @@ -105,6 +105,7 @@ static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21__ LEAN_EXPORT lean_object* l_Lean_instEvalUnit(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_instInhabitedSystemTime; LEAN_EXPORT lean_object* l_Lean_instEvalUnit___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_monoNanosNow___boxed(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__14; LEAN_EXPORT lean_object* l_instMonadLiftBaseIOEIO(lean_object*, lean_object*); @@ -123,7 +124,8 @@ extern lean_object* l_Lean_interpolatedStrKind; LEAN_EXPORT lean_object* l_IO_Process_SpawnArgs_args___default; static uint32_t l_IO_AccessRight_flags___closed__6; LEAN_EXPORT lean_object* l_IO_setStderr___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__5; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__21; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__5; LEAN_EXPORT lean_object* lean_io_eprint(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_Process_Stdio_toCtorIdx(uint8_t); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__39; @@ -135,7 +137,6 @@ LEAN_EXPORT lean_object* l_instMonadLiftBaseIOEIO___rarg(lean_object*, lean_obje LEAN_EXPORT lean_object* l_IO_FS_Handle_putStr___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_EIO_mapTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_getRandomBytes___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__21; lean_object* lean_string_utf8_byte_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_instEval(lean_object*); lean_object* lean_io_process_spawn(lean_object*, lean_object*); @@ -148,12 +149,12 @@ LEAN_EXPORT lean_object* l_System_FilePath_walkDir_go(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Lean_instEval__1(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_IO_setAccessRights(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__13; LEAN_EXPORT lean_object* l_EIO_mapTask(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instEvalUnit___rarg___closed__2; lean_object* lean_get_set_stdout(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_System_FilePath_walkDir_go___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStdin(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__13; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__35; LEAN_EXPORT lean_object* l_IO_mapTask(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_createDirAll___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -163,22 +164,21 @@ LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer___lambda__1(lean_object*, lean_ LEAN_EXPORT lean_object* l_IO_FS_Stream_ofHandle___elambda__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Handle_readToEnd_loop___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__12; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__7; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__24; LEAN_EXPORT lean_object* l_IO_FS_Stream_ofHandle___elambda__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__19; lean_object* lean_get_set_stderr(lean_object*, lean_object*); static lean_object* l_termPrintln_x21_______closed__14; LEAN_EXPORT lean_object* l_IO_FS_Handle_getLine___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__19; static lean_object* l_IO_FS_instInhabitedSystemTime___closed__1; LEAN_EXPORT lean_object* l_IO_withStderr___at_Lean_runEval___spec__2(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__12; LEAN_EXPORT lean_object* l_IO_bindTask(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_instReprMetadata; static lean_object* l_termPrintln_x21_______closed__5; LEAN_EXPORT lean_object* l_IO_eprint___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__2; static uint32_t l_IO_AccessRight_flags___closed__8; lean_object* l_Int_repr(lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__12; @@ -187,32 +187,34 @@ static lean_object* l_termPrintln_x21_______closed__3; LEAN_EXPORT lean_object* l_IO_lazyPure___rarg(lean_object*, lean_object*); static lean_object* l_termPrintln_x21_______closed__15; static lean_object* l_IO_FS_withIsolatedStreams___rarg___closed__2; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__16; LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_asTask(lean_object*); LEAN_EXPORT lean_object* l_IO_AccessRight_flags___boxed(lean_object*); static lean_object* l_IO_FS_instInhabitedStream___closed__2; +lean_object* lean_io_mono_nanos_now(lean_object*); static lean_object* l_IO_FS_instInhabitedStream___closed__1; LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_EIO_mapTasks(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer___elambda__2___boxed(lean_object*, lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__16; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__16; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__2; extern lean_object* l_ByteArray_empty; -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361_(lean_object*, lean_object*); static lean_object* l_IO_appDir___closed__1; LEAN_EXPORT lean_object* l_IO_appDir(lean_object*); LEAN_EXPORT lean_object* lean_io_eprintln(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_EIO_toIO___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__9; static uint32_t l_IO_AccessRight_flags___closed__1; static uint32_t l_IO_AccessRight_flags___closed__9; LEAN_EXPORT lean_object* l_IO_FS_Handle_readBinToEnd(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_sleep___lambda__1(lean_object*, lean_object*); static uint32_t l_IO_AccessRight_flags___closed__2; LEAN_EXPORT lean_object* l_IO_FS_readBinFile___boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__9; LEAN_EXPORT lean_object* l_IO_Process_SpawnArgs_env___default; LEAN_EXPORT lean_object* l_IO_FS_instLTSystemTime; -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942_(uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946_(uint8_t, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_mapTasks___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Task_Priority_dedicated; @@ -221,7 +223,7 @@ LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer___lambda__1___boxed(lean_object LEAN_EXPORT lean_object* l_MonadExcept_orElse___at_instOrElseEIO___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_createDirAll___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* lean_io_read_dir(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__24; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__10; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__10; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__32; static lean_object* l_IO_FS_instInhabitedStream___closed__3; @@ -230,7 +232,7 @@ static uint32_t l_IO_AccessRight_flags___closed__4; static lean_object* l_IO_FS_instInhabitedSystemTime___closed__2; LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_io_realpath(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__10; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__24; LEAN_EXPORT lean_object* l_IO_Process_Stdio_toCtorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_System_FilePath_walkDir(lean_object*, lean_object*, lean_object*); lean_object* l_ByteArray_extract(lean_object*, lean_object*, lean_object*); @@ -239,11 +241,10 @@ LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lean_runEval___spec__1 LEAN_EXPORT lean_object* l_instMonadExceptOfEIO(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_removeDirAll___boxed(lean_object*, lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__43; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__6; LEAN_EXPORT lean_object* l_IO_Process_run___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_termPrintln_x21_______closed__7; LEAN_EXPORT lean_object* l_IO_FS_Stream_putStrLn(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__26; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__26; lean_object* lean_io_wait(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_print___at_IO_println___spec__1(lean_object*, lean_object*); uint8_t lean_uint32_dec_lt(uint32_t, uint32_t); @@ -257,11 +258,13 @@ lean_object* lean_io_as_task(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instMonadFinallyBaseIO; static lean_object* l_termPrintln_x21_______closed__16; lean_object* lean_dbg_sleep(uint32_t, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__3; lean_object* lean_io_remove_dir(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_FileType_noConfusion___rarg(uint8_t, uint8_t, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__3; LEAN_EXPORT lean_object* l_IO_mapTasks(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__6; LEAN_EXPORT lean_object* l_IO_eprintln___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__11; lean_object* lean_io_remove_file(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Mode_noConfusion___rarg(uint8_t, uint8_t, lean_object*); lean_object* l_Nat_repr(lean_object*); @@ -272,15 +275,13 @@ LEAN_EXPORT lean_object* l_IO_withStdin___rarg___lambda__2___boxed(lean_object*) LEAN_EXPORT lean_object* l_IO_Process_Stdio_noConfusion(lean_object*); static lean_object* l_IO_FS_instBEqSystemTime___closed__1; uint32_t l_String_back(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__11; LEAN_EXPORT lean_object* l_EIO_bindTask(lean_object*, lean_object*, lean_object*); lean_object* lean_io_allocprof(lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__10; LEAN_EXPORT lean_object* l_IO_withStdout___at_Lean_runEval___spec__3(lean_object*, lean_object*, lean_object*); lean_object* lean_io_prim_handle_get_line(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_getNumHeartbeats___boxed(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__20; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__20; LEAN_EXPORT lean_object* l_IO_eprint(lean_object*); LEAN_EXPORT lean_object* l_IO_appPath___boxed(lean_object*); LEAN_EXPORT lean_object* l_EIO_toIO_x27___rarg(lean_object*, lean_object*); @@ -288,24 +289,24 @@ lean_object* lean_format_pretty(lean_object*, lean_object*); lean_object* lean_io_prim_handle_mk(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_EIO_mapTasks___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__10; -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2159____boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__10; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__9; lean_object* l_EStateM_instMonadFinallyEStateM(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_ofHandle___elambda__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2230____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_asTask___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_initializing___boxed(lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__20; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__8; LEAN_EXPORT lean_object* l_IO_FS_Mode_toCtorIdx___boxed(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__9; static lean_object* l_Array_forInUnsafe_loop___at_System_FilePath_walkDir_go___spec__1___closed__1; LEAN_EXPORT lean_object* lean_stream_of_handle(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__4; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__4; LEAN_EXPORT lean_object* l_IO_FS_instReprSystemTime; lean_object* lean_byte_array_size(lean_object*); static lean_object* l_termPrintln_x21_______closed__10; +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2163____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Handle_mk(lean_object*, uint8_t, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_EIO_toIO(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__8; LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer___elambda__4___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_lines_read(lean_object*, lean_object*, lean_object*); static lean_object* l_instMonadExceptOfEIO___closed__2; @@ -318,7 +319,6 @@ static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___clos static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__8; LEAN_EXPORT lean_object* l_IO_Process_spawn___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_BaseIO_asTask___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__4; LEAN_EXPORT lean_object* l_IO_FS_instInhabitedStream___lambda__3(lean_object*, lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__6; LEAN_EXPORT lean_object* l_IO_withStdin___at_Lean_runEval___spec__4(lean_object*, lean_object*, lean_object*); @@ -326,13 +326,14 @@ LEAN_EXPORT lean_object* l_BaseIO_mapTasks(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_ofHandle___elambda__5___boxed(lean_object*, lean_object*); uint8_t l_ByteArray_isEmpty(lean_object*); static lean_object* l_instMonadExceptOfEIO___closed__1; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__4; static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__9; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__29; -LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2083_(uint8_t, uint8_t); +LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2087_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_IO_FS_instInhabitedStream___lambda__1(lean_object*); lean_object* lean_io_prim_handle_is_eof(lean_object*, lean_object*); static lean_object* l_IO_Process_run___closed__2; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__7; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__7; LEAN_EXPORT lean_object* l_IO_FS_Stream_Buffer_data___default; static lean_object* l_IO_FS_instReprDirEntry___closed__1; lean_object* lean_io_exit(uint8_t, lean_object*); @@ -341,6 +342,7 @@ LEAN_EXPORT lean_object* l_instInhabitedEIO(lean_object*, lean_object*); static uint32_t l_IO_AccessRight_flags___closed__11; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__25; LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2234____boxed(lean_object*, lean_object*); lean_object* lean_io_prim_handle_read(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_instMonadBaseIO; lean_object* lean_io_has_finished(lean_object*, lean_object*); @@ -349,12 +351,12 @@ LEAN_EXPORT lean_object* l_EIO_catchExceptions(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Mode_noConfusion(lean_object*); LEAN_EXPORT lean_object* l_IO_setAccessRights___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_runEval___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__1; LEAN_EXPORT lean_object* l_IO_FS_instBEqSystemTime; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__3; size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_BaseIO_mapTask___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2083____boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__3; LEAN_EXPORT lean_object* l_IO_FS_instInhabitedStream___lambda__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_BaseIO_mapTasks___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -364,22 +366,22 @@ lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_Process_run(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_IO_AccessRight_write___default; LEAN_EXPORT lean_object* l_IO_FS_DirEntry_path(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__5; LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer___elambda__6(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_instInhabitedStream; static lean_object* l_termPrintln_x21_______closed__13; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__11; LEAN_EXPORT lean_object* l_IO_ofExcept___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__25; LEAN_EXPORT lean_object* l_BaseIO_toIO___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2087____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_EIO_bindTask___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__5; LEAN_EXPORT uint8_t l_IO_Process_StdioConfig_stdout___default; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__25; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__33; LEAN_EXPORT lean_object* l_IO_FS_readFile___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__1; -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____boxed(lean_object*, lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__22; static lean_object* l_IO_FS_withIsolatedStreams___rarg___closed__1; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__11; LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer___elambda__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_ofExcept(lean_object*, lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__18; @@ -390,7 +392,6 @@ LEAN_EXPORT lean_object* l_IO_FS_Stream_ofHandle___elambda__4(lean_object*, size LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer___elambda__4(lean_object*, size_t, lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__30; lean_object* lean_io_current_dir(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__16; LEAN_EXPORT lean_object* l_IO_FS_writeBinFile(lean_object*, lean_object*, lean_object*); lean_object* lean_io_prim_handle_put_str(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_Prim_setAccessRights___boxed(lean_object*, lean_object*, lean_object*); @@ -402,6 +403,7 @@ static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21__ static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__28; LEAN_EXPORT lean_object* l_Lean_instEvalIO___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_sleep___boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__16; LEAN_EXPORT lean_object* l_IO_FS_Stream_ofHandle___elambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_unsafeEIO___rarg(lean_object*); LEAN_EXPORT lean_object* l_System_FilePath_walkDir_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -431,12 +433,12 @@ LEAN_EXPORT lean_object* l_unsafeBaseIO(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_ofBuffer___elambda__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_unsafeBaseIO___rarg(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_FileType_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__22; LEAN_EXPORT lean_object* l_IO_FS_Handle_write___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_IO_FS_removeDirAll___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_instInhabitedStream___lambda__2(size_t, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_ofHandle___elambda__3(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_instInhabitedStream___lambda__1___closed__2; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__22; lean_object* l_EStateM_instMonadExceptOfEStateM___rarg(lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__42; uint8_t lean_int_dec_lt(lean_object*, lean_object*); @@ -449,9 +451,9 @@ LEAN_EXPORT lean_object* l_IO_Process_Child_takeStdin___boxed(lean_object*, lean static lean_object* l_instMonadFinallyEIO___closed__1; LEAN_EXPORT lean_object* l_IO_FileRight_other___default; LEAN_EXPORT lean_object* l_IO_FS_FileType_toCtorIdx(uint8_t); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__6; LEAN_EXPORT lean_object* l_IO_FS_createDir___boxed(lean_object*, lean_object*); LEAN_EXPORT uint32_t l_IO_AccessRight_flags(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__6; LEAN_EXPORT lean_object* l_unsafeIO(lean_object*); LEAN_EXPORT lean_object* l_System_FilePath_metadata___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -459,14 +461,14 @@ static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21__ LEAN_EXPORT lean_object* l_IO_iterate___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_getEnv___boxed(lean_object*, lean_object*); static lean_object* l_IO_FS_instOrdSystemTime___closed__1; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__17; LEAN_EXPORT lean_object* l_System_FilePath_isDir(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStdin___rarg___lambda__1(lean_object*, lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__9; LEAN_EXPORT lean_object* l_IO_checkCanceled___boxed(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__2; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__4; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__27; LEAN_EXPORT lean_object* l_IO_FS_Mode_noConfusion___rarg___lambda__1___boxed(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__17; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__40; LEAN_EXPORT lean_object* l_IO_FS_instLESystemTime; LEAN_EXPORT lean_object* l_IO_FileRight_group___default; @@ -476,48 +478,49 @@ LEAN_EXPORT lean_object* l_IO_FS_Handle_putStrLn(lean_object*, lean_object*, lea uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_createDirAll___lambda__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_termPrintln_x21_______closed__11; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__2; lean_object* lean_byte_array_copy_slice(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_IO_FS_instInhabitedStream___lambda__1___closed__3; LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_BaseIO_mapTasks_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__3; LEAN_EXPORT lean_object* l_IO_println___at_Lean_instEval__1___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instInhabitedEIO___rarg(lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__17; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__8; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__6; lean_object* l_EStateM_instInhabitedEStateM___rarg(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__10; static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__6; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__6; LEAN_EXPORT lean_object* l_instOrElseEIO(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__8; LEAN_EXPORT lean_object* l_IO_eprint___at_IO_eprintln___spec__1(lean_object*, lean_object*); lean_object* lean_io_get_random_bytes(size_t, lean_object*); LEAN_EXPORT lean_object* l_unsafeEIO(lean_object*, lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__4; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__4; LEAN_EXPORT lean_object* l_EIO_asTask(lean_object*, lean_object*); lean_object* lean_uint64_to_nat(uint64_t); static uint32_t l_IO_AccessRight_flags___closed__10; LEAN_EXPORT lean_object* l_System_FilePath_walkDir_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__8; static lean_object* l_IO_appDir___closed__2; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__10; lean_object* l_ByteArray_append(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__2; +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__1; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__2; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__4; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__7; static uint32_t l_IO_FS_instInhabitedStream___lambda__1___closed__1; static lean_object* l_instMonadEIO___closed__1; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__1; uint32_t lean_uint32_lor(uint32_t, uint32_t); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__4; lean_object* lean_io_app_path(lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__1; lean_object* lean_io_initializing(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_ofHandle___elambda__6___boxed(lean_object*, lean_object*); lean_object* lean_io_metadata(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Handle_readToEnd___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStderr(lean_object*, lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__41; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__7; LEAN_EXPORT lean_object* l_IO_FS_readFile(lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_orElse___at_instOrElseEIO___spec__1(lean_object*, lean_object*); @@ -528,20 +531,20 @@ LEAN_EXPORT uint8_t l_IO_Process_StdioConfig_stderr___default; uint8_t lean_byte_array_get(lean_object*, lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__2; LEAN_EXPORT lean_object* l_IO_FS_Handle_readBinToEnd_loop(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__8; lean_object* lean_get_stderr(lean_object*); LEAN_EXPORT lean_object* l_IO_println___at_Lean_instEval___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_BaseIO_toIO(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Handle_isEof___boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__8; LEAN_EXPORT uint8_t l_IO_Process_StdioConfig_stdin___default; lean_object* l_System_FilePath_parent(lean_object*); LEAN_EXPORT lean_object* l_BaseIO_mapTasks_go(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__3; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__3; LEAN_EXPORT lean_object* l_IO_withStdout(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_timeit___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_instMonadLiftSTRealWorldBaseIO___rarg(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__9; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__9; lean_object* lean_io_prim_handle_flush(lean_object*, lean_object*); static uint32_t l_IO_AccessRight_flags___closed__12; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_IO_FS_removeDirAll___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -549,19 +552,19 @@ LEAN_EXPORT lean_object* l_IO_currentDir___boxed(lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__13; LEAN_EXPORT lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_EIO_mapTask___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____boxed(lean_object*, lean_object*); lean_object* lean_get_stdin(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____boxed(lean_object*, lean_object*); static lean_object* l_IO_FS_lines___closed__1; LEAN_EXPORT lean_object* l_IO_FS_Stream_ofHandle___elambda__6(lean_object*, lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__21; static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__38; LEAN_EXPORT lean_object* l_IO_FS_Handle_readToEnd_loop(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_Process_run___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__1; LEAN_EXPORT lean_object* l_IO_iterate(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_instMonadLiftSTRealWorldBaseIO(lean_object*); LEAN_EXPORT lean_object* l_IO_getStderr___boxed(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_withFile___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__1; LEAN_EXPORT lean_object* l_Lean_instEval__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_IO_withStdin___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_lines___boxed(lean_object*, lean_object*); @@ -588,23 +591,23 @@ static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21__ LEAN_EXPORT lean_object* l_Lean_instEvalIO(lean_object*); lean_object* lean_io_map_task(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_task_pure(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__15; LEAN_EXPORT lean_object* l_IO_withStdout___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_BaseIO_toEIO(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__18; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__14; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__18; lean_object* lean_uint32_to_nat(uint32_t); static uint32_t l_IO_AccessRight_flags___closed__5; LEAN_EXPORT lean_object* l_IO_withStdout___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__15; static lean_object* l_IO_FS_Stream_ofBuffer___closed__1; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__14; LEAN_EXPORT lean_object* l_IO_withStdin___rarg___lambda__2(lean_object*); lean_object* lean_nat_to_int(lean_object*); static lean_object* l___aux__Init__System__IO______macroRules__termPrintln_x21______1___closed__34; LEAN_EXPORT lean_object* l_IO_FS_instReprDirEntry; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__2; static lean_object* l_termPrintln_x21_______closed__8; lean_object* lean_task_get_own(lean_object*); static uint32_t l_IO_AccessRight_flags___closed__7; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__2; LEAN_EXPORT uint32_t l_IO_FileRight_flags(lean_object*); LEAN_EXPORT lean_object* l_IO_Process_Child_wait___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_get_set_stdin(lean_object*, lean_object*); @@ -614,16 +617,15 @@ static lean_object* l_termPrintln_x21_______closed__1; LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ByteArray_findIdx_x3f_loop___at_IO_FS_Stream_ofBuffer___elambda__2___spec__1(lean_object*, lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__1; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__3; static uint32_t l_IO_AccessRight_flags___closed__3; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__7; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__5; LEAN_EXPORT lean_object* l_IO_FS_withFile(lean_object*); LEAN_EXPORT lean_object* l_IO_Process_output(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__7; lean_object* lean_io_create_dir(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_setStdout___boxed(lean_object*, lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__2; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__5; LEAN_EXPORT uint8_t l_IO_AccessRight_read___default; lean_object* l_Repr_addAppParen(lean_object*, lean_object*); static lean_object* _init_l_instMonadEIO___closed__1() { @@ -1656,6 +1658,14 @@ x_2 = lean_io_mono_ms_now(x_1); return x_2; } } +LEAN_EXPORT lean_object* l_IO_monoNanosNow___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_io_mono_nanos_now(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_IO_getRandomBytes___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -3335,7 +3345,7 @@ x_7 = lean_apply_2(x_4, x_6, x_3); return x_7; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__1() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__1() { _start: { lean_object* x_1; @@ -3343,29 +3353,29 @@ x_1 = lean_mk_string("root"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__2() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__1; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__3() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__2; +x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__2; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__4() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__4() { _start: { lean_object* x_1; @@ -3373,29 +3383,29 @@ x_1 = lean_mk_string(" := "); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__5() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__4; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__6() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__5; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__5; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__7() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__7() { _start: { lean_object* x_1; @@ -3403,17 +3413,17 @@ x_1 = lean_mk_string("FilePath.mk "); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__8() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__7; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__9() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__9() { _start: { lean_object* x_1; @@ -3421,17 +3431,17 @@ x_1 = lean_mk_string(","); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__10() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__9; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__11() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__11() { _start: { lean_object* x_1; @@ -3439,17 +3449,17 @@ x_1 = lean_mk_string("fileName"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__12() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__11; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__11; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__13() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__13() { _start: { lean_object* x_1; @@ -3457,35 +3467,35 @@ x_1 = lean_mk_string("{ "); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__14() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__13; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__13; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__15() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__14; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__14; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__16() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__13; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__13; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__17() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__17() { _start: { lean_object* x_1; @@ -3493,17 +3503,17 @@ x_1 = lean_mk_string(" }"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__18() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__17; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__17; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; @@ -3511,17 +3521,17 @@ x_3 = lean_ctor_get(x_1, 0); x_4 = l_String_quote(x_3); x_5 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__8; +x_6 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__8; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); x_8 = lean_unsigned_to_nat(0u); x_9 = l_Repr_addAppParen(x_7, x_8); -x_10 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__6; +x_10 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__6; x_11 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__10; +x_12 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__10; x_13 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -3529,11 +3539,11 @@ x_14 = lean_box(1); x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__12; +x_16 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__12; x_17 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__5; +x_18 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__5; x_19 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -3544,15 +3554,15 @@ lean_ctor_set(x_22, 0, x_21); x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_19); lean_ctor_set(x_23, 1, x_22); -x_24 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__16; +x_24 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__16; x_25 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); -x_26 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__18; +x_26 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__18; x_27 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); -x_28 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__15; +x_28 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__15; x_29 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); @@ -3563,11 +3573,11 @@ lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_30); return x_31; } } -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887_(x_1, x_2); +x_3 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -3577,7 +3587,7 @@ static lean_object* _init_l_IO_FS_instReprDirEntry___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____boxed), 2, 0); return x_1; } } @@ -3671,7 +3681,7 @@ x_6 = l_IO_FS_FileType_noConfusion___rarg(x_4, x_5, x_3); return x_6; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__1() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__1() { _start: { lean_object* x_1; @@ -3679,17 +3689,17 @@ x_1 = lean_mk_string("IO.FS.FileType.dir"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__2() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__1; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__3() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -3698,23 +3708,23 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__4() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__2; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__5() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__5() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__4; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__4; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3722,7 +3732,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__6() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -3731,23 +3741,23 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__7() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__6; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__2; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__6; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__8() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__8() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__7; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__7; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3755,7 +3765,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__9() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__9() { _start: { lean_object* x_1; @@ -3763,33 +3773,33 @@ x_1 = lean_mk_string("IO.FS.FileType.file"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__10() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__9; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__11() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__10; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__10; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__12() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__12() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__11; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3797,23 +3807,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__13() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__6; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__10; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__6; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__10; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__14() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__14() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__13; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__13; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3821,7 +3831,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__15() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__15() { _start: { lean_object* x_1; @@ -3829,33 +3839,33 @@ x_1 = lean_mk_string("IO.FS.FileType.symlink"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__16() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__15; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__15; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__17() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__16; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__16; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__18() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__18() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__17; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3863,23 +3873,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__19() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__6; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__16; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__6; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__16; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__20() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__20() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__19; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__19; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3887,7 +3897,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__21() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__21() { _start: { lean_object* x_1; @@ -3895,33 +3905,33 @@ x_1 = lean_mk_string("IO.FS.FileType.other"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__22() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__21; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__21; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__23() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__22; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__22; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__24() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__24() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__23; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__23; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3929,23 +3939,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__25() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__6; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__22; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__6; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__22; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__26() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__26() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__25; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__25; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3953,7 +3963,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942_(uint8_t x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946_(uint8_t x_1, lean_object* x_2) { _start: { switch (x_1) { @@ -3965,14 +3975,14 @@ x_4 = lean_nat_dec_le(x_3, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__5; +x_5 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__5; x_6 = l_Repr_addAppParen(x_5, x_2); return x_6; } else { lean_object* x_7; lean_object* x_8; -x_7 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__8; +x_7 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__8; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -3985,14 +3995,14 @@ x_10 = lean_nat_dec_le(x_9, x_2); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; -x_11 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__12; +x_11 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__12; x_12 = l_Repr_addAppParen(x_11, x_2); return x_12; } else { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__14; +x_13 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__14; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -4005,14 +4015,14 @@ x_16 = lean_nat_dec_le(x_15, x_2); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; -x_17 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__18; +x_17 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__18; x_18 = l_Repr_addAppParen(x_17, x_2); return x_18; } else { lean_object* x_19; lean_object* x_20; -x_19 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__20; +x_19 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__20; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -4025,14 +4035,14 @@ x_22 = lean_nat_dec_le(x_21, x_2); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; -x_23 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__24; +x_23 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__24; x_24 = l_Repr_addAppParen(x_23, x_2); return x_24; } else { lean_object* x_25; lean_object* x_26; -x_25 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__26; +x_25 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__26; x_26 = l_Repr_addAppParen(x_25, x_2); return x_26; } @@ -4040,13 +4050,13 @@ return x_26; } } } -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; x_3 = lean_unbox(x_1); lean_dec(x_1); -x_4 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942_(x_3, x_2); +x_4 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946_(x_3, x_2); lean_dec(x_2); return x_4; } @@ -4055,7 +4065,7 @@ static lean_object* _init_l_IO_FS_instReprFileType___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____boxed), 2, 0); return x_1; } } @@ -4067,7 +4077,7 @@ x_1 = l_IO_FS_instReprFileType___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2083_(uint8_t x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2087_(uint8_t x_1, uint8_t x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -4079,7 +4089,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2083____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2087____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -4087,7 +4097,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2083_(x_3, x_4); +x_5 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2087_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -4096,7 +4106,7 @@ static lean_object* _init_l_IO_FS_instBEqFileType___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2083____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2087____boxed), 2, 0); return x_1; } } @@ -4108,7 +4118,7 @@ x_1 = l_IO_FS_instBEqFileType___closed__1; return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__1() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__1() { _start: { lean_object* x_1; @@ -4116,41 +4126,41 @@ x_1 = lean_mk_string("sec"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__2() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__1; +x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__3() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__2; +x_2 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__2; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__4() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__5; +x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__5; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__5() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__5() { _start: { lean_object* x_1; @@ -4158,17 +4168,17 @@ x_1 = lean_mk_string("nsec"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__6() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__5; +x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__5; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint32_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; @@ -4176,11 +4186,11 @@ x_3 = lean_ctor_get(x_1, 0); x_4 = l_Int_repr(x_3); x_5 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__4; +x_6 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__4; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); -x_8 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__10; +x_8 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__10; x_9 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); @@ -4188,11 +4198,11 @@ x_10 = lean_box(1); x_11 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__6; +x_12 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__6; x_13 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); -x_14 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__5; +x_14 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__5; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -4204,15 +4214,15 @@ lean_ctor_set(x_19, 0, x_18); x_20 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_20, 0, x_15); lean_ctor_set(x_20, 1, x_19); -x_21 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__16; +x_21 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__16; x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__18; +x_23 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__18; x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); -x_25 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__15; +x_25 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__15; x_26 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); @@ -4223,11 +4233,11 @@ lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_27); return x_28; } } -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118_(x_1, x_2); +x_3 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -4237,7 +4247,7 @@ static lean_object* _init_l_IO_FS_instReprSystemTime___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____boxed), 2, 0); return x_1; } } @@ -4249,7 +4259,7 @@ x_1 = l_IO_FS_instReprSystemTime___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2159_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2163_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint32_t x_4; lean_object* x_5; uint32_t x_6; uint8_t x_7; @@ -4272,11 +4282,11 @@ return x_9; } } } -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2159____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2163____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2159_(x_1, x_2); +x_3 = l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2163_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -4287,7 +4297,7 @@ static lean_object* _init_l_IO_FS_instBEqSystemTime___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2159____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_2163____boxed), 2, 0); return x_1; } } @@ -4299,7 +4309,7 @@ x_1 = l_IO_FS_instBEqSystemTime___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2230_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2234_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint32_t x_4; lean_object* x_5; uint32_t x_6; uint8_t x_7; @@ -4355,11 +4365,11 @@ return x_15; } } } -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2230____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2234____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2230_(x_1, x_2); +x_3 = l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2234_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -4370,7 +4380,7 @@ static lean_object* _init_l_IO_FS_instOrdSystemTime___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2230____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_2234____boxed), 2, 0); return x_1; } } @@ -4427,7 +4437,7 @@ x_1 = lean_box(0); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__1() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__1() { _start: { lean_object* x_1; @@ -4435,41 +4445,41 @@ x_1 = lean_mk_string("accessed"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__2() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__1; +x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__3() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__2; +x_2 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__2; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__4() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__5; +x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__5; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__5() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__5() { _start: { lean_object* x_1; @@ -4477,17 +4487,17 @@ x_1 = lean_mk_string("modified"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__6() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__5; +x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__5; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__7() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__7() { _start: { lean_object* x_1; @@ -4495,17 +4505,17 @@ x_1 = lean_mk_string("byteSize"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__8() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__7; +x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__9() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__9() { _start: { lean_object* x_1; @@ -4513,28 +4523,28 @@ x_1 = lean_mk_string("type"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__10() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__9; +x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint64_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; x_3 = lean_ctor_get(x_1, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118_(x_3, x_4); -x_6 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__4; +x_5 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122_(x_3, x_4); +x_6 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__4; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); -x_8 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__10; +x_8 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__10; x_9 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); @@ -4542,16 +4552,16 @@ x_10 = lean_box(1); x_11 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__6; +x_12 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__6; x_13 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); -x_14 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__5; +x_14 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__5; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); x_16 = lean_ctor_get(x_1, 1); -x_17 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118_(x_16, x_4); +x_17 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122_(x_16, x_4); x_18 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_17); @@ -4561,7 +4571,7 @@ lean_ctor_set(x_19, 1, x_8); x_20 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_10); -x_21 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__8; +x_21 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__8; x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -4582,7 +4592,7 @@ lean_ctor_set(x_29, 1, x_8); x_30 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_10); -x_31 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__10; +x_31 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__10; x_32 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -4590,19 +4600,19 @@ x_33 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_14); x_34 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 8); -x_35 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942_(x_34, x_4); +x_35 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946_(x_34, x_4); x_36 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_36, 0, x_33); lean_ctor_set(x_36, 1, x_35); -x_37 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__16; +x_37 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__16; x_38 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); -x_39 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__18; +x_39 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__18; x_40 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); -x_41 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__15; +x_41 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__15; x_42 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); @@ -4613,11 +4623,11 @@ lean_ctor_set_uint8(x_44, sizeof(void*)*1, x_43); return x_44; } } -LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357_(x_1, x_2); +x_3 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -4627,7 +4637,7 @@ static lean_object* _init_l_IO_FS_instReprMetadata___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____boxed), 2, 0); return x_1; } } @@ -4673,7 +4683,7 @@ x_5 = lean_ctor_get(x_3, 0); x_6 = lean_ctor_get_uint8(x_5, sizeof(void*)*2 + 8); lean_dec(x_5); x_7 = 0; -x_8 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2083_(x_6, x_7); +x_8 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2087_(x_6, x_7); x_9 = lean_box(x_8); lean_ctor_set(x_3, 0, x_9); return x_3; @@ -4689,7 +4699,7 @@ lean_dec(x_3); x_12 = lean_ctor_get_uint8(x_10, sizeof(void*)*2 + 8); lean_dec(x_10); x_13 = 0; -x_14 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2083_(x_12, x_13); +x_14 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_2087_(x_12, x_13); x_15 = lean_box(x_14); x_16 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_16, 0, x_15); @@ -10604,98 +10614,98 @@ l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__14 = _init_l___p lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__14); l_IO_FS_lines___closed__1 = _init_l_IO_FS_lines___closed__1(); lean_mark_persistent(l_IO_FS_lines___closed__1); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__1(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__1); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__2(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__2); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__3(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__3); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__4(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__4); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__5(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__5); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__6(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__6); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__7(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__7); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__8(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__8); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__9(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__9); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__10(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__10); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__11 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__11(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__11); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__12 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__12(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__12); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__13 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__13(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__13); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__14 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__14(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__14); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__15 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__15(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__15); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__16 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__16(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__16); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__17 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__17(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__17); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__18 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__18(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1887____closed__18); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__1(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__1); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__2(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__2); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__3(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__3); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__4(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__4); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__5(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__5); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__6(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__6); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__7(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__7); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__8(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__8); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__9(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__9); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__10(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__10); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__11 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__11(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__11); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__12 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__12(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__12); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__13 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__13(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__13); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__14 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__14(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__14); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__15 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__15(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__15); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__16 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__16(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__16); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__17 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__17(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__17); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__18 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__18(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1891____closed__18); l_IO_FS_instReprDirEntry___closed__1 = _init_l_IO_FS_instReprDirEntry___closed__1(); lean_mark_persistent(l_IO_FS_instReprDirEntry___closed__1); l_IO_FS_instReprDirEntry = _init_l_IO_FS_instReprDirEntry(); lean_mark_persistent(l_IO_FS_instReprDirEntry); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__1(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__1); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__2(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__2); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__3(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__3); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__4(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__4); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__5(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__5); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__6(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__6); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__7(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__7); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__8(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__8); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__9(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__9); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__10(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__10); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__11 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__11(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__11); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__12 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__12(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__12); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__13 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__13(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__13); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__14 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__14(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__14); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__15 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__15(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__15); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__16 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__16(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__16); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__17 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__17(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__17); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__18 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__18(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__18); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__19 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__19(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__19); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__20 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__20(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__20); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__21 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__21(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__21); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__22 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__22(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__22); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__23 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__23(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__23); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__24 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__24(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__24); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__25 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__25(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__25); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__26 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__26(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1942____closed__26); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__1(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__1); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__2(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__2); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__3(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__3); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__4(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__4); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__5(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__5); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__6(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__6); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__7(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__7); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__8(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__8); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__9(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__9); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__10(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__10); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__11 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__11(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__11); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__12 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__12(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__12); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__13 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__13(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__13); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__14 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__14(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__14); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__15 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__15(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__15); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__16 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__16(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__16); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__17 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__17(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__17); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__18 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__18(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__18); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__19 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__19(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__19); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__20 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__20(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__20); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__21 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__21(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__21); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__22 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__22(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__22); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__23 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__23(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__23); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__24 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__24(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__24); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__25 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__25(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__25); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__26 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__26(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1946____closed__26); l_IO_FS_instReprFileType___closed__1 = _init_l_IO_FS_instReprFileType___closed__1(); lean_mark_persistent(l_IO_FS_instReprFileType___closed__1); l_IO_FS_instReprFileType = _init_l_IO_FS_instReprFileType(); @@ -10704,18 +10714,18 @@ l_IO_FS_instBEqFileType___closed__1 = _init_l_IO_FS_instBEqFileType___closed__1( lean_mark_persistent(l_IO_FS_instBEqFileType___closed__1); l_IO_FS_instBEqFileType = _init_l_IO_FS_instBEqFileType(); lean_mark_persistent(l_IO_FS_instBEqFileType); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__1(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__1); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__2(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__2); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__3(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__3); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__4(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__4); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__5(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__5); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__6(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2118____closed__6); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__1(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__1); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__2(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__2); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__3(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__3); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__4(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__4); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__5(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__5); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__6(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_2122____closed__6); l_IO_FS_instReprSystemTime___closed__1 = _init_l_IO_FS_instReprSystemTime___closed__1(); lean_mark_persistent(l_IO_FS_instReprSystemTime___closed__1); l_IO_FS_instReprSystemTime = _init_l_IO_FS_instReprSystemTime(); @@ -10738,26 +10748,26 @@ l_IO_FS_instLTSystemTime = _init_l_IO_FS_instLTSystemTime(); lean_mark_persistent(l_IO_FS_instLTSystemTime); l_IO_FS_instLESystemTime = _init_l_IO_FS_instLESystemTime(); lean_mark_persistent(l_IO_FS_instLESystemTime); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__1(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__1); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__2(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__2); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__3(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__3); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__4(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__4); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__5(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__5); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__6(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__6); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__7(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__7); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__8(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__8); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__9(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__9); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__10(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2357____closed__10); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__1(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__1); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__2(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__2); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__3(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__3); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__4(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__4); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__5(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__5); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__6(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__6); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__7(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__7); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__8(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__8); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__9(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__9); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__10(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_2361____closed__10); l_IO_FS_instReprMetadata___closed__1 = _init_l_IO_FS_instReprMetadata___closed__1(); lean_mark_persistent(l_IO_FS_instReprMetadata___closed__1); l_IO_FS_instReprMetadata = _init_l_IO_FS_instReprMetadata(); diff --git a/stage0/stdlib/Lean/Data/FuzzyMatching.c b/stage0/stdlib/Lean/Data/FuzzyMatching.c index a3e6bdf2d7..fea6070f3d 100644 --- a/stage0/stdlib/Lean/Data/FuzzyMatching.c +++ b/stage0/stdlib/Lean/Data/FuzzyMatching.c @@ -14,7 +14,6 @@ extern "C" { #endif LEAN_EXPORT lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_containsInOrderLower___lambda__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_skipPenalty___lambda__1___boxed(lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_getMiss(lean_object*, lean_object*, lean_object*, lean_object*); @@ -29,7 +28,6 @@ static lean_object* l_Lean_FuzzyMatching_fuzzyMatchScore_x3f___lambda__1___close LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint8_t l_Lean_FuzzyMatching_fuzzyMatchScore_x3f___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_FuzzyMatching_CharType_toCtorIdx(uint8_t); -LEAN_EXPORT lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__4(uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_FuzzyMatching_charRole(lean_object*, uint8_t, lean_object*); static lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_iterateLookaround___rarg___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_iterateLookaround___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1799,61 +1797,23 @@ _start: lean_object* x_5; lean_object* x_6; x_5 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__2___closed__1; x_6 = lean_box(x_1); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -x_7 = lean_box(x_2); -if (lean_obj_tag(x_7) == 1) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_sub(x_3, x_8); -lean_dec(x_3); -x_10 = lean_box(0); -x_11 = lean_apply_2(x_5, x_9, x_10); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_7); -x_12 = lean_box(0); -x_13 = lean_apply_2(x_5, x_3, x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_6); -x_14 = lean_box(0); -x_15 = lean_apply_2(x_5, x_3, x_14); -return x_15; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__3(uint8_t x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_box(x_2); if (lean_obj_tag(x_6) == 1) { -if (x_3 == 0) +if (x_2 == 0) { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_7 = lean_unsigned_to_nat(3u); -x_8 = lean_nat_sub(x_4, x_7); -lean_dec(x_4); +x_8 = lean_nat_sub(x_3, x_7); +lean_dec(x_3); x_9 = lean_box(0); -x_10 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__2(x_1, x_2, x_8, x_9); +x_10 = lean_apply_2(x_5, x_8, x_9); return x_10; } else { lean_object* x_11; lean_object* x_12; x_11 = lean_box(0); -x_12 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__2(x_1, x_2, x_4, x_11); +x_12 = lean_apply_2(x_5, x_3, x_11); return x_12; } } @@ -1862,43 +1822,43 @@ else lean_object* x_13; lean_object* x_14; lean_dec(x_6); x_13 = lean_box(0); -x_14 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__2(x_1, x_2, x_4, x_13); +x_14 = lean_apply_2(x_5, x_3, x_13); return x_14; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__4(uint8_t x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__3(uint8_t x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { -if (x_4 == 0) -{ if (x_3 == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = lean_box(0); -x_8 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__3(x_1, x_2, x_3, x_5, x_7); -return x_8; +if (x_2 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_box(0); +x_7 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__2(x_1, x_2, x_4, x_6); +return x_7; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_unsigned_to_nat(2u); -x_10 = lean_nat_add(x_5, x_9); -lean_dec(x_5); -x_11 = lean_box(0); -x_12 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__3(x_1, x_2, x_3, x_10, x_11); -return x_12; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_unsigned_to_nat(2u); +x_9 = lean_nat_add(x_4, x_8); +lean_dec(x_4); +x_10 = lean_box(0); +x_11 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__2(x_1, x_2, x_9, x_10); +return x_11; } } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_unsigned_to_nat(2u); -x_14 = lean_nat_add(x_5, x_13); -lean_dec(x_5); -x_15 = lean_box(0); -x_16 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__3(x_1, x_2, x_3, x_14, x_15); -return x_16; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_nat_add(x_4, x_12); +lean_dec(x_4); +x_14 = lean_box(0); +x_15 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__2(x_1, x_2, x_13, x_14); +return x_15; } } } @@ -1920,7 +1880,7 @@ if (lean_obj_tag(x_9) == 0) lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_unsigned_to_nat(2u); x_11 = lean_box(0); -x_12 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__4(x_3, x_4, x_5, x_6, x_10, x_11); +x_12 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__3(x_4, x_5, x_6, x_10, x_11); return x_12; } else @@ -1929,7 +1889,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_dec(x_9); x_13 = lean_unsigned_to_nat(1u); x_14 = lean_box(0); -x_15 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__4(x_3, x_4, x_5, x_6, x_13, x_14); +x_15 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__3(x_4, x_5, x_6, x_13, x_14); return x_15; } } @@ -1939,7 +1899,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_8); x_16 = lean_unsigned_to_nat(1u); x_17 = lean_box(0); -x_18 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__4(x_3, x_4, x_5, x_6, x_16, x_17); +x_18 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__3(x_4, x_5, x_6, x_16, x_17); return x_18; } } @@ -1948,7 +1908,7 @@ else lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = lean_unsigned_to_nat(2u); x_20 = lean_box(0); -x_21 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__4(x_3, x_4, x_5, x_6, x_19, x_20); +x_21 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__3(x_4, x_5, x_6, x_19, x_20); return x_21; } } @@ -1990,23 +1950,6 @@ lean_dec(x_5); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; -x_7 = lean_unbox(x_1); -lean_dec(x_1); -x_8 = lean_unbox(x_2); -lean_dec(x_2); -x_9 = lean_unbox(x_3); -lean_dec(x_3); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___lambda__4(x_7, x_8, x_9, x_10, x_5, x_6); -lean_dec(x_6); -return x_11; -} -} LEAN_EXPORT lean_object* l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_fuzzyMatchCore_matchResult___boxed(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: { diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 29255192c8..d9cfbd15f0 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -43,7 +43,6 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__3___closed__4; lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5____closed__4; -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__6; static lean_object* l_Lean_Elab_Term_elabAppArgs___closed__12; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__4; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -78,7 +77,6 @@ lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___closed__3; uint8_t l_Lean_Expr_isProp(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp___closed__4; @@ -98,6 +96,7 @@ lean_object* l_Lean_SourceInfo_fromRef(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwInvalidNamedArg___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -138,9 +137,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_ LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2(lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5____closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrayRef_declRange___closed__5; +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___closed__2; static lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -216,6 +216,7 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_ lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__1___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___lambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent___closed__3; @@ -395,6 +396,7 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck__ lean_object* lean_format_pretty(lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNamedPattern_declRange___closed__4; lean_object* l_panic___at_String_toNat_x21___spec__1(lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; @@ -448,9 +450,11 @@ LEAN_EXPORT uint8_t l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shou static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__3; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__5; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go(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_isConst(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -479,13 +483,11 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck__ static lean_object* l_Lean_Elab_Term_instToStringNamedArg___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwInvalidNamedArg___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__10; -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__5; uint8_t l_Lean_Expr_isForall(lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicitUniv_declRange___closed__7; lean_object* l_Lean_Elab_Term_elabTermEnsuringType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAppArgs___closed__6; -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__3; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_annotateIfRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange___closed__7; @@ -516,7 +518,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVal LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageList(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__28; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isImplicit(uint8_t); lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -557,14 +558,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_findMethod_ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__5; -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__2; static lean_object* l_Lean_Elab_Term_elabAppArgs___closed__14; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMCtxImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAppArgs___closed__15; LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___boxed(lean_object**); lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__1___closed__3; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__2; @@ -615,6 +614,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default; LEAN_EXPORT lean_object* l_Lean_Elab_getRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandArgs(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwInvalidFieldNotation___rarg___closed__2; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__3___closed__2; @@ -625,6 +625,7 @@ static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabProj_declRange___closed__2; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__8; +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__3; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___closed__4; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabExplicitUniv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -654,12 +655,11 @@ uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__7; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_12989_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_13325_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5_(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux(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_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_propagateExpectedTypeFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__3___boxed(lean_object**); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -703,6 +703,7 @@ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit_docString(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isOptParam(lean_object*); +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__6; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -713,6 +714,7 @@ lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__6; @@ -772,7 +774,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ensureArgTy LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwInvalidNamedArg___spec__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange___closed__4; -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__27; static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicitUniv___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabProj_declRange___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -783,13 +784,17 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___clos lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___closed__2; +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__1; lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeCoeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__1; lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent___closed__2; +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__2; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -797,7 +802,6 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__4(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__2; -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__4; lean_object* l_Lean_Elab_Term_ensureHasTypeAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x21(lean_object*); @@ -820,7 +824,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVal LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody(uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__5; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabExplicitUnivs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -838,6 +841,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwInvalidNamedArg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toLVals(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2___boxed(lean_object**); uint8_t lean_string_dec_eq(lean_object*, lean_object*); @@ -19486,6 +19490,1107 @@ x_21 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(x_1, x_2, x_3, x_ return x_21; } } +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_9); +return x_12; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid dotted identifier notation, expected type is not of the form (... → C ...) where C is a constant"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid dotted identifier notation, unknown identifier `"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("` from expected type"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_87; +lean_inc(x_8); +lean_inc(x_2); +x_17 = l_Lean_Meta_instantiateMVars(x_2, x_7, x_8, x_9, x_10, x_11); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Expr_consumeMData(x_18); +lean_dec(x_18); +x_21 = l_Lean_Expr_getAppFn(x_20); +lean_dec(x_20); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_5); +lean_inc(x_21); +x_87 = l_Lean_Elab_Term_tryPostponeIfMVar(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_19); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l_Lean_Expr_consumeMData(x_21); +lean_dec(x_21); +if (lean_obj_tag(x_89) == 4) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +lean_dec(x_89); +x_91 = l_Lean_Syntax_getId(x_1); +x_92 = lean_erase_macro_scopes(x_91); +x_93 = l_Lean_Name_append(x_90, x_92); +lean_dec(x_90); +x_94 = lean_st_ref_get(x_10, x_88); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_ctor_get(x_95, 0); +lean_inc(x_97); +lean_dec(x_95); +lean_inc(x_93); +x_98 = l_Lean_Environment_contains(x_97, x_93); +if (x_98 == 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; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_99 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_99, 0, x_93); +x_100 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__4; +x_101 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__6; +x_103 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +lean_inc(x_3); +x_104 = l_Lean_indentExpr(x_3); +x_105 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +x_106 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__8; +x_107 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +lean_inc(x_5); +x_108 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_107, x_5, x_6, x_7, x_8, x_9, x_10, x_96); +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); +x_22 = x_109; +x_23 = x_110; +goto block_86; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_111 = lean_box(0); +x_112 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___lambda__1(x_93, x_111, x_5, x_6, x_7, x_8, x_9, x_10, x_96); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_12 = x_113; +x_13 = x_114; +goto block_16; +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +lean_dec(x_89); +lean_inc(x_3); +x_115 = l_Lean_indentExpr(x_3); +x_116 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__2; +x_117 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_115); +x_118 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__8; +x_119 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +lean_inc(x_5); +x_120 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_119, x_5, x_6, x_7, x_8, x_9, x_10, x_88); +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec(x_120); +x_22 = x_121; +x_23 = x_122; +goto block_86; +} +} +else +{ +lean_object* x_123; +lean_dec(x_21); +x_123 = lean_ctor_get(x_87, 0); +lean_inc(x_123); +if (lean_obj_tag(x_123) == 0) +{ +lean_object* x_124; lean_object* x_125; +x_124 = lean_ctor_get(x_87, 1); +lean_inc(x_124); +lean_dec(x_87); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_125 = l_Lean_Meta_unfoldDefinition_x3f(x_2, x_7, x_8, x_9, x_10, x_124); +if (lean_obj_tag(x_125) == 0) +{ +lean_object* x_126; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +if (lean_obj_tag(x_126) == 0) +{ +uint8_t x_127; +lean_dec(x_3); +x_127 = !lean_is_exclusive(x_125); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_128 = lean_ctor_get(x_125, 1); +x_129 = lean_ctor_get(x_125, 0); +lean_dec(x_129); +x_130 = lean_array_get_size(x_4); +x_131 = lean_unsigned_to_nat(0u); +x_132 = lean_nat_dec_lt(x_131, x_130); +if (x_132 == 0) +{ +lean_dec(x_130); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_ctor_set_tag(x_125, 1); +lean_ctor_set(x_125, 0, x_123); +return x_125; +} +else +{ +uint8_t x_133; +x_133 = lean_nat_dec_le(x_130, x_130); +if (x_133 == 0) +{ +lean_dec(x_130); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_ctor_set_tag(x_125, 1); +lean_ctor_set(x_125, 0, x_123); +return x_125; +} +else +{ +size_t x_134; size_t x_135; lean_object* x_136; lean_object* x_137; +lean_free_object(x_125); +x_134 = 0; +x_135 = lean_usize_of_nat(x_130); +lean_dec(x_130); +x_136 = lean_box(0); +x_137 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___spec__1(x_4, x_134, x_135, x_136, x_5, x_6, x_7, x_8, x_9, x_10, x_128); +lean_dec(x_4); +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; +x_139 = lean_ctor_get(x_137, 0); +lean_dec(x_139); +lean_ctor_set_tag(x_137, 1); +lean_ctor_set(x_137, 0, x_123); +return x_137; +} +else +{ +lean_object* x_140; lean_object* x_141; +x_140 = lean_ctor_get(x_137, 1); +lean_inc(x_140); +lean_dec(x_137); +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_123); +lean_ctor_set(x_141, 1, x_140); +return x_141; +} +} +else +{ +uint8_t x_142; +lean_dec(x_123); +x_142 = !lean_is_exclusive(x_137); +if (x_142 == 0) +{ +return x_137; +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_137, 0); +x_144 = lean_ctor_get(x_137, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_137); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +} +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; +x_146 = lean_ctor_get(x_125, 1); +lean_inc(x_146); +lean_dec(x_125); +x_147 = lean_array_get_size(x_4); +x_148 = lean_unsigned_to_nat(0u); +x_149 = lean_nat_dec_lt(x_148, x_147); +if (x_149 == 0) +{ +lean_object* x_150; +lean_dec(x_147); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_123); +lean_ctor_set(x_150, 1, x_146); +return x_150; +} +else +{ +uint8_t x_151; +x_151 = lean_nat_dec_le(x_147, x_147); +if (x_151 == 0) +{ +lean_object* x_152; +lean_dec(x_147); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_123); +lean_ctor_set(x_152, 1, x_146); +return x_152; +} +else +{ +size_t x_153; size_t x_154; lean_object* x_155; lean_object* x_156; +x_153 = 0; +x_154 = lean_usize_of_nat(x_147); +lean_dec(x_147); +x_155 = lean_box(0); +x_156 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___spec__1(x_4, x_153, x_154, x_155, x_5, x_6, x_7, x_8, x_9, x_10, x_146); +lean_dec(x_4); +if (lean_obj_tag(x_156) == 0) +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_157 = lean_ctor_get(x_156, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_158 = x_156; +} else { + lean_dec_ref(x_156); + x_158 = lean_box(0); +} +if (lean_is_scalar(x_158)) { + x_159 = lean_alloc_ctor(1, 2, 0); +} else { + x_159 = x_158; + lean_ctor_set_tag(x_159, 1); +} +lean_ctor_set(x_159, 0, x_123); +lean_ctor_set(x_159, 1, x_157); +return x_159; +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_123); +x_160 = lean_ctor_get(x_156, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_156, 1); +lean_inc(x_161); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_162 = x_156; +} else { + lean_dec_ref(x_156); + x_162 = lean_box(0); +} +if (lean_is_scalar(x_162)) { + x_163 = lean_alloc_ctor(1, 2, 0); +} else { + x_163 = x_162; +} +lean_ctor_set(x_163, 0, x_160); +lean_ctor_set(x_163, 1, x_161); +return x_163; +} +} +} +} +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_164 = lean_ctor_get(x_125, 1); +lean_inc(x_164); +lean_dec(x_125); +x_165 = lean_ctor_get(x_126, 0); +lean_inc(x_165); +lean_dec(x_126); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_166 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__3(x_165, x_7, x_8, x_9, x_10, x_164); +if (lean_obj_tag(x_166) == 0) +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +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 = lean_array_push(x_4, x_123); +x_170 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go(x_1, x_167, x_3, x_169, x_5, x_6, x_7, x_8, x_9, x_10, x_168); +if (lean_obj_tag(x_170) == 0) +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); +lean_dec(x_170); +x_173 = lean_box(0); +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_171); +lean_ctor_set(x_174, 1, x_173); +x_12 = x_174; +x_13 = x_172; +goto block_16; +} +else +{ +uint8_t x_175; +x_175 = !lean_is_exclusive(x_170); +if (x_175 == 0) +{ +return x_170; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_176 = lean_ctor_get(x_170, 0); +x_177 = lean_ctor_get(x_170, 1); +lean_inc(x_177); +lean_inc(x_176); +lean_dec(x_170); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_176); +lean_ctor_set(x_178, 1, x_177); +return x_178; +} +} +} +else +{ +uint8_t x_179; +lean_dec(x_123); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_179 = !lean_is_exclusive(x_166); +if (x_179 == 0) +{ +return x_166; +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_166, 0); +x_181 = lean_ctor_get(x_166, 1); +lean_inc(x_181); +lean_inc(x_180); +lean_dec(x_166); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +return x_182; +} +} +} +} +else +{ +uint8_t x_183; +lean_dec(x_123); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_183 = !lean_is_exclusive(x_125); +if (x_183 == 0) +{ +return x_125; +} +else +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = lean_ctor_get(x_125, 0); +x_185 = lean_ctor_get(x_125, 1); +lean_inc(x_185); +lean_inc(x_184); +lean_dec(x_125); +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +} +else +{ +uint8_t x_187; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_187 = !lean_is_exclusive(x_87); +if (x_187 == 0) +{ +lean_object* x_188; +x_188 = lean_ctor_get(x_87, 0); +lean_dec(x_188); +return x_87; +} +else +{ +lean_object* x_189; lean_object* x_190; +x_189 = lean_ctor_get(x_87, 1); +lean_inc(x_189); +lean_dec(x_87); +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_123); +lean_ctor_set(x_190, 1, x_189); +return x_190; +} +} +} +block_16: +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +block_86: +{ +lean_object* x_24; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_24 = l_Lean_Meta_unfoldDefinition_x3f(x_2, x_7, x_8, x_9, x_10, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +lean_dec(x_3); +x_26 = !lean_is_exclusive(x_24); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_24, 1); +x_28 = lean_ctor_get(x_24, 0); +lean_dec(x_28); +x_29 = lean_array_get_size(x_4); +x_30 = lean_unsigned_to_nat(0u); +x_31 = lean_nat_dec_lt(x_30, x_29); +if (x_31 == 0) +{ +lean_dec(x_29); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_ctor_set_tag(x_24, 1); +lean_ctor_set(x_24, 0, x_22); +return x_24; +} +else +{ +uint8_t x_32; +x_32 = lean_nat_dec_le(x_29, x_29); +if (x_32 == 0) +{ +lean_dec(x_29); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_ctor_set_tag(x_24, 1); +lean_ctor_set(x_24, 0, x_22); +return x_24; +} +else +{ +size_t x_33; size_t x_34; lean_object* x_35; lean_object* x_36; +lean_free_object(x_24); +x_33 = 0; +x_34 = lean_usize_of_nat(x_29); +lean_dec(x_29); +x_35 = lean_box(0); +x_36 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___spec__1(x_4, x_33, x_34, x_35, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +lean_dec(x_4); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_dec(x_38); +lean_ctor_set_tag(x_36, 1); +lean_ctor_set(x_36, 0, x_22); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_22); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +uint8_t x_41; +lean_dec(x_22); +x_41 = !lean_is_exclusive(x_36); +if (x_41 == 0) +{ +return x_36; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_36, 0); +x_43 = lean_ctor_get(x_36, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_36); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_24, 1); +lean_inc(x_45); +lean_dec(x_24); +x_46 = lean_array_get_size(x_4); +x_47 = lean_unsigned_to_nat(0u); +x_48 = lean_nat_dec_lt(x_47, x_46); +if (x_48 == 0) +{ +lean_object* x_49; +lean_dec(x_46); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_22); +lean_ctor_set(x_49, 1, x_45); +return x_49; +} +else +{ +uint8_t x_50; +x_50 = lean_nat_dec_le(x_46, x_46); +if (x_50 == 0) +{ +lean_object* x_51; +lean_dec(x_46); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_22); +lean_ctor_set(x_51, 1, x_45); +return x_51; +} +else +{ +size_t x_52; size_t x_53; lean_object* x_54; lean_object* x_55; +x_52 = 0; +x_53 = lean_usize_of_nat(x_46); +lean_dec(x_46); +x_54 = lean_box(0); +x_55 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___spec__1(x_4, x_52, x_53, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +lean_dec(x_4); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_57 = x_55; +} else { + lean_dec_ref(x_55); + x_57 = lean_box(0); +} +if (lean_is_scalar(x_57)) { + x_58 = lean_alloc_ctor(1, 2, 0); +} else { + x_58 = x_57; + lean_ctor_set_tag(x_58, 1); +} +lean_ctor_set(x_58, 0, x_22); +lean_ctor_set(x_58, 1, x_56); +return x_58; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +lean_dec(x_22); +x_59 = lean_ctor_get(x_55, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_55, 1); +lean_inc(x_60); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_61 = x_55; +} else { + lean_dec_ref(x_55); + x_61 = lean_box(0); +} +if (lean_is_scalar(x_61)) { + x_62 = lean_alloc_ctor(1, 2, 0); +} else { + x_62 = x_61; +} +lean_ctor_set(x_62, 0, x_59); +lean_ctor_set(x_62, 1, x_60); +return x_62; +} +} +} +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_24, 1); +lean_inc(x_63); +lean_dec(x_24); +x_64 = lean_ctor_get(x_25, 0); +lean_inc(x_64); +lean_dec(x_25); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_65 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__3(x_64, x_7, x_8, x_9, x_10, x_63); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_array_push(x_4, x_22); +x_69 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go(x_1, x_66, x_3, x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_67); +if (lean_obj_tag(x_69) == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_box(0); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_70); +lean_ctor_set(x_73, 1, x_72); +x_12 = x_73; +x_13 = x_71; +goto block_16; +} +else +{ +uint8_t x_74; +x_74 = !lean_is_exclusive(x_69); +if (x_74 == 0) +{ +return x_69; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_69, 0); +x_76 = lean_ctor_get(x_69, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_69); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +else +{ +uint8_t x_78; +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_78 = !lean_is_exclusive(x_65); +if (x_78 == 0) +{ +return x_65; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_65, 0); +x_80 = lean_ctor_get(x_65, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_65); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +} +else +{ +uint8_t x_82; +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_82 = !lean_is_exclusive(x_24); +if (x_82 == 0) +{ +return x_24; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_24, 0); +x_84 = lean_ctor_get(x_24, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_24); +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_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default___closed__1; +x_13 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go(x_1, x_4, x_2, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid dotted identifier notation, expected type must be known"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +x_10 = l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__2; +x_13 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +lean_dec(x_2); +lean_inc(x_15); +x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___lambda__1___boxed), 11, 2); +lean_closure_set(x_16, 0, x_1); +lean_closure_set(x_16, 1, x_15); +x_17 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__4___rarg(x_15, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +return x_17; +} +} +else +{ +uint8_t x_18; +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_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +return x_10; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___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: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -20023,411 +21128,6 @@ return x_28; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { -_start: -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_box(0); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_12); -x_20 = l_Lean_Elab_Term_mkConst(x_1, x_19, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_box(0); -x_24 = lean_box(0); -x_25 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -x_26 = l_Lean_Elab_Term_addTermInfo(x_2, x_21, x_23, x_23, x_24, x_25, x_12, x_13, x_14, x_15, x_16, x_17, x_22); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_box(x_7); -x_30 = lean_box(x_8); -x_31 = lean_box(x_9); -x_32 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2___boxed), 16, 9); -lean_closure_set(x_32, 0, x_27); -lean_closure_set(x_32, 1, x_3); -lean_closure_set(x_32, 2, x_4); -lean_closure_set(x_32, 3, x_5); -lean_closure_set(x_32, 4, x_6); -lean_closure_set(x_32, 5, x_29); -lean_closure_set(x_32, 6, x_30); -lean_closure_set(x_32, 7, x_31); -lean_closure_set(x_32, 8, x_23); -x_33 = l_Lean_Elab_Term_observing___rarg(x_32, x_12, x_13, x_14, x_15, x_16, x_17, x_28); -if (lean_obj_tag(x_33) == 0) -{ -uint8_t x_34; -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_33, 0); -x_36 = lean_array_push(x_10, x_35); -lean_ctor_set(x_33, 0, x_36); -return x_33; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_33, 0); -x_38 = lean_ctor_get(x_33, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_33); -x_39 = lean_array_push(x_10, x_37); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -return x_40; -} -} -else -{ -uint8_t x_41; -lean_dec(x_10); -x_41 = !lean_is_exclusive(x_33); -if (x_41 == 0) -{ -return x_33; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_33, 0); -x_43 = lean_ctor_get(x_33, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_33); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -uint8_t x_45; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_45 = !lean_is_exclusive(x_26); -if (x_45 == 0) -{ -return x_26; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_26, 0); -x_47 = lean_ctor_get(x_26, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_26); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} -} -} -else -{ -uint8_t x_49; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_49 = !lean_is_exclusive(x_20); -if (x_49 == 0) -{ -return x_20; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_20, 0); -x_51 = lean_ctor_get(x_20, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_20); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid dotted identifier notation, expected type is not of the form (... → C ...) where C is a constant"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid dotted identifier notation, unknown identifier `"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("` from expected type"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, uint8_t x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { -_start: -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_12); -lean_inc(x_17); -x_21 = l_Lean_Meta_instantiateMVars(x_13, x_16, x_17, x_18, x_19, x_20); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = l_Lean_Expr_consumeMData(x_22); -lean_dec(x_22); -x_25 = l_Lean_Expr_getAppFn(x_24); -lean_dec(x_24); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_25); -x_26 = l_Lean_Elab_Term_tryPostponeIfMVar(x_25, x_14, x_15, x_16, x_17, x_18, x_19, x_23); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = l_Lean_Expr_consumeMData(x_25); -lean_dec(x_25); -if (lean_obj_tag(x_28) == 4) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -lean_dec(x_28); -x_30 = l_Lean_Syntax_getId(x_2); -lean_dec(x_2); -x_31 = lean_erase_macro_scopes(x_30); -x_32 = l_Lean_Name_append(x_29, x_31); -lean_dec(x_29); -x_33 = lean_st_ref_get(x_19, x_27); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_ctor_get(x_34, 0); -lean_inc(x_36); -lean_dec(x_34); -lean_inc(x_32); -x_37 = l_Lean_Environment_contains(x_36, x_32); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_38 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_38, 0, x_32); -x_39 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__4; -x_40 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -x_41 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__6; -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_indentExpr(x_1); -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__8; -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_46, x_14, x_15, x_16, x_17, x_18, x_19, x_35); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) -{ -return x_47; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_47, 0); -x_50 = lean_ctor_get(x_47, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_47); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} -} -else -{ -lean_object* x_52; lean_object* x_53; -lean_dec(x_1); -x_52 = lean_box(0); -x_53 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__3(x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_52, x_14, x_15, x_16, x_17, x_18, x_19, x_35); -return x_53; -} -} -else -{ -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_dec(x_28); -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_54 = l_Lean_indentExpr(x_1); -x_55 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__2; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__8; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_58, x_14, x_15, x_16, x_17, x_18, x_19, x_27); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -return x_59; -} -} -else -{ -uint8_t x_60; -lean_dec(x_25); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_11); -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_60 = !lean_is_exclusive(x_26); -if (x_60 == 0) -{ -return x_26; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_26, 0); -x_62 = lean_ctor_get(x_26, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_26); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; -} -} -} -} static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__1() { _start: { @@ -20576,7 +21276,7 @@ static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn_ _start: { lean_object* x_1; -x_1 = lean_mk_string("invalid dotted identifier notation, expected type must be known"); +x_1 = lean_mk_string("placeholders '_' cannot be used where a function is expected"); return x_1; } } @@ -20593,7 +21293,7 @@ static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn_ _start: { lean_object* x_1; -x_1 = lean_mk_string("placeholders '_' cannot be used where a function is expected"); +x_1 = lean_mk_string("unexpected occurrence of named pattern"); return x_1; } } @@ -20610,38 +21310,21 @@ static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn_ _start: { lean_object* x_1; -x_1 = lean_mk_string("unexpected occurrence of named pattern"); +x_1 = lean_mk_string("fieldIdx"); return x_1; } } static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__22() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__21; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("fieldIdx"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__23; +x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__25() { +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__23() { _start: { lean_object* x_1; @@ -20649,7 +21332,7 @@ x_1 = lean_mk_string("Init.Data.Option.BasicAux"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__26() { +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24() { _start: { lean_object* x_1; @@ -20657,7 +21340,7 @@ x_1 = lean_mk_string("Option.get!"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__27() { +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__25() { _start: { lean_object* x_1; @@ -20665,15 +21348,15 @@ x_1 = lean_mk_string("value is none"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__28() { +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__25; -x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__26; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__23; +x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24; x_3 = lean_unsigned_to_nat(16u); x_4 = lean_unsigned_to_nat(14u); -x_5 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__27; +x_5 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__25; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -21514,616 +22197,119 @@ lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_5); -x_229 = l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(x_5, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_229 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName(x_133, x_5, x_10, x_11, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_229) == 0) { -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; -lean_dec(x_133); -lean_dec(x_9); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_230 = lean_ctor_get(x_229, 1); +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_230 = lean_ctor_get(x_229, 0); lean_inc(x_230); +x_231 = lean_ctor_get(x_229, 1); +lean_inc(x_231); lean_dec(x_229); -x_231 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__18; -x_232 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_231, x_10, x_11, x_12, x_13, x_14, x_15, x_230); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -return x_232; -} -else +x_232 = lean_box(0); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_10); +x_233 = l_Lean_Elab_Term_mkConst(x_230, x_232, x_10, x_11, x_12, x_13, x_14, x_15, x_231); +if (lean_obj_tag(x_233) == 0) { -lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_233 = lean_ctor_get(x_229, 1); -lean_inc(x_233); -lean_dec(x_229); -x_234 = lean_ctor_get(x_5, 0); +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; lean_object* x_239; +x_234 = lean_ctor_get(x_233, 0); lean_inc(x_234); -x_235 = lean_box(x_6); -x_236 = lean_box(x_7); -x_237 = lean_box(x_8); -lean_inc(x_234); -x_238 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___boxed), 20, 11); -lean_closure_set(x_238, 0, x_234); -lean_closure_set(x_238, 1, x_133); -lean_closure_set(x_238, 2, x_1); -lean_closure_set(x_238, 3, x_2); -lean_closure_set(x_238, 4, x_3); -lean_closure_set(x_238, 5, x_4); -lean_closure_set(x_238, 6, x_5); -lean_closure_set(x_238, 7, x_235); -lean_closure_set(x_238, 8, x_236); -lean_closure_set(x_238, 9, x_237); -lean_closure_set(x_238, 10, x_9); -x_239 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__4___rarg(x_234, x_238, x_10, x_11, x_12, x_13, x_14, x_15, x_233); -return x_239; -} -} -else -{ -uint8_t x_240; -lean_dec(x_133); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_240 = !lean_is_exclusive(x_229); -if (x_240 == 0) -{ -return x_229; -} -else -{ -lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_241 = lean_ctor_get(x_229, 0); -x_242 = lean_ctor_get(x_229, 1); -lean_inc(x_242); -lean_inc(x_241); -lean_dec(x_229); -x_243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_243, 0, x_241); -lean_ctor_set(x_243, 1, x_242); -return x_243; -} -} -} -} -} -else -{ -lean_object* x_244; lean_object* x_245; -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_244 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__20; -x_245 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_244, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -return x_245; -} -} -else -{ -lean_object* x_246; lean_object* x_247; uint8_t x_248; -x_246 = lean_unsigned_to_nat(1u); -x_247 = l_Lean_Syntax_getArg(x_1, x_246); -lean_inc(x_247); -x_248 = l_Lean_Syntax_isOfKind(x_247, x_28); -if (x_248 == 0) -{ -uint8_t x_249; -lean_inc(x_247); -x_249 = l_Lean_Syntax_isOfKind(x_247, x_30); -if (x_249 == 0) -{ -lean_object* x_250; -lean_dec(x_247); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_250 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg(x_16); -return x_250; -} -else -{ -lean_object* x_251; lean_object* x_252; uint8_t x_253; -x_251 = lean_unsigned_to_nat(0u); -x_252 = l_Lean_Syntax_getArg(x_247, x_251); -lean_dec(x_247); -x_253 = l_Lean_Syntax_isOfKind(x_252, x_28); -if (x_253 == 0) -{ -lean_object* x_254; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_254 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg(x_16); -return x_254; -} -else -{ -lean_object* x_255; uint8_t x_256; -x_255 = l_Lean_Syntax_getArg(x_1, x_246); -lean_dec(x_1); -x_256 = 1; -x_1 = x_255; -x_6 = x_256; -goto _start; -} -} -} -else -{ -uint8_t x_258; -lean_dec(x_1); -x_258 = 1; -x_1 = x_247; -x_6 = x_258; -goto _start; -} -} -} -else -{ -lean_object* x_260; lean_object* x_261; uint8_t x_262; -x_260 = lean_unsigned_to_nat(0u); -x_261 = l_Lean_Syntax_getArg(x_1, x_260); -lean_inc(x_261); -x_262 = l_Lean_Syntax_isOfKind(x_261, x_28); -if (x_262 == 0) -{ -uint8_t x_263; uint8_t x_264; -lean_dec(x_261); -x_263 = l_List_isEmpty___rarg(x_2); -if (x_8 == 0) -{ -uint8_t x_355; -x_355 = 1; -x_264 = x_355; -goto block_354; -} -else -{ -uint8_t x_356; -x_356 = 0; -x_264 = x_356; -goto block_354; -} -block_354: -{ -if (x_263 == 0) -{ -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; -x_265 = lean_box(0); -x_266 = lean_box(x_264); -x_267 = lean_box(x_6); -x_268 = lean_box(x_7); -x_269 = lean_box(x_8); -x_270 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_270, 0, x_1); -lean_closure_set(x_270, 1, x_265); -lean_closure_set(x_270, 2, x_266); -lean_closure_set(x_270, 3, x_2); -lean_closure_set(x_270, 4, x_3); -lean_closure_set(x_270, 5, x_4); -lean_closure_set(x_270, 6, x_5); -lean_closure_set(x_270, 7, x_267); -lean_closure_set(x_270, 8, x_268); -lean_closure_set(x_270, 9, x_269); -x_271 = l_Lean_Elab_Term_observing___rarg(x_270, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_271) == 0) -{ -uint8_t x_272; -x_272 = !lean_is_exclusive(x_271); -if (x_272 == 0) -{ -lean_object* x_273; lean_object* x_274; -x_273 = lean_ctor_get(x_271, 0); -x_274 = lean_array_push(x_9, x_273); -lean_ctor_set(x_271, 0, x_274); -return x_271; -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_275 = lean_ctor_get(x_271, 0); -x_276 = lean_ctor_get(x_271, 1); -lean_inc(x_276); -lean_inc(x_275); -lean_dec(x_271); -x_277 = lean_array_push(x_9, x_275); -x_278 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_276); -return x_278; -} -} -else -{ -uint8_t x_279; -lean_dec(x_9); -x_279 = !lean_is_exclusive(x_271); -if (x_279 == 0) -{ -return x_271; -} -else -{ -lean_object* x_280; lean_object* x_281; lean_object* x_282; -x_280 = lean_ctor_get(x_271, 0); -x_281 = lean_ctor_get(x_271, 1); -lean_inc(x_281); -lean_inc(x_280); -lean_dec(x_271); -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_280); -lean_ctor_set(x_282, 1, x_281); -return x_282; -} -} -} -else -{ -uint8_t x_283; -x_283 = l_Array_isEmpty___rarg(x_3); -if (x_283 == 0) -{ -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_284 = lean_box(0); -x_285 = lean_box(x_264); -x_286 = lean_box(x_6); -x_287 = lean_box(x_7); -x_288 = lean_box(x_8); -x_289 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_289, 0, x_1); -lean_closure_set(x_289, 1, x_284); -lean_closure_set(x_289, 2, x_285); -lean_closure_set(x_289, 3, x_2); -lean_closure_set(x_289, 4, x_3); -lean_closure_set(x_289, 5, x_4); -lean_closure_set(x_289, 6, x_5); -lean_closure_set(x_289, 7, x_286); -lean_closure_set(x_289, 8, x_287); -lean_closure_set(x_289, 9, x_288); -x_290 = l_Lean_Elab_Term_observing___rarg(x_289, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_290) == 0) -{ -uint8_t x_291; -x_291 = !lean_is_exclusive(x_290); -if (x_291 == 0) -{ -lean_object* x_292; lean_object* x_293; -x_292 = lean_ctor_get(x_290, 0); -x_293 = lean_array_push(x_9, x_292); -lean_ctor_set(x_290, 0, x_293); -return x_290; -} -else -{ -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_294 = lean_ctor_get(x_290, 0); -x_295 = lean_ctor_get(x_290, 1); -lean_inc(x_295); -lean_inc(x_294); -lean_dec(x_290); -x_296 = lean_array_push(x_9, x_294); -x_297 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_295); -return x_297; -} -} -else -{ -uint8_t x_298; -lean_dec(x_9); -x_298 = !lean_is_exclusive(x_290); -if (x_298 == 0) -{ -return x_290; -} -else -{ -lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_299 = lean_ctor_get(x_290, 0); -x_300 = lean_ctor_get(x_290, 1); -lean_inc(x_300); -lean_inc(x_299); -lean_dec(x_290); -x_301 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_301, 0, x_299); -lean_ctor_set(x_301, 1, x_300); -return x_301; -} -} -} -else -{ -uint8_t x_302; -x_302 = l_Array_isEmpty___rarg(x_4); -if (x_302 == 0) -{ -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; -x_303 = lean_box(0); -x_304 = lean_box(x_264); -x_305 = lean_box(x_6); -x_306 = lean_box(x_7); -x_307 = lean_box(x_8); -x_308 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_308, 0, x_1); -lean_closure_set(x_308, 1, x_303); -lean_closure_set(x_308, 2, x_304); -lean_closure_set(x_308, 3, x_2); -lean_closure_set(x_308, 4, x_3); -lean_closure_set(x_308, 5, x_4); -lean_closure_set(x_308, 6, x_5); -lean_closure_set(x_308, 7, x_305); -lean_closure_set(x_308, 8, x_306); -lean_closure_set(x_308, 9, x_307); -x_309 = l_Lean_Elab_Term_observing___rarg(x_308, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_309) == 0) -{ -uint8_t x_310; -x_310 = !lean_is_exclusive(x_309); -if (x_310 == 0) -{ -lean_object* x_311; lean_object* x_312; -x_311 = lean_ctor_get(x_309, 0); -x_312 = lean_array_push(x_9, x_311); -lean_ctor_set(x_309, 0, x_312); -return x_309; -} -else -{ -lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; -x_313 = lean_ctor_get(x_309, 0); -x_314 = lean_ctor_get(x_309, 1); -lean_inc(x_314); -lean_inc(x_313); -lean_dec(x_309); -x_315 = lean_array_push(x_9, x_313); -x_316 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_314); -return x_316; -} -} -else -{ -uint8_t x_317; -lean_dec(x_9); -x_317 = !lean_is_exclusive(x_309); -if (x_317 == 0) -{ -return x_309; -} -else -{ -lean_object* x_318; lean_object* x_319; lean_object* x_320; -x_318 = lean_ctor_get(x_309, 0); -x_319 = lean_ctor_get(x_309, 1); -lean_inc(x_319); -lean_inc(x_318); -lean_dec(x_309); -x_320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_320, 0, x_318); -lean_ctor_set(x_320, 1, x_319); -return x_320; -} -} -} -else -{ -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (x_8 == 0) -{ -uint8_t x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; -x_321 = 1; -x_322 = lean_box(x_321); -x_323 = lean_box(x_321); -x_324 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_324, 0, x_1); -lean_closure_set(x_324, 1, x_5); -lean_closure_set(x_324, 2, x_322); -lean_closure_set(x_324, 3, x_323); -x_325 = l_Lean_Elab_Term_observing___rarg(x_324, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_325) == 0) -{ -uint8_t x_326; -x_326 = !lean_is_exclusive(x_325); -if (x_326 == 0) -{ -lean_object* x_327; lean_object* x_328; -x_327 = lean_ctor_get(x_325, 0); -x_328 = lean_array_push(x_9, x_327); -lean_ctor_set(x_325, 0, x_328); -return x_325; -} -else -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; -x_329 = lean_ctor_get(x_325, 0); -x_330 = lean_ctor_get(x_325, 1); -lean_inc(x_330); -lean_inc(x_329); -lean_dec(x_325); -x_331 = lean_array_push(x_9, x_329); -x_332 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_332, 0, x_331); -lean_ctor_set(x_332, 1, x_330); -return x_332; -} -} -else -{ -uint8_t x_333; -lean_dec(x_9); -x_333 = !lean_is_exclusive(x_325); -if (x_333 == 0) -{ -return x_325; -} -else -{ -lean_object* x_334; lean_object* x_335; lean_object* x_336; -x_334 = lean_ctor_get(x_325, 0); -x_335 = lean_ctor_get(x_325, 1); -lean_inc(x_335); -lean_inc(x_334); -lean_dec(x_325); -x_336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_336, 0, x_334); -lean_ctor_set(x_336, 1, x_335); -return x_336; -} -} -} -else -{ -lean_object* x_337; uint8_t x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; -x_337 = lean_box(0); -x_338 = 1; -x_339 = lean_box(x_264); -x_340 = lean_box(x_338); -x_341 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_341, 0, x_1); -lean_closure_set(x_341, 1, x_5); -lean_closure_set(x_341, 2, x_339); -lean_closure_set(x_341, 3, x_340); -lean_closure_set(x_341, 4, x_337); -x_342 = l_Lean_Elab_Term_observing___rarg(x_341, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_342) == 0) -{ -uint8_t x_343; -x_343 = !lean_is_exclusive(x_342); -if (x_343 == 0) -{ -lean_object* x_344; lean_object* x_345; -x_344 = lean_ctor_get(x_342, 0); -x_345 = lean_array_push(x_9, x_344); -lean_ctor_set(x_342, 0, x_345); -return x_342; -} -else -{ -lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; -x_346 = lean_ctor_get(x_342, 0); -x_347 = lean_ctor_get(x_342, 1); -lean_inc(x_347); -lean_inc(x_346); -lean_dec(x_342); -x_348 = lean_array_push(x_9, x_346); -x_349 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_347); -return x_349; -} -} -else -{ -uint8_t x_350; -lean_dec(x_9); -x_350 = !lean_is_exclusive(x_342); -if (x_350 == 0) -{ -return x_342; -} -else -{ -lean_object* x_351; lean_object* x_352; lean_object* x_353; -x_351 = lean_ctor_get(x_342, 0); -x_352 = lean_ctor_get(x_342, 1); -lean_inc(x_352); -lean_inc(x_351); -lean_dec(x_342); -x_353 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_353, 0, x_351); -lean_ctor_set(x_353, 1, x_352); -return x_353; -} -} -} -} -} -} -} -} -else -{ -lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; -x_357 = lean_unsigned_to_nat(2u); -x_358 = l_Lean_Syntax_getArg(x_1, x_357); -lean_dec(x_1); -x_359 = l_Lean_Syntax_getArgs(x_358); -lean_dec(x_358); -x_360 = l_Lean_Syntax_SepArray_getElems___rarg(x_359); -lean_dec(x_359); +x_235 = lean_ctor_get(x_233, 1); +lean_inc(x_235); +lean_dec(x_233); +x_236 = lean_box(0); +x_237 = lean_box(0); +x_238 = 0; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_361 = l_Lean_Elab_Term_elabExplicitUnivs(x_360, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_360); -if (lean_obj_tag(x_361) == 0) +x_239 = l_Lean_Elab_Term_addTermInfo(x_1, x_234, x_236, x_236, x_237, x_238, x_10, x_11, x_12, x_13, x_14, x_15, x_235); +if (lean_obj_tag(x_239) == 0) { -lean_object* x_362; lean_object* x_363; lean_object* x_364; -x_362 = lean_ctor_get(x_361, 0); -lean_inc(x_362); -x_363 = lean_ctor_get(x_361, 1); -lean_inc(x_363); -lean_dec(x_361); -x_364 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(x_261, x_362, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_363); -return x_364; +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; +x_240 = lean_ctor_get(x_239, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_239, 1); +lean_inc(x_241); +lean_dec(x_239); +x_242 = lean_box(x_6); +x_243 = lean_box(x_7); +x_244 = lean_box(x_8); +x_245 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2___boxed), 16, 9); +lean_closure_set(x_245, 0, x_240); +lean_closure_set(x_245, 1, x_2); +lean_closure_set(x_245, 2, x_3); +lean_closure_set(x_245, 3, x_4); +lean_closure_set(x_245, 4, x_5); +lean_closure_set(x_245, 5, x_242); +lean_closure_set(x_245, 6, x_243); +lean_closure_set(x_245, 7, x_244); +lean_closure_set(x_245, 8, x_236); +x_246 = l_Lean_Elab_Term_observing___rarg(x_245, x_10, x_11, x_12, x_13, x_14, x_15, x_241); +if (lean_obj_tag(x_246) == 0) +{ +uint8_t x_247; +x_247 = !lean_is_exclusive(x_246); +if (x_247 == 0) +{ +lean_object* x_248; lean_object* x_249; +x_248 = lean_ctor_get(x_246, 0); +x_249 = lean_array_push(x_9, x_248); +lean_ctor_set(x_246, 0, x_249); +return x_246; } else { -uint8_t x_365; -lean_dec(x_261); +lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +x_250 = lean_ctor_get(x_246, 0); +x_251 = lean_ctor_get(x_246, 1); +lean_inc(x_251); +lean_inc(x_250); +lean_dec(x_246); +x_252 = lean_array_push(x_9, x_250); +x_253 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_253, 0, x_252); +lean_ctor_set(x_253, 1, x_251); +return x_253; +} +} +else +{ +uint8_t x_254; +lean_dec(x_9); +x_254 = !lean_is_exclusive(x_246); +if (x_254 == 0) +{ +return x_246; +} +else +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_255 = lean_ctor_get(x_246, 0); +x_256 = lean_ctor_get(x_246, 1); +lean_inc(x_256); +lean_inc(x_255); +lean_dec(x_246); +x_257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_257, 0, x_255); +lean_ctor_set(x_257, 1, x_256); +return x_257; +} +} +} +else +{ +uint8_t x_258; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -22135,23 +22321,93 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_365 = !lean_is_exclusive(x_361); -if (x_365 == 0) +x_258 = !lean_is_exclusive(x_239); +if (x_258 == 0) { -return x_361; +return x_239; } else { -lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_366 = lean_ctor_get(x_361, 0); -x_367 = lean_ctor_get(x_361, 1); -lean_inc(x_367); -lean_inc(x_366); -lean_dec(x_361); -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; +lean_object* x_259; lean_object* x_260; lean_object* x_261; +x_259 = lean_ctor_get(x_239, 0); +x_260 = lean_ctor_get(x_239, 1); +lean_inc(x_260); +lean_inc(x_259); +lean_dec(x_239); +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_259); +lean_ctor_set(x_261, 1, x_260); +return x_261; +} +} +} +else +{ +uint8_t x_262; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_262 = !lean_is_exclusive(x_233); +if (x_262 == 0) +{ +return x_233; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_263 = lean_ctor_get(x_233, 0); +x_264 = lean_ctor_get(x_233, 1); +lean_inc(x_264); +lean_inc(x_263); +lean_dec(x_233); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_263); +lean_ctor_set(x_265, 1, x_264); +return x_265; +} +} +} +else +{ +uint8_t x_266; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_266 = !lean_is_exclusive(x_229); +if (x_266 == 0) +{ +return x_229; +} +else +{ +lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_267 = lean_ctor_get(x_229, 0); +x_268 = lean_ctor_get(x_229, 1); +lean_inc(x_268); +lean_inc(x_267); +lean_dec(x_229); +x_269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_269, 0, x_267); +lean_ctor_set(x_269, 1, x_268); +return x_269; } } } @@ -22159,103 +22415,546 @@ return x_368; } else { -lean_object* x_369; lean_object* x_370; -x_369 = lean_box(0); -x_370 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(x_1, x_369, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_370; +lean_object* x_270; lean_object* x_271; +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_270 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__18; +x_271 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_270, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +return x_271; } } else { -lean_object* x_371; lean_object* x_372; lean_object* x_373; uint8_t x_374; -x_371 = lean_unsigned_to_nat(0u); -x_372 = l_Lean_Syntax_getArg(x_1, x_371); -x_373 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; -x_374 = l_Lean_Syntax_isOfKind(x_372, x_373); -if (x_374 == 0) +lean_object* x_272; lean_object* x_273; uint8_t x_274; +x_272 = lean_unsigned_to_nat(1u); +x_273 = l_Lean_Syntax_getArg(x_1, x_272); +lean_inc(x_273); +x_274 = l_Lean_Syntax_isOfKind(x_273, x_28); +if (x_274 == 0) { -uint8_t x_375; uint8_t x_376; -x_375 = l_List_isEmpty___rarg(x_2); +uint8_t x_275; +lean_inc(x_273); +x_275 = l_Lean_Syntax_isOfKind(x_273, x_30); +if (x_275 == 0) +{ +lean_object* x_276; +lean_dec(x_273); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_276 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg(x_16); +return x_276; +} +else +{ +lean_object* x_277; lean_object* x_278; uint8_t x_279; +x_277 = lean_unsigned_to_nat(0u); +x_278 = l_Lean_Syntax_getArg(x_273, x_277); +lean_dec(x_273); +x_279 = l_Lean_Syntax_isOfKind(x_278, x_28); +if (x_279 == 0) +{ +lean_object* x_280; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_280 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg(x_16); +return x_280; +} +else +{ +lean_object* x_281; uint8_t x_282; +x_281 = l_Lean_Syntax_getArg(x_1, x_272); +lean_dec(x_1); +x_282 = 1; +x_1 = x_281; +x_6 = x_282; +goto _start; +} +} +} +else +{ +uint8_t x_284; +lean_dec(x_1); +x_284 = 1; +x_1 = x_273; +x_6 = x_284; +goto _start; +} +} +} +else +{ +lean_object* x_286; lean_object* x_287; uint8_t x_288; +x_286 = lean_unsigned_to_nat(0u); +x_287 = l_Lean_Syntax_getArg(x_1, x_286); +lean_inc(x_287); +x_288 = l_Lean_Syntax_isOfKind(x_287, x_28); +if (x_288 == 0) +{ +uint8_t x_289; uint8_t x_290; +lean_dec(x_287); +x_289 = l_List_isEmpty___rarg(x_2); if (x_8 == 0) { -uint8_t x_467; -x_467 = 1; -x_376 = x_467; -goto block_466; +uint8_t x_381; +x_381 = 1; +x_290 = x_381; +goto block_380; } else { -uint8_t x_468; -x_468 = 0; -x_376 = x_468; -goto block_466; +uint8_t x_382; +x_382 = 0; +x_290 = x_382; +goto block_380; } -block_466: +block_380: { -if (x_375 == 0) +if (x_289 == 0) { -lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; -x_377 = lean_box(0); -x_378 = lean_box(x_376); -x_379 = lean_box(x_6); -x_380 = lean_box(x_7); -x_381 = lean_box(x_8); -x_382 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_382, 0, x_1); -lean_closure_set(x_382, 1, x_377); -lean_closure_set(x_382, 2, x_378); -lean_closure_set(x_382, 3, x_2); -lean_closure_set(x_382, 4, x_3); -lean_closure_set(x_382, 5, x_4); -lean_closure_set(x_382, 6, x_5); -lean_closure_set(x_382, 7, x_379); -lean_closure_set(x_382, 8, x_380); -lean_closure_set(x_382, 9, x_381); -x_383 = l_Lean_Elab_Term_observing___rarg(x_382, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_383) == 0) +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; +x_291 = lean_box(0); +x_292 = lean_box(x_290); +x_293 = lean_box(x_6); +x_294 = lean_box(x_7); +x_295 = lean_box(x_8); +x_296 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_296, 0, x_1); +lean_closure_set(x_296, 1, x_291); +lean_closure_set(x_296, 2, x_292); +lean_closure_set(x_296, 3, x_2); +lean_closure_set(x_296, 4, x_3); +lean_closure_set(x_296, 5, x_4); +lean_closure_set(x_296, 6, x_5); +lean_closure_set(x_296, 7, x_293); +lean_closure_set(x_296, 8, x_294); +lean_closure_set(x_296, 9, x_295); +x_297 = l_Lean_Elab_Term_observing___rarg(x_296, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_297) == 0) { -uint8_t x_384; -x_384 = !lean_is_exclusive(x_383); -if (x_384 == 0) +uint8_t x_298; +x_298 = !lean_is_exclusive(x_297); +if (x_298 == 0) { -lean_object* x_385; lean_object* x_386; -x_385 = lean_ctor_get(x_383, 0); -x_386 = lean_array_push(x_9, x_385); -lean_ctor_set(x_383, 0, x_386); -return x_383; +lean_object* x_299; lean_object* x_300; +x_299 = lean_ctor_get(x_297, 0); +x_300 = lean_array_push(x_9, x_299); +lean_ctor_set(x_297, 0, x_300); +return x_297; } else { -lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; -x_387 = lean_ctor_get(x_383, 0); -x_388 = lean_ctor_get(x_383, 1); +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; +x_301 = lean_ctor_get(x_297, 0); +x_302 = lean_ctor_get(x_297, 1); +lean_inc(x_302); +lean_inc(x_301); +lean_dec(x_297); +x_303 = lean_array_push(x_9, x_301); +x_304 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_302); +return x_304; +} +} +else +{ +uint8_t x_305; +lean_dec(x_9); +x_305 = !lean_is_exclusive(x_297); +if (x_305 == 0) +{ +return x_297; +} +else +{ +lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_306 = lean_ctor_get(x_297, 0); +x_307 = lean_ctor_get(x_297, 1); +lean_inc(x_307); +lean_inc(x_306); +lean_dec(x_297); +x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_306); +lean_ctor_set(x_308, 1, x_307); +return x_308; +} +} +} +else +{ +uint8_t x_309; +x_309 = l_Array_isEmpty___rarg(x_3); +if (x_309 == 0) +{ +lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; +x_310 = lean_box(0); +x_311 = lean_box(x_290); +x_312 = lean_box(x_6); +x_313 = lean_box(x_7); +x_314 = lean_box(x_8); +x_315 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_315, 0, x_1); +lean_closure_set(x_315, 1, x_310); +lean_closure_set(x_315, 2, x_311); +lean_closure_set(x_315, 3, x_2); +lean_closure_set(x_315, 4, x_3); +lean_closure_set(x_315, 5, x_4); +lean_closure_set(x_315, 6, x_5); +lean_closure_set(x_315, 7, x_312); +lean_closure_set(x_315, 8, x_313); +lean_closure_set(x_315, 9, x_314); +x_316 = l_Lean_Elab_Term_observing___rarg(x_315, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_316) == 0) +{ +uint8_t x_317; +x_317 = !lean_is_exclusive(x_316); +if (x_317 == 0) +{ +lean_object* x_318; lean_object* x_319; +x_318 = lean_ctor_get(x_316, 0); +x_319 = lean_array_push(x_9, x_318); +lean_ctor_set(x_316, 0, x_319); +return x_316; +} +else +{ +lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +x_320 = lean_ctor_get(x_316, 0); +x_321 = lean_ctor_get(x_316, 1); +lean_inc(x_321); +lean_inc(x_320); +lean_dec(x_316); +x_322 = lean_array_push(x_9, x_320); +x_323 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_323, 0, x_322); +lean_ctor_set(x_323, 1, x_321); +return x_323; +} +} +else +{ +uint8_t x_324; +lean_dec(x_9); +x_324 = !lean_is_exclusive(x_316); +if (x_324 == 0) +{ +return x_316; +} +else +{ +lean_object* x_325; lean_object* x_326; lean_object* x_327; +x_325 = lean_ctor_get(x_316, 0); +x_326 = lean_ctor_get(x_316, 1); +lean_inc(x_326); +lean_inc(x_325); +lean_dec(x_316); +x_327 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_327, 0, x_325); +lean_ctor_set(x_327, 1, x_326); +return x_327; +} +} +} +else +{ +uint8_t x_328; +x_328 = l_Array_isEmpty___rarg(x_4); +if (x_328 == 0) +{ +lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; +x_329 = lean_box(0); +x_330 = lean_box(x_290); +x_331 = lean_box(x_6); +x_332 = lean_box(x_7); +x_333 = lean_box(x_8); +x_334 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_334, 0, x_1); +lean_closure_set(x_334, 1, x_329); +lean_closure_set(x_334, 2, x_330); +lean_closure_set(x_334, 3, x_2); +lean_closure_set(x_334, 4, x_3); +lean_closure_set(x_334, 5, x_4); +lean_closure_set(x_334, 6, x_5); +lean_closure_set(x_334, 7, x_331); +lean_closure_set(x_334, 8, x_332); +lean_closure_set(x_334, 9, x_333); +x_335 = l_Lean_Elab_Term_observing___rarg(x_334, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_335) == 0) +{ +uint8_t x_336; +x_336 = !lean_is_exclusive(x_335); +if (x_336 == 0) +{ +lean_object* x_337; lean_object* x_338; +x_337 = lean_ctor_get(x_335, 0); +x_338 = lean_array_push(x_9, x_337); +lean_ctor_set(x_335, 0, x_338); +return x_335; +} +else +{ +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; +x_339 = lean_ctor_get(x_335, 0); +x_340 = lean_ctor_get(x_335, 1); +lean_inc(x_340); +lean_inc(x_339); +lean_dec(x_335); +x_341 = lean_array_push(x_9, x_339); +x_342 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_342, 0, x_341); +lean_ctor_set(x_342, 1, x_340); +return x_342; +} +} +else +{ +uint8_t x_343; +lean_dec(x_9); +x_343 = !lean_is_exclusive(x_335); +if (x_343 == 0) +{ +return x_335; +} +else +{ +lean_object* x_344; lean_object* x_345; lean_object* x_346; +x_344 = lean_ctor_get(x_335, 0); +x_345 = lean_ctor_get(x_335, 1); +lean_inc(x_345); +lean_inc(x_344); +lean_dec(x_335); +x_346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_346, 0, x_344); +lean_ctor_set(x_346, 1, x_345); +return x_346; +} +} +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +if (x_8 == 0) +{ +uint8_t x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; +x_347 = 1; +x_348 = lean_box(x_347); +x_349 = lean_box(x_347); +x_350 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_350, 0, x_1); +lean_closure_set(x_350, 1, x_5); +lean_closure_set(x_350, 2, x_348); +lean_closure_set(x_350, 3, x_349); +x_351 = l_Lean_Elab_Term_observing___rarg(x_350, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_351) == 0) +{ +uint8_t x_352; +x_352 = !lean_is_exclusive(x_351); +if (x_352 == 0) +{ +lean_object* x_353; lean_object* x_354; +x_353 = lean_ctor_get(x_351, 0); +x_354 = lean_array_push(x_9, x_353); +lean_ctor_set(x_351, 0, x_354); +return x_351; +} +else +{ +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; +x_355 = lean_ctor_get(x_351, 0); +x_356 = lean_ctor_get(x_351, 1); +lean_inc(x_356); +lean_inc(x_355); +lean_dec(x_351); +x_357 = lean_array_push(x_9, x_355); +x_358 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_358, 0, x_357); +lean_ctor_set(x_358, 1, x_356); +return x_358; +} +} +else +{ +uint8_t x_359; +lean_dec(x_9); +x_359 = !lean_is_exclusive(x_351); +if (x_359 == 0) +{ +return x_351; +} +else +{ +lean_object* x_360; lean_object* x_361; lean_object* x_362; +x_360 = lean_ctor_get(x_351, 0); +x_361 = lean_ctor_get(x_351, 1); +lean_inc(x_361); +lean_inc(x_360); +lean_dec(x_351); +x_362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_362, 0, x_360); +lean_ctor_set(x_362, 1, x_361); +return x_362; +} +} +} +else +{ +lean_object* x_363; uint8_t x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; +x_363 = lean_box(0); +x_364 = 1; +x_365 = lean_box(x_290); +x_366 = lean_box(x_364); +x_367 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_367, 0, x_1); +lean_closure_set(x_367, 1, x_5); +lean_closure_set(x_367, 2, x_365); +lean_closure_set(x_367, 3, x_366); +lean_closure_set(x_367, 4, x_363); +x_368 = l_Lean_Elab_Term_observing___rarg(x_367, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_368) == 0) +{ +uint8_t x_369; +x_369 = !lean_is_exclusive(x_368); +if (x_369 == 0) +{ +lean_object* x_370; lean_object* x_371; +x_370 = lean_ctor_get(x_368, 0); +x_371 = lean_array_push(x_9, x_370); +lean_ctor_set(x_368, 0, x_371); +return x_368; +} +else +{ +lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; +x_372 = lean_ctor_get(x_368, 0); +x_373 = lean_ctor_get(x_368, 1); +lean_inc(x_373); +lean_inc(x_372); +lean_dec(x_368); +x_374 = lean_array_push(x_9, x_372); +x_375 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_375, 0, x_374); +lean_ctor_set(x_375, 1, x_373); +return x_375; +} +} +else +{ +uint8_t x_376; +lean_dec(x_9); +x_376 = !lean_is_exclusive(x_368); +if (x_376 == 0) +{ +return x_368; +} +else +{ +lean_object* x_377; lean_object* x_378; lean_object* x_379; +x_377 = lean_ctor_get(x_368, 0); +x_378 = lean_ctor_get(x_368, 1); +lean_inc(x_378); +lean_inc(x_377); +lean_dec(x_368); +x_379 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_379, 0, x_377); +lean_ctor_set(x_379, 1, x_378); +return x_379; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; +x_383 = lean_unsigned_to_nat(2u); +x_384 = l_Lean_Syntax_getArg(x_1, x_383); +lean_dec(x_1); +x_385 = l_Lean_Syntax_getArgs(x_384); +lean_dec(x_384); +x_386 = l_Lean_Syntax_SepArray_getElems___rarg(x_385); +lean_dec(x_385); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_387 = l_Lean_Elab_Term_elabExplicitUnivs(x_386, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_386); +if (lean_obj_tag(x_387) == 0) +{ +lean_object* x_388; lean_object* x_389; lean_object* x_390; +x_388 = lean_ctor_get(x_387, 0); lean_inc(x_388); -lean_inc(x_387); -lean_dec(x_383); -x_389 = lean_array_push(x_9, x_387); -x_390 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_390, 0, x_389); -lean_ctor_set(x_390, 1, x_388); +x_389 = lean_ctor_get(x_387, 1); +lean_inc(x_389); +lean_dec(x_387); +x_390 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(x_287, x_388, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_389); return x_390; } -} else { uint8_t x_391; +lean_dec(x_287); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); -x_391 = !lean_is_exclusive(x_383); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_391 = !lean_is_exclusive(x_387); if (x_391 == 0) { -return x_383; +return x_387; } else { lean_object* x_392; lean_object* x_393; lean_object* x_394; -x_392 = lean_ctor_get(x_383, 0); -x_393 = lean_ctor_get(x_383, 1); +x_392 = lean_ctor_get(x_387, 0); +x_393 = lean_ctor_get(x_387, 1); lean_inc(x_393); lean_inc(x_392); -lean_dec(x_383); +lean_dec(x_387); x_394 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_394, 0, x_392); lean_ctor_set(x_394, 1, x_393); @@ -22263,539 +22962,261 @@ return x_394; } } } -else -{ -uint8_t x_395; -x_395 = l_Array_isEmpty___rarg(x_3); -if (x_395 == 0) -{ -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; -x_396 = lean_box(0); -x_397 = lean_box(x_376); -x_398 = lean_box(x_6); -x_399 = lean_box(x_7); -x_400 = lean_box(x_8); -x_401 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_401, 0, x_1); -lean_closure_set(x_401, 1, x_396); -lean_closure_set(x_401, 2, x_397); -lean_closure_set(x_401, 3, x_2); -lean_closure_set(x_401, 4, x_3); -lean_closure_set(x_401, 5, x_4); -lean_closure_set(x_401, 6, x_5); -lean_closure_set(x_401, 7, x_398); -lean_closure_set(x_401, 8, x_399); -lean_closure_set(x_401, 9, x_400); -x_402 = l_Lean_Elab_Term_observing___rarg(x_401, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_402) == 0) -{ -uint8_t x_403; -x_403 = !lean_is_exclusive(x_402); -if (x_403 == 0) -{ -lean_object* x_404; lean_object* x_405; -x_404 = lean_ctor_get(x_402, 0); -x_405 = lean_array_push(x_9, x_404); -lean_ctor_set(x_402, 0, x_405); -return x_402; -} -else -{ -lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; -x_406 = lean_ctor_get(x_402, 0); -x_407 = lean_ctor_get(x_402, 1); -lean_inc(x_407); -lean_inc(x_406); -lean_dec(x_402); -x_408 = lean_array_push(x_9, x_406); -x_409 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_409, 0, x_408); -lean_ctor_set(x_409, 1, x_407); -return x_409; } } else { -uint8_t x_410; -lean_dec(x_9); -x_410 = !lean_is_exclusive(x_402); -if (x_410 == 0) -{ -return x_402; -} -else -{ -lean_object* x_411; lean_object* x_412; lean_object* x_413; -x_411 = lean_ctor_get(x_402, 0); -x_412 = lean_ctor_get(x_402, 1); -lean_inc(x_412); -lean_inc(x_411); -lean_dec(x_402); -x_413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_413, 0, x_411); -lean_ctor_set(x_413, 1, x_412); -return x_413; -} -} -} -else -{ -uint8_t x_414; -x_414 = l_Array_isEmpty___rarg(x_4); -if (x_414 == 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_box(0); -x_416 = lean_box(x_376); -x_417 = lean_box(x_6); -x_418 = lean_box(x_7); -x_419 = lean_box(x_8); -x_420 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_420, 0, x_1); -lean_closure_set(x_420, 1, x_415); -lean_closure_set(x_420, 2, x_416); -lean_closure_set(x_420, 3, x_2); -lean_closure_set(x_420, 4, x_3); -lean_closure_set(x_420, 5, x_4); -lean_closure_set(x_420, 6, x_5); -lean_closure_set(x_420, 7, x_417); -lean_closure_set(x_420, 8, x_418); -lean_closure_set(x_420, 9, x_419); -x_421 = l_Lean_Elab_Term_observing___rarg(x_420, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_421) == 0) -{ -uint8_t x_422; -x_422 = !lean_is_exclusive(x_421); -if (x_422 == 0) -{ -lean_object* x_423; lean_object* x_424; -x_423 = lean_ctor_get(x_421, 0); -x_424 = lean_array_push(x_9, x_423); -lean_ctor_set(x_421, 0, x_424); -return x_421; -} -else -{ -lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; -x_425 = lean_ctor_get(x_421, 0); -x_426 = lean_ctor_get(x_421, 1); -lean_inc(x_426); -lean_inc(x_425); -lean_dec(x_421); -x_427 = lean_array_push(x_9, x_425); -x_428 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_428, 0, x_427); -lean_ctor_set(x_428, 1, x_426); -return x_428; +lean_object* x_395; lean_object* x_396; +x_395 = lean_box(0); +x_396 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(x_1, x_395, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_396; } } else { -uint8_t x_429; -lean_dec(x_9); -x_429 = !lean_is_exclusive(x_421); -if (x_429 == 0) +lean_object* x_397; lean_object* x_398; lean_object* x_399; uint8_t x_400; +x_397 = lean_unsigned_to_nat(0u); +x_398 = l_Lean_Syntax_getArg(x_1, x_397); +x_399 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; +x_400 = l_Lean_Syntax_isOfKind(x_398, x_399); +if (x_400 == 0) { -return x_421; -} -else -{ -lean_object* x_430; lean_object* x_431; lean_object* x_432; -x_430 = lean_ctor_get(x_421, 0); -x_431 = lean_ctor_get(x_421, 1); -lean_inc(x_431); -lean_inc(x_430); -lean_dec(x_421); -x_432 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_432, 0, x_430); -lean_ctor_set(x_432, 1, x_431); -return x_432; -} -} -} -else -{ -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +uint8_t x_401; uint8_t x_402; +x_401 = l_List_isEmpty___rarg(x_2); if (x_8 == 0) { -uint8_t x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; -x_433 = 1; -x_434 = lean_box(x_433); -x_435 = lean_box(x_433); -x_436 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_436, 0, x_1); -lean_closure_set(x_436, 1, x_5); -lean_closure_set(x_436, 2, x_434); -lean_closure_set(x_436, 3, x_435); -x_437 = l_Lean_Elab_Term_observing___rarg(x_436, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_437) == 0) -{ -uint8_t x_438; -x_438 = !lean_is_exclusive(x_437); -if (x_438 == 0) -{ -lean_object* x_439; lean_object* x_440; -x_439 = lean_ctor_get(x_437, 0); -x_440 = lean_array_push(x_9, x_439); -lean_ctor_set(x_437, 0, x_440); -return x_437; -} -else -{ -lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; -x_441 = lean_ctor_get(x_437, 0); -x_442 = lean_ctor_get(x_437, 1); -lean_inc(x_442); -lean_inc(x_441); -lean_dec(x_437); -x_443 = lean_array_push(x_9, x_441); -x_444 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_444, 0, x_443); -lean_ctor_set(x_444, 1, x_442); -return x_444; -} -} -else -{ -uint8_t x_445; -lean_dec(x_9); -x_445 = !lean_is_exclusive(x_437); -if (x_445 == 0) -{ -return x_437; -} -else -{ -lean_object* x_446; lean_object* x_447; lean_object* x_448; -x_446 = lean_ctor_get(x_437, 0); -x_447 = lean_ctor_get(x_437, 1); -lean_inc(x_447); -lean_inc(x_446); -lean_dec(x_437); -x_448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_448, 0, x_446); -lean_ctor_set(x_448, 1, x_447); -return x_448; -} -} -} -else -{ -lean_object* x_449; uint8_t x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; -x_449 = lean_box(0); -x_450 = 1; -x_451 = lean_box(x_376); -x_452 = lean_box(x_450); -x_453 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_453, 0, x_1); -lean_closure_set(x_453, 1, x_5); -lean_closure_set(x_453, 2, x_451); -lean_closure_set(x_453, 3, x_452); -lean_closure_set(x_453, 4, x_449); -x_454 = l_Lean_Elab_Term_observing___rarg(x_453, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_454) == 0) -{ -uint8_t x_455; -x_455 = !lean_is_exclusive(x_454); -if (x_455 == 0) -{ -lean_object* x_456; lean_object* x_457; -x_456 = lean_ctor_get(x_454, 0); -x_457 = lean_array_push(x_9, x_456); -lean_ctor_set(x_454, 0, x_457); -return x_454; -} -else -{ -lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; -x_458 = lean_ctor_get(x_454, 0); -x_459 = lean_ctor_get(x_454, 1); -lean_inc(x_459); -lean_inc(x_458); -lean_dec(x_454); -x_460 = lean_array_push(x_9, x_458); -x_461 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_461, 0, x_460); -lean_ctor_set(x_461, 1, x_459); -return x_461; -} -} -else -{ -uint8_t x_462; -lean_dec(x_9); -x_462 = !lean_is_exclusive(x_454); -if (x_462 == 0) -{ -return x_454; -} -else -{ -lean_object* x_463; lean_object* x_464; lean_object* x_465; -x_463 = lean_ctor_get(x_454, 0); -x_464 = lean_ctor_get(x_454, 1); -lean_inc(x_464); -lean_inc(x_463); -lean_dec(x_454); -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_469; lean_object* x_470; lean_object* x_471; uint8_t x_472; -x_469 = lean_unsigned_to_nat(2u); -x_470 = l_Lean_Syntax_getArg(x_1, x_469); -x_471 = l_Lean_nullKind; -x_472 = l_Lean_Syntax_isNodeOf(x_470, x_471, x_371); -if (x_472 == 0) -{ -uint8_t x_473; uint8_t x_474; -x_473 = l_List_isEmpty___rarg(x_2); -if (x_8 == 0) -{ -uint8_t x_565; -x_565 = 1; -x_474 = x_565; -goto block_564; -} -else -{ -uint8_t x_566; -x_566 = 0; -x_474 = x_566; -goto block_564; -} -block_564: -{ -if (x_473 == 0) -{ -lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; -x_475 = lean_box(0); -x_476 = lean_box(x_474); -x_477 = lean_box(x_6); -x_478 = lean_box(x_7); -x_479 = lean_box(x_8); -x_480 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_480, 0, x_1); -lean_closure_set(x_480, 1, x_475); -lean_closure_set(x_480, 2, x_476); -lean_closure_set(x_480, 3, x_2); -lean_closure_set(x_480, 4, x_3); -lean_closure_set(x_480, 5, x_4); -lean_closure_set(x_480, 6, x_5); -lean_closure_set(x_480, 7, x_477); -lean_closure_set(x_480, 8, x_478); -lean_closure_set(x_480, 9, x_479); -x_481 = l_Lean_Elab_Term_observing___rarg(x_480, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_481) == 0) -{ -uint8_t x_482; -x_482 = !lean_is_exclusive(x_481); -if (x_482 == 0) -{ -lean_object* x_483; lean_object* x_484; -x_483 = lean_ctor_get(x_481, 0); -x_484 = lean_array_push(x_9, x_483); -lean_ctor_set(x_481, 0, x_484); -return x_481; -} -else -{ -lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; -x_485 = lean_ctor_get(x_481, 0); -x_486 = lean_ctor_get(x_481, 1); -lean_inc(x_486); -lean_inc(x_485); -lean_dec(x_481); -x_487 = lean_array_push(x_9, x_485); -x_488 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_488, 0, x_487); -lean_ctor_set(x_488, 1, x_486); -return x_488; -} -} -else -{ -uint8_t x_489; -lean_dec(x_9); -x_489 = !lean_is_exclusive(x_481); -if (x_489 == 0) -{ -return x_481; -} -else -{ -lean_object* x_490; lean_object* x_491; lean_object* x_492; -x_490 = lean_ctor_get(x_481, 0); -x_491 = lean_ctor_get(x_481, 1); -lean_inc(x_491); -lean_inc(x_490); -lean_dec(x_481); -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 -{ uint8_t x_493; -x_493 = l_Array_isEmpty___rarg(x_3); -if (x_493 == 0) -{ -lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; -x_494 = lean_box(0); -x_495 = lean_box(x_474); -x_496 = lean_box(x_6); -x_497 = lean_box(x_7); -x_498 = lean_box(x_8); -x_499 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_499, 0, x_1); -lean_closure_set(x_499, 1, x_494); -lean_closure_set(x_499, 2, x_495); -lean_closure_set(x_499, 3, x_2); -lean_closure_set(x_499, 4, x_3); -lean_closure_set(x_499, 5, x_4); -lean_closure_set(x_499, 6, x_5); -lean_closure_set(x_499, 7, x_496); -lean_closure_set(x_499, 8, x_497); -lean_closure_set(x_499, 9, x_498); -x_500 = l_Lean_Elab_Term_observing___rarg(x_499, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_500) == 0) -{ -uint8_t x_501; -x_501 = !lean_is_exclusive(x_500); -if (x_501 == 0) -{ -lean_object* x_502; lean_object* x_503; -x_502 = lean_ctor_get(x_500, 0); -x_503 = lean_array_push(x_9, x_502); -lean_ctor_set(x_500, 0, x_503); -return x_500; +x_493 = 1; +x_402 = x_493; +goto block_492; } else { -lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; -x_504 = lean_ctor_get(x_500, 0); -x_505 = lean_ctor_get(x_500, 1); -lean_inc(x_505); -lean_inc(x_504); -lean_dec(x_500); -x_506 = lean_array_push(x_9, x_504); -x_507 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_507, 0, x_506); -lean_ctor_set(x_507, 1, x_505); -return x_507; +uint8_t x_494; +x_494 = 0; +x_402 = x_494; +goto block_492; +} +block_492: +{ +if (x_401 == 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; +x_403 = lean_box(0); +x_404 = lean_box(x_402); +x_405 = lean_box(x_6); +x_406 = lean_box(x_7); +x_407 = lean_box(x_8); +x_408 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_408, 0, x_1); +lean_closure_set(x_408, 1, x_403); +lean_closure_set(x_408, 2, x_404); +lean_closure_set(x_408, 3, x_2); +lean_closure_set(x_408, 4, x_3); +lean_closure_set(x_408, 5, x_4); +lean_closure_set(x_408, 6, x_5); +lean_closure_set(x_408, 7, x_405); +lean_closure_set(x_408, 8, x_406); +lean_closure_set(x_408, 9, x_407); +x_409 = l_Lean_Elab_Term_observing___rarg(x_408, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +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; lean_object* x_412; +x_411 = lean_ctor_get(x_409, 0); +x_412 = lean_array_push(x_9, x_411); +lean_ctor_set(x_409, 0, x_412); +return x_409; +} +else +{ +lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; +x_413 = lean_ctor_get(x_409, 0); +x_414 = lean_ctor_get(x_409, 1); +lean_inc(x_414); +lean_inc(x_413); +lean_dec(x_409); +x_415 = lean_array_push(x_9, x_413); +x_416 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_416, 0, x_415); +lean_ctor_set(x_416, 1, x_414); +return x_416; } } else { -uint8_t x_508; +uint8_t x_417; lean_dec(x_9); -x_508 = !lean_is_exclusive(x_500); -if (x_508 == 0) +x_417 = !lean_is_exclusive(x_409); +if (x_417 == 0) { -return x_500; +return x_409; } else { -lean_object* x_509; lean_object* x_510; lean_object* x_511; -x_509 = lean_ctor_get(x_500, 0); -x_510 = lean_ctor_get(x_500, 1); -lean_inc(x_510); -lean_inc(x_509); -lean_dec(x_500); -x_511 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_511, 0, x_509); -lean_ctor_set(x_511, 1, x_510); -return x_511; +lean_object* x_418; lean_object* x_419; lean_object* x_420; +x_418 = lean_ctor_get(x_409, 0); +x_419 = lean_ctor_get(x_409, 1); +lean_inc(x_419); +lean_inc(x_418); +lean_dec(x_409); +x_420 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_420, 0, x_418); +lean_ctor_set(x_420, 1, x_419); +return x_420; } } } else { -uint8_t x_512; -x_512 = l_Array_isEmpty___rarg(x_4); -if (x_512 == 0) +uint8_t x_421; +x_421 = l_Array_isEmpty___rarg(x_3); +if (x_421 == 0) { -lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; -x_513 = lean_box(0); -x_514 = lean_box(x_474); -x_515 = lean_box(x_6); -x_516 = lean_box(x_7); -x_517 = lean_box(x_8); -x_518 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_518, 0, x_1); -lean_closure_set(x_518, 1, x_513); -lean_closure_set(x_518, 2, x_514); -lean_closure_set(x_518, 3, x_2); -lean_closure_set(x_518, 4, x_3); -lean_closure_set(x_518, 5, x_4); -lean_closure_set(x_518, 6, x_5); -lean_closure_set(x_518, 7, x_515); -lean_closure_set(x_518, 8, x_516); -lean_closure_set(x_518, 9, x_517); -x_519 = l_Lean_Elab_Term_observing___rarg(x_518, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_519) == 0) +lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; +x_422 = lean_box(0); +x_423 = lean_box(x_402); +x_424 = lean_box(x_6); +x_425 = lean_box(x_7); +x_426 = lean_box(x_8); +x_427 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_427, 0, x_1); +lean_closure_set(x_427, 1, x_422); +lean_closure_set(x_427, 2, x_423); +lean_closure_set(x_427, 3, x_2); +lean_closure_set(x_427, 4, x_3); +lean_closure_set(x_427, 5, x_4); +lean_closure_set(x_427, 6, x_5); +lean_closure_set(x_427, 7, x_424); +lean_closure_set(x_427, 8, x_425); +lean_closure_set(x_427, 9, x_426); +x_428 = l_Lean_Elab_Term_observing___rarg(x_427, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_428) == 0) { -uint8_t x_520; -x_520 = !lean_is_exclusive(x_519); -if (x_520 == 0) +uint8_t x_429; +x_429 = !lean_is_exclusive(x_428); +if (x_429 == 0) { -lean_object* x_521; lean_object* x_522; -x_521 = lean_ctor_get(x_519, 0); -x_522 = lean_array_push(x_9, x_521); -lean_ctor_set(x_519, 0, x_522); -return x_519; +lean_object* x_430; lean_object* x_431; +x_430 = lean_ctor_get(x_428, 0); +x_431 = lean_array_push(x_9, x_430); +lean_ctor_set(x_428, 0, x_431); +return x_428; } else { -lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; -x_523 = lean_ctor_get(x_519, 0); -x_524 = lean_ctor_get(x_519, 1); -lean_inc(x_524); -lean_inc(x_523); -lean_dec(x_519); -x_525 = lean_array_push(x_9, x_523); -x_526 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_526, 0, x_525); -lean_ctor_set(x_526, 1, x_524); -return x_526; +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; +x_432 = lean_ctor_get(x_428, 0); +x_433 = lean_ctor_get(x_428, 1); +lean_inc(x_433); +lean_inc(x_432); +lean_dec(x_428); +x_434 = lean_array_push(x_9, x_432); +x_435 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_435, 0, x_434); +lean_ctor_set(x_435, 1, x_433); +return x_435; } } else { -uint8_t x_527; +uint8_t x_436; lean_dec(x_9); -x_527 = !lean_is_exclusive(x_519); -if (x_527 == 0) +x_436 = !lean_is_exclusive(x_428); +if (x_436 == 0) { -return x_519; +return x_428; } else { -lean_object* x_528; lean_object* x_529; lean_object* x_530; -x_528 = lean_ctor_get(x_519, 0); -x_529 = lean_ctor_get(x_519, 1); -lean_inc(x_529); -lean_inc(x_528); -lean_dec(x_519); -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_528); -lean_ctor_set(x_530, 1, x_529); -return x_530; +lean_object* x_437; lean_object* x_438; lean_object* x_439; +x_437 = lean_ctor_get(x_428, 0); +x_438 = lean_ctor_get(x_428, 1); +lean_inc(x_438); +lean_inc(x_437); +lean_dec(x_428); +x_439 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_439, 0, x_437); +lean_ctor_set(x_439, 1, x_438); +return x_439; +} +} +} +else +{ +uint8_t x_440; +x_440 = l_Array_isEmpty___rarg(x_4); +if (x_440 == 0) +{ +lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; +x_441 = lean_box(0); +x_442 = lean_box(x_402); +x_443 = lean_box(x_6); +x_444 = lean_box(x_7); +x_445 = lean_box(x_8); +x_446 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_446, 0, x_1); +lean_closure_set(x_446, 1, x_441); +lean_closure_set(x_446, 2, x_442); +lean_closure_set(x_446, 3, x_2); +lean_closure_set(x_446, 4, x_3); +lean_closure_set(x_446, 5, x_4); +lean_closure_set(x_446, 6, x_5); +lean_closure_set(x_446, 7, x_443); +lean_closure_set(x_446, 8, x_444); +lean_closure_set(x_446, 9, x_445); +x_447 = l_Lean_Elab_Term_observing___rarg(x_446, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_447) == 0) +{ +uint8_t x_448; +x_448 = !lean_is_exclusive(x_447); +if (x_448 == 0) +{ +lean_object* x_449; lean_object* x_450; +x_449 = lean_ctor_get(x_447, 0); +x_450 = lean_array_push(x_9, x_449); +lean_ctor_set(x_447, 0, x_450); +return x_447; +} +else +{ +lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; +x_451 = lean_ctor_get(x_447, 0); +x_452 = lean_ctor_get(x_447, 1); +lean_inc(x_452); +lean_inc(x_451); +lean_dec(x_447); +x_453 = lean_array_push(x_9, x_451); +x_454 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_454, 0, x_453); +lean_ctor_set(x_454, 1, x_452); +return x_454; +} +} +else +{ +uint8_t x_455; +lean_dec(x_9); +x_455 = !lean_is_exclusive(x_447); +if (x_455 == 0) +{ +return x_447; +} +else +{ +lean_object* x_456; lean_object* x_457; lean_object* x_458; +x_456 = lean_ctor_get(x_447, 0); +x_457 = lean_ctor_get(x_447, 1); +lean_inc(x_457); +lean_inc(x_456); +lean_dec(x_447); +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; } } } @@ -22806,1665 +23227,2051 @@ lean_dec(x_3); lean_dec(x_2); if (x_8 == 0) { -uint8_t x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; -x_531 = 1; -x_532 = lean_box(x_531); -x_533 = lean_box(x_531); -x_534 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_534, 0, x_1); -lean_closure_set(x_534, 1, x_5); -lean_closure_set(x_534, 2, x_532); -lean_closure_set(x_534, 3, x_533); -x_535 = l_Lean_Elab_Term_observing___rarg(x_534, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_535) == 0) +uint8_t x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; +x_459 = 1; +x_460 = lean_box(x_459); +x_461 = lean_box(x_459); +x_462 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_462, 0, x_1); +lean_closure_set(x_462, 1, x_5); +lean_closure_set(x_462, 2, x_460); +lean_closure_set(x_462, 3, x_461); +x_463 = l_Lean_Elab_Term_observing___rarg(x_462, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_463) == 0) { -uint8_t x_536; -x_536 = !lean_is_exclusive(x_535); -if (x_536 == 0) +uint8_t x_464; +x_464 = !lean_is_exclusive(x_463); +if (x_464 == 0) { -lean_object* x_537; lean_object* x_538; -x_537 = lean_ctor_get(x_535, 0); -x_538 = lean_array_push(x_9, x_537); -lean_ctor_set(x_535, 0, x_538); -return x_535; +lean_object* x_465; lean_object* x_466; +x_465 = lean_ctor_get(x_463, 0); +x_466 = lean_array_push(x_9, x_465); +lean_ctor_set(x_463, 0, x_466); +return x_463; } else { -lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; -x_539 = lean_ctor_get(x_535, 0); -x_540 = lean_ctor_get(x_535, 1); -lean_inc(x_540); -lean_inc(x_539); -lean_dec(x_535); -x_541 = lean_array_push(x_9, x_539); -x_542 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_542, 0, x_541); -lean_ctor_set(x_542, 1, x_540); -return x_542; +lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; +x_467 = lean_ctor_get(x_463, 0); +x_468 = lean_ctor_get(x_463, 1); +lean_inc(x_468); +lean_inc(x_467); +lean_dec(x_463); +x_469 = lean_array_push(x_9, x_467); +x_470 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_470, 0, x_469); +lean_ctor_set(x_470, 1, x_468); +return x_470; } } else { -uint8_t x_543; +uint8_t x_471; lean_dec(x_9); -x_543 = !lean_is_exclusive(x_535); -if (x_543 == 0) +x_471 = !lean_is_exclusive(x_463); +if (x_471 == 0) { -return x_535; +return x_463; } else { -lean_object* x_544; lean_object* x_545; lean_object* x_546; -x_544 = lean_ctor_get(x_535, 0); -x_545 = lean_ctor_get(x_535, 1); -lean_inc(x_545); -lean_inc(x_544); -lean_dec(x_535); -x_546 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_546, 0, x_544); -lean_ctor_set(x_546, 1, x_545); -return x_546; +lean_object* x_472; lean_object* x_473; lean_object* x_474; +x_472 = lean_ctor_get(x_463, 0); +x_473 = lean_ctor_get(x_463, 1); +lean_inc(x_473); +lean_inc(x_472); +lean_dec(x_463); +x_474 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_474, 0, x_472); +lean_ctor_set(x_474, 1, x_473); +return x_474; } } } else { -lean_object* x_547; uint8_t x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; -x_547 = lean_box(0); -x_548 = 1; -x_549 = lean_box(x_474); -x_550 = lean_box(x_548); -x_551 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_551, 0, x_1); -lean_closure_set(x_551, 1, x_5); -lean_closure_set(x_551, 2, x_549); -lean_closure_set(x_551, 3, x_550); -lean_closure_set(x_551, 4, x_547); -x_552 = l_Lean_Elab_Term_observing___rarg(x_551, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_552) == 0) +lean_object* x_475; uint8_t x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; +x_475 = lean_box(0); +x_476 = 1; +x_477 = lean_box(x_402); +x_478 = lean_box(x_476); +x_479 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_479, 0, x_1); +lean_closure_set(x_479, 1, x_5); +lean_closure_set(x_479, 2, x_477); +lean_closure_set(x_479, 3, x_478); +lean_closure_set(x_479, 4, x_475); +x_480 = l_Lean_Elab_Term_observing___rarg(x_479, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_480) == 0) +{ +uint8_t x_481; +x_481 = !lean_is_exclusive(x_480); +if (x_481 == 0) +{ +lean_object* x_482; lean_object* x_483; +x_482 = lean_ctor_get(x_480, 0); +x_483 = lean_array_push(x_9, x_482); +lean_ctor_set(x_480, 0, x_483); +return x_480; +} +else +{ +lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; +x_484 = lean_ctor_get(x_480, 0); +x_485 = lean_ctor_get(x_480, 1); +lean_inc(x_485); +lean_inc(x_484); +lean_dec(x_480); +x_486 = lean_array_push(x_9, x_484); +x_487 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_487, 0, x_486); +lean_ctor_set(x_487, 1, x_485); +return x_487; +} +} +else +{ +uint8_t x_488; +lean_dec(x_9); +x_488 = !lean_is_exclusive(x_480); +if (x_488 == 0) +{ +return x_480; +} +else +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; +x_489 = lean_ctor_get(x_480, 0); +x_490 = lean_ctor_get(x_480, 1); +lean_inc(x_490); +lean_inc(x_489); +lean_dec(x_480); +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; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_495; lean_object* x_496; lean_object* x_497; uint8_t x_498; +x_495 = lean_unsigned_to_nat(2u); +x_496 = l_Lean_Syntax_getArg(x_1, x_495); +x_497 = l_Lean_nullKind; +x_498 = l_Lean_Syntax_isNodeOf(x_496, x_497, x_397); +if (x_498 == 0) +{ +uint8_t x_499; uint8_t x_500; +x_499 = l_List_isEmpty___rarg(x_2); +if (x_8 == 0) +{ +uint8_t x_591; +x_591 = 1; +x_500 = x_591; +goto block_590; +} +else +{ +uint8_t x_592; +x_592 = 0; +x_500 = x_592; +goto block_590; +} +block_590: +{ +if (x_499 == 0) +{ +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; +x_501 = lean_box(0); +x_502 = lean_box(x_500); +x_503 = lean_box(x_6); +x_504 = lean_box(x_7); +x_505 = lean_box(x_8); +x_506 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_506, 0, x_1); +lean_closure_set(x_506, 1, x_501); +lean_closure_set(x_506, 2, x_502); +lean_closure_set(x_506, 3, x_2); +lean_closure_set(x_506, 4, x_3); +lean_closure_set(x_506, 5, x_4); +lean_closure_set(x_506, 6, x_5); +lean_closure_set(x_506, 7, x_503); +lean_closure_set(x_506, 8, x_504); +lean_closure_set(x_506, 9, x_505); +x_507 = l_Lean_Elab_Term_observing___rarg(x_506, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_507) == 0) +{ +uint8_t x_508; +x_508 = !lean_is_exclusive(x_507); +if (x_508 == 0) +{ +lean_object* x_509; lean_object* x_510; +x_509 = lean_ctor_get(x_507, 0); +x_510 = lean_array_push(x_9, x_509); +lean_ctor_set(x_507, 0, x_510); +return x_507; +} +else +{ +lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; +x_511 = lean_ctor_get(x_507, 0); +x_512 = lean_ctor_get(x_507, 1); +lean_inc(x_512); +lean_inc(x_511); +lean_dec(x_507); +x_513 = lean_array_push(x_9, x_511); +x_514 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_514, 0, x_513); +lean_ctor_set(x_514, 1, x_512); +return x_514; +} +} +else +{ +uint8_t x_515; +lean_dec(x_9); +x_515 = !lean_is_exclusive(x_507); +if (x_515 == 0) +{ +return x_507; +} +else +{ +lean_object* x_516; lean_object* x_517; lean_object* x_518; +x_516 = lean_ctor_get(x_507, 0); +x_517 = lean_ctor_get(x_507, 1); +lean_inc(x_517); +lean_inc(x_516); +lean_dec(x_507); +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; +x_519 = l_Array_isEmpty___rarg(x_3); +if (x_519 == 0) +{ +lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; +x_520 = lean_box(0); +x_521 = lean_box(x_500); +x_522 = lean_box(x_6); +x_523 = lean_box(x_7); +x_524 = lean_box(x_8); +x_525 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_525, 0, x_1); +lean_closure_set(x_525, 1, x_520); +lean_closure_set(x_525, 2, x_521); +lean_closure_set(x_525, 3, x_2); +lean_closure_set(x_525, 4, x_3); +lean_closure_set(x_525, 5, x_4); +lean_closure_set(x_525, 6, x_5); +lean_closure_set(x_525, 7, x_522); +lean_closure_set(x_525, 8, x_523); +lean_closure_set(x_525, 9, x_524); +x_526 = l_Lean_Elab_Term_observing___rarg(x_525, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_526) == 0) +{ +uint8_t x_527; +x_527 = !lean_is_exclusive(x_526); +if (x_527 == 0) +{ +lean_object* x_528; lean_object* x_529; +x_528 = lean_ctor_get(x_526, 0); +x_529 = lean_array_push(x_9, x_528); +lean_ctor_set(x_526, 0, x_529); +return x_526; +} +else +{ +lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; +x_530 = lean_ctor_get(x_526, 0); +x_531 = lean_ctor_get(x_526, 1); +lean_inc(x_531); +lean_inc(x_530); +lean_dec(x_526); +x_532 = lean_array_push(x_9, x_530); +x_533 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_533, 0, x_532); +lean_ctor_set(x_533, 1, x_531); +return x_533; +} +} +else +{ +uint8_t x_534; +lean_dec(x_9); +x_534 = !lean_is_exclusive(x_526); +if (x_534 == 0) +{ +return x_526; +} +else +{ +lean_object* x_535; lean_object* x_536; lean_object* x_537; +x_535 = lean_ctor_get(x_526, 0); +x_536 = lean_ctor_get(x_526, 1); +lean_inc(x_536); +lean_inc(x_535); +lean_dec(x_526); +x_537 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_537, 0, x_535); +lean_ctor_set(x_537, 1, x_536); +return x_537; +} +} +} +else +{ +uint8_t x_538; +x_538 = l_Array_isEmpty___rarg(x_4); +if (x_538 == 0) +{ +lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; +x_539 = lean_box(0); +x_540 = lean_box(x_500); +x_541 = lean_box(x_6); +x_542 = lean_box(x_7); +x_543 = lean_box(x_8); +x_544 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_544, 0, x_1); +lean_closure_set(x_544, 1, x_539); +lean_closure_set(x_544, 2, x_540); +lean_closure_set(x_544, 3, x_2); +lean_closure_set(x_544, 4, x_3); +lean_closure_set(x_544, 5, x_4); +lean_closure_set(x_544, 6, x_5); +lean_closure_set(x_544, 7, x_541); +lean_closure_set(x_544, 8, x_542); +lean_closure_set(x_544, 9, x_543); +x_545 = l_Lean_Elab_Term_observing___rarg(x_544, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_545) == 0) +{ +uint8_t x_546; +x_546 = !lean_is_exclusive(x_545); +if (x_546 == 0) +{ +lean_object* x_547; lean_object* x_548; +x_547 = lean_ctor_get(x_545, 0); +x_548 = lean_array_push(x_9, x_547); +lean_ctor_set(x_545, 0, x_548); +return x_545; +} +else +{ +lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; +x_549 = lean_ctor_get(x_545, 0); +x_550 = lean_ctor_get(x_545, 1); +lean_inc(x_550); +lean_inc(x_549); +lean_dec(x_545); +x_551 = lean_array_push(x_9, x_549); +x_552 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_552, 0, x_551); +lean_ctor_set(x_552, 1, x_550); +return x_552; +} +} +else { uint8_t x_553; -x_553 = !lean_is_exclusive(x_552); +lean_dec(x_9); +x_553 = !lean_is_exclusive(x_545); if (x_553 == 0) { -lean_object* x_554; lean_object* x_555; -x_554 = lean_ctor_get(x_552, 0); -x_555 = lean_array_push(x_9, x_554); -lean_ctor_set(x_552, 0, x_555); -return x_552; +return x_545; } else { -lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; -x_556 = lean_ctor_get(x_552, 0); -x_557 = lean_ctor_get(x_552, 1); -lean_inc(x_557); -lean_inc(x_556); -lean_dec(x_552); -x_558 = lean_array_push(x_9, x_556); -x_559 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_559, 0, x_558); -lean_ctor_set(x_559, 1, x_557); -return x_559; -} -} -else -{ -uint8_t x_560; -lean_dec(x_9); -x_560 = !lean_is_exclusive(x_552); -if (x_560 == 0) -{ -return x_552; -} -else -{ -lean_object* x_561; lean_object* x_562; lean_object* x_563; -x_561 = lean_ctor_get(x_552, 0); -x_562 = lean_ctor_get(x_552, 1); -lean_inc(x_562); -lean_inc(x_561); -lean_dec(x_552); -x_563 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_563, 0, x_561); -lean_ctor_set(x_563, 1, x_562); -return x_563; -} -} -} -} -} +lean_object* x_554; lean_object* x_555; lean_object* x_556; +x_554 = lean_ctor_get(x_545, 0); +x_555 = lean_ctor_get(x_545, 1); +lean_inc(x_555); +lean_inc(x_554); +lean_dec(x_545); +x_556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_556, 0, x_554); +lean_ctor_set(x_556, 1, x_555); +return x_556; } } } else { -lean_object* x_567; lean_object* x_568; -lean_dec(x_9); -lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_567 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__22; -x_568 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_567, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); +if (x_8 == 0) +{ +uint8_t x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; +x_557 = 1; +x_558 = lean_box(x_557); +x_559 = lean_box(x_557); +x_560 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_560, 0, x_1); +lean_closure_set(x_560, 1, x_5); +lean_closure_set(x_560, 2, x_558); +lean_closure_set(x_560, 3, x_559); +x_561 = l_Lean_Elab_Term_observing___rarg(x_560, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_561) == 0) +{ +uint8_t x_562; +x_562 = !lean_is_exclusive(x_561); +if (x_562 == 0) +{ +lean_object* x_563; lean_object* x_564; +x_563 = lean_ctor_get(x_561, 0); +x_564 = lean_array_push(x_9, x_563); +lean_ctor_set(x_561, 0, x_564); +return x_561; +} +else +{ +lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; +x_565 = lean_ctor_get(x_561, 0); +x_566 = lean_ctor_get(x_561, 1); +lean_inc(x_566); +lean_inc(x_565); +lean_dec(x_561); +x_567 = lean_array_push(x_9, x_565); +x_568 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_568, 0, x_567); +lean_ctor_set(x_568, 1, x_566); return x_568; } } +else +{ +uint8_t x_569; +lean_dec(x_9); +x_569 = !lean_is_exclusive(x_561); +if (x_569 == 0) +{ +return x_561; +} +else +{ +lean_object* x_570; lean_object* x_571; lean_object* x_572; +x_570 = lean_ctor_get(x_561, 0); +x_571 = lean_ctor_get(x_561, 1); +lean_inc(x_571); +lean_inc(x_570); +lean_dec(x_561); +x_572 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_572, 0, x_570); +lean_ctor_set(x_572, 1, x_571); +return x_572; +} } } else { -lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; -x_569 = lean_unsigned_to_nat(0u); -x_570 = l_Lean_Syntax_getArg(x_1, x_569); -x_571 = lean_unsigned_to_nat(1u); -x_572 = l_Lean_Syntax_getArg(x_1, x_571); -x_573 = lean_unsigned_to_nat(2u); -x_574 = l_Lean_Syntax_getArg(x_1, x_573); -lean_dec(x_1); -x_575 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_575, 0, x_572); -lean_ctor_set(x_575, 1, x_574); -x_576 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_576, 0, x_575); -lean_ctor_set(x_576, 1, x_2); -x_1 = x_570; -x_2 = x_576; -goto _start; +lean_object* x_573; uint8_t x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; +x_573 = lean_box(0); +x_574 = 1; +x_575 = lean_box(x_500); +x_576 = lean_box(x_574); +x_577 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_577, 0, x_1); +lean_closure_set(x_577, 1, x_5); +lean_closure_set(x_577, 2, x_575); +lean_closure_set(x_577, 3, x_576); +lean_closure_set(x_577, 4, x_573); +x_578 = l_Lean_Elab_Term_observing___rarg(x_577, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_578) == 0) +{ +uint8_t x_579; +x_579 = !lean_is_exclusive(x_578); +if (x_579 == 0) +{ +lean_object* x_580; lean_object* x_581; +x_580 = lean_ctor_get(x_578, 0); +x_581 = lean_array_push(x_9, x_580); +lean_ctor_set(x_578, 0, x_581); +return x_578; +} +else +{ +lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; +x_582 = lean_ctor_get(x_578, 0); +x_583 = lean_ctor_get(x_578, 1); +lean_inc(x_583); +lean_inc(x_582); +lean_dec(x_578); +x_584 = lean_array_push(x_9, x_582); +x_585 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_585, 0, x_584); +lean_ctor_set(x_585, 1, x_583); +return x_585; } } else { -lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; uint8_t x_583; -x_578 = lean_unsigned_to_nat(0u); -x_579 = l_Lean_Syntax_getArg(x_1, x_578); -x_580 = lean_unsigned_to_nat(2u); -x_581 = l_Lean_Syntax_getArg(x_1, x_580); -x_582 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24; -lean_inc(x_581); -x_583 = l_Lean_Syntax_isOfKind(x_581, x_582); -if (x_583 == 0) -{ -lean_object* x_584; uint8_t x_585; -x_584 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; -lean_inc(x_581); -x_585 = l_Lean_Syntax_isOfKind(x_581, x_584); -if (x_585 == 0) -{ -uint8_t x_586; uint8_t x_587; -lean_dec(x_581); -lean_dec(x_579); -x_586 = l_List_isEmpty___rarg(x_2); -if (x_8 == 0) -{ -uint8_t x_678; -x_678 = 1; -x_587 = x_678; -goto block_677; -} -else -{ -uint8_t x_679; -x_679 = 0; -x_587 = x_679; -goto block_677; -} -block_677: -{ +uint8_t x_586; +lean_dec(x_9); +x_586 = !lean_is_exclusive(x_578); if (x_586 == 0) { -lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; -x_588 = lean_box(0); -x_589 = lean_box(x_587); -x_590 = lean_box(x_6); -x_591 = lean_box(x_7); -x_592 = lean_box(x_8); -x_593 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_593, 0, x_1); -lean_closure_set(x_593, 1, x_588); -lean_closure_set(x_593, 2, x_589); -lean_closure_set(x_593, 3, x_2); -lean_closure_set(x_593, 4, x_3); -lean_closure_set(x_593, 5, x_4); -lean_closure_set(x_593, 6, x_5); -lean_closure_set(x_593, 7, x_590); -lean_closure_set(x_593, 8, x_591); -lean_closure_set(x_593, 9, x_592); -x_594 = l_Lean_Elab_Term_observing___rarg(x_593, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_594) == 0) -{ -uint8_t x_595; -x_595 = !lean_is_exclusive(x_594); -if (x_595 == 0) -{ -lean_object* x_596; lean_object* x_597; -x_596 = lean_ctor_get(x_594, 0); -x_597 = lean_array_push(x_9, x_596); -lean_ctor_set(x_594, 0, x_597); -return x_594; +return x_578; } else { -lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; -x_598 = lean_ctor_get(x_594, 0); -x_599 = lean_ctor_get(x_594, 1); -lean_inc(x_599); -lean_inc(x_598); -lean_dec(x_594); -x_600 = lean_array_push(x_9, x_598); -x_601 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_599); -return x_601; +lean_object* x_587; lean_object* x_588; lean_object* x_589; +x_587 = lean_ctor_get(x_578, 0); +x_588 = lean_ctor_get(x_578, 1); +lean_inc(x_588); +lean_inc(x_587); +lean_dec(x_578); +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_602; +lean_object* x_593; lean_object* x_594; lean_dec(x_9); -x_602 = !lean_is_exclusive(x_594); -if (x_602 == 0) -{ -return x_594; -} -else -{ -lean_object* x_603; lean_object* x_604; lean_object* x_605; -x_603 = lean_ctor_get(x_594, 0); -x_604 = lean_ctor_get(x_594, 1); -lean_inc(x_604); -lean_inc(x_603); -lean_dec(x_594); -x_605 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_605, 0, x_603); -lean_ctor_set(x_605, 1, x_604); -return x_605; -} -} -} -else -{ -uint8_t x_606; -x_606 = l_Array_isEmpty___rarg(x_3); -if (x_606 == 0) -{ -lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; -x_607 = lean_box(0); -x_608 = lean_box(x_587); -x_609 = lean_box(x_6); -x_610 = lean_box(x_7); -x_611 = lean_box(x_8); -x_612 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_612, 0, x_1); -lean_closure_set(x_612, 1, x_607); -lean_closure_set(x_612, 2, x_608); -lean_closure_set(x_612, 3, x_2); -lean_closure_set(x_612, 4, x_3); -lean_closure_set(x_612, 5, x_4); -lean_closure_set(x_612, 6, x_5); -lean_closure_set(x_612, 7, x_609); -lean_closure_set(x_612, 8, x_610); -lean_closure_set(x_612, 9, x_611); -x_613 = l_Lean_Elab_Term_observing___rarg(x_612, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_613) == 0) -{ -uint8_t x_614; -x_614 = !lean_is_exclusive(x_613); -if (x_614 == 0) -{ -lean_object* x_615; lean_object* x_616; -x_615 = lean_ctor_get(x_613, 0); -x_616 = lean_array_push(x_9, x_615); -lean_ctor_set(x_613, 0, x_616); -return x_613; -} -else -{ -lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; -x_617 = lean_ctor_get(x_613, 0); -x_618 = lean_ctor_get(x_613, 1); -lean_inc(x_618); -lean_inc(x_617); -lean_dec(x_613); -x_619 = lean_array_push(x_9, x_617); -x_620 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_620, 0, x_619); -lean_ctor_set(x_620, 1, x_618); -return x_620; -} -} -else -{ -uint8_t x_621; -lean_dec(x_9); -x_621 = !lean_is_exclusive(x_613); -if (x_621 == 0) -{ -return x_613; -} -else -{ -lean_object* x_622; lean_object* x_623; lean_object* x_624; -x_622 = lean_ctor_get(x_613, 0); -x_623 = lean_ctor_get(x_613, 1); -lean_inc(x_623); -lean_inc(x_622); -lean_dec(x_613); -x_624 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_624, 0, x_622); -lean_ctor_set(x_624, 1, x_623); -return x_624; -} -} -} -else -{ -uint8_t x_625; -x_625 = l_Array_isEmpty___rarg(x_4); -if (x_625 == 0) -{ -lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; -x_626 = lean_box(0); -x_627 = lean_box(x_587); -x_628 = lean_box(x_6); -x_629 = lean_box(x_7); -x_630 = lean_box(x_8); -x_631 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_631, 0, x_1); -lean_closure_set(x_631, 1, x_626); -lean_closure_set(x_631, 2, x_627); -lean_closure_set(x_631, 3, x_2); -lean_closure_set(x_631, 4, x_3); -lean_closure_set(x_631, 5, x_4); -lean_closure_set(x_631, 6, x_5); -lean_closure_set(x_631, 7, x_628); -lean_closure_set(x_631, 8, x_629); -lean_closure_set(x_631, 9, x_630); -x_632 = l_Lean_Elab_Term_observing___rarg(x_631, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_632) == 0) -{ -uint8_t x_633; -x_633 = !lean_is_exclusive(x_632); -if (x_633 == 0) -{ -lean_object* x_634; lean_object* x_635; -x_634 = lean_ctor_get(x_632, 0); -x_635 = lean_array_push(x_9, x_634); -lean_ctor_set(x_632, 0, x_635); -return x_632; -} -else -{ -lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_636 = lean_ctor_get(x_632, 0); -x_637 = lean_ctor_get(x_632, 1); -lean_inc(x_637); -lean_inc(x_636); -lean_dec(x_632); -x_638 = lean_array_push(x_9, x_636); -x_639 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_639, 0, x_638); -lean_ctor_set(x_639, 1, x_637); -return x_639; -} -} -else -{ -uint8_t x_640; -lean_dec(x_9); -x_640 = !lean_is_exclusive(x_632); -if (x_640 == 0) -{ -return x_632; -} -else -{ -lean_object* x_641; lean_object* x_642; lean_object* x_643; -x_641 = lean_ctor_get(x_632, 0); -x_642 = lean_ctor_get(x_632, 1); -lean_inc(x_642); -lean_inc(x_641); -lean_dec(x_632); -x_643 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_643, 0, x_641); -lean_ctor_set(x_643, 1, x_642); -return x_643; -} -} -} -else -{ +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); +x_593 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__20; +x_594 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_593, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +return x_594; +} +} +} +} +else +{ +lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; +x_595 = lean_unsigned_to_nat(0u); +x_596 = l_Lean_Syntax_getArg(x_1, x_595); +x_597 = lean_unsigned_to_nat(1u); +x_598 = l_Lean_Syntax_getArg(x_1, x_597); +x_599 = lean_unsigned_to_nat(2u); +x_600 = l_Lean_Syntax_getArg(x_1, x_599); +lean_dec(x_1); +x_601 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_601, 0, x_598); +lean_ctor_set(x_601, 1, x_600); +x_602 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_602, 0, x_601); +lean_ctor_set(x_602, 1, x_2); +x_1 = x_596; +x_2 = x_602; +goto _start; +} +} +else +{ +lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; uint8_t x_609; +x_604 = lean_unsigned_to_nat(0u); +x_605 = l_Lean_Syntax_getArg(x_1, x_604); +x_606 = lean_unsigned_to_nat(2u); +x_607 = l_Lean_Syntax_getArg(x_1, x_606); +x_608 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__22; +lean_inc(x_607); +x_609 = l_Lean_Syntax_isOfKind(x_607, x_608); +if (x_609 == 0) +{ +lean_object* x_610; uint8_t x_611; +x_610 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; +lean_inc(x_607); +x_611 = l_Lean_Syntax_isOfKind(x_607, x_610); +if (x_611 == 0) +{ +uint8_t x_612; uint8_t x_613; +lean_dec(x_607); +lean_dec(x_605); +x_612 = l_List_isEmpty___rarg(x_2); if (x_8 == 0) { -uint8_t x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; -x_644 = 1; -x_645 = lean_box(x_644); -x_646 = lean_box(x_644); -x_647 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_647, 0, x_1); -lean_closure_set(x_647, 1, x_5); -lean_closure_set(x_647, 2, x_645); -lean_closure_set(x_647, 3, x_646); -x_648 = l_Lean_Elab_Term_observing___rarg(x_647, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_648) == 0) -{ -uint8_t x_649; -x_649 = !lean_is_exclusive(x_648); -if (x_649 == 0) -{ -lean_object* x_650; lean_object* x_651; -x_650 = lean_ctor_get(x_648, 0); -x_651 = lean_array_push(x_9, x_650); -lean_ctor_set(x_648, 0, x_651); -return x_648; -} -else -{ -lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; -x_652 = lean_ctor_get(x_648, 0); -x_653 = lean_ctor_get(x_648, 1); -lean_inc(x_653); -lean_inc(x_652); -lean_dec(x_648); -x_654 = lean_array_push(x_9, x_652); -x_655 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_655, 0, x_654); -lean_ctor_set(x_655, 1, x_653); -return x_655; -} -} -else -{ -uint8_t x_656; -lean_dec(x_9); -x_656 = !lean_is_exclusive(x_648); -if (x_656 == 0) -{ -return x_648; -} -else -{ -lean_object* x_657; lean_object* x_658; lean_object* x_659; -x_657 = lean_ctor_get(x_648, 0); -x_658 = lean_ctor_get(x_648, 1); -lean_inc(x_658); -lean_inc(x_657); -lean_dec(x_648); -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 -{ -lean_object* x_660; uint8_t x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; -x_660 = lean_box(0); -x_661 = 1; -x_662 = lean_box(x_587); -x_663 = lean_box(x_661); -x_664 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_664, 0, x_1); -lean_closure_set(x_664, 1, x_5); -lean_closure_set(x_664, 2, x_662); -lean_closure_set(x_664, 3, x_663); -lean_closure_set(x_664, 4, x_660); -x_665 = l_Lean_Elab_Term_observing___rarg(x_664, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_665) == 0) -{ -uint8_t x_666; -x_666 = !lean_is_exclusive(x_665); -if (x_666 == 0) -{ -lean_object* x_667; lean_object* x_668; -x_667 = lean_ctor_get(x_665, 0); -x_668 = lean_array_push(x_9, x_667); -lean_ctor_set(x_665, 0, x_668); -return x_665; -} -else -{ -lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; -x_669 = lean_ctor_get(x_665, 0); -x_670 = lean_ctor_get(x_665, 1); -lean_inc(x_670); -lean_inc(x_669); -lean_dec(x_665); -x_671 = lean_array_push(x_9, x_669); -x_672 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_672, 0, x_671); -lean_ctor_set(x_672, 1, x_670); -return x_672; -} -} -else -{ -uint8_t x_673; -lean_dec(x_9); -x_673 = !lean_is_exclusive(x_665); -if (x_673 == 0) -{ -return x_665; -} -else -{ -lean_object* x_674; lean_object* x_675; lean_object* x_676; -x_674 = lean_ctor_get(x_665, 0); -x_675 = lean_ctor_get(x_665, 1); -lean_inc(x_675); -lean_inc(x_674); -lean_dec(x_665); -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_680; lean_object* x_681; lean_object* x_682; uint8_t x_683; -x_680 = lean_unsigned_to_nat(3u); -x_681 = l_Lean_Syntax_getArg(x_1, x_680); -x_682 = l_Lean_nullKind; -x_683 = l_Lean_Syntax_isNodeOf(x_681, x_682, x_578); -if (x_683 == 0) -{ -uint8_t x_684; uint8_t x_685; -lean_dec(x_581); -lean_dec(x_579); -x_684 = l_List_isEmpty___rarg(x_2); -if (x_8 == 0) -{ -uint8_t x_776; -x_776 = 1; -x_685 = x_776; -goto block_775; -} -else -{ -uint8_t x_777; -x_777 = 0; -x_685 = x_777; -goto block_775; -} -block_775: -{ -if (x_684 == 0) -{ -lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; -x_686 = lean_box(0); -x_687 = lean_box(x_685); -x_688 = lean_box(x_6); -x_689 = lean_box(x_7); -x_690 = lean_box(x_8); -x_691 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_691, 0, x_1); -lean_closure_set(x_691, 1, x_686); -lean_closure_set(x_691, 2, x_687); -lean_closure_set(x_691, 3, x_2); -lean_closure_set(x_691, 4, x_3); -lean_closure_set(x_691, 5, x_4); -lean_closure_set(x_691, 6, x_5); -lean_closure_set(x_691, 7, x_688); -lean_closure_set(x_691, 8, x_689); -lean_closure_set(x_691, 9, x_690); -x_692 = l_Lean_Elab_Term_observing___rarg(x_691, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_692) == 0) -{ -uint8_t x_693; -x_693 = !lean_is_exclusive(x_692); -if (x_693 == 0) -{ -lean_object* x_694; lean_object* x_695; -x_694 = lean_ctor_get(x_692, 0); -x_695 = lean_array_push(x_9, x_694); -lean_ctor_set(x_692, 0, x_695); -return x_692; -} -else -{ -lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; -x_696 = lean_ctor_get(x_692, 0); -x_697 = lean_ctor_get(x_692, 1); -lean_inc(x_697); -lean_inc(x_696); -lean_dec(x_692); -x_698 = lean_array_push(x_9, x_696); -x_699 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_699, 0, x_698); -lean_ctor_set(x_699, 1, x_697); -return x_699; -} -} -else -{ -uint8_t x_700; -lean_dec(x_9); -x_700 = !lean_is_exclusive(x_692); -if (x_700 == 0) -{ -return x_692; -} -else -{ -lean_object* x_701; lean_object* x_702; lean_object* x_703; -x_701 = lean_ctor_get(x_692, 0); -x_702 = lean_ctor_get(x_692, 1); -lean_inc(x_702); -lean_inc(x_701); -lean_dec(x_692); -x_703 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_703, 0, x_701); -lean_ctor_set(x_703, 1, x_702); -return x_703; -} -} -} -else -{ uint8_t x_704; -x_704 = l_Array_isEmpty___rarg(x_3); -if (x_704 == 0) -{ -lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; -x_705 = lean_box(0); -x_706 = lean_box(x_685); -x_707 = lean_box(x_6); -x_708 = lean_box(x_7); -x_709 = lean_box(x_8); -x_710 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_710, 0, x_1); -lean_closure_set(x_710, 1, x_705); -lean_closure_set(x_710, 2, x_706); -lean_closure_set(x_710, 3, x_2); -lean_closure_set(x_710, 4, x_3); -lean_closure_set(x_710, 5, x_4); -lean_closure_set(x_710, 6, x_5); -lean_closure_set(x_710, 7, x_707); -lean_closure_set(x_710, 8, x_708); -lean_closure_set(x_710, 9, x_709); -x_711 = l_Lean_Elab_Term_observing___rarg(x_710, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_711) == 0) -{ -uint8_t x_712; -x_712 = !lean_is_exclusive(x_711); -if (x_712 == 0) -{ -lean_object* x_713; lean_object* x_714; -x_713 = lean_ctor_get(x_711, 0); -x_714 = lean_array_push(x_9, x_713); -lean_ctor_set(x_711, 0, x_714); -return x_711; +x_704 = 1; +x_613 = x_704; +goto block_703; } else { -lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; -x_715 = lean_ctor_get(x_711, 0); -x_716 = lean_ctor_get(x_711, 1); -lean_inc(x_716); -lean_inc(x_715); -lean_dec(x_711); -x_717 = lean_array_push(x_9, x_715); -x_718 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_718, 0, x_717); -lean_ctor_set(x_718, 1, x_716); -return x_718; +uint8_t x_705; +x_705 = 0; +x_613 = x_705; +goto block_703; +} +block_703: +{ +if (x_612 == 0) +{ +lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; +x_614 = lean_box(0); +x_615 = lean_box(x_613); +x_616 = lean_box(x_6); +x_617 = lean_box(x_7); +x_618 = lean_box(x_8); +x_619 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_619, 0, x_1); +lean_closure_set(x_619, 1, x_614); +lean_closure_set(x_619, 2, x_615); +lean_closure_set(x_619, 3, x_2); +lean_closure_set(x_619, 4, x_3); +lean_closure_set(x_619, 5, x_4); +lean_closure_set(x_619, 6, x_5); +lean_closure_set(x_619, 7, x_616); +lean_closure_set(x_619, 8, x_617); +lean_closure_set(x_619, 9, x_618); +x_620 = l_Lean_Elab_Term_observing___rarg(x_619, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_620) == 0) +{ +uint8_t x_621; +x_621 = !lean_is_exclusive(x_620); +if (x_621 == 0) +{ +lean_object* x_622; lean_object* x_623; +x_622 = lean_ctor_get(x_620, 0); +x_623 = lean_array_push(x_9, x_622); +lean_ctor_set(x_620, 0, x_623); +return x_620; +} +else +{ +lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; +x_624 = lean_ctor_get(x_620, 0); +x_625 = lean_ctor_get(x_620, 1); +lean_inc(x_625); +lean_inc(x_624); +lean_dec(x_620); +x_626 = lean_array_push(x_9, x_624); +x_627 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_627, 0, x_626); +lean_ctor_set(x_627, 1, x_625); +return x_627; } } else { +uint8_t x_628; +lean_dec(x_9); +x_628 = !lean_is_exclusive(x_620); +if (x_628 == 0) +{ +return x_620; +} +else +{ +lean_object* x_629; lean_object* x_630; lean_object* x_631; +x_629 = lean_ctor_get(x_620, 0); +x_630 = lean_ctor_get(x_620, 1); +lean_inc(x_630); +lean_inc(x_629); +lean_dec(x_620); +x_631 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_631, 0, x_629); +lean_ctor_set(x_631, 1, x_630); +return x_631; +} +} +} +else +{ +uint8_t x_632; +x_632 = l_Array_isEmpty___rarg(x_3); +if (x_632 == 0) +{ +lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; +x_633 = lean_box(0); +x_634 = lean_box(x_613); +x_635 = lean_box(x_6); +x_636 = lean_box(x_7); +x_637 = lean_box(x_8); +x_638 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_638, 0, x_1); +lean_closure_set(x_638, 1, x_633); +lean_closure_set(x_638, 2, x_634); +lean_closure_set(x_638, 3, x_2); +lean_closure_set(x_638, 4, x_3); +lean_closure_set(x_638, 5, x_4); +lean_closure_set(x_638, 6, x_5); +lean_closure_set(x_638, 7, x_635); +lean_closure_set(x_638, 8, x_636); +lean_closure_set(x_638, 9, x_637); +x_639 = l_Lean_Elab_Term_observing___rarg(x_638, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_639) == 0) +{ +uint8_t x_640; +x_640 = !lean_is_exclusive(x_639); +if (x_640 == 0) +{ +lean_object* x_641; lean_object* x_642; +x_641 = lean_ctor_get(x_639, 0); +x_642 = lean_array_push(x_9, x_641); +lean_ctor_set(x_639, 0, x_642); +return x_639; +} +else +{ +lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; +x_643 = lean_ctor_get(x_639, 0); +x_644 = lean_ctor_get(x_639, 1); +lean_inc(x_644); +lean_inc(x_643); +lean_dec(x_639); +x_645 = lean_array_push(x_9, x_643); +x_646 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_646, 0, x_645); +lean_ctor_set(x_646, 1, x_644); +return x_646; +} +} +else +{ +uint8_t x_647; +lean_dec(x_9); +x_647 = !lean_is_exclusive(x_639); +if (x_647 == 0) +{ +return x_639; +} +else +{ +lean_object* x_648; lean_object* x_649; lean_object* x_650; +x_648 = lean_ctor_get(x_639, 0); +x_649 = lean_ctor_get(x_639, 1); +lean_inc(x_649); +lean_inc(x_648); +lean_dec(x_639); +x_650 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_650, 0, x_648); +lean_ctor_set(x_650, 1, x_649); +return x_650; +} +} +} +else +{ +uint8_t x_651; +x_651 = l_Array_isEmpty___rarg(x_4); +if (x_651 == 0) +{ +lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; +x_652 = lean_box(0); +x_653 = lean_box(x_613); +x_654 = lean_box(x_6); +x_655 = lean_box(x_7); +x_656 = lean_box(x_8); +x_657 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_657, 0, x_1); +lean_closure_set(x_657, 1, x_652); +lean_closure_set(x_657, 2, x_653); +lean_closure_set(x_657, 3, x_2); +lean_closure_set(x_657, 4, x_3); +lean_closure_set(x_657, 5, x_4); +lean_closure_set(x_657, 6, x_5); +lean_closure_set(x_657, 7, x_654); +lean_closure_set(x_657, 8, x_655); +lean_closure_set(x_657, 9, x_656); +x_658 = l_Lean_Elab_Term_observing___rarg(x_657, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_658) == 0) +{ +uint8_t x_659; +x_659 = !lean_is_exclusive(x_658); +if (x_659 == 0) +{ +lean_object* x_660; lean_object* x_661; +x_660 = lean_ctor_get(x_658, 0); +x_661 = lean_array_push(x_9, x_660); +lean_ctor_set(x_658, 0, x_661); +return x_658; +} +else +{ +lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; +x_662 = lean_ctor_get(x_658, 0); +x_663 = lean_ctor_get(x_658, 1); +lean_inc(x_663); +lean_inc(x_662); +lean_dec(x_658); +x_664 = lean_array_push(x_9, x_662); +x_665 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_665, 0, x_664); +lean_ctor_set(x_665, 1, x_663); +return x_665; +} +} +else +{ +uint8_t x_666; +lean_dec(x_9); +x_666 = !lean_is_exclusive(x_658); +if (x_666 == 0) +{ +return x_658; +} +else +{ +lean_object* x_667; lean_object* x_668; lean_object* x_669; +x_667 = lean_ctor_get(x_658, 0); +x_668 = lean_ctor_get(x_658, 1); +lean_inc(x_668); +lean_inc(x_667); +lean_dec(x_658); +x_669 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_669, 0, x_667); +lean_ctor_set(x_669, 1, x_668); +return x_669; +} +} +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +if (x_8 == 0) +{ +uint8_t x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; +x_670 = 1; +x_671 = lean_box(x_670); +x_672 = lean_box(x_670); +x_673 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_673, 0, x_1); +lean_closure_set(x_673, 1, x_5); +lean_closure_set(x_673, 2, x_671); +lean_closure_set(x_673, 3, x_672); +x_674 = l_Lean_Elab_Term_observing___rarg(x_673, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_674) == 0) +{ +uint8_t x_675; +x_675 = !lean_is_exclusive(x_674); +if (x_675 == 0) +{ +lean_object* x_676; lean_object* x_677; +x_676 = lean_ctor_get(x_674, 0); +x_677 = lean_array_push(x_9, x_676); +lean_ctor_set(x_674, 0, x_677); +return x_674; +} +else +{ +lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; +x_678 = lean_ctor_get(x_674, 0); +x_679 = lean_ctor_get(x_674, 1); +lean_inc(x_679); +lean_inc(x_678); +lean_dec(x_674); +x_680 = lean_array_push(x_9, x_678); +x_681 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_681, 0, x_680); +lean_ctor_set(x_681, 1, x_679); +return x_681; +} +} +else +{ +uint8_t x_682; +lean_dec(x_9); +x_682 = !lean_is_exclusive(x_674); +if (x_682 == 0) +{ +return x_674; +} +else +{ +lean_object* x_683; lean_object* x_684; lean_object* x_685; +x_683 = lean_ctor_get(x_674, 0); +x_684 = lean_ctor_get(x_674, 1); +lean_inc(x_684); +lean_inc(x_683); +lean_dec(x_674); +x_685 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_685, 0, x_683); +lean_ctor_set(x_685, 1, x_684); +return x_685; +} +} +} +else +{ +lean_object* x_686; uint8_t x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; +x_686 = lean_box(0); +x_687 = 1; +x_688 = lean_box(x_613); +x_689 = lean_box(x_687); +x_690 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_690, 0, x_1); +lean_closure_set(x_690, 1, x_5); +lean_closure_set(x_690, 2, x_688); +lean_closure_set(x_690, 3, x_689); +lean_closure_set(x_690, 4, x_686); +x_691 = l_Lean_Elab_Term_observing___rarg(x_690, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_691) == 0) +{ +uint8_t x_692; +x_692 = !lean_is_exclusive(x_691); +if (x_692 == 0) +{ +lean_object* x_693; lean_object* x_694; +x_693 = lean_ctor_get(x_691, 0); +x_694 = lean_array_push(x_9, x_693); +lean_ctor_set(x_691, 0, x_694); +return x_691; +} +else +{ +lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; +x_695 = lean_ctor_get(x_691, 0); +x_696 = lean_ctor_get(x_691, 1); +lean_inc(x_696); +lean_inc(x_695); +lean_dec(x_691); +x_697 = lean_array_push(x_9, x_695); +x_698 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_698, 0, x_697); +lean_ctor_set(x_698, 1, x_696); +return x_698; +} +} +else +{ +uint8_t x_699; +lean_dec(x_9); +x_699 = !lean_is_exclusive(x_691); +if (x_699 == 0) +{ +return x_691; +} +else +{ +lean_object* x_700; lean_object* x_701; lean_object* x_702; +x_700 = lean_ctor_get(x_691, 0); +x_701 = lean_ctor_get(x_691, 1); +lean_inc(x_701); +lean_inc(x_700); +lean_dec(x_691); +x_702 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_702, 0, x_700); +lean_ctor_set(x_702, 1, x_701); +return x_702; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_706; lean_object* x_707; lean_object* x_708; uint8_t x_709; +x_706 = lean_unsigned_to_nat(3u); +x_707 = l_Lean_Syntax_getArg(x_1, x_706); +x_708 = l_Lean_nullKind; +x_709 = l_Lean_Syntax_isNodeOf(x_707, x_708, x_604); +if (x_709 == 0) +{ +uint8_t x_710; uint8_t x_711; +lean_dec(x_607); +lean_dec(x_605); +x_710 = l_List_isEmpty___rarg(x_2); +if (x_8 == 0) +{ +uint8_t x_802; +x_802 = 1; +x_711 = x_802; +goto block_801; +} +else +{ +uint8_t x_803; +x_803 = 0; +x_711 = x_803; +goto block_801; +} +block_801: +{ +if (x_710 == 0) +{ +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; +x_712 = lean_box(0); +x_713 = lean_box(x_711); +x_714 = lean_box(x_6); +x_715 = lean_box(x_7); +x_716 = lean_box(x_8); +x_717 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_717, 0, x_1); +lean_closure_set(x_717, 1, x_712); +lean_closure_set(x_717, 2, x_713); +lean_closure_set(x_717, 3, x_2); +lean_closure_set(x_717, 4, x_3); +lean_closure_set(x_717, 5, x_4); +lean_closure_set(x_717, 6, x_5); +lean_closure_set(x_717, 7, x_714); +lean_closure_set(x_717, 8, x_715); +lean_closure_set(x_717, 9, x_716); +x_718 = l_Lean_Elab_Term_observing___rarg(x_717, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_718) == 0) +{ uint8_t x_719; -lean_dec(x_9); -x_719 = !lean_is_exclusive(x_711); +x_719 = !lean_is_exclusive(x_718); if (x_719 == 0) { -return x_711; +lean_object* x_720; lean_object* x_721; +x_720 = lean_ctor_get(x_718, 0); +x_721 = lean_array_push(x_9, x_720); +lean_ctor_set(x_718, 0, x_721); +return x_718; } else { -lean_object* x_720; lean_object* x_721; lean_object* x_722; -x_720 = lean_ctor_get(x_711, 0); -x_721 = lean_ctor_get(x_711, 1); -lean_inc(x_721); -lean_inc(x_720); -lean_dec(x_711); -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_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; +x_722 = lean_ctor_get(x_718, 0); +x_723 = lean_ctor_get(x_718, 1); +lean_inc(x_723); +lean_inc(x_722); +lean_dec(x_718); +x_724 = lean_array_push(x_9, x_722); +x_725 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_725, 0, x_724); +lean_ctor_set(x_725, 1, x_723); +return x_725; +} +} +else +{ +uint8_t x_726; +lean_dec(x_9); +x_726 = !lean_is_exclusive(x_718); +if (x_726 == 0) +{ +return x_718; +} +else +{ +lean_object* x_727; lean_object* x_728; lean_object* x_729; +x_727 = lean_ctor_get(x_718, 0); +x_728 = lean_ctor_get(x_718, 1); +lean_inc(x_728); +lean_inc(x_727); +lean_dec(x_718); +x_729 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_729, 0, x_727); +lean_ctor_set(x_729, 1, x_728); +return x_729; } } } else { -uint8_t x_723; -x_723 = l_Array_isEmpty___rarg(x_4); -if (x_723 == 0) +uint8_t x_730; +x_730 = l_Array_isEmpty___rarg(x_3); +if (x_730 == 0) { -lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; -x_724 = lean_box(0); -x_725 = lean_box(x_685); -x_726 = lean_box(x_6); -x_727 = lean_box(x_7); -x_728 = lean_box(x_8); -x_729 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_729, 0, x_1); -lean_closure_set(x_729, 1, x_724); -lean_closure_set(x_729, 2, x_725); -lean_closure_set(x_729, 3, x_2); -lean_closure_set(x_729, 4, x_3); -lean_closure_set(x_729, 5, x_4); -lean_closure_set(x_729, 6, x_5); -lean_closure_set(x_729, 7, x_726); -lean_closure_set(x_729, 8, x_727); -lean_closure_set(x_729, 9, x_728); -x_730 = l_Lean_Elab_Term_observing___rarg(x_729, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_730) == 0) -{ -uint8_t x_731; -x_731 = !lean_is_exclusive(x_730); -if (x_731 == 0) -{ -lean_object* x_732; lean_object* x_733; -x_732 = lean_ctor_get(x_730, 0); -x_733 = lean_array_push(x_9, x_732); -lean_ctor_set(x_730, 0, x_733); -return x_730; -} -else -{ -lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; -x_734 = lean_ctor_get(x_730, 0); -x_735 = lean_ctor_get(x_730, 1); -lean_inc(x_735); -lean_inc(x_734); -lean_dec(x_730); -x_736 = lean_array_push(x_9, x_734); -x_737 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_737, 0, x_736); -lean_ctor_set(x_737, 1, x_735); -return x_737; -} -} -else +lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; +x_731 = lean_box(0); +x_732 = lean_box(x_711); +x_733 = lean_box(x_6); +x_734 = lean_box(x_7); +x_735 = lean_box(x_8); +x_736 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_736, 0, x_1); +lean_closure_set(x_736, 1, x_731); +lean_closure_set(x_736, 2, x_732); +lean_closure_set(x_736, 3, x_2); +lean_closure_set(x_736, 4, x_3); +lean_closure_set(x_736, 5, x_4); +lean_closure_set(x_736, 6, x_5); +lean_closure_set(x_736, 7, x_733); +lean_closure_set(x_736, 8, x_734); +lean_closure_set(x_736, 9, x_735); +x_737 = l_Lean_Elab_Term_observing___rarg(x_736, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_737) == 0) { uint8_t x_738; -lean_dec(x_9); -x_738 = !lean_is_exclusive(x_730); +x_738 = !lean_is_exclusive(x_737); if (x_738 == 0) { -return x_730; +lean_object* x_739; lean_object* x_740; +x_739 = lean_ctor_get(x_737, 0); +x_740 = lean_array_push(x_9, x_739); +lean_ctor_set(x_737, 0, x_740); +return x_737; } else { -lean_object* x_739; lean_object* x_740; lean_object* x_741; -x_739 = lean_ctor_get(x_730, 0); -x_740 = lean_ctor_get(x_730, 1); -lean_inc(x_740); -lean_inc(x_739); -lean_dec(x_730); -x_741 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_741, 0, x_739); -lean_ctor_set(x_741, 1, x_740); -return x_741; -} +lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; +x_741 = lean_ctor_get(x_737, 0); +x_742 = lean_ctor_get(x_737, 1); +lean_inc(x_742); +lean_inc(x_741); +lean_dec(x_737); +x_743 = lean_array_push(x_9, x_741); +x_744 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_744, 0, x_743); +lean_ctor_set(x_744, 1, x_742); +return x_744; } } else { -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (x_8 == 0) -{ -uint8_t x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; -x_742 = 1; -x_743 = lean_box(x_742); -x_744 = lean_box(x_742); -x_745 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_745, 0, x_1); -lean_closure_set(x_745, 1, x_5); -lean_closure_set(x_745, 2, x_743); -lean_closure_set(x_745, 3, x_744); -x_746 = l_Lean_Elab_Term_observing___rarg(x_745, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_746) == 0) -{ -uint8_t x_747; -x_747 = !lean_is_exclusive(x_746); -if (x_747 == 0) -{ -lean_object* x_748; lean_object* x_749; -x_748 = lean_ctor_get(x_746, 0); -x_749 = lean_array_push(x_9, x_748); -lean_ctor_set(x_746, 0, x_749); -return x_746; -} -else -{ -lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; -x_750 = lean_ctor_get(x_746, 0); -x_751 = lean_ctor_get(x_746, 1); -lean_inc(x_751); -lean_inc(x_750); -lean_dec(x_746); -x_752 = lean_array_push(x_9, x_750); -x_753 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_753, 0, x_752); -lean_ctor_set(x_753, 1, x_751); -return x_753; -} -} -else -{ -uint8_t x_754; +uint8_t x_745; lean_dec(x_9); -x_754 = !lean_is_exclusive(x_746); -if (x_754 == 0) +x_745 = !lean_is_exclusive(x_737); +if (x_745 == 0) { -return x_746; +return x_737; } else { -lean_object* x_755; lean_object* x_756; lean_object* x_757; -x_755 = lean_ctor_get(x_746, 0); -x_756 = lean_ctor_get(x_746, 1); -lean_inc(x_756); -lean_inc(x_755); -lean_dec(x_746); -x_757 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_757, 0, x_755); -lean_ctor_set(x_757, 1, x_756); -return x_757; +lean_object* x_746; lean_object* x_747; lean_object* x_748; +x_746 = lean_ctor_get(x_737, 0); +x_747 = lean_ctor_get(x_737, 1); +lean_inc(x_747); +lean_inc(x_746); +lean_dec(x_737); +x_748 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_748, 0, x_746); +lean_ctor_set(x_748, 1, x_747); +return x_748; } } } else { -lean_object* x_758; uint8_t x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; -x_758 = lean_box(0); -x_759 = 1; -x_760 = lean_box(x_685); -x_761 = lean_box(x_759); -x_762 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_762, 0, x_1); -lean_closure_set(x_762, 1, x_5); -lean_closure_set(x_762, 2, x_760); -lean_closure_set(x_762, 3, x_761); -lean_closure_set(x_762, 4, x_758); -x_763 = l_Lean_Elab_Term_observing___rarg(x_762, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_763) == 0) +uint8_t x_749; +x_749 = l_Array_isEmpty___rarg(x_4); +if (x_749 == 0) +{ +lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; +x_750 = lean_box(0); +x_751 = lean_box(x_711); +x_752 = lean_box(x_6); +x_753 = lean_box(x_7); +x_754 = lean_box(x_8); +x_755 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_755, 0, x_1); +lean_closure_set(x_755, 1, x_750); +lean_closure_set(x_755, 2, x_751); +lean_closure_set(x_755, 3, x_2); +lean_closure_set(x_755, 4, x_3); +lean_closure_set(x_755, 5, x_4); +lean_closure_set(x_755, 6, x_5); +lean_closure_set(x_755, 7, x_752); +lean_closure_set(x_755, 8, x_753); +lean_closure_set(x_755, 9, x_754); +x_756 = l_Lean_Elab_Term_observing___rarg(x_755, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_756) == 0) +{ +uint8_t x_757; +x_757 = !lean_is_exclusive(x_756); +if (x_757 == 0) +{ +lean_object* x_758; lean_object* x_759; +x_758 = lean_ctor_get(x_756, 0); +x_759 = lean_array_push(x_9, x_758); +lean_ctor_set(x_756, 0, x_759); +return x_756; +} +else +{ +lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; +x_760 = lean_ctor_get(x_756, 0); +x_761 = lean_ctor_get(x_756, 1); +lean_inc(x_761); +lean_inc(x_760); +lean_dec(x_756); +x_762 = lean_array_push(x_9, x_760); +x_763 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_763, 0, x_762); +lean_ctor_set(x_763, 1, x_761); +return x_763; +} +} +else { uint8_t x_764; -x_764 = !lean_is_exclusive(x_763); +lean_dec(x_9); +x_764 = !lean_is_exclusive(x_756); if (x_764 == 0) { -lean_object* x_765; lean_object* x_766; -x_765 = lean_ctor_get(x_763, 0); -x_766 = lean_array_push(x_9, x_765); -lean_ctor_set(x_763, 0, x_766); -return x_763; +return x_756; } else { -lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; -x_767 = lean_ctor_get(x_763, 0); -x_768 = lean_ctor_get(x_763, 1); -lean_inc(x_768); -lean_inc(x_767); -lean_dec(x_763); -x_769 = lean_array_push(x_9, x_767); -x_770 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_770, 0, x_769); -lean_ctor_set(x_770, 1, x_768); -return x_770; -} -} -else -{ -uint8_t x_771; -lean_dec(x_9); -x_771 = !lean_is_exclusive(x_763); -if (x_771 == 0) -{ -return x_763; -} -else -{ -lean_object* x_772; lean_object* x_773; lean_object* x_774; -x_772 = lean_ctor_get(x_763, 0); -x_773 = lean_ctor_get(x_763, 1); -lean_inc(x_773); -lean_inc(x_772); -lean_dec(x_763); -x_774 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_774, 0, x_772); -lean_ctor_set(x_774, 1, x_773); -return x_774; -} -} -} -} -} +lean_object* x_765; lean_object* x_766; lean_object* x_767; +x_765 = lean_ctor_get(x_756, 0); +x_766 = lean_ctor_get(x_756, 1); +lean_inc(x_766); +lean_inc(x_765); +lean_dec(x_756); +x_767 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_767, 0, x_765); +lean_ctor_set(x_767, 1, x_766); +return x_767; } } } else { -lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; -lean_dec(x_1); -x_778 = lean_box(0); -x_779 = l_Lean_Syntax_identComponents(x_581, x_778); -x_780 = lean_box(0); -lean_inc(x_579); -x_781 = l_List_mapTRAux___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_579, x_779, x_780); -x_782 = l_List_appendTR___rarg(x_781, x_2); -x_1 = x_579; -x_2 = x_782; -goto _start; -} -} -} -else -{ -lean_object* x_784; lean_object* x_785; lean_object* x_786; uint8_t x_787; -x_784 = lean_unsigned_to_nat(3u); -x_785 = l_Lean_Syntax_getArg(x_1, x_784); -x_786 = l_Lean_nullKind; -x_787 = l_Lean_Syntax_isNodeOf(x_785, x_786, x_578); -if (x_787 == 0) -{ -uint8_t x_788; uint8_t x_789; -lean_dec(x_581); -lean_dec(x_579); -x_788 = l_List_isEmpty___rarg(x_2); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); if (x_8 == 0) { -uint8_t x_880; -x_880 = 1; -x_789 = x_880; -goto block_879; +uint8_t x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; +x_768 = 1; +x_769 = lean_box(x_768); +x_770 = lean_box(x_768); +x_771 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_771, 0, x_1); +lean_closure_set(x_771, 1, x_5); +lean_closure_set(x_771, 2, x_769); +lean_closure_set(x_771, 3, x_770); +x_772 = l_Lean_Elab_Term_observing___rarg(x_771, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_772) == 0) +{ +uint8_t x_773; +x_773 = !lean_is_exclusive(x_772); +if (x_773 == 0) +{ +lean_object* x_774; lean_object* x_775; +x_774 = lean_ctor_get(x_772, 0); +x_775 = lean_array_push(x_9, x_774); +lean_ctor_set(x_772, 0, x_775); +return x_772; } else { -uint8_t x_881; -x_881 = 0; -x_789 = x_881; -goto block_879; +lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; +x_776 = lean_ctor_get(x_772, 0); +x_777 = lean_ctor_get(x_772, 1); +lean_inc(x_777); +lean_inc(x_776); +lean_dec(x_772); +x_778 = lean_array_push(x_9, x_776); +x_779 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_779, 0, x_778); +lean_ctor_set(x_779, 1, x_777); +return x_779; } -block_879: +} +else { -if (x_788 == 0) +uint8_t x_780; +lean_dec(x_9); +x_780 = !lean_is_exclusive(x_772); +if (x_780 == 0) { -lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; -x_790 = lean_box(0); -x_791 = lean_box(x_789); -x_792 = lean_box(x_6); -x_793 = lean_box(x_7); -x_794 = lean_box(x_8); -x_795 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_795, 0, x_1); -lean_closure_set(x_795, 1, x_790); -lean_closure_set(x_795, 2, x_791); -lean_closure_set(x_795, 3, x_2); -lean_closure_set(x_795, 4, x_3); -lean_closure_set(x_795, 5, x_4); -lean_closure_set(x_795, 6, x_5); -lean_closure_set(x_795, 7, x_792); -lean_closure_set(x_795, 8, x_793); -lean_closure_set(x_795, 9, x_794); -x_796 = l_Lean_Elab_Term_observing___rarg(x_795, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_796) == 0) +return x_772; +} +else +{ +lean_object* x_781; lean_object* x_782; lean_object* x_783; +x_781 = lean_ctor_get(x_772, 0); +x_782 = lean_ctor_get(x_772, 1); +lean_inc(x_782); +lean_inc(x_781); +lean_dec(x_772); +x_783 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_783, 0, x_781); +lean_ctor_set(x_783, 1, x_782); +return x_783; +} +} +} +else +{ +lean_object* x_784; uint8_t x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; +x_784 = lean_box(0); +x_785 = 1; +x_786 = lean_box(x_711); +x_787 = lean_box(x_785); +x_788 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_788, 0, x_1); +lean_closure_set(x_788, 1, x_5); +lean_closure_set(x_788, 2, x_786); +lean_closure_set(x_788, 3, x_787); +lean_closure_set(x_788, 4, x_784); +x_789 = l_Lean_Elab_Term_observing___rarg(x_788, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_789) == 0) +{ +uint8_t x_790; +x_790 = !lean_is_exclusive(x_789); +if (x_790 == 0) +{ +lean_object* x_791; lean_object* x_792; +x_791 = lean_ctor_get(x_789, 0); +x_792 = lean_array_push(x_9, x_791); +lean_ctor_set(x_789, 0, x_792); +return x_789; +} +else +{ +lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; +x_793 = lean_ctor_get(x_789, 0); +x_794 = lean_ctor_get(x_789, 1); +lean_inc(x_794); +lean_inc(x_793); +lean_dec(x_789); +x_795 = lean_array_push(x_9, x_793); +x_796 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_796, 0, x_795); +lean_ctor_set(x_796, 1, x_794); +return x_796; +} +} +else { uint8_t x_797; -x_797 = !lean_is_exclusive(x_796); +lean_dec(x_9); +x_797 = !lean_is_exclusive(x_789); if (x_797 == 0) { -lean_object* x_798; lean_object* x_799; -x_798 = lean_ctor_get(x_796, 0); -x_799 = lean_array_push(x_9, x_798); -lean_ctor_set(x_796, 0, x_799); -return x_796; +return x_789; } else { -lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; -x_800 = lean_ctor_get(x_796, 0); -x_801 = lean_ctor_get(x_796, 1); -lean_inc(x_801); -lean_inc(x_800); -lean_dec(x_796); -x_802 = lean_array_push(x_9, x_800); -x_803 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_803, 0, x_802); -lean_ctor_set(x_803, 1, x_801); -return x_803; +lean_object* x_798; lean_object* x_799; lean_object* x_800; +x_798 = lean_ctor_get(x_789, 0); +x_799 = lean_ctor_get(x_789, 1); +lean_inc(x_799); +lean_inc(x_798); +lean_dec(x_789); +x_800 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_800, 0, x_798); +lean_ctor_set(x_800, 1, x_799); +return x_800; +} +} } } -else -{ -uint8_t x_804; -lean_dec(x_9); -x_804 = !lean_is_exclusive(x_796); -if (x_804 == 0) -{ -return x_796; } -else -{ -lean_object* x_805; lean_object* x_806; lean_object* x_807; -x_805 = lean_ctor_get(x_796, 0); -x_806 = lean_ctor_get(x_796, 1); -lean_inc(x_806); -lean_inc(x_805); -lean_dec(x_796); -x_807 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_807, 0, x_805); -lean_ctor_set(x_807, 1, x_806); -return x_807; } } } else { -uint8_t x_808; -x_808 = l_Array_isEmpty___rarg(x_3); -if (x_808 == 0) -{ -lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; -x_809 = lean_box(0); -x_810 = lean_box(x_789); -x_811 = lean_box(x_6); -x_812 = lean_box(x_7); -x_813 = lean_box(x_8); -x_814 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_814, 0, x_1); -lean_closure_set(x_814, 1, x_809); -lean_closure_set(x_814, 2, x_810); -lean_closure_set(x_814, 3, x_2); -lean_closure_set(x_814, 4, x_3); -lean_closure_set(x_814, 5, x_4); -lean_closure_set(x_814, 6, x_5); -lean_closure_set(x_814, 7, x_811); -lean_closure_set(x_814, 8, x_812); -lean_closure_set(x_814, 9, x_813); -x_815 = l_Lean_Elab_Term_observing___rarg(x_814, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_815) == 0) -{ -uint8_t x_816; -x_816 = !lean_is_exclusive(x_815); -if (x_816 == 0) -{ -lean_object* x_817; lean_object* x_818; -x_817 = lean_ctor_get(x_815, 0); -x_818 = lean_array_push(x_9, x_817); -lean_ctor_set(x_815, 0, x_818); -return x_815; +lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; +lean_dec(x_1); +x_804 = lean_box(0); +x_805 = l_Lean_Syntax_identComponents(x_607, x_804); +x_806 = lean_box(0); +lean_inc(x_605); +x_807 = l_List_mapTRAux___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_605, x_805, x_806); +x_808 = l_List_appendTR___rarg(x_807, x_2); +x_1 = x_605; +x_2 = x_808; +goto _start; +} +} } else { -lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; -x_819 = lean_ctor_get(x_815, 0); -x_820 = lean_ctor_get(x_815, 1); -lean_inc(x_820); -lean_inc(x_819); -lean_dec(x_815); -x_821 = lean_array_push(x_9, x_819); -x_822 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_822, 0, x_821); -lean_ctor_set(x_822, 1, x_820); -return x_822; -} +lean_object* x_810; lean_object* x_811; lean_object* x_812; uint8_t x_813; +x_810 = lean_unsigned_to_nat(3u); +x_811 = l_Lean_Syntax_getArg(x_1, x_810); +x_812 = l_Lean_nullKind; +x_813 = l_Lean_Syntax_isNodeOf(x_811, x_812, x_604); +if (x_813 == 0) +{ +uint8_t x_814; uint8_t x_815; +lean_dec(x_607); +lean_dec(x_605); +x_814 = l_List_isEmpty___rarg(x_2); +if (x_8 == 0) +{ +uint8_t x_906; +x_906 = 1; +x_815 = x_906; +goto block_905; } else { +uint8_t x_907; +x_907 = 0; +x_815 = x_907; +goto block_905; +} +block_905: +{ +if (x_814 == 0) +{ +lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; +x_816 = lean_box(0); +x_817 = lean_box(x_815); +x_818 = lean_box(x_6); +x_819 = lean_box(x_7); +x_820 = lean_box(x_8); +x_821 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_821, 0, x_1); +lean_closure_set(x_821, 1, x_816); +lean_closure_set(x_821, 2, x_817); +lean_closure_set(x_821, 3, x_2); +lean_closure_set(x_821, 4, x_3); +lean_closure_set(x_821, 5, x_4); +lean_closure_set(x_821, 6, x_5); +lean_closure_set(x_821, 7, x_818); +lean_closure_set(x_821, 8, x_819); +lean_closure_set(x_821, 9, x_820); +x_822 = l_Lean_Elab_Term_observing___rarg(x_821, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_822) == 0) +{ uint8_t x_823; -lean_dec(x_9); -x_823 = !lean_is_exclusive(x_815); +x_823 = !lean_is_exclusive(x_822); if (x_823 == 0) { -return x_815; +lean_object* x_824; lean_object* x_825; +x_824 = lean_ctor_get(x_822, 0); +x_825 = lean_array_push(x_9, x_824); +lean_ctor_set(x_822, 0, x_825); +return x_822; } else { -lean_object* x_824; lean_object* x_825; lean_object* x_826; -x_824 = lean_ctor_get(x_815, 0); -x_825 = lean_ctor_get(x_815, 1); -lean_inc(x_825); -lean_inc(x_824); -lean_dec(x_815); -x_826 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_826, 0, x_824); -lean_ctor_set(x_826, 1, x_825); -return x_826; +lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; +x_826 = lean_ctor_get(x_822, 0); +x_827 = lean_ctor_get(x_822, 1); +lean_inc(x_827); +lean_inc(x_826); +lean_dec(x_822); +x_828 = lean_array_push(x_9, x_826); +x_829 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_829, 0, x_828); +lean_ctor_set(x_829, 1, x_827); +return x_829; +} +} +else +{ +uint8_t x_830; +lean_dec(x_9); +x_830 = !lean_is_exclusive(x_822); +if (x_830 == 0) +{ +return x_822; +} +else +{ +lean_object* x_831; lean_object* x_832; lean_object* x_833; +x_831 = lean_ctor_get(x_822, 0); +x_832 = lean_ctor_get(x_822, 1); +lean_inc(x_832); +lean_inc(x_831); +lean_dec(x_822); +x_833 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_833, 0, x_831); +lean_ctor_set(x_833, 1, x_832); +return x_833; } } } else { -uint8_t x_827; -x_827 = l_Array_isEmpty___rarg(x_4); -if (x_827 == 0) +uint8_t x_834; +x_834 = l_Array_isEmpty___rarg(x_3); +if (x_834 == 0) { -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; -x_828 = lean_box(0); -x_829 = lean_box(x_789); -x_830 = lean_box(x_6); -x_831 = lean_box(x_7); -x_832 = lean_box(x_8); -x_833 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_833, 0, x_1); -lean_closure_set(x_833, 1, x_828); -lean_closure_set(x_833, 2, x_829); -lean_closure_set(x_833, 3, x_2); -lean_closure_set(x_833, 4, x_3); -lean_closure_set(x_833, 5, x_4); -lean_closure_set(x_833, 6, x_5); -lean_closure_set(x_833, 7, x_830); -lean_closure_set(x_833, 8, x_831); -lean_closure_set(x_833, 9, x_832); -x_834 = l_Lean_Elab_Term_observing___rarg(x_833, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_834) == 0) -{ -uint8_t x_835; -x_835 = !lean_is_exclusive(x_834); -if (x_835 == 0) -{ -lean_object* x_836; lean_object* x_837; -x_836 = lean_ctor_get(x_834, 0); -x_837 = lean_array_push(x_9, x_836); -lean_ctor_set(x_834, 0, x_837); -return x_834; -} -else -{ -lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; -x_838 = lean_ctor_get(x_834, 0); -x_839 = lean_ctor_get(x_834, 1); -lean_inc(x_839); -lean_inc(x_838); -lean_dec(x_834); -x_840 = lean_array_push(x_9, x_838); -x_841 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_841, 0, x_840); -lean_ctor_set(x_841, 1, x_839); -return x_841; -} -} -else +lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; +x_835 = lean_box(0); +x_836 = lean_box(x_815); +x_837 = lean_box(x_6); +x_838 = lean_box(x_7); +x_839 = lean_box(x_8); +x_840 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_840, 0, x_1); +lean_closure_set(x_840, 1, x_835); +lean_closure_set(x_840, 2, x_836); +lean_closure_set(x_840, 3, x_2); +lean_closure_set(x_840, 4, x_3); +lean_closure_set(x_840, 5, x_4); +lean_closure_set(x_840, 6, x_5); +lean_closure_set(x_840, 7, x_837); +lean_closure_set(x_840, 8, x_838); +lean_closure_set(x_840, 9, x_839); +x_841 = l_Lean_Elab_Term_observing___rarg(x_840, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_841) == 0) { uint8_t x_842; -lean_dec(x_9); -x_842 = !lean_is_exclusive(x_834); +x_842 = !lean_is_exclusive(x_841); if (x_842 == 0) { -return x_834; +lean_object* x_843; lean_object* x_844; +x_843 = lean_ctor_get(x_841, 0); +x_844 = lean_array_push(x_9, x_843); +lean_ctor_set(x_841, 0, x_844); +return x_841; } else { -lean_object* x_843; lean_object* x_844; lean_object* x_845; -x_843 = lean_ctor_get(x_834, 0); -x_844 = lean_ctor_get(x_834, 1); -lean_inc(x_844); -lean_inc(x_843); -lean_dec(x_834); -x_845 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_845, 0, x_843); -lean_ctor_set(x_845, 1, x_844); -return x_845; -} +lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; +x_845 = lean_ctor_get(x_841, 0); +x_846 = lean_ctor_get(x_841, 1); +lean_inc(x_846); +lean_inc(x_845); +lean_dec(x_841); +x_847 = lean_array_push(x_9, x_845); +x_848 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_848, 0, x_847); +lean_ctor_set(x_848, 1, x_846); +return x_848; } } else { -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (x_8 == 0) -{ -uint8_t x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; -x_846 = 1; -x_847 = lean_box(x_846); -x_848 = lean_box(x_846); -x_849 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_849, 0, x_1); -lean_closure_set(x_849, 1, x_5); -lean_closure_set(x_849, 2, x_847); -lean_closure_set(x_849, 3, x_848); -x_850 = l_Lean_Elab_Term_observing___rarg(x_849, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_850) == 0) -{ -uint8_t x_851; -x_851 = !lean_is_exclusive(x_850); -if (x_851 == 0) -{ -lean_object* x_852; lean_object* x_853; -x_852 = lean_ctor_get(x_850, 0); -x_853 = lean_array_push(x_9, x_852); -lean_ctor_set(x_850, 0, x_853); -return x_850; -} -else -{ -lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; -x_854 = lean_ctor_get(x_850, 0); -x_855 = lean_ctor_get(x_850, 1); -lean_inc(x_855); -lean_inc(x_854); -lean_dec(x_850); -x_856 = lean_array_push(x_9, x_854); -x_857 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_857, 0, x_856); -lean_ctor_set(x_857, 1, x_855); -return x_857; -} -} -else -{ -uint8_t x_858; +uint8_t x_849; lean_dec(x_9); -x_858 = !lean_is_exclusive(x_850); -if (x_858 == 0) +x_849 = !lean_is_exclusive(x_841); +if (x_849 == 0) { -return x_850; +return x_841; } else { -lean_object* x_859; lean_object* x_860; lean_object* x_861; -x_859 = lean_ctor_get(x_850, 0); -x_860 = lean_ctor_get(x_850, 1); -lean_inc(x_860); -lean_inc(x_859); -lean_dec(x_850); -x_861 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_861, 0, x_859); -lean_ctor_set(x_861, 1, x_860); -return x_861; +lean_object* x_850; lean_object* x_851; lean_object* x_852; +x_850 = lean_ctor_get(x_841, 0); +x_851 = lean_ctor_get(x_841, 1); +lean_inc(x_851); +lean_inc(x_850); +lean_dec(x_841); +x_852 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_852, 0, x_850); +lean_ctor_set(x_852, 1, x_851); +return x_852; } } } else { -lean_object* x_862; uint8_t x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; -x_862 = lean_box(0); -x_863 = 1; -x_864 = lean_box(x_789); -x_865 = lean_box(x_863); -x_866 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_866, 0, x_1); -lean_closure_set(x_866, 1, x_5); -lean_closure_set(x_866, 2, x_864); -lean_closure_set(x_866, 3, x_865); -lean_closure_set(x_866, 4, x_862); -x_867 = l_Lean_Elab_Term_observing___rarg(x_866, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_867) == 0) +uint8_t x_853; +x_853 = l_Array_isEmpty___rarg(x_4); +if (x_853 == 0) +{ +lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; +x_854 = lean_box(0); +x_855 = lean_box(x_815); +x_856 = lean_box(x_6); +x_857 = lean_box(x_7); +x_858 = lean_box(x_8); +x_859 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_859, 0, x_1); +lean_closure_set(x_859, 1, x_854); +lean_closure_set(x_859, 2, x_855); +lean_closure_set(x_859, 3, x_2); +lean_closure_set(x_859, 4, x_3); +lean_closure_set(x_859, 5, x_4); +lean_closure_set(x_859, 6, x_5); +lean_closure_set(x_859, 7, x_856); +lean_closure_set(x_859, 8, x_857); +lean_closure_set(x_859, 9, x_858); +x_860 = l_Lean_Elab_Term_observing___rarg(x_859, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_860) == 0) +{ +uint8_t x_861; +x_861 = !lean_is_exclusive(x_860); +if (x_861 == 0) +{ +lean_object* x_862; lean_object* x_863; +x_862 = lean_ctor_get(x_860, 0); +x_863 = lean_array_push(x_9, x_862); +lean_ctor_set(x_860, 0, x_863); +return x_860; +} +else +{ +lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; +x_864 = lean_ctor_get(x_860, 0); +x_865 = lean_ctor_get(x_860, 1); +lean_inc(x_865); +lean_inc(x_864); +lean_dec(x_860); +x_866 = lean_array_push(x_9, x_864); +x_867 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_867, 0, x_866); +lean_ctor_set(x_867, 1, x_865); +return x_867; +} +} +else { uint8_t x_868; -x_868 = !lean_is_exclusive(x_867); +lean_dec(x_9); +x_868 = !lean_is_exclusive(x_860); if (x_868 == 0) { -lean_object* x_869; lean_object* x_870; -x_869 = lean_ctor_get(x_867, 0); -x_870 = lean_array_push(x_9, x_869); -lean_ctor_set(x_867, 0, x_870); -return x_867; +return x_860; } else { -lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; -x_871 = lean_ctor_get(x_867, 0); -x_872 = lean_ctor_get(x_867, 1); -lean_inc(x_872); -lean_inc(x_871); -lean_dec(x_867); -x_873 = lean_array_push(x_9, x_871); -x_874 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_874, 0, x_873); -lean_ctor_set(x_874, 1, x_872); -return x_874; -} -} -else -{ -uint8_t x_875; -lean_dec(x_9); -x_875 = !lean_is_exclusive(x_867); -if (x_875 == 0) -{ -return x_867; -} -else -{ -lean_object* x_876; lean_object* x_877; lean_object* x_878; -x_876 = lean_ctor_get(x_867, 0); -x_877 = lean_ctor_get(x_867, 1); -lean_inc(x_877); -lean_inc(x_876); -lean_dec(x_867); -x_878 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_878, 0, x_876); -lean_ctor_set(x_878, 1, x_877); -return x_878; -} -} -} -} -} +lean_object* x_869; lean_object* x_870; lean_object* x_871; +x_869 = lean_ctor_get(x_860, 0); +x_870 = lean_ctor_get(x_860, 1); +lean_inc(x_870); +lean_inc(x_869); +lean_dec(x_860); +x_871 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_871, 0, x_869); +lean_ctor_set(x_871, 1, x_870); +return x_871; } } } else { -lean_object* x_882; lean_object* x_883; -lean_dec(x_1); -x_882 = l_Lean_fieldIdxKind; -x_883 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_882, x_581); -if (lean_obj_tag(x_883) == 0) -{ -lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; -x_884 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__28; -x_885 = l_panic___at_String_toNat_x21___spec__1(x_884); -x_886 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_886, 0, x_581); -lean_ctor_set(x_886, 1, x_885); -x_887 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_887, 0, x_886); -lean_ctor_set(x_887, 1, x_2); -x_1 = x_579; -x_2 = x_887; -goto _start; -} -else -{ -lean_object* x_889; lean_object* x_890; lean_object* x_891; -x_889 = lean_ctor_get(x_883, 0); -lean_inc(x_889); -lean_dec(x_883); -x_890 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_890, 0, x_581); -lean_ctor_set(x_890, 1, x_889); -x_891 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_891, 0, x_890); -lean_ctor_set(x_891, 1, x_2); -x_1 = x_579; -x_2 = x_891; -goto _start; -} -} -} -} -} -else -{ -lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; uint8_t x_898; -x_893 = lean_unsigned_to_nat(0u); -x_894 = l_Lean_Syntax_getArg(x_1, x_893); -x_895 = lean_unsigned_to_nat(2u); -x_896 = l_Lean_Syntax_getArg(x_1, x_895); -x_897 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24; -lean_inc(x_896); -x_898 = l_Lean_Syntax_isOfKind(x_896, x_897); -if (x_898 == 0) -{ -lean_object* x_899; uint8_t x_900; -x_899 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; -lean_inc(x_896); -x_900 = l_Lean_Syntax_isOfKind(x_896, x_899); -if (x_900 == 0) -{ -uint8_t x_901; uint8_t x_902; -lean_dec(x_896); -lean_dec(x_894); -x_901 = l_List_isEmpty___rarg(x_2); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); if (x_8 == 0) { -uint8_t x_993; -x_993 = 1; -x_902 = x_993; -goto block_992; +uint8_t x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; +x_872 = 1; +x_873 = lean_box(x_872); +x_874 = lean_box(x_872); +x_875 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_875, 0, x_1); +lean_closure_set(x_875, 1, x_5); +lean_closure_set(x_875, 2, x_873); +lean_closure_set(x_875, 3, x_874); +x_876 = l_Lean_Elab_Term_observing___rarg(x_875, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_876) == 0) +{ +uint8_t x_877; +x_877 = !lean_is_exclusive(x_876); +if (x_877 == 0) +{ +lean_object* x_878; lean_object* x_879; +x_878 = lean_ctor_get(x_876, 0); +x_879 = lean_array_push(x_9, x_878); +lean_ctor_set(x_876, 0, x_879); +return x_876; } else { -uint8_t x_994; -x_994 = 0; -x_902 = x_994; -goto block_992; +lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; +x_880 = lean_ctor_get(x_876, 0); +x_881 = lean_ctor_get(x_876, 1); +lean_inc(x_881); +lean_inc(x_880); +lean_dec(x_876); +x_882 = lean_array_push(x_9, x_880); +x_883 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_883, 0, x_882); +lean_ctor_set(x_883, 1, x_881); +return x_883; } -block_992: +} +else { +uint8_t x_884; +lean_dec(x_9); +x_884 = !lean_is_exclusive(x_876); +if (x_884 == 0) +{ +return x_876; +} +else +{ +lean_object* x_885; lean_object* x_886; lean_object* x_887; +x_885 = lean_ctor_get(x_876, 0); +x_886 = lean_ctor_get(x_876, 1); +lean_inc(x_886); +lean_inc(x_885); +lean_dec(x_876); +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 +{ +lean_object* x_888; uint8_t x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; +x_888 = lean_box(0); +x_889 = 1; +x_890 = lean_box(x_815); +x_891 = lean_box(x_889); +x_892 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_892, 0, x_1); +lean_closure_set(x_892, 1, x_5); +lean_closure_set(x_892, 2, x_890); +lean_closure_set(x_892, 3, x_891); +lean_closure_set(x_892, 4, x_888); +x_893 = l_Lean_Elab_Term_observing___rarg(x_892, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_893) == 0) +{ +uint8_t x_894; +x_894 = !lean_is_exclusive(x_893); +if (x_894 == 0) +{ +lean_object* x_895; lean_object* x_896; +x_895 = lean_ctor_get(x_893, 0); +x_896 = lean_array_push(x_9, x_895); +lean_ctor_set(x_893, 0, x_896); +return x_893; +} +else +{ +lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; +x_897 = lean_ctor_get(x_893, 0); +x_898 = lean_ctor_get(x_893, 1); +lean_inc(x_898); +lean_inc(x_897); +lean_dec(x_893); +x_899 = lean_array_push(x_9, x_897); +x_900 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_900, 0, x_899); +lean_ctor_set(x_900, 1, x_898); +return x_900; +} +} +else +{ +uint8_t x_901; +lean_dec(x_9); +x_901 = !lean_is_exclusive(x_893); if (x_901 == 0) { -lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; -x_903 = lean_box(0); -x_904 = lean_box(x_902); -x_905 = lean_box(x_6); -x_906 = lean_box(x_7); -x_907 = lean_box(x_8); -x_908 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_908, 0, x_1); -lean_closure_set(x_908, 1, x_903); -lean_closure_set(x_908, 2, x_904); -lean_closure_set(x_908, 3, x_2); -lean_closure_set(x_908, 4, x_3); -lean_closure_set(x_908, 5, x_4); -lean_closure_set(x_908, 6, x_5); -lean_closure_set(x_908, 7, x_905); -lean_closure_set(x_908, 8, x_906); -lean_closure_set(x_908, 9, x_907); -x_909 = l_Lean_Elab_Term_observing___rarg(x_908, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_893; +} +else +{ +lean_object* x_902; lean_object* x_903; lean_object* x_904; +x_902 = lean_ctor_get(x_893, 0); +x_903 = lean_ctor_get(x_893, 1); +lean_inc(x_903); +lean_inc(x_902); +lean_dec(x_893); +x_904 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_904, 0, x_902); +lean_ctor_set(x_904, 1, x_903); +return x_904; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_908; lean_object* x_909; +lean_dec(x_1); +x_908 = l_Lean_fieldIdxKind; +x_909 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_908, x_607); if (lean_obj_tag(x_909) == 0) { -uint8_t x_910; -x_910 = !lean_is_exclusive(x_909); -if (x_910 == 0) -{ -lean_object* x_911; lean_object* x_912; -x_911 = lean_ctor_get(x_909, 0); -x_912 = lean_array_push(x_9, x_911); -lean_ctor_set(x_909, 0, x_912); -return x_909; +lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; +x_910 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__26; +x_911 = l_panic___at_String_toNat_x21___spec__1(x_910); +x_912 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_912, 0, x_607); +lean_ctor_set(x_912, 1, x_911); +x_913 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_913, 0, x_912); +lean_ctor_set(x_913, 1, x_2); +x_1 = x_605; +x_2 = x_913; +goto _start; } else { -lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; -x_913 = lean_ctor_get(x_909, 0); -x_914 = lean_ctor_get(x_909, 1); -lean_inc(x_914); -lean_inc(x_913); +lean_object* x_915; lean_object* x_916; lean_object* x_917; +x_915 = lean_ctor_get(x_909, 0); +lean_inc(x_915); lean_dec(x_909); -x_915 = lean_array_push(x_9, x_913); x_916 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_916, 0, x_915); -lean_ctor_set(x_916, 1, x_914); -return x_916; +lean_ctor_set(x_916, 0, x_607); +lean_ctor_set(x_916, 1, x_915); +x_917 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_917, 0, x_916); +lean_ctor_set(x_917, 1, x_2); +x_1 = x_605; +x_2 = x_917; +goto _start; +} +} +} } } else { -uint8_t x_917; -lean_dec(x_9); -x_917 = !lean_is_exclusive(x_909); -if (x_917 == 0) +lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; uint8_t x_924; +x_919 = lean_unsigned_to_nat(0u); +x_920 = l_Lean_Syntax_getArg(x_1, x_919); +x_921 = lean_unsigned_to_nat(2u); +x_922 = l_Lean_Syntax_getArg(x_1, x_921); +x_923 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__22; +lean_inc(x_922); +x_924 = l_Lean_Syntax_isOfKind(x_922, x_923); +if (x_924 == 0) { -return x_909; +lean_object* x_925; uint8_t x_926; +x_925 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; +lean_inc(x_922); +x_926 = l_Lean_Syntax_isOfKind(x_922, x_925); +if (x_926 == 0) +{ +uint8_t x_927; uint8_t x_928; +lean_dec(x_922); +lean_dec(x_920); +x_927 = l_List_isEmpty___rarg(x_2); +if (x_8 == 0) +{ +uint8_t x_1019; +x_1019 = 1; +x_928 = x_1019; +goto block_1018; } else { -lean_object* x_918; lean_object* x_919; lean_object* x_920; -x_918 = lean_ctor_get(x_909, 0); -x_919 = lean_ctor_get(x_909, 1); -lean_inc(x_919); -lean_inc(x_918); -lean_dec(x_909); -x_920 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_920, 0, x_918); -lean_ctor_set(x_920, 1, x_919); -return x_920; +uint8_t x_1020; +x_1020 = 0; +x_928 = x_1020; +goto block_1018; } -} -} -else +block_1018: { -uint8_t x_921; -x_921 = l_Array_isEmpty___rarg(x_3); -if (x_921 == 0) +if (x_927 == 0) { -lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; -x_922 = lean_box(0); -x_923 = lean_box(x_902); -x_924 = lean_box(x_6); -x_925 = lean_box(x_7); -x_926 = lean_box(x_8); -x_927 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_927, 0, x_1); -lean_closure_set(x_927, 1, x_922); -lean_closure_set(x_927, 2, x_923); -lean_closure_set(x_927, 3, x_2); -lean_closure_set(x_927, 4, x_3); -lean_closure_set(x_927, 5, x_4); -lean_closure_set(x_927, 6, x_5); -lean_closure_set(x_927, 7, x_924); -lean_closure_set(x_927, 8, x_925); -lean_closure_set(x_927, 9, x_926); -x_928 = l_Lean_Elab_Term_observing___rarg(x_927, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_928) == 0) -{ -uint8_t x_929; -x_929 = !lean_is_exclusive(x_928); -if (x_929 == 0) -{ -lean_object* x_930; lean_object* x_931; -x_930 = lean_ctor_get(x_928, 0); -x_931 = lean_array_push(x_9, x_930); -lean_ctor_set(x_928, 0, x_931); -return x_928; -} -else -{ -lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; -x_932 = lean_ctor_get(x_928, 0); -x_933 = lean_ctor_get(x_928, 1); -lean_inc(x_933); -lean_inc(x_932); -lean_dec(x_928); -x_934 = lean_array_push(x_9, x_932); -x_935 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_935, 0, x_934); -lean_ctor_set(x_935, 1, x_933); -return x_935; -} -} -else +lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; +x_929 = lean_box(0); +x_930 = lean_box(x_928); +x_931 = lean_box(x_6); +x_932 = lean_box(x_7); +x_933 = lean_box(x_8); +x_934 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_934, 0, x_1); +lean_closure_set(x_934, 1, x_929); +lean_closure_set(x_934, 2, x_930); +lean_closure_set(x_934, 3, x_2); +lean_closure_set(x_934, 4, x_3); +lean_closure_set(x_934, 5, x_4); +lean_closure_set(x_934, 6, x_5); +lean_closure_set(x_934, 7, x_931); +lean_closure_set(x_934, 8, x_932); +lean_closure_set(x_934, 9, x_933); +x_935 = l_Lean_Elab_Term_observing___rarg(x_934, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_935) == 0) { uint8_t x_936; -lean_dec(x_9); -x_936 = !lean_is_exclusive(x_928); +x_936 = !lean_is_exclusive(x_935); if (x_936 == 0) { -return x_928; +lean_object* x_937; lean_object* x_938; +x_937 = lean_ctor_get(x_935, 0); +x_938 = lean_array_push(x_9, x_937); +lean_ctor_set(x_935, 0, x_938); +return x_935; } else { -lean_object* x_937; lean_object* x_938; lean_object* x_939; -x_937 = lean_ctor_get(x_928, 0); -x_938 = lean_ctor_get(x_928, 1); -lean_inc(x_938); -lean_inc(x_937); -lean_dec(x_928); -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; +lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; +x_939 = lean_ctor_get(x_935, 0); +x_940 = lean_ctor_get(x_935, 1); +lean_inc(x_940); +lean_inc(x_939); +lean_dec(x_935); +x_941 = lean_array_push(x_9, x_939); +x_942 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_942, 0, x_941); +lean_ctor_set(x_942, 1, x_940); +return x_942; +} +} +else +{ +uint8_t x_943; +lean_dec(x_9); +x_943 = !lean_is_exclusive(x_935); +if (x_943 == 0) +{ +return x_935; +} +else +{ +lean_object* x_944; lean_object* x_945; lean_object* x_946; +x_944 = lean_ctor_get(x_935, 0); +x_945 = lean_ctor_get(x_935, 1); +lean_inc(x_945); +lean_inc(x_944); +lean_dec(x_935); +x_946 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_946, 0, x_944); +lean_ctor_set(x_946, 1, x_945); +return x_946; } } } else { -uint8_t x_940; -x_940 = l_Array_isEmpty___rarg(x_4); -if (x_940 == 0) +uint8_t x_947; +x_947 = l_Array_isEmpty___rarg(x_3); +if (x_947 == 0) { -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; -x_941 = lean_box(0); -x_942 = lean_box(x_902); -x_943 = lean_box(x_6); -x_944 = lean_box(x_7); -x_945 = lean_box(x_8); -x_946 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_946, 0, x_1); -lean_closure_set(x_946, 1, x_941); -lean_closure_set(x_946, 2, x_942); -lean_closure_set(x_946, 3, x_2); -lean_closure_set(x_946, 4, x_3); -lean_closure_set(x_946, 5, x_4); -lean_closure_set(x_946, 6, x_5); -lean_closure_set(x_946, 7, x_943); -lean_closure_set(x_946, 8, x_944); -lean_closure_set(x_946, 9, x_945); -x_947 = l_Lean_Elab_Term_observing___rarg(x_946, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_947) == 0) -{ -uint8_t x_948; -x_948 = !lean_is_exclusive(x_947); -if (x_948 == 0) -{ -lean_object* x_949; lean_object* x_950; -x_949 = lean_ctor_get(x_947, 0); -x_950 = lean_array_push(x_9, x_949); -lean_ctor_set(x_947, 0, x_950); -return x_947; -} -else -{ -lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; -x_951 = lean_ctor_get(x_947, 0); -x_952 = lean_ctor_get(x_947, 1); -lean_inc(x_952); -lean_inc(x_951); -lean_dec(x_947); -x_953 = lean_array_push(x_9, x_951); -x_954 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_954, 0, x_953); -lean_ctor_set(x_954, 1, x_952); -return x_954; -} -} -else +lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; +x_948 = lean_box(0); +x_949 = lean_box(x_928); +x_950 = lean_box(x_6); +x_951 = lean_box(x_7); +x_952 = lean_box(x_8); +x_953 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_953, 0, x_1); +lean_closure_set(x_953, 1, x_948); +lean_closure_set(x_953, 2, x_949); +lean_closure_set(x_953, 3, x_2); +lean_closure_set(x_953, 4, x_3); +lean_closure_set(x_953, 5, x_4); +lean_closure_set(x_953, 6, x_5); +lean_closure_set(x_953, 7, x_950); +lean_closure_set(x_953, 8, x_951); +lean_closure_set(x_953, 9, x_952); +x_954 = l_Lean_Elab_Term_observing___rarg(x_953, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_954) == 0) { uint8_t x_955; -lean_dec(x_9); -x_955 = !lean_is_exclusive(x_947); +x_955 = !lean_is_exclusive(x_954); if (x_955 == 0) { -return x_947; +lean_object* x_956; lean_object* x_957; +x_956 = lean_ctor_get(x_954, 0); +x_957 = lean_array_push(x_9, x_956); +lean_ctor_set(x_954, 0, x_957); +return x_954; } else { -lean_object* x_956; lean_object* x_957; lean_object* x_958; -x_956 = lean_ctor_get(x_947, 0); -x_957 = lean_ctor_get(x_947, 1); -lean_inc(x_957); -lean_inc(x_956); -lean_dec(x_947); -x_958 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_958, 0, x_956); -lean_ctor_set(x_958, 1, x_957); -return x_958; +lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; +x_958 = lean_ctor_get(x_954, 0); +x_959 = lean_ctor_get(x_954, 1); +lean_inc(x_959); +lean_inc(x_958); +lean_dec(x_954); +x_960 = lean_array_push(x_9, x_958); +x_961 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_961, 0, x_960); +lean_ctor_set(x_961, 1, x_959); +return x_961; +} +} +else +{ +uint8_t x_962; +lean_dec(x_9); +x_962 = !lean_is_exclusive(x_954); +if (x_962 == 0) +{ +return x_954; +} +else +{ +lean_object* x_963; lean_object* x_964; lean_object* x_965; +x_963 = lean_ctor_get(x_954, 0); +x_964 = lean_ctor_get(x_954, 1); +lean_inc(x_964); +lean_inc(x_963); +lean_dec(x_954); +x_965 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_965, 0, x_963); +lean_ctor_set(x_965, 1, x_964); +return x_965; +} +} +} +else +{ +uint8_t x_966; +x_966 = l_Array_isEmpty___rarg(x_4); +if (x_966 == 0) +{ +lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; +x_967 = lean_box(0); +x_968 = lean_box(x_928); +x_969 = lean_box(x_6); +x_970 = lean_box(x_7); +x_971 = lean_box(x_8); +x_972 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_972, 0, x_1); +lean_closure_set(x_972, 1, x_967); +lean_closure_set(x_972, 2, x_968); +lean_closure_set(x_972, 3, x_2); +lean_closure_set(x_972, 4, x_3); +lean_closure_set(x_972, 5, x_4); +lean_closure_set(x_972, 6, x_5); +lean_closure_set(x_972, 7, x_969); +lean_closure_set(x_972, 8, x_970); +lean_closure_set(x_972, 9, x_971); +x_973 = l_Lean_Elab_Term_observing___rarg(x_972, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_973) == 0) +{ +uint8_t x_974; +x_974 = !lean_is_exclusive(x_973); +if (x_974 == 0) +{ +lean_object* x_975; lean_object* x_976; +x_975 = lean_ctor_get(x_973, 0); +x_976 = lean_array_push(x_9, x_975); +lean_ctor_set(x_973, 0, x_976); +return x_973; +} +else +{ +lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; +x_977 = lean_ctor_get(x_973, 0); +x_978 = lean_ctor_get(x_973, 1); +lean_inc(x_978); +lean_inc(x_977); +lean_dec(x_973); +x_979 = lean_array_push(x_9, x_977); +x_980 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_980, 0, x_979); +lean_ctor_set(x_980, 1, x_978); +return x_980; +} +} +else +{ +uint8_t x_981; +lean_dec(x_9); +x_981 = !lean_is_exclusive(x_973); +if (x_981 == 0) +{ +return x_973; +} +else +{ +lean_object* x_982; lean_object* x_983; lean_object* x_984; +x_982 = lean_ctor_get(x_973, 0); +x_983 = lean_ctor_get(x_973, 1); +lean_inc(x_983); +lean_inc(x_982); +lean_dec(x_973); +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; } } } @@ -24475,129 +25282,129 @@ lean_dec(x_3); lean_dec(x_2); if (x_8 == 0) { -uint8_t x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; -x_959 = 1; -x_960 = lean_box(x_959); -x_961 = lean_box(x_959); -x_962 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_962, 0, x_1); -lean_closure_set(x_962, 1, x_5); -lean_closure_set(x_962, 2, x_960); -lean_closure_set(x_962, 3, x_961); -x_963 = l_Lean_Elab_Term_observing___rarg(x_962, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_963) == 0) +uint8_t x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; +x_985 = 1; +x_986 = lean_box(x_985); +x_987 = lean_box(x_985); +x_988 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_988, 0, x_1); +lean_closure_set(x_988, 1, x_5); +lean_closure_set(x_988, 2, x_986); +lean_closure_set(x_988, 3, x_987); +x_989 = l_Lean_Elab_Term_observing___rarg(x_988, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_989) == 0) { -uint8_t x_964; -x_964 = !lean_is_exclusive(x_963); -if (x_964 == 0) +uint8_t x_990; +x_990 = !lean_is_exclusive(x_989); +if (x_990 == 0) { -lean_object* x_965; lean_object* x_966; -x_965 = lean_ctor_get(x_963, 0); -x_966 = lean_array_push(x_9, x_965); -lean_ctor_set(x_963, 0, x_966); -return x_963; +lean_object* x_991; lean_object* x_992; +x_991 = lean_ctor_get(x_989, 0); +x_992 = lean_array_push(x_9, x_991); +lean_ctor_set(x_989, 0, x_992); +return x_989; } else { -lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; -x_967 = lean_ctor_get(x_963, 0); -x_968 = lean_ctor_get(x_963, 1); -lean_inc(x_968); -lean_inc(x_967); -lean_dec(x_963); -x_969 = lean_array_push(x_9, x_967); -x_970 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_970, 0, x_969); -lean_ctor_set(x_970, 1, x_968); -return x_970; +lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; +x_993 = lean_ctor_get(x_989, 0); +x_994 = lean_ctor_get(x_989, 1); +lean_inc(x_994); +lean_inc(x_993); +lean_dec(x_989); +x_995 = lean_array_push(x_9, x_993); +x_996 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_996, 0, x_995); +lean_ctor_set(x_996, 1, x_994); +return x_996; } } else { -uint8_t x_971; +uint8_t x_997; lean_dec(x_9); -x_971 = !lean_is_exclusive(x_963); -if (x_971 == 0) +x_997 = !lean_is_exclusive(x_989); +if (x_997 == 0) { -return x_963; +return x_989; } else { -lean_object* x_972; lean_object* x_973; lean_object* x_974; -x_972 = lean_ctor_get(x_963, 0); -x_973 = lean_ctor_get(x_963, 1); -lean_inc(x_973); -lean_inc(x_972); -lean_dec(x_963); -x_974 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_974, 0, x_972); -lean_ctor_set(x_974, 1, x_973); -return x_974; +lean_object* x_998; lean_object* x_999; lean_object* x_1000; +x_998 = lean_ctor_get(x_989, 0); +x_999 = lean_ctor_get(x_989, 1); +lean_inc(x_999); +lean_inc(x_998); +lean_dec(x_989); +x_1000 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1000, 0, x_998); +lean_ctor_set(x_1000, 1, x_999); +return x_1000; } } } else { -lean_object* x_975; uint8_t x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; -x_975 = lean_box(0); -x_976 = 1; -x_977 = lean_box(x_902); -x_978 = lean_box(x_976); -x_979 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_979, 0, x_1); -lean_closure_set(x_979, 1, x_5); -lean_closure_set(x_979, 2, x_977); -lean_closure_set(x_979, 3, x_978); -lean_closure_set(x_979, 4, x_975); -x_980 = l_Lean_Elab_Term_observing___rarg(x_979, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_980) == 0) +lean_object* x_1001; uint8_t x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; +x_1001 = lean_box(0); +x_1002 = 1; +x_1003 = lean_box(x_928); +x_1004 = lean_box(x_1002); +x_1005 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_1005, 0, x_1); +lean_closure_set(x_1005, 1, x_5); +lean_closure_set(x_1005, 2, x_1003); +lean_closure_set(x_1005, 3, x_1004); +lean_closure_set(x_1005, 4, x_1001); +x_1006 = l_Lean_Elab_Term_observing___rarg(x_1005, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_1006) == 0) { -uint8_t x_981; -x_981 = !lean_is_exclusive(x_980); -if (x_981 == 0) +uint8_t x_1007; +x_1007 = !lean_is_exclusive(x_1006); +if (x_1007 == 0) { -lean_object* x_982; lean_object* x_983; -x_982 = lean_ctor_get(x_980, 0); -x_983 = lean_array_push(x_9, x_982); -lean_ctor_set(x_980, 0, x_983); -return x_980; +lean_object* x_1008; lean_object* x_1009; +x_1008 = lean_ctor_get(x_1006, 0); +x_1009 = lean_array_push(x_9, x_1008); +lean_ctor_set(x_1006, 0, x_1009); +return x_1006; } else { -lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; -x_984 = lean_ctor_get(x_980, 0); -x_985 = lean_ctor_get(x_980, 1); -lean_inc(x_985); -lean_inc(x_984); -lean_dec(x_980); -x_986 = lean_array_push(x_9, x_984); -x_987 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_987, 0, x_986); -lean_ctor_set(x_987, 1, x_985); -return x_987; +lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; +x_1010 = lean_ctor_get(x_1006, 0); +x_1011 = lean_ctor_get(x_1006, 1); +lean_inc(x_1011); +lean_inc(x_1010); +lean_dec(x_1006); +x_1012 = lean_array_push(x_9, x_1010); +x_1013 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1013, 0, x_1012); +lean_ctor_set(x_1013, 1, x_1011); +return x_1013; } } else { -uint8_t x_988; +uint8_t x_1014; lean_dec(x_9); -x_988 = !lean_is_exclusive(x_980); -if (x_988 == 0) +x_1014 = !lean_is_exclusive(x_1006); +if (x_1014 == 0) { -return x_980; +return x_1006; } else { -lean_object* x_989; lean_object* x_990; lean_object* x_991; -x_989 = lean_ctor_get(x_980, 0); -x_990 = lean_ctor_get(x_980, 1); -lean_inc(x_990); -lean_inc(x_989); -lean_dec(x_980); -x_991 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_991, 0, x_989); -lean_ctor_set(x_991, 1, x_990); -return x_991; +lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; +x_1015 = lean_ctor_get(x_1006, 0); +x_1016 = lean_ctor_get(x_1006, 1); +lean_inc(x_1016); +lean_inc(x_1015); +lean_dec(x_1006); +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; } } } @@ -24608,54 +25415,54 @@ return x_991; } else { -lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; +lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_dec(x_1); -x_995 = lean_box(0); -x_996 = l_Lean_Syntax_identComponents(x_896, x_995); -x_997 = lean_box(0); -lean_inc(x_894); -x_998 = l_List_mapTRAux___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(x_894, x_996, x_997); -x_999 = l_List_appendTR___rarg(x_998, x_2); -x_1 = x_894; -x_2 = x_999; +x_1021 = lean_box(0); +x_1022 = l_Lean_Syntax_identComponents(x_922, x_1021); +x_1023 = lean_box(0); +lean_inc(x_920); +x_1024 = l_List_mapTRAux___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(x_920, x_1022, x_1023); +x_1025 = l_List_appendTR___rarg(x_1024, x_2); +x_1 = x_920; +x_2 = x_1025; goto _start; } } else { -lean_object* x_1001; lean_object* x_1002; +lean_object* x_1027; lean_object* x_1028; lean_dec(x_1); -x_1001 = l_Lean_fieldIdxKind; -x_1002 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_1001, x_896); -if (lean_obj_tag(x_1002) == 0) +x_1027 = l_Lean_fieldIdxKind; +x_1028 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_1027, x_922); +if (lean_obj_tag(x_1028) == 0) { -lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; -x_1003 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__28; -x_1004 = l_panic___at_String_toNat_x21___spec__1(x_1003); -x_1005 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1005, 0, x_896); -lean_ctor_set(x_1005, 1, x_1004); -x_1006 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1006, 0, x_1005); -lean_ctor_set(x_1006, 1, x_2); -x_1 = x_894; -x_2 = x_1006; +lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; +x_1029 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__26; +x_1030 = l_panic___at_String_toNat_x21___spec__1(x_1029); +x_1031 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1031, 0, x_922); +lean_ctor_set(x_1031, 1, x_1030); +x_1032 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1032, 0, x_1031); +lean_ctor_set(x_1032, 1, x_2); +x_1 = x_920; +x_2 = x_1032; goto _start; } else { -lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; -x_1008 = lean_ctor_get(x_1002, 0); -lean_inc(x_1008); -lean_dec(x_1002); -x_1009 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1009, 0, x_896); -lean_ctor_set(x_1009, 1, x_1008); -x_1010 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1010, 0, x_1009); -lean_ctor_set(x_1010, 1, x_2); -x_1 = x_894; -x_2 = x_1010; +lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; +x_1034 = lean_ctor_get(x_1028, 0); +lean_inc(x_1034); +lean_dec(x_1028); +x_1035 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1035, 0, x_922); +lean_ctor_set(x_1035, 1, x_1034); +x_1036 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1036, 0, x_1035); +lean_ctor_set(x_1036, 1, x_2); +x_1 = x_920; +x_2 = x_1036; goto _start; } } @@ -24663,123 +25470,48 @@ goto _start; } else { -lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; uint8_t x_1015; -x_1012 = l_Lean_Syntax_getArgs(x_1); +lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; uint8_t x_1041; +x_1038 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_1013 = lean_array_get_size(x_1012); -x_1014 = lean_unsigned_to_nat(0u); -x_1015 = lean_nat_dec_lt(x_1014, x_1013); -if (x_1015 == 0) +x_1039 = lean_array_get_size(x_1038); +x_1040 = lean_unsigned_to_nat(0u); +x_1041 = lean_nat_dec_lt(x_1040, x_1039); +if (x_1041 == 0) { -lean_object* x_1016; -lean_dec(x_1013); -lean_dec(x_1012); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1016 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1016, 0, x_9); -lean_ctor_set(x_1016, 1, x_16); -return x_1016; -} -else -{ -uint8_t x_1017; -x_1017 = !lean_is_exclusive(x_10); -if (x_1017 == 0) -{ -uint8_t x_1018; uint8_t x_1019; -x_1018 = 0; -lean_ctor_set_uint8(x_10, sizeof(void*)*8 + 1, x_1018); -x_1019 = lean_nat_dec_le(x_1013, x_1013); -if (x_1019 == 0) -{ -lean_object* x_1020; -lean_dec(x_10); -lean_dec(x_1013); -lean_dec(x_1012); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1020 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1020, 0, x_9); -lean_ctor_set(x_1020, 1, x_16); -return x_1020; -} -else -{ -size_t x_1021; size_t x_1022; lean_object* x_1023; -x_1021 = 0; -x_1022 = lean_usize_of_nat(x_1013); -lean_dec(x_1013); -x_1023 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_1012, x_1021, x_1022, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_1012); -return x_1023; -} -} -else -{ -lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; uint8_t x_1028; uint8_t x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; uint8_t x_1033; uint8_t x_1034; uint8_t x_1035; uint8_t x_1036; lean_object* x_1037; uint8_t x_1038; lean_object* x_1039; uint8_t x_1040; -x_1024 = lean_ctor_get(x_10, 0); -x_1025 = lean_ctor_get(x_10, 1); -x_1026 = lean_ctor_get(x_10, 2); -x_1027 = lean_ctor_get(x_10, 3); -x_1028 = lean_ctor_get_uint8(x_10, sizeof(void*)*8); -x_1029 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 2); -x_1030 = lean_ctor_get(x_10, 4); -x_1031 = lean_ctor_get(x_10, 5); -x_1032 = lean_ctor_get(x_10, 6); -x_1033 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 3); -x_1034 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 4); -x_1035 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 5); -x_1036 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 6); -x_1037 = lean_ctor_get(x_10, 7); -lean_inc(x_1037); -lean_inc(x_1032); -lean_inc(x_1031); -lean_inc(x_1030); -lean_inc(x_1027); -lean_inc(x_1026); -lean_inc(x_1025); -lean_inc(x_1024); -lean_dec(x_10); -x_1038 = 0; -x_1039 = lean_alloc_ctor(0, 8, 7); -lean_ctor_set(x_1039, 0, x_1024); -lean_ctor_set(x_1039, 1, x_1025); -lean_ctor_set(x_1039, 2, x_1026); -lean_ctor_set(x_1039, 3, x_1027); -lean_ctor_set(x_1039, 4, x_1030); -lean_ctor_set(x_1039, 5, x_1031); -lean_ctor_set(x_1039, 6, x_1032); -lean_ctor_set(x_1039, 7, x_1037); -lean_ctor_set_uint8(x_1039, sizeof(void*)*8, x_1028); -lean_ctor_set_uint8(x_1039, sizeof(void*)*8 + 1, x_1038); -lean_ctor_set_uint8(x_1039, sizeof(void*)*8 + 2, x_1029); -lean_ctor_set_uint8(x_1039, sizeof(void*)*8 + 3, x_1033); -lean_ctor_set_uint8(x_1039, sizeof(void*)*8 + 4, x_1034); -lean_ctor_set_uint8(x_1039, sizeof(void*)*8 + 5, x_1035); -lean_ctor_set_uint8(x_1039, sizeof(void*)*8 + 6, x_1036); -x_1040 = lean_nat_dec_le(x_1013, x_1013); -if (x_1040 == 0) -{ -lean_object* x_1041; +lean_object* x_1042; lean_dec(x_1039); -lean_dec(x_1013); -lean_dec(x_1012); +lean_dec(x_1038); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1042 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1042, 0, x_9); +lean_ctor_set(x_1042, 1, x_16); +return x_1042; +} +else +{ +uint8_t x_1043; +x_1043 = !lean_is_exclusive(x_10); +if (x_1043 == 0) +{ +uint8_t x_1044; uint8_t x_1045; +x_1044 = 0; +lean_ctor_set_uint8(x_10, sizeof(void*)*8 + 1, x_1044); +x_1045 = lean_nat_dec_le(x_1039, x_1039); +if (x_1045 == 0) +{ +lean_object* x_1046; +lean_dec(x_10); +lean_dec(x_1039); +lean_dec(x_1038); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -24789,20 +25521,95 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1041 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1041, 0, x_9); -lean_ctor_set(x_1041, 1, x_16); -return x_1041; +x_1046 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1046, 0, x_9); +lean_ctor_set(x_1046, 1, x_16); +return x_1046; } else { -size_t x_1042; size_t x_1043; lean_object* x_1044; -x_1042 = 0; -x_1043 = lean_usize_of_nat(x_1013); -lean_dec(x_1013); -x_1044 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_1012, x_1042, x_1043, x_9, x_1039, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_1012); -return x_1044; +size_t x_1047; size_t x_1048; lean_object* x_1049; +x_1047 = 0; +x_1048 = lean_usize_of_nat(x_1039); +lean_dec(x_1039); +x_1049 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_1038, x_1047, x_1048, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_1038); +return x_1049; +} +} +else +{ +lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; uint8_t x_1054; uint8_t x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; uint8_t x_1059; uint8_t x_1060; uint8_t x_1061; uint8_t x_1062; lean_object* x_1063; uint8_t x_1064; lean_object* x_1065; uint8_t x_1066; +x_1050 = lean_ctor_get(x_10, 0); +x_1051 = lean_ctor_get(x_10, 1); +x_1052 = lean_ctor_get(x_10, 2); +x_1053 = lean_ctor_get(x_10, 3); +x_1054 = lean_ctor_get_uint8(x_10, sizeof(void*)*8); +x_1055 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 2); +x_1056 = lean_ctor_get(x_10, 4); +x_1057 = lean_ctor_get(x_10, 5); +x_1058 = lean_ctor_get(x_10, 6); +x_1059 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 3); +x_1060 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 4); +x_1061 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 5); +x_1062 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 6); +x_1063 = lean_ctor_get(x_10, 7); +lean_inc(x_1063); +lean_inc(x_1058); +lean_inc(x_1057); +lean_inc(x_1056); +lean_inc(x_1053); +lean_inc(x_1052); +lean_inc(x_1051); +lean_inc(x_1050); +lean_dec(x_10); +x_1064 = 0; +x_1065 = lean_alloc_ctor(0, 8, 7); +lean_ctor_set(x_1065, 0, x_1050); +lean_ctor_set(x_1065, 1, x_1051); +lean_ctor_set(x_1065, 2, x_1052); +lean_ctor_set(x_1065, 3, x_1053); +lean_ctor_set(x_1065, 4, x_1056); +lean_ctor_set(x_1065, 5, x_1057); +lean_ctor_set(x_1065, 6, x_1058); +lean_ctor_set(x_1065, 7, x_1063); +lean_ctor_set_uint8(x_1065, sizeof(void*)*8, x_1054); +lean_ctor_set_uint8(x_1065, sizeof(void*)*8 + 1, x_1064); +lean_ctor_set_uint8(x_1065, sizeof(void*)*8 + 2, x_1055); +lean_ctor_set_uint8(x_1065, sizeof(void*)*8 + 3, x_1059); +lean_ctor_set_uint8(x_1065, sizeof(void*)*8 + 4, x_1060); +lean_ctor_set_uint8(x_1065, sizeof(void*)*8 + 5, x_1061); +lean_ctor_set_uint8(x_1065, sizeof(void*)*8 + 6, x_1062); +x_1066 = lean_nat_dec_le(x_1039, x_1039); +if (x_1066 == 0) +{ +lean_object* x_1067; +lean_dec(x_1065); +lean_dec(x_1039); +lean_dec(x_1038); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1067 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1067, 0, x_9); +lean_ctor_set(x_1067, 1, x_16); +return x_1067; +} +else +{ +size_t x_1068; size_t x_1069; lean_object* x_1070; +x_1068 = 0; +x_1069 = lean_usize_of_nat(x_1039); +lean_dec(x_1039); +x_1070 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_1038, x_1068, x_1069, x_9, x_1065, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_1038); +return x_1070; } } } @@ -24917,73 +25724,6 @@ x_20 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_1, x_ return x_20; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__3___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -_start: -{ -uint8_t x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; -x_19 = lean_unbox(x_7); -lean_dec(x_7); -x_20 = lean_unbox(x_8); -lean_dec(x_8); -x_21 = lean_unbox(x_9); -lean_dec(x_9); -x_22 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_20, x_21, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_11); -return x_22; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; -_start: -{ -uint8_t x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; -x_21 = lean_unbox(x_8); -lean_dec(x_8); -x_22 = lean_unbox(x_9); -lean_dec(x_9); -x_23 = lean_unbox(x_10); -lean_dec(x_10); -x_24 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_21, x_22, x_23, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -return x_24; -} -} LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_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* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { @@ -26066,7 +26806,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__1; x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(945u); +x_3 = lean_unsigned_to_nat(961u); x_4 = lean_unsigned_to_nat(35u); x_5 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -26600,7 +27340,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__1; x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__3___closed__1; -x_3 = lean_unsigned_to_nat(961u); +x_3 = lean_unsigned_to_nat(977u); x_4 = lean_unsigned_to_nat(35u); x_5 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -27530,7 +28270,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabApp_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(974u); +x_1 = lean_unsigned_to_nat(990u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27542,7 +28282,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabApp_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(977u); +x_1 = lean_unsigned_to_nat(993u); x_2 = lean_unsigned_to_nat(90u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27570,7 +28310,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabApp_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(974u); +x_1 = lean_unsigned_to_nat(990u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27582,7 +28322,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabApp_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(974u); +x_1 = lean_unsigned_to_nat(990u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27739,7 +28479,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabIdent_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(982u); +x_1 = lean_unsigned_to_nat(998u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27751,7 +28491,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabIdent_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(982u); +x_1 = lean_unsigned_to_nat(998u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27779,7 +28519,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabIdent_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(982u); +x_1 = lean_unsigned_to_nat(998u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27791,7 +28531,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabIdent_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(982u); +x_1 = lean_unsigned_to_nat(998u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27905,7 +28645,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNamedPattern_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(984u); +x_1 = lean_unsigned_to_nat(1000u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27917,7 +28657,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNamedPattern_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(984u); +x_1 = lean_unsigned_to_nat(1000u); x_2 = lean_unsigned_to_nat(75u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27945,7 +28685,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNamedPattern_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(984u); +x_1 = lean_unsigned_to_nat(1000u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27957,7 +28697,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNamedPattern_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(984u); +x_1 = lean_unsigned_to_nat(1000u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28053,7 +28793,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(985u); +x_1 = lean_unsigned_to_nat(1001u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28065,7 +28805,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(985u); +x_1 = lean_unsigned_to_nat(1001u); x_2 = lean_unsigned_to_nat(67u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28093,7 +28833,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(985u); +x_1 = lean_unsigned_to_nat(1001u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28105,7 +28845,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(985u); +x_1 = lean_unsigned_to_nat(1001u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28219,7 +28959,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabExplicitUniv_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(987u); +x_1 = lean_unsigned_to_nat(1003u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28231,7 +28971,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabExplicitUniv_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(987u); +x_1 = lean_unsigned_to_nat(1003u); x_2 = lean_unsigned_to_nat(75u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28259,7 +28999,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabExplicitUniv_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(987u); +x_1 = lean_unsigned_to_nat(1003u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28271,7 +29011,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabExplicitUniv_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(987u); +x_1 = lean_unsigned_to_nat(1003u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28554,7 +29294,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(989u); +x_1 = lean_unsigned_to_nat(1005u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28566,7 +29306,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(994u); +x_1 = lean_unsigned_to_nat(1010u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28594,7 +29334,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(989u); +x_1 = lean_unsigned_to_nat(1005u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28606,7 +29346,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(989u); +x_1 = lean_unsigned_to_nat(1005u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28860,7 +29600,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabExplicit_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(999u); +x_1 = lean_unsigned_to_nat(1015u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28872,7 +29612,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabExplicit_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1005u); +x_1 = lean_unsigned_to_nat(1021u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28900,7 +29640,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabExplicit_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(999u); +x_1 = lean_unsigned_to_nat(1015u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28912,7 +29652,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabExplicit_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(999u); +x_1 = lean_unsigned_to_nat(1015u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29026,7 +29766,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1007u); +x_1 = lean_unsigned_to_nat(1023u); x_2 = lean_unsigned_to_nat(26u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29038,7 +29778,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1007u); +x_1 = lean_unsigned_to_nat(1023u); x_2 = lean_unsigned_to_nat(63u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29066,7 +29806,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1007u); +x_1 = lean_unsigned_to_nat(1023u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29078,7 +29818,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1007u); +x_1 = lean_unsigned_to_nat(1023u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29174,7 +29914,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProj_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1008u); +x_1 = lean_unsigned_to_nat(1024u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29186,7 +29926,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProj_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1008u); +x_1 = lean_unsigned_to_nat(1024u); x_2 = lean_unsigned_to_nat(59u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29214,7 +29954,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProj_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1008u); +x_1 = lean_unsigned_to_nat(1024u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29226,7 +29966,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProj_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1008u); +x_1 = lean_unsigned_to_nat(1024u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29322,7 +30062,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabArrayRef_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1009u); +x_1 = lean_unsigned_to_nat(1025u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29334,7 +30074,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabArrayRef_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1009u); +x_1 = lean_unsigned_to_nat(1025u); x_2 = lean_unsigned_to_nat(67u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29362,7 +30102,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabArrayRef_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1009u); +x_1 = lean_unsigned_to_nat(1025u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29374,7 +30114,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabArrayRef_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1009u); +x_1 = lean_unsigned_to_nat(1025u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29420,7 +30160,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_12989_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_13325_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -29794,22 +30534,26 @@ l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___closed__1 = _init_l__ lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___closed__1); l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___closed__2(); lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___closed__2); +l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__1); +l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__2); +l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__3 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__3); +l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__4 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__4); +l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__5 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__5); +l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__6 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__6); +l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__1); +l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__2); l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg___closed__1); l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg___closed__2 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg___closed__2(); lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg___closed__2); -l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__1); -l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__2); -l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__3 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__3); -l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__4 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__4); -l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__5 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__5); -l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__6 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__6); l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__1(); lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__1); l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__2(); @@ -29862,10 +30606,6 @@ l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__25 = _init_l___p lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__25); l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__26 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__26(); lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__26); -l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__27 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__27(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__27); -l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__28 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__28(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__28); l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___spec__1___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___spec__1___closed__1(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___spec__1___closed__1); l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___spec__1___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___spec__1___closed__2(); @@ -30209,7 +30949,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabArrayRef_declRange___clos res = l___regBuiltin_Lean_Elab_Term_elabArrayRef_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_12989_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_13325_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index 824b64cf0a..18599fbefb 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -28,7 +28,6 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxCo LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__14(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); uint8_t l_Lean_Level_isNeverZero(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkTypeFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -48,6 +47,7 @@ static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__5; lean_object* l_Lean_LocalDecl_userName(lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__2; LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -63,6 +63,7 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCto static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_of_nat(lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__7; @@ -75,75 +76,72 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__1; LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedInductiveView; lean_object* l_Lean_Meta_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__10(uint8_t, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6(uint8_t, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__1; -static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__4; -lean_object* l_Std_HashMapImp_find_x3f___at_Lean_hasOutParams___spec__5(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed__const__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArity___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef(lean_object*); lean_object* lean_mk_cases_on(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkInjectiveTheorems(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__2; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___closed__1; -LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__1; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__1; +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__6; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__5; static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__1; lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__3; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused___closed__2; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___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*); @@ -151,8 +149,8 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Meta_collectUsedFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedCtorView___closed__3; lean_object* lean_array_get_size(lean_object*); -static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__9___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -162,6 +160,7 @@ LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_In lean_object* l_Lean_Meta_transform___at_Lean_Meta_iteToDIte___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__2; lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -172,7 +171,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inducti LEAN_EXPORT lean_object* l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_getOffsetAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const(lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashSetImp___rarg(lean_object*); @@ -180,8 +179,6 @@ LEAN_EXPORT lean_object* l_Lean_ForEachExpr_visit___at___private_Lean_Elab_Induc LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_getLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_shouldInferResultUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArity___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -191,10 +188,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_co LEAN_EXPORT lean_object* l_Lean_Elab_Command_accLevelAtCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__1; static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__10; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5____closed__1; lean_object* l_Lean_Level_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -203,7 +201,7 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkRe LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___lambda__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -212,6 +210,7 @@ LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_ uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__5; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; @@ -223,15 +222,15 @@ static lean_object* l_Lean_Elab_Command_checkResultingUniverse___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__2; static lean_object* l_Lean_Elab_Command_checkResultingUniverse___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__5; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___lambda__1___closed__1; @@ -249,8 +248,9 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inducti LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_eqvFirstTypeResult___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__6; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkResultingUniverse___closed__2; static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__2; lean_object* lean_mk_ibelow(lean_object*, lean_object*); @@ -261,6 +261,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___spec lean_object* l_Lean_Meta_mkSizeOfInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__5; LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkResultUniverse___boxed(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); @@ -276,11 +277,11 @@ lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2(lean_object*, LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkBInductionOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__6; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkBInductionOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -289,10 +290,8 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls(lean_object*); uint8_t l_Lean_Level_geq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__7; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panic___at_Lean_Meta_Linear_Cnstr_isUnsat___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -301,6 +300,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inducti LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInductiveViews___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -328,7 +328,6 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkRe LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__2; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__4; @@ -341,6 +340,7 @@ LEAN_EXPORT lean_object* l_Lean_mkBelow___at___private_Lean_Elab_Inductive_0__Le LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addLocalVarInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_Meta_Match_mkMatcher___spec__6(lean_object*, lean_object*); @@ -350,6 +350,7 @@ lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageCo LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4___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_instHashableExpr; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5(uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedCtorView; @@ -360,12 +361,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fi LEAN_EXPORT lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4___closed__1; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__2; LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedInductiveType; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -374,16 +376,15 @@ lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__2___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__5___closed__2; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__6; lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeaders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___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*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkBRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5(lean_object*, uint8_t); lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -394,12 +395,9 @@ static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__1(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__9(lean_object*, uint8_t); +static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__4; LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_HashMap_insert___at_Lean_ClassState_addEntry___spec__6(lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__2; lean_object* l_Lean_Meta_assignLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_accLevelAtCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -426,13 +424,16 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResu static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__3___lambda__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__11(lean_object*, size_t, size_t); lean_object* l_Lean_throwKernelException___at_Lean_Elab_Term_evalExpr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__2(lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__2; uint8_t l_Lean_Expr_isForall(lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeader___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isTypeFormerType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__11___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -457,7 +458,6 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateR static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___spec__1___closed__2; static lean_object* l_Lean_Elab_Command_accLevelAtCtor___closed__2; -lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_addImplicitTargets___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkIBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DerivingClassView_applyHandlers(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -469,10 +469,8 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCto LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeaders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__1; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__3; -lean_object* l_Lean_Meta_isDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed__const__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__8; @@ -481,6 +479,7 @@ lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_o static lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__1; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__3___lambda__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isDomainDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -496,12 +495,14 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__8; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_indexOfAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__3; extern uint8_t l_instInhabitedBool; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8___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_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -515,9 +516,11 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inducti uint8_t lean_expr_eqv(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_localDeclDependsOnPred(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMap_insert___at_Lean_Meta_ForEachExpr_visit___spec__3(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -539,12 +542,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeCompatible___at___private_Le lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__9; +uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_eqvFirstTypeResult___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5_(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkIBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__3; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -556,9 +559,8 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8___lambda__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__5; lean_object* l_Lean_Level_normalize(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__5___closed__6; @@ -566,8 +568,10 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Induc LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__1(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__5; static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__2; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__2(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Level_isMVar(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -606,9 +610,12 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___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*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__2(lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isDomainDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInductiveViews___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -629,10 +636,10 @@ LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_ LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__3; lean_object* lean_mk_array(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_allM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit(lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__2; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -640,11 +647,11 @@ extern lean_object* l_Lean_Expr_instBEqExpr; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__8; +LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__2(lean_object*); uint8_t l_Lean_Level_isZero(lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_inferImplicit(lean_object*, lean_object*, uint8_t); static lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__3___closed__1; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__4; +static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__1; static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__2; @@ -659,6 +666,7 @@ uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__2; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__1; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__4; @@ -672,6 +680,8 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inducti LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArity(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier(lean_object*); @@ -679,12 +689,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lam LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___lambda__3(uint8_t, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7(lean_object*, size_t, size_t); lean_object* lean_mk_rec_on(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6(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_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2(lean_object*, lean_object*, size_t, size_t); @@ -708,11 +718,14 @@ lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_ob static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__5___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidInductiveModifier(lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__4; lean_object* l_Lean_mkConst(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedCtorView___closed__1; size_t lean_usize_of_nat(lean_object*); lean_object* lean_mk_binduction_on(lean_object*, lean_object*); @@ -5762,6 +5775,244 @@ lean_dec(x_1); return x_12; } } +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_7); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_uget(x_1, x_3); +lean_inc(x_7); +lean_inc(x_14); +x_15 = l_Lean_Meta_getFVarLocalDecl(x_14, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; +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_18 = l_Lean_LocalDecl_binderInfo(x_16); +lean_dec(x_16); +x_19 = l_Lean_BinderInfo_isExplicit(x_18); +if (x_19 == 0) +{ +size_t x_20; size_t x_21; +lean_dec(x_14); +x_20 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_3 = x_21; +x_11 = x_17; +goto _start; +} +else +{ +lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; +x_23 = l_Lean_Expr_fvarId_x21(x_14); +x_24 = 1; +x_25 = lean_box(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_array_push(x_4, x_26); +x_28 = 1; +x_29 = lean_usize_add(x_3, x_28); +x_3 = x_29; +x_4 = x_27; +x_11 = x_17; +goto _start; +} +} +else +{ +uint8_t x_31; +lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_4); +x_31 = !lean_is_exclusive(x_15); +if (x_31 == 0) +{ +return x_15; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_15, 0); +x_33 = lean_ctor_get(x_15, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_15); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_apply_2(x_2, x_3, x_4); +x_11 = l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp___rarg(x_1, x_10, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_11); +if (x_16 == 0) +{ +return x_11; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_11); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withNewBinderInfos___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__2___rarg___boxed), 9, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_array_get_size(x_1); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; +lean_inc(x_5); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__1(x_1, x_11, x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +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 = l_Lean_Meta_withNewBinderInfos___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__2___rarg(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +lean_dec(x_15); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_14); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg), 9, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_withNewBinderInfos___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -7206,50 +7457,50 @@ lean_dec(x_22); x_25 = l_Lean_Meta_mkForallFVars(x_4, x_23, x_16, x_17, x_18, x_10, x_11, x_12, x_13, x_24); if (lean_obj_tag(x_25) == 0) { -lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); -x_47 = lean_st_ref_get(x_13, x_27); -x_48 = lean_ctor_get(x_47, 0); +x_46 = lean_st_ref_get(x_13, x_27); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_47, 3); lean_inc(x_48); -x_49 = lean_ctor_get(x_48, 3); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_ctor_get_uint8(x_49, sizeof(void*)*1); -lean_dec(x_49); -if (x_50 == 0) -{ -lean_object* x_51; -x_51 = lean_ctor_get(x_47, 1); -lean_inc(x_51); lean_dec(x_47); +x_49 = lean_ctor_get_uint8(x_48, sizeof(void*)*1); +lean_dec(x_48); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_46, 1); +lean_inc(x_50); +lean_dec(x_46); x_28 = x_16; -x_29 = x_51; -goto block_46; +x_29 = x_50; +goto block_45; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_52 = lean_ctor_get(x_47, 1); -lean_inc(x_52); -lean_dec(x_47); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_51 = lean_ctor_get(x_46, 1); +lean_inc(x_51); +lean_dec(x_46); lean_inc(x_6); -x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_52); -x_54 = lean_ctor_get(x_53, 0); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); +lean_dec(x_52); +x_55 = lean_unbox(x_53); lean_dec(x_53); -x_56 = lean_unbox(x_54); -lean_dec(x_54); -x_28 = x_56; -x_29 = x_55; -goto block_46; +x_28 = x_55; +x_29 = x_54; +goto block_45; } -block_46: +block_45: { if (x_28 == 0) { @@ -7268,7 +7519,7 @@ return x_31; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; x_32 = lean_ctor_get(x_5, 2); lean_inc(x_32); x_33 = lean_alloc_ctor(4, 1, 0); @@ -7287,32 +7538,31 @@ lean_ctor_set(x_38, 0, x_26); x_39 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); -x_40 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__8; -x_41 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_29); -x_43 = lean_ctor_get(x_42, 0); +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_34); +x_41 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_29); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__1(x_5, x_26, x_43, x_8, x_9, x_10, x_11, x_12, x_13, x_44); +lean_dec(x_41); +x_44 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__1(x_5, x_26, x_42, x_8, x_9, x_10, x_11, x_12, x_13, x_43); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_43); +lean_dec(x_42); lean_dec(x_5); -return x_45; +return x_44; } } } else { -uint8_t x_57; +uint8_t x_56; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -7321,29 +7571,29 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_57 = !lean_is_exclusive(x_25); -if (x_57 == 0) +x_56 = !lean_is_exclusive(x_25); +if (x_56 == 0) { return x_25; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_25, 0); -x_59 = lean_ctor_get(x_25, 1); -lean_inc(x_59); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_25, 0); +x_58 = lean_ctor_get(x_25, 1); lean_inc(x_58); +lean_inc(x_57); lean_dec(x_25); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } else { -uint8_t x_61; +uint8_t x_60; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -7353,29 +7603,29 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_61 = !lean_is_exclusive(x_22); -if (x_61 == 0) +x_60 = !lean_is_exclusive(x_22); +if (x_60 == 0) { return x_22; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_22, 0); -x_63 = lean_ctor_get(x_22, 1); -lean_inc(x_63); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_22, 0); +x_62 = lean_ctor_get(x_22, 1); lean_inc(x_62); +lean_inc(x_61); lean_dec(x_22); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } else { -uint8_t x_65; +uint8_t x_64; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -7385,23 +7635,23 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_65 = !lean_is_exclusive(x_19); -if (x_65 == 0) +x_64 = !lean_is_exclusive(x_19); +if (x_64 == 0) { return x_19; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_19, 0); -x_67 = lean_ctor_get(x_19, 1); -lean_inc(x_67); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_19, 0); +x_66 = lean_ctor_get(x_19, 1); lean_inc(x_66); +lean_inc(x_65); lean_dec(x_19); -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; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } @@ -11472,7 +11722,7 @@ lean_dec(x_2); return x_13; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__1() { _start: { lean_object* x_1; @@ -11480,17 +11730,17 @@ x_1 = lean_mk_string("bootstrap"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__3() { _start: { lean_object* x_1; @@ -11498,17 +11748,17 @@ x_1 = lean_mk_string("inductiveCheckResultingUniverse"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__2; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__3; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__5() { _start: { lean_object* x_1; @@ -11516,13 +11766,13 @@ x_1 = lean_mk_string("by default the `inductive/structure commands report an err return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__6() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__5; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__1; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -11531,12 +11781,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__4; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__6; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__4; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__6; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_1); return x_4; } @@ -13831,6 +14081,12 @@ _start: if (lean_obj_tag(x_2) == 0) { lean_object* x_10; lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_10 = lean_box(0); x_11 = lean_alloc_ctor(0, 2, 0); @@ -13849,119 +14105,151 @@ x_13 = lean_ctor_get(x_2, 0); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_15 = lean_ctor_get(x_2, 1); x_16 = lean_ctor_get(x_13, 0); x_17 = lean_ctor_get(x_13, 1); -x_18 = 0; -x_19 = 1; -x_20 = 1; lean_inc(x_1); -x_21 = l_Lean_Meta_mkForallFVars(x_1, x_17, x_18, x_19, x_20, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_21) == 0) +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkTypeFor___lambda__1___boxed), 9, 2); +lean_closure_set(x_18, 0, x_1); +lean_closure_set(x_18, 1, x_17); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_19 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -lean_ctor_set(x_13, 1, x_22); -x_24 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_23); -if (lean_obj_tag(x_24) == 0) +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_ctor_set(x_13, 1, x_20); +x_22 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +if (lean_obj_tag(x_22) == 0) { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +uint8_t x_23; +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) { -lean_object* x_26; -x_26 = lean_ctor_get(x_24, 0); -lean_ctor_set(x_2, 1, x_26); -lean_ctor_set(x_24, 0, x_2); -return x_24; +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +lean_ctor_set(x_2, 1, x_24); +lean_ctor_set(x_22, 0, x_2); +return x_22; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_24, 0); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_24); -lean_ctor_set(x_2, 1, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_2); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_22, 0); +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_22); +lean_ctor_set(x_2, 1, x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_2); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } else { -uint8_t x_30; +uint8_t x_28; lean_dec(x_13); lean_free_object(x_2); -x_30 = !lean_is_exclusive(x_24); -if (x_30 == 0) +x_28 = !lean_is_exclusive(x_22); +if (x_28 == 0) { -return x_24; +return x_22; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_24, 0); -x_32 = lean_ctor_get(x_24, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_24); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_22, 0); +x_30 = lean_ctor_get(x_22, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_22); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } else { -uint8_t x_34; +uint8_t x_32; lean_free_object(x_13); lean_dec(x_16); lean_free_object(x_2); lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_21); -if (x_34 == 0) +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) { -return x_21; +return x_19; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_21, 0); -x_36 = lean_ctor_get(x_21, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_21); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; uint8_t x_43; lean_object* x_44; -x_38 = lean_ctor_get(x_2, 1); -x_39 = lean_ctor_get(x_13, 0); -x_40 = lean_ctor_get(x_13, 1); -lean_inc(x_40); -lean_inc(x_39); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_2, 1); +x_37 = lean_ctor_get(x_13, 0); +x_38 = lean_ctor_get(x_13, 1); +lean_inc(x_38); +lean_inc(x_37); lean_dec(x_13); -x_41 = 0; -x_42 = 1; -x_43 = 1; lean_inc(x_1); -x_44 = l_Lean_Meta_mkForallFVars(x_1, x_40, x_41, x_42, x_43, x_5, x_6, x_7, x_8, x_9); +x_39 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkTypeFor___lambda__1___boxed), 9, 2); +lean_closure_set(x_39, 0, x_1); +lean_closure_set(x_39, 1, x_38); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_40 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg(x_1, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_37); +lean_ctor_set(x_43, 1, x_41); +x_44 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(x_1, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_42); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; @@ -13969,52 +14257,75 @@ x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); x_46 = lean_ctor_get(x_44, 1); lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_39); -lean_ctor_set(x_47, 1, x_45); -x_48 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(x_1, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_46); -if (lean_obj_tag(x_48) == 0) +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_47 = x_44; +} else { + lean_dec_ref(x_44); + x_47 = lean_box(0); +} +lean_ctor_set(x_2, 1, x_45); +lean_ctor_set(x_2, 0, x_43); +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_47; +} +lean_ctor_set(x_48, 0, x_2); +lean_ctor_set(x_48, 1, x_46); +return x_48; +} +else { lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_48, 0); +lean_dec(x_43); +lean_free_object(x_2); +x_49 = lean_ctor_get(x_44, 0); lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); +x_50 = lean_ctor_get(x_44, 1); lean_inc(x_50); -if (lean_is_exclusive(x_48)) { - lean_ctor_release(x_48, 0); - lean_ctor_release(x_48, 1); - x_51 = x_48; +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_51 = x_44; } else { - lean_dec_ref(x_48); + lean_dec_ref(x_44); x_51 = lean_box(0); } -lean_ctor_set(x_2, 1, x_49); -lean_ctor_set(x_2, 0, x_47); if (lean_is_scalar(x_51)) { - x_52 = lean_alloc_ctor(0, 2, 0); + x_52 = lean_alloc_ctor(1, 2, 0); } else { x_52 = x_51; } -lean_ctor_set(x_52, 0, x_2); +lean_ctor_set(x_52, 0, x_49); lean_ctor_set(x_52, 1, x_50); return x_52; } +} else { lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_47); +lean_dec(x_37); lean_free_object(x_2); -x_53 = lean_ctor_get(x_48, 0); +lean_dec(x_36); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_53 = lean_ctor_get(x_40, 0); lean_inc(x_53); -x_54 = lean_ctor_get(x_48, 1); +x_54 = lean_ctor_get(x_40, 1); lean_inc(x_54); -if (lean_is_exclusive(x_48)) { - lean_ctor_release(x_48, 0); - lean_ctor_release(x_48, 1); - x_55 = x_48; +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_55 = x_40; } else { - lean_dec_ref(x_48); + lean_dec_ref(x_40); x_55 = lean_box(0); } if (lean_is_scalar(x_55)) { @@ -14027,157 +14338,141 @@ lean_ctor_set(x_56, 1, x_54); return x_56; } } +} else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -lean_dec(x_39); -lean_free_object(x_2); -lean_dec(x_38); -lean_dec(x_1); -x_57 = lean_ctor_get(x_44, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_44, 1); +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; +x_57 = lean_ctor_get(x_2, 0); +x_58 = lean_ctor_get(x_2, 1); lean_inc(x_58); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_59 = x_44; -} else { - lean_dec_ref(x_44); - x_59 = lean_box(0); -} -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(1, 2, 0); -} else { - x_60 = x_59; -} -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_58); -return x_60; -} -} -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; uint8_t x_67; uint8_t x_68; lean_object* x_69; -x_61 = lean_ctor_get(x_2, 0); -x_62 = lean_ctor_get(x_2, 1); -lean_inc(x_62); -lean_inc(x_61); +lean_inc(x_57); lean_dec(x_2); -x_63 = lean_ctor_get(x_61, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_61, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_65 = x_61; +x_59 = lean_ctor_get(x_57, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_57, 1); +lean_inc(x_60); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_61 = x_57; } else { - lean_dec_ref(x_61); - x_65 = lean_box(0); + lean_dec_ref(x_57); + x_61 = lean_box(0); } -x_66 = 0; -x_67 = 1; -x_68 = 1; lean_inc(x_1); -x_69 = l_Lean_Meta_mkForallFVars(x_1, x_64, x_66, x_67, x_68, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_69) == 0) +x_62 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkTypeFor___lambda__1___boxed), 9, 2); +lean_closure_set(x_62, 0, x_1); +lean_closure_set(x_62, 1, x_60); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_63 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg(x_1, x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -if (lean_is_scalar(x_65)) { +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +if (lean_is_scalar(x_61)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_61; +} +lean_ctor_set(x_66, 0, x_59); +lean_ctor_set(x_66, 1, x_64); +x_67 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(x_1, x_58, x_3, x_4, x_5, x_6, x_7, x_8, x_65); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_70 = x_67; +} else { + lean_dec_ref(x_67); + x_70 = lean_box(0); +} +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_66); +lean_ctor_set(x_71, 1, x_68); +if (lean_is_scalar(x_70)) { x_72 = lean_alloc_ctor(0, 2, 0); } else { - x_72 = x_65; + x_72 = x_70; } -lean_ctor_set(x_72, 0, x_63); -lean_ctor_set(x_72, 1, x_70); -x_73 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(x_1, x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_71); -if (lean_obj_tag(x_73) == 0) +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_69); +return x_72; +} +else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_74 = lean_ctor_get(x_73, 0); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_66); +x_73 = lean_ctor_get(x_67, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_67, 1); lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - x_76 = x_73; +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_75 = x_67; } else { - lean_dec_ref(x_73); - x_76 = lean_box(0); + lean_dec_ref(x_67); + x_75 = lean_box(0); } -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_72); -lean_ctor_set(x_77, 1, x_74); -if (lean_is_scalar(x_76)) { - x_78 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(1, 2, 0); } else { - x_78 = x_76; + x_76 = x_75; } -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_75); -return x_78; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_dec(x_72); -x_79 = lean_ctor_get(x_73, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_73, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - x_81 = x_73; -} else { - lean_dec_ref(x_73); - x_81 = lean_box(0); -} -if (lean_is_scalar(x_81)) { - x_82 = lean_alloc_ctor(1, 2, 0); -} else { - x_82 = x_81; -} -lean_ctor_set(x_82, 0, x_79); -lean_ctor_set(x_82, 1, x_80); -return x_82; +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_74); +return x_76; } } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_65); -lean_dec(x_63); -lean_dec(x_62); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_61); +lean_dec(x_59); +lean_dec(x_58); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); -x_83 = lean_ctor_get(x_69, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_69, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - x_85 = x_69; +x_77 = lean_ctor_get(x_63, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_63, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_79 = x_63; } else { - lean_dec_ref(x_69); - x_85 = lean_box(0); + lean_dec_ref(x_63); + x_79 = lean_box(0); } -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_79)) { + x_80 = lean_alloc_ctor(1, 2, 0); } else { - x_86 = x_85; + x_80 = x_79; } -lean_ctor_set(x_86, 0, x_83); -lean_ctor_set(x_86, 1, x_84); -return x_86; +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_78); +return x_80; } } } @@ -14189,6 +14484,12 @@ _start: if (lean_obj_tag(x_2) == 0) { lean_object* x_10; lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_10 = lean_box(0); x_11 = lean_alloc_ctor(0, 2, 0); @@ -14225,6 +14526,12 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec(x_22); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); lean_inc(x_1); x_25 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_24); if (lean_obj_tag(x_25) == 0) @@ -14298,6 +14605,12 @@ lean_free_object(x_13); lean_dec(x_16); lean_free_object(x_2); lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_38 = !lean_is_exclusive(x_25); if (x_38 == 0) @@ -14327,6 +14640,12 @@ lean_dec(x_18); lean_dec(x_16); lean_free_object(x_2); lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_42 = !lean_is_exclusive(x_22); if (x_42 == 0) @@ -14372,6 +14691,12 @@ lean_inc(x_54); x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); lean_dec(x_53); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); lean_inc(x_1); x_56 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(x_1, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_55); if (lean_obj_tag(x_56) == 0) @@ -14447,6 +14772,12 @@ lean_dec(x_54); lean_dec(x_47); lean_free_object(x_2); lean_dec(x_46); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_69 = lean_ctor_get(x_56, 0); lean_inc(x_69); @@ -14477,6 +14808,12 @@ lean_dec(x_49); lean_dec(x_47); lean_free_object(x_2); lean_dec(x_46); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_73 = lean_ctor_get(x_53, 0); lean_inc(x_73); @@ -14537,6 +14874,12 @@ lean_inc(x_87); x_88 = lean_ctor_get(x_86, 1); lean_inc(x_88); lean_dec(x_86); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); lean_inc(x_1); x_89 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(x_1, x_81, x_3, x_4, x_5, x_6, x_7, x_8, x_88); if (lean_obj_tag(x_89) == 0) @@ -14616,6 +14959,12 @@ lean_dec(x_87); lean_dec(x_82); lean_dec(x_79); lean_dec(x_78); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_103 = lean_ctor_get(x_89, 0); lean_inc(x_103); @@ -14646,6 +14995,12 @@ lean_dec(x_82); lean_dec(x_81); lean_dec(x_79); lean_dec(x_78); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_107 = lean_ctor_get(x_86, 0); lean_inc(x_107); @@ -14680,48 +15035,6 @@ x_10 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updat return x_10; } } -LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive___spec__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -15833,616 +16146,6 @@ lean_dec(x_5); return x_12; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) -{ -return x_4; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; size_t x_10; size_t x_11; -x_6 = lean_array_uget(x_1, x_3); -x_7 = lean_ctor_get(x_6, 2); -lean_inc(x_7); -x_8 = lean_ctor_get_uint8(x_6, sizeof(void*)*5); -lean_dec(x_6); -x_9 = l_Std_HashMap_insert___at_Lean_ClassState_addEntry___spec__6(x_4, x_7, x_8); -x_10 = 1; -x_11 = lean_usize_add(x_3, x_10); -x_3 = x_11; -x_4 = x_9; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) -{ -return x_4; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; size_t x_12; size_t x_13; -x_6 = lean_array_uget(x_1, x_3); -x_7 = lean_ctor_get(x_6, 8); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_array_get_size(x_7); -x_9 = lean_usize_of_nat(x_8); -lean_dec(x_8); -x_10 = 0; -x_11 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__1(x_7, x_9, x_10, x_4); -lean_dec(x_7); -x_12 = 1; -x_13 = lean_usize_add(x_3, x_12); -x_3 = x_13; -x_4 = x_11; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod(lean_object* x_1) { -_start: -{ -lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; -x_2 = lean_array_get_size(x_1); -x_3 = lean_usize_of_nat(x_2); -lean_dec(x_2); -x_4 = 0; -x_5 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___closed__1; -x_6 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__2(x_1, x_3, x_4, x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__1(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__2(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod(x_1); -lean_dec(x_1); -return x_2; -} -} -static lean_object* _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Std.Data.HashMap"); -return x_1; -} -} -static lean_object* _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Std.HashMap.find!"); -return x_1; -} -} -static lean_object* _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("key is not in the map"); -return x_1; -} -} -static lean_object* _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__1; -x_2 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(177u); -x_4 = lean_unsigned_to_nat(14u); -x_5 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_5; -lean_dec(x_2); -x_5 = l_List_reverse___rarg(x_4); -return x_5; -} -else -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_3); -if (x_6 == 0) -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_ctor_get(x_3, 0); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_3, 1); -x_10 = lean_ctor_get(x_7, 0); -x_11 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_inc(x_2); -x_12 = l_Std_HashMapImp_find_x3f___at_Lean_hasOutParams___spec__5(x_2, x_10); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__4; -x_14 = l_panic___at_Lean_Meta_Linear_Cnstr_isUnsat___spec__1(x_13); -x_15 = lean_unbox(x_14); -lean_dec(x_14); -if (x_15 == 0) -{ -uint8_t x_16; lean_object* x_17; -x_16 = 1; -x_17 = l_Lean_Expr_inferImplicit(x_11, x_1, x_16); -lean_ctor_set(x_7, 1, x_17); -lean_ctor_set(x_3, 1, x_4); -{ -lean_object* _tmp_2 = x_9; -lean_object* _tmp_3 = x_3; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -else -{ -uint8_t x_19; lean_object* x_20; -x_19 = 0; -x_20 = l_Lean_Expr_inferImplicit(x_11, x_1, x_19); -lean_ctor_set(x_7, 1, x_20); -lean_ctor_set(x_3, 1, x_4); -{ -lean_object* _tmp_2 = x_9; -lean_object* _tmp_3 = x_3; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -} -else -{ -lean_object* x_22; uint8_t x_23; -x_22 = lean_ctor_get(x_12, 0); -lean_inc(x_22); -lean_dec(x_12); -x_23 = lean_unbox(x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -uint8_t x_24; lean_object* x_25; -x_24 = 1; -x_25 = l_Lean_Expr_inferImplicit(x_11, x_1, x_24); -lean_ctor_set(x_7, 1, x_25); -lean_ctor_set(x_3, 1, x_4); -{ -lean_object* _tmp_2 = x_9; -lean_object* _tmp_3 = x_3; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -else -{ -uint8_t x_27; lean_object* x_28; -x_27 = 0; -x_28 = l_Lean_Expr_inferImplicit(x_11, x_1, x_27); -lean_ctor_set(x_7, 1, x_28); -lean_ctor_set(x_3, 1, x_4); -{ -lean_object* _tmp_2 = x_9; -lean_object* _tmp_3 = x_3; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_3, 1); -x_31 = lean_ctor_get(x_7, 0); -x_32 = lean_ctor_get(x_7, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_7); -lean_inc(x_31); -lean_inc(x_2); -x_33 = l_Std_HashMapImp_find_x3f___at_Lean_hasOutParams___spec__5(x_2, x_31); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_34 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__4; -x_35 = l_panic___at_Lean_Meta_Linear_Cnstr_isUnsat___spec__1(x_34); -x_36 = lean_unbox(x_35); -lean_dec(x_35); -if (x_36 == 0) -{ -uint8_t x_37; lean_object* x_38; lean_object* x_39; -x_37 = 1; -x_38 = l_Lean_Expr_inferImplicit(x_32, x_1, x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_31); -lean_ctor_set(x_39, 1, x_38); -lean_ctor_set(x_3, 1, x_4); -lean_ctor_set(x_3, 0, x_39); -{ -lean_object* _tmp_2 = x_30; -lean_object* _tmp_3 = x_3; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -else -{ -uint8_t x_41; lean_object* x_42; lean_object* x_43; -x_41 = 0; -x_42 = l_Lean_Expr_inferImplicit(x_32, x_1, x_41); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_31); -lean_ctor_set(x_43, 1, x_42); -lean_ctor_set(x_3, 1, x_4); -lean_ctor_set(x_3, 0, x_43); -{ -lean_object* _tmp_2 = x_30; -lean_object* _tmp_3 = x_3; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -} -else -{ -lean_object* x_45; uint8_t x_46; -x_45 = lean_ctor_get(x_33, 0); -lean_inc(x_45); -lean_dec(x_33); -x_46 = lean_unbox(x_45); -lean_dec(x_45); -if (x_46 == 0) -{ -uint8_t x_47; lean_object* x_48; lean_object* x_49; -x_47 = 1; -x_48 = l_Lean_Expr_inferImplicit(x_32, x_1, x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_31); -lean_ctor_set(x_49, 1, x_48); -lean_ctor_set(x_3, 1, x_4); -lean_ctor_set(x_3, 0, x_49); -{ -lean_object* _tmp_2 = x_30; -lean_object* _tmp_3 = x_3; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -else -{ -uint8_t x_51; lean_object* x_52; lean_object* x_53; -x_51 = 0; -x_52 = l_Lean_Expr_inferImplicit(x_32, x_1, x_51); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_31); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_3, 1, x_4); -lean_ctor_set(x_3, 0, x_53); -{ -lean_object* _tmp_2 = x_30; -lean_object* _tmp_3 = x_3; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -} -} -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_55 = lean_ctor_get(x_3, 0); -x_56 = lean_ctor_get(x_3, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_3); -x_57 = lean_ctor_get(x_55, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_59 = x_55; -} else { - lean_dec_ref(x_55); - x_59 = lean_box(0); -} -lean_inc(x_57); -lean_inc(x_2); -x_60 = l_Std_HashMapImp_find_x3f___at_Lean_hasOutParams___spec__5(x_2, x_57); -if (lean_obj_tag(x_60) == 0) -{ -lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_61 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__4; -x_62 = l_panic___at_Lean_Meta_Linear_Cnstr_isUnsat___spec__1(x_61); -x_63 = lean_unbox(x_62); -lean_dec(x_62); -if (x_63 == 0) -{ -uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_64 = 1; -x_65 = l_Lean_Expr_inferImplicit(x_58, x_1, x_64); -if (lean_is_scalar(x_59)) { - x_66 = lean_alloc_ctor(0, 2, 0); -} else { - x_66 = x_59; -} -lean_ctor_set(x_66, 0, x_57); -lean_ctor_set(x_66, 1, x_65); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_4); -x_3 = x_56; -x_4 = x_67; -goto _start; -} -else -{ -uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = 0; -x_70 = l_Lean_Expr_inferImplicit(x_58, x_1, x_69); -if (lean_is_scalar(x_59)) { - x_71 = lean_alloc_ctor(0, 2, 0); -} else { - x_71 = x_59; -} -lean_ctor_set(x_71, 0, x_57); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_4); -x_3 = x_56; -x_4 = x_72; -goto _start; -} -} -else -{ -lean_object* x_74; uint8_t x_75; -x_74 = lean_ctor_get(x_60, 0); -lean_inc(x_74); -lean_dec(x_60); -x_75 = lean_unbox(x_74); -lean_dec(x_74); -if (x_75 == 0) -{ -uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_76 = 1; -x_77 = l_Lean_Expr_inferImplicit(x_58, x_1, x_76); -if (lean_is_scalar(x_59)) { - x_78 = lean_alloc_ctor(0, 2, 0); -} else { - x_78 = x_59; -} -lean_ctor_set(x_78, 0, x_57); -lean_ctor_set(x_78, 1, x_77); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_4); -x_3 = x_56; -x_4 = x_79; -goto _start; -} -else -{ -uint8_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_81 = 0; -x_82 = l_Lean_Expr_inferImplicit(x_58, x_1, x_81); -if (lean_is_scalar(x_59)) { - x_83 = lean_alloc_ctor(0, 2, 0); -} else { - x_83 = x_59; -} -lean_ctor_set(x_83, 0, x_57); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_4); -x_3 = x_56; -x_4 = x_84; -goto _start; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_5; -lean_dec(x_2); -x_5 = l_List_reverse___rarg(x_4); -return x_5; -} -else -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_3); -if (x_6 == 0) -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_ctor_get(x_3, 0); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_3, 1); -x_10 = lean_ctor_get(x_7, 2); -x_11 = lean_box(0); -lean_inc(x_2); -x_12 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1(x_1, x_2, x_10, x_11); -lean_ctor_set(x_7, 2, x_12); -lean_ctor_set(x_3, 1, x_4); -{ -lean_object* _tmp_2 = x_9; -lean_object* _tmp_3 = x_3; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_3, 1); -x_15 = lean_ctor_get(x_7, 0); -x_16 = lean_ctor_get(x_7, 1); -x_17 = lean_ctor_get(x_7, 2); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_7); -x_18 = lean_box(0); -lean_inc(x_2); -x_19 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1(x_1, x_2, x_17, x_18); -x_20 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_20, 0, x_15); -lean_ctor_set(x_20, 1, x_16); -lean_ctor_set(x_20, 2, x_19); -lean_ctor_set(x_3, 1, x_4); -lean_ctor_set(x_3, 0, x_20); -{ -lean_object* _tmp_2 = x_14; -lean_object* _tmp_3 = x_3; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_22 = lean_ctor_get(x_3, 0); -x_23 = lean_ctor_get(x_3, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_3); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_22, 2); -lean_inc(x_26); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - x_27 = x_22; -} else { - lean_dec_ref(x_22); - x_27 = lean_box(0); -} -x_28 = lean_box(0); -lean_inc(x_2); -x_29 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1(x_1, x_2, x_26, x_28); -if (lean_is_scalar(x_27)) { - x_30 = lean_alloc_ctor(0, 3, 0); -} else { - x_30 = x_27; -} -lean_ctor_set(x_30, 0, x_24); -lean_ctor_set(x_30, 1, x_25); -lean_ctor_set(x_30, 2, x_29); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_4); -x_3 = x_23; -x_4 = x_31; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod(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; -x_4 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod(x_1); -lean_dec(x_1); -x_5 = lean_box(0); -x_6 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__2(x_2, x_4, x_3, x_5); -lean_dec(x_2); -return x_6; -} -} -LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__2___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_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__2(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} static lean_object* _init_l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__1() { _start: { @@ -21509,13 +21212,10 @@ return x_11; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_12; lean_object* x_13; x_12 = l_Lean_Expr_bindingDomain_x21(x_1); -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_isDefEq), 7, 2); -lean_closure_set(x_13, 0, x_12); -lean_closure_set(x_13, 1, x_2); -x_14 = l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_addImplicitTargets___spec__3___rarg(x_13, x_3, x_4, x_5, x_6, x_7); -return x_14; +x_13 = l_Lean_Meta_isExprDefEq(x_12, x_2, x_3, x_4, x_5, x_6, x_7); +return x_13; } } } @@ -21928,7 +21628,17 @@ return x_18; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -21937,10 +21647,9 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); x_12 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__2(x_6, x_1, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_6); if (lean_obj_tag(x_12) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -21949,42 +21658,48 @@ lean_dec(x_12); x_15 = lean_unsigned_to_nat(1u); x_16 = lean_nat_add(x_2, x_15); lean_dec(x_2); -x_17 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go(x_3, x_4, x_5, x_16, x_13, x_7, x_8, x_9, x_10, x_14); -return x_17; +x_17 = l_Lean_Expr_bindingBody_x21(x_3); +lean_dec(x_3); +x_18 = lean_expr_instantiate1(x_17, x_6); +lean_dec(x_6); +lean_dec(x_17); +x_19 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go(x_4, x_5, x_16, x_18, x_13, x_7, x_8, x_9, x_10, x_14); +return x_19; } else { -uint8_t x_18; +uint8_t x_20; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_18 = !lean_is_exclusive(x_12); -if (x_18 == 0) +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) { return x_12; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_12, 0); -x_20 = lean_ctor_get(x_12, 1); -lean_inc(x_20); -lean_inc(x_19); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); lean_dec(x_12); -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; +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; } } } } -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -21992,33 +21707,84 @@ x_1 = lean_mk_string("a"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__1; +x_2 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__1), 11, 5); +x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2), 11, 5); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_2); lean_closure_set(x_13, 2, x_3); lean_closure_set(x_13, 3, x_4); lean_closure_set(x_13, 4, x_5); -x_14 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__2; +x_14 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__2; x_15 = 0; x_16 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(x_14, x_15, x_6, x_13, x_8, x_9, x_10, x_11, x_12); return x_16; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("domain not def eq: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(", "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" =?= "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; @@ -22039,51 +21805,156 @@ x_15 = lean_unbox(x_14); lean_dec(x_14); if (x_15 == 0) { -uint8_t x_16; +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + x_17 = x_13; +} else { + lean_dec_ref(x_13); + x_17 = lean_box(0); +} +x_18 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5____closed__4; +x_43 = lean_st_ref_get(x_10, x_16); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_ctor_get_uint8(x_45, sizeof(void*)*1); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_43, 1); +lean_inc(x_47); +lean_dec(x_43); +x_48 = 0; +x_19 = x_48; +x_20 = x_47; +goto block_42; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +lean_dec(x_43); +x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_18, x_7, x_8, x_9, x_10, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_unbox(x_51); +lean_dec(x_51); +x_19 = x_53; +x_20 = x_52; +goto block_42; +} +block_42: +{ +if (x_19 == 0) +{ +lean_object* x_21; lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); lean_dec(x_1); -x_16 = !lean_is_exclusive(x_13); -if (x_16 == 0) +if (lean_is_scalar(x_17)) { + x_21 = lean_alloc_ctor(0, 2, 0); +} else { + x_21 = x_17; +} +lean_ctor_set(x_21, 0, x_3); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +else { -lean_object* x_17; -x_17 = lean_ctor_get(x_13, 0); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 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; lean_dec(x_17); -lean_ctor_set(x_13, 0, x_3); -return x_13; +lean_inc(x_3); +x_22 = l_Nat_repr(x_3); +x_23 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__2; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__4; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_1); +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__6; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_33, 0, x_12); +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__5___closed__6; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_18, x_36, x_7, x_8, x_9, x_10, x_20); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +lean_object* x_39; +x_39 = lean_ctor_get(x_37, 0); +lean_dec(x_39); +lean_ctor_set(x_37, 0, x_3); +return x_37; } else { -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_3); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_13, 1); +lean_inc(x_54); lean_dec(x_13); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_3); -lean_ctor_set(x_19, 1, x_18); -return x_19; +x_55 = lean_box(0); +x_56 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3(x_2, x_3, x_1, x_4, x_5, x_12, x_55, x_7, x_8, x_9, x_10, x_54); +return x_56; } } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_box(0); -x_22 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2(x_2, x_3, x_4, x_5, x_1, x_12, x_21, x_7, x_8, x_9, x_10, x_20); -return x_22; -} -} -else -{ -uint8_t x_23; +uint8_t x_57; lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); @@ -22094,28 +21965,28 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_23 = !lean_is_exclusive(x_13); -if (x_23 == 0) +x_57 = !lean_is_exclusive(x_13); +if (x_57 == 0) { return x_13; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_13, 0); -x_25 = lean_ctor_get(x_13, 1); -lean_inc(x_25); -lean_inc(x_24); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_13, 0); +x_59 = lean_ctor_get(x_13, 1); +lean_inc(x_59); +lean_inc(x_58); lean_dec(x_13); -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; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__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* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -22141,7 +22012,7 @@ else { lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); -x_15 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3(x_1, x_2, x_3, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11); +x_15 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4(x_1, x_2, x_3, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11); return x_15; } } @@ -22151,7 +22022,7 @@ _start: { lean_object* x_11; uint8_t x_12; x_11 = lean_array_get_size(x_2); -x_12 = lean_nat_dec_lt(x_4, x_11); +x_12 = lean_nat_dec_lt(x_3, x_11); lean_dec(x_11); if (x_12 == 0) { @@ -22161,11 +22032,11 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 0, x_3); lean_ctor_set(x_13, 1, x_10); return x_13; } @@ -22180,7 +22051,7 @@ if (x_16 == 0) lean_object* x_17; lean_object* x_18; lean_dec(x_14); x_17 = lean_box(0); -x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4(x_3, x_5, x_4, x_1, x_2, x_17, x_6, x_7, x_8, x_9, x_10); +x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__5(x_4, x_5, x_3, x_1, x_2, x_17, x_6, x_7, x_8, x_9, x_10); return x_18; } else @@ -22192,7 +22063,7 @@ if (x_19 == 0) lean_object* x_20; lean_object* x_21; lean_dec(x_14); x_20 = lean_box(0); -x_21 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4(x_3, x_5, x_4, x_1, x_2, x_20, x_6, x_7, x_8, x_9, x_10); +x_21 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__5(x_4, x_5, x_3, x_1, x_2, x_20, x_6, x_7, x_8, x_9, x_10); return x_21; } else @@ -22201,12 +22072,12 @@ size_t x_22; size_t x_23; uint8_t x_24; x_22 = 0; x_23 = lean_usize_of_nat(x_14); lean_dec(x_14); -x_24 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__3(x_4, x_1, x_22, x_23); +x_24 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__3(x_3, x_1, x_22, x_23); if (x_24 == 0) { lean_object* x_25; lean_object* x_26; x_25 = lean_box(0); -x_26 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4(x_3, x_5, x_4, x_1, x_2, x_25, x_6, x_7, x_8, x_9, x_10); +x_26 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__5(x_4, x_5, x_3, x_1, x_2, x_25, x_6, x_7, x_8, x_9, x_10); return x_26; } else @@ -22217,11 +22088,11 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_4); +lean_ctor_set(x_27, 0, x_3); lean_ctor_set(x_27, 1, x_10); return x_27; } @@ -22263,11 +22134,24 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___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: +{ +lean_object* x_8; +x_8 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_7); return x_13; } @@ -23029,7 +22913,326 @@ return x_50; } } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4) { +LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_5; +lean_dec(x_2); +lean_dec(x_1); +x_5 = l_List_reverse___rarg(x_4); +return x_5; +} +else +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_3); +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_3, 0); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_2); +x_9 = lean_apply_1(x_2, x_7); +lean_inc(x_1); +x_10 = lean_apply_1(x_1, x_9); +lean_ctor_set(x_3, 1, x_4); +lean_ctor_set(x_3, 0, x_10); +{ +lean_object* _tmp_2 = x_8; +lean_object* _tmp_3 = x_3; +x_3 = _tmp_2; +x_4 = _tmp_3; +} +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_3, 0); +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_3); +lean_inc(x_2); +x_14 = lean_apply_1(x_2, x_12); +lean_inc(x_1); +x_15 = lean_apply_1(x_1, x_14); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +x_3 = x_13; +x_4 = x_16; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_5; +lean_dec(x_2); +lean_dec(x_1); +x_5 = l_List_reverse___rarg(x_4); +return x_5; +} +else +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_3); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_3, 0); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_2); +x_9 = lean_apply_1(x_2, x_7); +lean_inc(x_1); +x_10 = lean_apply_1(x_1, x_9); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_3, 1, x_4); +lean_ctor_set(x_3, 0, x_11); +{ +lean_object* _tmp_2 = x_8; +lean_object* _tmp_3 = x_3; +x_3 = _tmp_2; +x_4 = _tmp_3; +} +goto _start; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_3); +lean_inc(x_2); +x_15 = lean_apply_1(x_2, x_13); +lean_inc(x_1); +x_16 = lean_apply_1(x_1, x_15); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_4); +x_3 = x_14; +x_4 = x_18; +goto _start; +} +} +} +} +static lean_object* _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("false"); +return x_1; +} +} +static lean_object* _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("true"); +return x_1; +} +} +static lean_object* _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__4; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__5; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___rarg(x_2); +return x_3; +} +else +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_unbox(x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 1); +x_8 = lean_ctor_get(x_1, 0); +lean_dec(x_8); +x_9 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__3; +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_9); +{ +lean_object* _tmp_0 = x_7; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +lean_dec(x_1); +x_12 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__3; +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_2); +x_1 = x_11; +x_2 = x_13; +goto _start; +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_1); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_1, 1); +x_17 = lean_ctor_get(x_1, 0); +lean_dec(x_17); +x_18 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__6; +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_18); +{ +lean_object* _tmp_0 = x_16; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_1, 1); +lean_inc(x_20); +lean_dec(x_1); +x_21 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__6; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_2); +x_1 = x_20; +x_2 = x_22; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__8(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___rarg(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_to_list(lean_box(0), x_5); +x_8 = lean_box(0); +x_9 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7(x_7, x_8); +x_10 = l_Lean_MessageData_ofList(x_9); +lean_dec(x_9); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_10); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_ctor_get(x_1, 0); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_1); +x_14 = lean_array_to_list(lean_box(0), x_12); +x_15 = lean_box(0); +x_16 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7(x_14, x_15); +x_17 = l_Lean_MessageData_ofList(x_16); +lean_dec(x_16); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_2); +x_1 = x_13; +x_2 = x_18; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__10(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -23083,7 +23286,7 @@ return x_16; } } } -LEAN_EXPORT uint8_t l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5(lean_object* x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__9(lean_object* x_1, uint8_t x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -23116,14 +23319,14 @@ size_t x_9; size_t x_10; uint8_t x_11; x_9 = 0; x_10 = lean_usize_of_nat(x_3); lean_dec(x_3); -x_11 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6(x_2, x_1, x_9, x_10); +x_11 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__10(x_2, x_1, x_9, x_10); lean_dec(x_1); return x_11; } } } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7(lean_object* x_1, size_t x_2, size_t x_3) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__11(lean_object* x_1, size_t x_2, size_t x_3) { _start: { uint8_t x_4; @@ -23133,7 +23336,7 @@ if (x_4 == 0) lean_object* x_5; uint8_t x_6; uint8_t x_7; x_5 = lean_array_uget(x_1, x_2); x_6 = 1; -x_7 = l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5(x_5, x_6); +x_7 = l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__9(x_5, x_6); if (x_7 == 0) { size_t x_8; size_t x_9; @@ -23187,7 +23390,6 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_22); x_23 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__4(x_6, x_22, x_8, x_9, x_10, x_11, x_21); if (lean_obj_tag(x_23) == 0) { @@ -23200,66 +23402,12 @@ lean_dec(x_23); x_26 = lean_array_to_list(lean_box(0), x_20); x_27 = l_List_join___rarg(x_24); x_28 = l_List_appendTR___rarg(x_26, x_27); -x_29 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go(x_3, x_4, x_7, x_5, x_28, x_8, x_9, x_10, x_11, x_25); -if (lean_obj_tag(x_29) == 0) +x_29 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go(x_3, x_4, x_5, x_7, x_28, x_8, x_9, x_10, x_11, x_25); +return x_29; +} +else { uint8_t x_30; -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_22); -lean_ctor_set(x_29, 0, x_32); -return x_29; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_29, 0); -x_34 = lean_ctor_get(x_29, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_29); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_22); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; -} -} -else -{ -uint8_t x_37; -lean_dec(x_22); -x_37 = !lean_is_exclusive(x_29); -if (x_37 == 0) -{ -return x_29; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_29, 0); -x_39 = lean_ctor_get(x_29, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_29); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -else -{ -uint8_t x_41; -lean_dec(x_22); lean_dec(x_20); lean_dec(x_11); lean_dec(x_10); @@ -23269,29 +23417,29 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_41 = !lean_is_exclusive(x_23); -if (x_41 == 0) +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) { return x_23; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_23, 0); -x_43 = lean_ctor_get(x_23, 1); -lean_inc(x_43); -lean_inc(x_42); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); +lean_inc(x_31); lean_dec(x_23); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } else { -uint8_t x_45; +uint8_t x_34; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -23301,23 +23449,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_45 = !lean_is_exclusive(x_19); -if (x_45 == 0) +x_34 = !lean_is_exclusive(x_19); +if (x_34 == 0) { return x_19; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_19, 0); -x_47 = lean_ctor_get(x_19, 1); -lean_inc(x_47); -lean_inc(x_46); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_19, 0); +x_36 = lean_ctor_get(x_19, 1); +lean_inc(x_36); +lean_inc(x_35); lean_dec(x_19); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } } @@ -23348,6 +23496,105 @@ x_20 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_setMVarUserNamesAt___sp return x_20; } } +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("masks: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_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) { +_start: +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_dec(x_5); +x_11 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5____closed__4; +x_29 = lean_st_ref_get(x_9, x_10); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get_uint8(x_31, sizeof(void*)*1); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = 0; +x_12 = x_34; +x_13 = x_33; +goto block_28; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +x_36 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_11, x_6, x_7, x_8, x_9, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_unbox(x_37); +lean_dec(x_37); +x_12 = x_39; +x_13 = x_38; +goto block_28; +} +block_28: +{ +if (x_12 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__2(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_inc(x_1); +x_16 = lean_array_to_list(lean_box(0), x_1); +x_17 = lean_box(0); +x_18 = l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__8(x_16, x_17); +x_19 = l_Lean_MessageData_ofList(x_18); +lean_dec(x_18); +x_20 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__2; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__5___closed__6; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_11, x_23, x_6, x_7, x_8, x_9, x_13); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__2(x_1, x_2, x_3, x_4, x_25, x_6, x_7, x_8, x_9, x_26); +lean_dec(x_25); +return x_27; +} +} +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams(lean_object* x_1, lean_object* x_2, 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: { @@ -23377,152 +23624,131 @@ x_17 = lean_unsigned_to_nat(0u); x_18 = lean_nat_dec_lt(x_17, x_16); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; lean_dec(x_16); lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_19 = lean_array_to_list(lean_box(0), x_2); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_1); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_12, 0, x_20); +lean_dec(x_2); +lean_ctor_set(x_12, 0, x_1); return x_12; } else { -uint8_t x_21; -x_21 = lean_nat_dec_le(x_16, x_16); +uint8_t x_19; +x_19 = lean_nat_dec_le(x_16, x_16); +if (x_19 == 0) +{ +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_ctor_set(x_12, 0, x_1); +return x_12; +} +else +{ +size_t x_20; uint8_t x_21; +x_20 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_21 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__11(x_14, x_11, x_20); if (x_21 == 0) { +lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_ctor_set(x_12, 0, x_1); +return x_12; +} +else +{ lean_object* x_22; lean_object* x_23; -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_22 = lean_array_to_list(lean_box(0), x_2); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_1); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_12, 0, x_23); -return x_12; -} -else -{ -size_t x_24; uint8_t x_25; -x_24 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_25 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7(x_14, x_11, x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_26 = lean_array_to_list(lean_box(0), x_2); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_1); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_12, 0, x_27); -return x_12; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_free_object(x_12); -x_28 = lean_box(0); -x_29 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__2(x_14, x_2, x_1, x_11, x_28, x_4, x_5, x_6, x_7, x_15); +x_22 = lean_box(0); +x_23 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3(x_14, x_2, x_1, x_11, x_22, x_4, x_5, x_6, x_7, x_15); +return x_23; +} +} +} +} +else +{ +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_12, 0); +x_25 = lean_ctor_get(x_12, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_12); +x_26 = lean_array_get_size(x_24); +x_27 = lean_unsigned_to_nat(0u); +x_28 = lean_nat_dec_lt(x_27, x_26); +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_26); +lean_dec(x_24); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_1); +lean_ctor_set(x_29, 1, x_25); return x_29; } -} -} -} else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_30 = lean_ctor_get(x_12, 0); -x_31 = lean_ctor_get(x_12, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_12); -x_32 = lean_array_get_size(x_30); -x_33 = lean_unsigned_to_nat(0u); -x_34 = lean_nat_dec_lt(x_33, x_32); -if (x_34 == 0) +uint8_t x_30; +x_30 = lean_nat_dec_le(x_26, x_26); +if (x_30 == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_32); -lean_dec(x_30); +lean_object* x_31; +lean_dec(x_26); +lean_dec(x_24); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_35 = lean_array_to_list(lean_box(0), x_2); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_1); -lean_ctor_set(x_36, 1, x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_31); -return x_37; +lean_dec(x_2); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_1); +lean_ctor_set(x_31, 1, x_25); +return x_31; } else { -uint8_t x_38; -x_38 = lean_nat_dec_le(x_32, x_32); -if (x_38 == 0) +size_t x_32; uint8_t x_33; +x_32 = lean_usize_of_nat(x_26); +lean_dec(x_26); +x_33 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__11(x_24, x_11, x_32); +if (x_33 == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -lean_dec(x_32); -lean_dec(x_30); +lean_object* x_34; +lean_dec(x_24); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_39 = lean_array_to_list(lean_box(0), x_2); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_1); -lean_ctor_set(x_40, 1, x_39); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_31); -return x_41; +lean_dec(x_2); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_1); +lean_ctor_set(x_34, 1, x_25); +return x_34; } else { -size_t x_42; uint8_t x_43; -x_42 = lean_usize_of_nat(x_32); -lean_dec(x_32); -x_43 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7(x_30, x_11, x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_30); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_44 = lean_array_to_list(lean_box(0), x_2); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_1); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_31); -return x_46; -} -else -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -x_48 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__2(x_30, x_2, x_1, x_11, x_47, x_4, x_5, x_6, x_7, x_31); -return x_48; +lean_object* x_35; lean_object* x_36; +x_35 = lean_box(0); +x_36 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3(x_24, x_2, x_1, x_11, x_35, x_4, x_5, x_6, x_7, x_25); +return x_36; } } } @@ -23530,30 +23756,30 @@ return x_48; } else { -uint8_t x_49; +uint8_t x_37; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_49 = !lean_is_exclusive(x_12); -if (x_49 == 0) +x_37 = !lean_is_exclusive(x_12); +if (x_37 == 0) { return x_12; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_12, 0); -x_51 = lean_ctor_get(x_12, 1); -lean_inc(x_51); -lean_inc(x_50); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_12, 0); +x_39 = lean_ctor_get(x_12, 1); +lean_inc(x_39); +lean_inc(x_38); lean_dec(x_12); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; +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; } } } @@ -23601,7 +23827,7 @@ lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; size_t x_6; size_t x_7; uint8_t x_8; lean_object* x_9; @@ -23611,24 +23837,24 @@ x_6 = lean_unbox_usize(x_3); lean_dec(x_3); x_7 = lean_unbox_usize(x_4); lean_dec(x_4); -x_8 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6(x_5, x_2, x_6, x_7); +x_8 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__10(x_5, x_2, x_6, x_7); lean_dec(x_2); x_9 = lean_box(x_8); return x_9; } } -LEAN_EXPORT lean_object* l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__9___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; lean_object* x_5; x_3 = lean_unbox(x_2); lean_dec(x_2); -x_4 = l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5(x_1, x_3); +x_4 = l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__9(x_1, x_3); x_5 = lean_box(x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; @@ -23636,7 +23862,7 @@ x_4 = lean_unbox_usize(x_2); lean_dec(x_2); x_5 = lean_unbox_usize(x_3); lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7(x_1, x_4, x_5); +x_6 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__11(x_1, x_4, x_5); lean_dec(x_1); x_7 = lean_box(x_6); return x_7; @@ -23664,6 +23890,16 @@ lean_dec(x_5); return x_12; } } +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; lean_object* x_12; +x_11 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_12 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { @@ -23712,52 +23948,58 @@ lean_inc(x_3); x_35 = l_Lean_Meta_mkForallFVars(x_3, x_31, x_32, x_33, x_34, x_12, x_13, x_14, x_15, x_28); if (lean_obj_tag(x_35) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); lean_dec(x_35); +lean_inc(x_30); +lean_inc(x_3); +lean_inc(x_4); +x_38 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors), 11, 4); +lean_closure_set(x_38, 0, x_4); +lean_closure_set(x_38, 1, x_23); +lean_closure_set(x_38, 2, x_3); +lean_closure_set(x_38, 3, x_30); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_30); lean_inc(x_3); -lean_inc(x_4); -x_38 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors(x_4, x_23, x_3, x_30, x_10, x_11, x_12, x_13, x_14, x_15, x_37); -if (lean_obj_tag(x_38) == 0) +x_39 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg(x_3, x_38, x_10, x_11, x_12, x_13, x_14, x_15, x_37); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_ctor_get(x_30, 0); +x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); -lean_dec(x_30); -x_42 = lean_ctor_get(x_41, 4); +lean_dec(x_39); +x_42 = lean_ctor_get(x_30, 0); lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_36); -lean_ctor_set(x_43, 2, x_39); -x_44 = lean_array_push(x_9, x_43); -x_45 = lean_nat_add(x_6, x_8); +lean_dec(x_30); +x_43 = lean_ctor_get(x_42, 4); +lean_inc(x_43); +lean_dec(x_42); +x_44 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_36); +lean_ctor_set(x_44, 2, x_40); +x_45 = lean_array_push(x_9, x_44); +x_46 = lean_nat_add(x_6, x_8); lean_dec(x_6); x_5 = x_21; -x_6 = x_45; -x_9 = x_44; -x_16 = x_40; +x_6 = x_46; +x_9 = x_45; +x_16 = x_41; goto _start; } else { -uint8_t x_47; +uint8_t x_48; lean_dec(x_36); lean_dec(x_30); lean_dec(x_21); @@ -23771,29 +24013,29 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_47 = !lean_is_exclusive(x_38); -if (x_47 == 0) +x_48 = !lean_is_exclusive(x_39); +if (x_48 == 0) { -return x_38; +return x_39; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_38, 0); -x_49 = lean_ctor_get(x_38, 1); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_39, 0); +x_50 = lean_ctor_get(x_39, 1); +lean_inc(x_50); lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_38); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +lean_dec(x_39); +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; } } } else { -uint8_t x_51; +uint8_t x_52; lean_dec(x_30); lean_dec(x_23); lean_dec(x_21); @@ -23807,29 +24049,29 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_51 = !lean_is_exclusive(x_35); -if (x_51 == 0) +x_52 = !lean_is_exclusive(x_35); +if (x_52 == 0) { return x_35; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_35, 0); -x_53 = lean_ctor_get(x_35, 1); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_35, 0); +x_54 = lean_ctor_get(x_35, 1); +lean_inc(x_54); lean_inc(x_53); -lean_inc(x_52); lean_dec(x_35); -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; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } else { -uint8_t x_55; +uint8_t x_56; lean_dec(x_23); lean_dec(x_21); lean_dec(x_15); @@ -23842,45 +24084,26 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_55 = !lean_is_exclusive(x_27); -if (x_55 == 0) +x_56 = !lean_is_exclusive(x_27); +if (x_56 == 0) { return x_27; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_27, 0); -x_57 = lean_ctor_get(x_27, 1); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_27, 0); +x_58 = lean_ctor_get(x_27, 1); +lean_inc(x_58); lean_inc(x_57); -lean_inc(x_56); lean_dec(x_27); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -else -{ -lean_object* x_59; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_9); -lean_ctor_set(x_59, 1, x_16); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); return x_59; } } +} else { lean_object* x_60; @@ -23900,6 +24123,25 @@ lean_ctor_set(x_60, 1, x_16); return x_60; } } +else +{ +lean_object* x_61; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_9); +lean_ctor_set(x_61, 1, x_16); +return x_61; +} +} } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: @@ -25591,50 +25833,47 @@ lean_inc(x_3); x_23 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts(x_3, x_4, x_22, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -lean_inc(x_6); -lean_inc(x_3); -x_26 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod(x_3, x_6, x_24); -x_27 = lean_alloc_ctor(6, 3, 1); -lean_ctor_set(x_27, 0, x_22); -lean_ctor_set(x_27, 1, x_6); -lean_ctor_set(x_27, 2, x_26); -lean_ctor_set_uint8(x_27, sizeof(void*)*3, x_7); +x_26 = lean_alloc_ctor(6, 3, 1); +lean_ctor_set(x_26, 0, x_22); +lean_ctor_set(x_26, 1, x_6); +lean_ctor_set(x_26, 2, x_24); +lean_ctor_set_uint8(x_26, sizeof(void*)*3, x_7); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_27); -x_28 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_25); -if (lean_obj_tag(x_28) == 0) +lean_inc(x_26); +x_27 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_26, x_9, x_10, x_11, x_12, x_13, x_14, x_25); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); lean_inc(x_13); lean_inc(x_9); -x_30 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2(x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_29); -if (lean_obj_tag(x_30) == 0) +x_29 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2(x_26, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -x_32 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions(x_3, x_9, x_10, x_11, x_12, x_13, x_14, x_31); +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions(x_3, x_9, x_10, x_11, x_12, x_13, x_14, x_30); lean_dec(x_3); -return x_32; +return x_31; } else { -uint8_t x_33; +uint8_t x_32; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -25642,30 +25881,30 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_3); -x_33 = !lean_is_exclusive(x_30); -if (x_33 == 0) +x_32 = !lean_is_exclusive(x_29); +if (x_32 == 0) { -return x_30; +return x_29; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_30, 0); -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 0); +x_34 = lean_ctor_get(x_29, 1); lean_inc(x_34); -lean_dec(x_30); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_inc(x_33); +lean_dec(x_29); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } else { -uint8_t x_37; -lean_dec(x_27); +uint8_t x_36; +lean_dec(x_26); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -25673,29 +25912,29 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_3); -x_37 = !lean_is_exclusive(x_28); -if (x_37 == 0) +x_36 = !lean_is_exclusive(x_27); +if (x_36 == 0) { -return x_28; +return x_27; } 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_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_27, 0); +x_38 = lean_ctor_get(x_27, 1); 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; +lean_inc(x_37); +lean_dec(x_27); +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_41; +uint8_t x_40; lean_dec(x_22); lean_dec(x_14); lean_dec(x_13); @@ -25705,23 +25944,23 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_6); lean_dec(x_3); -x_41 = !lean_is_exclusive(x_23); -if (x_41 == 0) +x_40 = !lean_is_exclusive(x_23); +if (x_40 == 0) { return x_23; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_23, 0); -x_43 = lean_ctor_get(x_23, 1); -lean_inc(x_43); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_23, 0); +x_42 = lean_ctor_get(x_23, 1); lean_inc(x_42); +lean_inc(x_41); lean_dec(x_23); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +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; } } } @@ -25734,6 +25973,12 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; x_17 = lean_array_get_size(x_9); x_18 = lean_nat_add(x_17, x_1); lean_dec(x_1); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); x_19 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__2(x_9, x_2, x_10, x_11, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_19) == 0) { @@ -25988,7 +26233,140 @@ return x_63; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_array_to_list(lean_box(0), x_1); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_17); +x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse(x_17, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_10); +x_21 = l_Lean_Elab_Command_shouldInferResultUniverse(x_19, x_10, x_11, x_12, x_13, x_14, x_15, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_box(x_7); +lean_inc(x_17); +x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___boxed), 16, 8); +lean_closure_set(x_25, 0, x_2); +lean_closure_set(x_25, 1, x_17); +lean_closure_set(x_25, 2, x_3); +lean_closure_set(x_25, 3, x_4); +lean_closure_set(x_25, 4, x_5); +lean_closure_set(x_25, 5, x_6); +lean_closure_set(x_25, 6, x_24); +lean_closure_set(x_25, 7, x_22); +x_26 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed___rarg(x_8, x_17, x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_23); +return x_26; +} +else +{ +uint8_t x_27; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_27 = !lean_is_exclusive(x_21); +if (x_27 == 0) +{ +return x_21; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_21, 0); +x_29 = lean_ctor_get(x_21, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_21); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_31 = !lean_is_exclusive(x_18); +if (x_31 == 0) +{ +return x_18; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_18, 0); +x_33 = lean_ctor_get(x_18, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_18); +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; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("numExplicitParams: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -26007,6 +26385,7 @@ lean_inc(x_8); lean_inc(x_7); x_20 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__1(x_1, x_2, x_7, x_8, x_16, x_17, x_16, x_18, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_16); +lean_dec(x_2); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; @@ -26036,100 +26415,97 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_8); +lean_inc(x_21); x_27 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams(x_26, x_21, x_8, x_11, x_12, x_13, x_14, x_25); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = lean_ctor_get(x_28, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_dec(x_28); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_31); -x_32 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse(x_31, x_9, x_10, x_11, x_12, x_13, x_14, x_29); -if (lean_obj_tag(x_32) == 0) +x_30 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5____closed__4; +x_47 = lean_st_ref_get(x_14, x_29); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_48, 3); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_ctor_get_uint8(x_49, sizeof(void*)*1); +lean_dec(x_49); +if (x_50 == 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_9); -x_35 = l_Lean_Elab_Command_shouldInferResultUniverse(x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_34); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_box(x_5); -lean_inc(x_31); -x_39 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___boxed), 16, 8); -lean_closure_set(x_39, 0, x_30); -lean_closure_set(x_39, 1, x_31); -lean_closure_set(x_39, 2, x_3); -lean_closure_set(x_39, 3, x_4); -lean_closure_set(x_39, 4, x_1); -lean_closure_set(x_39, 5, x_8); -lean_closure_set(x_39, 6, x_38); -lean_closure_set(x_39, 7, x_36); -x_40 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed___rarg(x_6, x_31, x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_37); -return x_40; +lean_object* x_51; +x_51 = lean_ctor_get(x_47, 1); +lean_inc(x_51); +lean_dec(x_47); +x_31 = x_23; +x_32 = x_51; +goto block_46; } else { -uint8_t x_41; -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_41 = !lean_is_exclusive(x_35); -if (x_41 == 0) +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_ctor_get(x_47, 1); +lean_inc(x_52); +lean_dec(x_47); +x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_30, x_9, x_10, x_11, x_12, x_13, x_14, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_unbox(x_54); +lean_dec(x_54); +x_31 = x_56; +x_32 = x_55; +goto block_46; +} +block_46: { -return x_35; +if (x_31 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_box(0); +x_34 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_21, x_28, x_3, x_4, x_1, x_8, x_5, x_6, x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_32); +lean_dec(x_6); +return x_34; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_35, 0); -x_43 = lean_ctor_get(x_35, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_inc(x_28); +x_35 = l_Nat_repr(x_28); +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_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__2; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__5___closed__6; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_30, x_41, x_9, x_10, x_11, x_12, x_13, x_14, x_32); +x_43 = lean_ctor_get(x_42, 0); lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_35); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_21, x_28, x_3, x_4, x_1, x_8, x_5, x_6, x_43, x_9, x_10, x_11, x_12, x_13, x_14, x_44); +lean_dec(x_43); +lean_dec(x_6); +return x_45; } } } else { -uint8_t x_45; -lean_dec(x_31); -lean_dec(x_30); +uint8_t x_57; +lean_dec(x_21); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -26137,65 +26513,33 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_45 = !lean_is_exclusive(x_32); -if (x_45 == 0) -{ -return x_32; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_32, 0); -x_47 = lean_ctor_get(x_32, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_32); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} -} -} -else -{ -uint8_t x_49; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_49 = !lean_is_exclusive(x_27); -if (x_49 == 0) +x_57 = !lean_is_exclusive(x_27); +if (x_57 == 0) { return x_27; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_27, 0); -x_51 = lean_ctor_get(x_27, 1); -lean_inc(x_51); -lean_inc(x_50); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_27, 0); +x_59 = lean_ctor_get(x_27, 1); +lean_inc(x_59); +lean_inc(x_58); lean_dec(x_27); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } else { -uint8_t x_53; +uint8_t x_61; lean_dec(x_21); lean_dec(x_14); lean_dec(x_13); @@ -26205,32 +26549,33 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_53 = !lean_is_exclusive(x_24); -if (x_53 == 0) +x_61 = !lean_is_exclusive(x_24); +if (x_61 == 0) { return x_24; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_24, 0); -x_55 = lean_ctor_get(x_24, 1); -lean_inc(x_55); -lean_inc(x_54); +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_24, 0); +x_63 = lean_ctor_get(x_24, 1); +lean_inc(x_63); +lean_inc(x_62); lean_dec(x_24); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; } } } else { -uint8_t x_57; +uint8_t x_65; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -26239,31 +26584,32 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_57 = !lean_is_exclusive(x_20); -if (x_57 == 0) +x_65 = !lean_is_exclusive(x_20); +if (x_65 == 0) { return x_20; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_20, 0); -x_59 = lean_ctor_get(x_20, 1); -lean_inc(x_59); -lean_inc(x_58); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_20, 0); +x_67 = lean_ctor_get(x_20, 1); +lean_inc(x_67); +lean_inc(x_66); lean_dec(x_20); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; +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; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; @@ -26317,7 +26663,7 @@ return x_20; } } } -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed__const__1() { +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed__const__1() { _start: { size_t x_1; lean_object* x_2; @@ -26326,7 +26672,7 @@ x_2 = lean_box_usize(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -26348,7 +26694,7 @@ lean_dec(x_13); x_16 = lean_box(x_4); lean_inc(x_14); lean_inc(x_1); -x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed), 15, 6); +x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed), 15, 6); lean_closure_set(x_17, 0, x_1); lean_closure_set(x_17, 1, x_14); lean_closure_set(x_17, 2, x_2); @@ -26372,8 +26718,8 @@ x_20 = lean_array_get_size(x_1); x_21 = lean_usize_of_nat(x_20); lean_dec(x_20); x_22 = lean_box_usize(x_21); -x_23 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed__const__1; -x_24 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed), 10, 3); +x_23 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed__const__1; +x_24 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed), 10, 3); lean_closure_set(x_24, 0, x_1); lean_closure_set(x_24, 1, x_22); lean_closure_set(x_24, 2, x_23); @@ -26477,7 +26823,7 @@ lean_inc(x_21); lean_dec(x_12); x_22 = lean_box(x_20); lean_inc(x_18); -x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed), 12, 5); +x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed), 12, 5); lean_closure_set(x_23, 0, x_2); lean_closure_set(x_23, 1, x_14); lean_closure_set(x_23, 2, x_18); @@ -26790,19 +27136,29 @@ x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___la return x_18; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; lean_object* x_18; +x_17 = lean_unbox(x_7); +lean_dec(x_7); +x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); +lean_dec(x_8); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; lean_object* x_17; x_16 = lean_unbox(x_5); lean_dec(x_5); -x_17 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_6); -lean_dec(x_2); +x_17 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); return x_17; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__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* x_10) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -26810,18 +27166,18 @@ x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_13; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__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* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_4); lean_dec(x_4); -x_14 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } @@ -28283,19 +28639,19 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___c lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__1); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__5); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147____closed__6); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5147_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__5); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268____closed__6); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5268_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse); @@ -28344,14 +28700,6 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInducti lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive___closed__1); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___closed__1); -l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__1 = _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__1(); -lean_mark_persistent(l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__1); -l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__2 = _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__2(); -lean_mark_persistent(l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__2); -l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__3 = _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__3(); -lean_mark_persistent(l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__3); -l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__4 = _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__4(); -lean_mark_persistent(l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__4); l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__1 = _init_l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__1(); lean_mark_persistent(l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__1); l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__2 = _init_l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__2(); @@ -28392,12 +28740,44 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__8); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArity___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArity___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArity___closed__1); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__1); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__2); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed__const__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed__const__1(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed__const__1); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__1); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3___closed__2); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__1); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__2); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__3 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__3); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__4 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__4); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__5 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__5); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__6 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__6); +l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__1 = _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__1(); +lean_mark_persistent(l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__1); +l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__2 = _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__2(); +lean_mark_persistent(l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__2); +l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__3 = _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__3(); +lean_mark_persistent(l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__3); +l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__4 = _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__4(); +lean_mark_persistent(l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__4); +l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__5 = _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__5(); +lean_mark_persistent(l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__5); +l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__6 = _init_l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__6(); +lean_mark_persistent(l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___closed__6); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__1); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__3___closed__2); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__1); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__2); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed__const__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed__const__1(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed__const__1); l_Lean_Elab_Command_elabInductiveViews___lambda__3___boxed__const__1 = _init_l_Lean_Elab_Command_elabInductiveViews___lambda__3___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Command_elabInductiveViews___lambda__3___boxed__const__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index afb8410fee..31cef59742 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -19,12 +19,14 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withExistingLocalDeclsImp_ static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; static lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize_addVar___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_collectPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_setBool(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_elabNoMatch___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_withNewLocals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__5; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__1; @@ -36,7 +38,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize_addVar___bo uint8_t l_Lean_isAuxDiscrName(lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_addTermInfo_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize_processVar___closed__1; lean_object* lean_erase_macro_scopes(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -57,7 +58,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexT static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabMatch_elabMatchDefault___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_ToDepElimPattern_normalize___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); @@ -71,7 +71,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatch LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch_declRange(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__5; lean_object* lean_name_mk_string(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop(lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); @@ -81,7 +80,7 @@ lean_object* l_Lean_Meta_getFVarsToGeneralize(lean_object*, lean_object*, uint8_ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalInstances___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -92,12 +91,10 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lea LEAN_EXPORT lean_object* l_Std_RBTree_toList___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_topSort___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_precheckMatch___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize_processVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__1; lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__10; static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -110,14 +107,12 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0 extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__21; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___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*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withDepElimPatterns(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__2; lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -126,18 +121,16 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabMatch_elabMatchDefault___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_erase(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__3; uint8_t l_Lean_Meta_isMatchValue(lean_object*); size_t lean_usize_sub(size_t, size_t); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___rarg___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__10; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheckIdent___spec__1___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAuxDiscr___at___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main___spec__4___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -172,7 +165,6 @@ static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__1; lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__5; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMatch_elabMatchDefault___spec__6___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize_processVar___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*); @@ -235,7 +227,6 @@ lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_obj LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withoutAuxDiscrs___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__12; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -255,17 +246,18 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSim LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__1___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__8; +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__2(lean_object*); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabNoMatch___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withoutAuxDiscrs___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_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__9___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withoutAuxDiscrs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___rarg___closed__1; +lean_object* l_Lean_mkMData(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_precheckMatch___spec__3(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__7; @@ -281,7 +273,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getDiscrs LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_packMatchTypePatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_getElems___rarg(lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__3(size_t, size_t, lean_object*); @@ -297,7 +289,6 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMa static lean_object* l_Lean_mkAuxDiscr___at___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___spec__1___rarg___closed__4; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___closed__1; @@ -324,7 +315,6 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___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*); -static lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__1; lean_object* l_Lean_Meta_localDeclDependsOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14; @@ -346,10 +336,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_Context_userName___de LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__11; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___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_mkHasTypeButIsExpectedMsg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main_pack___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_ToDepElimPattern_normalize___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -358,7 +350,6 @@ LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lea static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__1; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__13; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -373,10 +364,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible_declRange(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_mkHashMapImp___rarg(lean_object*); lean_object* l_Lean_inaccessible_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_isAtomicIdent___boxed(lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__4; @@ -393,21 +382,19 @@ lean_object* l_Lean_Meta_Match_isNamedPattern_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_TopSort_State_visitedFVars___default; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8(lean_object*, lean_object*); lean_object* l_Lean_Expr_isFVar___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getDiscrs___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkArrayLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandMacrosInPatterns(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabNoMatch___closed__2; lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -419,11 +406,11 @@ lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageCo static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_GeneralizeResult_refined___default; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_precheckMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___lambda__3(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_revFold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__3___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withoutAuxDiscrs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__1; @@ -449,6 +436,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible_declRange___c static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch___closed__1; lean_object* l_Lean_Meta_erasePatternRefAnnotations___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__2___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___closed__4; @@ -494,7 +482,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatch LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchOptMotive(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_HashMap_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___closed__4; lean_object* l_Lean_Expr_consumeMData(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -513,7 +500,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPat uint8_t l_List_elem___at_Lean_Occurrences_contains___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withoutAuxDiscrs___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchOptMotive___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize_processVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -523,8 +509,6 @@ size_t lean_usize_of_nat(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__7; static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___closed__4; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch___closed__3; lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -558,14 +542,13 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__L extern lean_object* l_Lean_Elab_Term_termElabAttribute; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__4___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_precheckMatch___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__13(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_mkAtomFrom(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___lambda__2___closed__3; lean_object* l_Lean_LocalDecl_type(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -588,11 +571,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatch LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternElabConfig___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__2(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_filterMapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_unpack_go(lean_object*); @@ -651,7 +632,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_precheckMatch___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_withMVar(lean_object*); lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__9(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__10; lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -665,10 +645,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generaliz uint8_t l_Lean_Name_isAnonymous(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedTypeAndDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -701,7 +682,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMa LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__1(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__6; -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch_docString___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -714,7 +694,6 @@ lean_object* l_Lean_Meta_withLocalInstancesImp___rarg(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx(lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_unpack_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f___closed__3; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__3; @@ -733,8 +712,6 @@ static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main___spec__4___closed__3; lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); @@ -748,7 +725,6 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Elab LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__6(size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_TopSort_State_visitedMVars___default; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); @@ -757,9 +733,7 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalInstances___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar___closed__2; -lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__2; lean_object* l_Lean_Expr_arrayLit_x3f(lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -771,6 +745,7 @@ static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Ela LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__1___closed__1; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__2; static lean_object* l_Lean_mkAuxDiscr___at___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___spec__1___rarg___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -782,8 +757,8 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatch lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr_x3f___spec__1___rarg___closed__1; +uint8_t l_Lean_Expr_binderInfo(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___closed__2; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__12(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_precheckMatch___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -809,7 +784,6 @@ static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_ extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main___spec__4___boxed(lean_object**); lean_object* l_Lean_Meta_setMVarUserNamesAt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_main_unpack_go___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_withMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -827,7 +801,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPat lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize___closed__2; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_precheckMatch___lambda__2(lean_object*); @@ -838,9 +811,10 @@ lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_isExplicitPatternVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_normalize___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_Context_explicitPatternVars___default; +static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__1; LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withoutAuxDiscrs___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_topSort___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -848,20 +822,16 @@ lean_object* l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_v uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_match_ignoreUnusedAlts; static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible_declRange___closed__3; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__4; lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_unpack___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2___closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_main___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_reportMatcherResultErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_packMatchTypePatterns___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch_declRange___closed__4; lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -869,7 +839,6 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__L static lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main___spec__4___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_unpack_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -878,25 +847,22 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltVi static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch_declRange___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_main___spec__6(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_precheckMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___rarg(lean_object*); static lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr_x3f___spec__1___rarg___closed__2; lean_object* l_Lean_Meta_setMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__4(size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_packMatchTypePatterns___spec__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible_declRange___closed__5; lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___closed__3; -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch_declRange(lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_mkBinding___spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_15388_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_15838_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582_(lean_object*); lean_object* l_Lean_mkSimpleThunk(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabNoMatch___closed__4; @@ -918,11 +884,10 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaborated static lean_object* l_Lean_withInPattern___at_Lean_Elab_Term_ToDepElimPattern_main___spec__2___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__1; uint8_t l_Lean_isAuxFunDiscrName(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__5(lean_object*, lean_object*, lean_object*, 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_mkInaccessible(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__1(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); @@ -940,7 +905,6 @@ lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__9; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_normalize___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_precheckMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__1; @@ -951,11 +915,9 @@ static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___closed__2; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___closed__1; uint8_t lean_string_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__2; static lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -18183,2286 +18145,568 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_14; -lean_inc(x_2); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_14 = lean_apply_8(x_2, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 0); -lean_dec(x_17); -x_18 = lean_ctor_get(x_15, 0); -lean_inc(x_18); -lean_dec(x_15); -lean_ctor_set(x_14, 0, x_18); -return x_14; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_dec(x_14); -x_20 = lean_ctor_get(x_15, 0); -lean_inc(x_20); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(x_2); +x_12 = lean_apply_9(x_1, x_5, x_11, x_3, x_4, x_6, x_7, x_8, x_9, x_10); +return x_12; } } -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_14, 1); -lean_inc(x_22); -lean_dec(x_14); -x_23 = lean_ctor_get(x_15, 0); -lean_inc(x_23); -lean_dec(x_15); -x_24 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); -return x_24; -} -} -else -{ -uint8_t x_25; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_14); -if (x_25 == 0) -{ -return x_14; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -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 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_11; -x_11 = lean_apply_9(x_1, x_5, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg___lambda__1), 10, 4); -lean_closure_set(x_13, 0, x_4); -lean_closure_set(x_13, 1, x_5); -lean_closure_set(x_13, 2, x_6); -lean_closure_set(x_13, 3, x_7); -x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_13, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -return x_14; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_14); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) -{ -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg___boxed), 12, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_array_push(x_1, x_7); -x_17 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__4(x_2, x_3, x_4, x_5, x_16, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -if (lean_obj_tag(x_6) == 6) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint64_t x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_6, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_6, 2); -lean_inc(x_17); -x_18 = lean_ctor_get_uint64(x_6, sizeof(void*)*3); -lean_dec(x_6); -x_19 = lean_expr_instantiate_rev(x_16, x_5); -lean_dec(x_16); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_20 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = (uint8_t)((x_18 << 24) >> 61); -x_24 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__4___lambda__1), 15, 6); -lean_closure_set(x_24, 0, x_5); -lean_closure_set(x_24, 1, x_1); -lean_closure_set(x_24, 2, x_2); -lean_closure_set(x_24, 3, x_3); -lean_closure_set(x_24, 4, x_4); -lean_closure_set(x_24, 5, x_17); -x_25 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg(x_15, x_23, x_21, x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_22); -return x_25; -} -else -{ -uint8_t x_26; -lean_dec(x_17); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -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_20); -if (x_26 == 0) -{ -return x_20; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_expr_instantiate_rev(x_6, x_5); -lean_dec(x_6); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_31 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = 0; -x_35 = 1; -x_36 = l_Lean_Meta_mkLambdaFVars(x_5, x_32, x_34, x_34, x_35, x_10, x_11, x_12, x_13, x_33); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__3(x_1, x_2, x_3, x_4, x_37, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_38); -return x_39; -} -else -{ -uint8_t x_40; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_36); -if (x_40 == 0) -{ -return x_36; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_36, 0); -x_42 = lean_ctor_get(x_36, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_36); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -else -{ -uint8_t x_44; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -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_31); -if (x_44 == 0) -{ -return x_31; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_31, 0); -x_46 = lean_ctor_get(x_31, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_31); -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; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg___lambda__1), 10, 4); -lean_closure_set(x_13, 0, x_4); -lean_closure_set(x_13, 1, x_5); -lean_closure_set(x_13, 2, x_6); -lean_closure_set(x_13, 3, x_7); -x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_13, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -return x_14; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_14); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) -{ -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8___rarg___boxed), 12, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_array_push(x_1, x_7); -x_17 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__5(x_2, x_3, x_4, x_5, x_16, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___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* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -if (lean_obj_tag(x_6) == 7) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint64_t x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_6, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_6, 2); -lean_inc(x_17); -x_18 = lean_ctor_get_uint64(x_6, sizeof(void*)*3); -lean_dec(x_6); -x_19 = lean_expr_instantiate_rev(x_16, x_5); -lean_dec(x_16); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_20 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = (uint8_t)((x_18 << 24) >> 61); -x_24 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__5___lambda__1), 15, 6); -lean_closure_set(x_24, 0, x_5); -lean_closure_set(x_24, 1, x_1); -lean_closure_set(x_24, 2, x_2); -lean_closure_set(x_24, 3, x_3); -lean_closure_set(x_24, 4, x_4); -lean_closure_set(x_24, 5, x_17); -x_25 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8___rarg(x_15, x_23, x_21, x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_22); -return x_25; -} -else -{ -uint8_t x_26; -lean_dec(x_17); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -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_20); -if (x_26 == 0) -{ -return x_20; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_expr_instantiate_rev(x_6, x_5); -lean_dec(x_6); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_31 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = 0; -x_35 = 1; -x_36 = l_Lean_Meta_mkForallFVars(x_5, x_32, x_34, x_34, x_35, x_10, x_11, x_12, x_13, x_33); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__3(x_1, x_2, x_3, x_4, x_37, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_38); -return x_39; -} -else -{ -uint8_t x_40; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_36); -if (x_40 == 0) -{ -return x_36; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_36, 0); -x_42 = lean_ctor_get(x_36, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_36); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -else -{ -uint8_t x_44; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -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_31); -if (x_44 == 0) -{ -return x_31; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_31, 0); -x_46 = lean_ctor_get(x_31, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_31); -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; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg___lambda__1), 10, 4); -lean_closure_set(x_13, 0, x_4); -lean_closure_set(x_13, 1, x_5); -lean_closure_set(x_13, 2, x_6); -lean_closure_set(x_13, 3, x_7); -x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(x_1, x_2, x_3, x_13, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -return x_14; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_14); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) -{ -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__9(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__9___rarg), 12, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_array_push(x_1, x_7); -x_17 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__6(x_2, x_3, x_4, x_5, x_16, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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: -{ -if (lean_obj_tag(x_6) == 8) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_6, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_6, 2); -lean_inc(x_17); -x_18 = lean_ctor_get(x_6, 3); -lean_inc(x_18); -lean_dec(x_6); -x_19 = lean_expr_instantiate_rev(x_16, x_5); -lean_dec(x_16); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_20 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_expr_instantiate_rev(x_17, x_5); -lean_dec(x_17); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_24 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_22); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__6___lambda__1), 15, 6); -lean_closure_set(x_27, 0, x_5); -lean_closure_set(x_27, 1, x_1); -lean_closure_set(x_27, 2, x_2); -lean_closure_set(x_27, 3, x_3); -lean_closure_set(x_27, 4, x_4); -lean_closure_set(x_27, 5, x_18); -x_28 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__9___rarg(x_15, x_21, x_25, x_27, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_26); -return x_28; -} -else -{ -uint8_t x_29; -lean_dec(x_21); -lean_dec(x_18); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_29 = !lean_is_exclusive(x_24); -if (x_29 == 0) -{ -return x_24; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_24, 0); -x_31 = lean_ctor_get(x_24, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_24); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -else -{ -uint8_t x_33; -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_20); -if (x_33 == 0) -{ -return x_20; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_20, 0); -x_35 = lean_ctor_get(x_20, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_20); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_expr_instantiate_rev(x_6, x_5); -lean_dec(x_6); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_38 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_37, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; lean_object* x_43; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = 0; -x_42 = 1; -x_43 = l_Lean_Meta_mkLambdaFVars(x_5, x_39, x_41, x_41, x_42, x_10, x_11, x_12, x_13, x_40); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__3(x_1, x_2, x_3, x_4, x_44, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_45); -return x_46; -} -else -{ -uint8_t x_47; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_47 = !lean_is_exclusive(x_43); -if (x_47 == 0) -{ -return x_43; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_43, 0); -x_49 = lean_ctor_get(x_43, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_43); -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_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -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_38); -if (x_51 == 0) -{ -return x_38; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_38, 0); -x_53 = lean_ctor_get(x_38, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_38); -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; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_6, x_5); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_7); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_array_uget(x_7, x_6); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_array_uset(x_7, x_6, x_19); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = 1; -x_25 = lean_usize_add(x_6, x_24); -x_26 = lean_array_uset(x_20, x_6, x_22); -x_6 = x_25; -x_7 = x_26; -x_15 = x_23; -goto _start; -} -else -{ -uint8_t x_28; -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_28 = !lean_is_exclusive(x_21); -if (x_28 == 0) -{ -return x_21; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_21, 0); -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_21); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -if (lean_obj_tag(x_5) == 5) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_5, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_5, 1); -lean_inc(x_17); -lean_dec(x_5); -x_18 = lean_array_set(x_6, x_7, x_17); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_sub(x_7, x_19); -lean_dec(x_7); -x_5 = x_16; -x_6 = x_18; -x_7 = x_20; -goto _start; -} -else -{ -lean_object* x_22; -lean_dec(x_7); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_22 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; -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 = lean_array_get_size(x_6); -x_26 = lean_usize_of_nat(x_25); -lean_dec(x_25); -x_27 = 0; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__10(x_1, x_2, x_3, x_4, x_26, x_27, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_mkAppN(x_23, x_29); -x_32 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__3(x_1, x_2, x_3, x_4, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_30); -return x_32; -} -else -{ -uint8_t x_33; -lean_dec(x_23); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_28); -if (x_33 == 0) -{ -return x_28; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_28, 0); -x_35 = lean_ctor_get(x_28, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_28); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -uint8_t x_37; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_37 = !lean_is_exclusive(x_22); -if (x_37 == 0) -{ -return x_22; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_22, 0); -x_39 = lean_ctor_get(x_22, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_22); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -} -} -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_11 = lean_apply_8(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_apply_9(x_2, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -return x_14; -} -else -{ -uint8_t x_15; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_15 = !lean_is_exclusive(x_11); -if (x_15 == 0) -{ -return x_11; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_11, 0); -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_11); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -} -} -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__12(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__12___rarg), 10, 0); -return x_3; -} -} -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_maxRecDepthErrorMessage; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__1; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___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; -x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__2; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_1); -lean_ctor_set(x_8, 1, x_7); -x_9 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_6); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___boxed), 6, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_12 = lean_ctor_get(x_9, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_9, 1); -lean_inc(x_13); -x_14 = lean_ctor_get(x_9, 2); -lean_inc(x_14); -x_15 = lean_ctor_get(x_9, 3); -lean_inc(x_15); -x_16 = lean_ctor_get(x_9, 4); -lean_inc(x_16); -x_17 = lean_ctor_get(x_9, 5); -lean_inc(x_17); -x_18 = lean_ctor_get(x_9, 6); -lean_inc(x_18); -x_19 = lean_ctor_get(x_9, 7); -lean_inc(x_19); -x_20 = lean_ctor_get(x_9, 8); -lean_inc(x_20); -x_21 = lean_nat_dec_eq(x_13, x_14); -if (x_21 == 0) -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_9); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_23 = lean_ctor_get(x_9, 8); -lean_dec(x_23); -x_24 = lean_ctor_get(x_9, 7); -lean_dec(x_24); -x_25 = lean_ctor_get(x_9, 6); -lean_dec(x_25); -x_26 = lean_ctor_get(x_9, 5); -lean_dec(x_26); -x_27 = lean_ctor_get(x_9, 4); -lean_dec(x_27); -x_28 = lean_ctor_get(x_9, 3); -lean_dec(x_28); -x_29 = lean_ctor_get(x_9, 2); -lean_dec(x_29); -x_30 = lean_ctor_get(x_9, 1); -lean_dec(x_30); -x_31 = lean_ctor_get(x_9, 0); -lean_dec(x_31); -x_32 = lean_unsigned_to_nat(1u); -x_33 = lean_nat_add(x_13, x_32); -lean_dec(x_13); -lean_ctor_set(x_9, 1, x_33); -x_34 = lean_apply_8(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_34) == 0) -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -return x_34; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_34, 0); -x_37 = lean_ctor_get(x_34, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_34); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -else -{ -uint8_t x_39; -x_39 = !lean_is_exclusive(x_34); -if (x_39 == 0) -{ -return x_34; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_34, 0); -x_41 = lean_ctor_get(x_34, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_34); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_9); -x_43 = lean_unsigned_to_nat(1u); -x_44 = lean_nat_add(x_13, x_43); -lean_dec(x_13); -x_45 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_45, 0, x_12); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_14); -lean_ctor_set(x_45, 3, x_15); -lean_ctor_set(x_45, 4, x_16); -lean_ctor_set(x_45, 5, x_17); -lean_ctor_set(x_45, 6, x_18); -lean_ctor_set(x_45, 7, x_19); -lean_ctor_set(x_45, 8, x_20); -x_46 = lean_apply_8(x_3, x_4, x_5, x_6, x_7, x_8, x_45, x_10, x_11); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -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; -} else { - lean_dec_ref(x_46); - x_49 = lean_box(0); -} -if (lean_is_scalar(x_49)) { - x_50 = lean_alloc_ctor(0, 2, 0); -} else { - x_50 = x_49; -} -lean_ctor_set(x_50, 0, x_47); -lean_ctor_set(x_50, 1, x_48); -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_46, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_46, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_53 = x_46; -} else { - lean_dec_ref(x_46); - 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; uint8_t x_56; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_55 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg(x_15, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_56 = !lean_is_exclusive(x_55); -if (x_56 == 0) -{ -return x_55; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_55, 0); -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_55); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_14 = lean_ctor_get(x_5, 0); -lean_inc(x_14); -lean_dec(x_5); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_5, 0); -lean_inc(x_16); -lean_dec(x_5); -switch (lean_obj_tag(x_16)) { -case 5: -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_17 = lean_unsigned_to_nat(0u); -x_18 = l_Lean_Expr_getAppNumArgsAux(x_16, x_17); -x_19 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__1; -lean_inc(x_18); -x_20 = lean_mk_array(x_18, x_19); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_sub(x_18, x_21); -lean_dec(x_18); -x_23 = l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__11(x_1, x_2, x_3, x_4, x_16, x_20, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_23; -} -case 6: -{ -lean_object* x_24; lean_object* x_25; -x_24 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; -x_25 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__4(x_1, x_2, x_3, x_4, x_24, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_25; -} -case 7: -{ -lean_object* x_26; lean_object* x_27; -x_26 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; -x_27 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__5(x_1, x_2, x_3, x_4, x_26, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_27; -} -case 8: -{ -lean_object* x_28; lean_object* x_29; -x_28 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; -x_29 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__6(x_1, x_2, x_3, x_4, x_28, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_29; -} -case 10: -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_16); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_16, 0); -x_32 = lean_ctor_get(x_16, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_32); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_33 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_expr_update_mdata(x_16, x_34); -x_37 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__3(x_1, x_2, x_3, x_4, x_36, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_35); -return x_37; -} -else -{ -uint8_t x_38; -lean_free_object(x_16); -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_38 = !lean_is_exclusive(x_33); -if (x_38 == 0) -{ -return x_33; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_33, 0); -x_40 = lean_ctor_get(x_33, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_33); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -lean_object* x_42; lean_object* x_43; uint64_t x_44; lean_object* x_45; -x_42 = lean_ctor_get(x_16, 0); -x_43 = lean_ctor_get(x_16, 1); -x_44 = lean_ctor_get_uint64(x_16, sizeof(void*)*2); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_16); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_43); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_45 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_43, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -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 = lean_alloc_ctor(10, 2, 8); -lean_ctor_set(x_48, 0, x_42); -lean_ctor_set(x_48, 1, x_43); -lean_ctor_set_uint64(x_48, sizeof(void*)*2, x_44); -x_49 = lean_expr_update_mdata(x_48, x_46); -x_50 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__3(x_1, x_2, x_3, x_4, x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); -return x_50; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_51 = lean_ctor_get(x_45, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_45, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_45)) { - lean_ctor_release(x_45, 0); - lean_ctor_release(x_45, 1); - x_53 = x_45; -} else { - lean_dec_ref(x_45); - 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; -} -} -} -case 11: -{ -uint8_t x_55; -x_55 = !lean_is_exclusive(x_16); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_16, 0); -x_57 = lean_ctor_get(x_16, 1); -x_58 = lean_ctor_get(x_16, 2); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_58); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_59 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_58, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_59) == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_expr_update_proj(x_16, x_60); -x_63 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__3(x_1, x_2, x_3, x_4, x_62, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_61); -return x_63; -} -else -{ -uint8_t x_64; -lean_free_object(x_16); -lean_dec(x_58); -lean_dec(x_57); -lean_dec(x_56); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_64 = !lean_is_exclusive(x_59); -if (x_64 == 0) -{ -return x_59; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_59, 0); -x_66 = lean_ctor_get(x_59, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_59); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; -} -} -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; uint64_t x_71; lean_object* x_72; -x_68 = lean_ctor_get(x_16, 0); -x_69 = lean_ctor_get(x_16, 1); -x_70 = lean_ctor_get(x_16, 2); -x_71 = lean_ctor_get_uint64(x_16, sizeof(void*)*3); -lean_inc(x_70); -lean_inc(x_69); -lean_inc(x_68); -lean_dec(x_16); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_70); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_72 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_1, x_2, x_3, x_4, x_70, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_72) == 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_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_alloc_ctor(11, 3, 8); -lean_ctor_set(x_75, 0, x_68); -lean_ctor_set(x_75, 1, x_69); -lean_ctor_set(x_75, 2, x_70); -lean_ctor_set_uint64(x_75, sizeof(void*)*3, x_71); -x_76 = lean_expr_update_proj(x_75, x_73); -x_77 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__3(x_1, x_2, x_3, x_4, x_76, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_74); -return x_77; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -lean_dec(x_70); -lean_dec(x_69); -lean_dec(x_68); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_78 = lean_ctor_get(x_72, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_72, 1); -lean_inc(x_79); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_80 = x_72; -} else { - lean_dec_ref(x_72); - x_80 = lean_box(0); -} -if (lean_is_scalar(x_80)) { - x_81 = lean_alloc_ctor(1, 2, 0); -} else { - x_81 = x_80; -} -lean_ctor_set(x_81, 0, x_78); -lean_ctor_set(x_81, 1, x_79); -return x_81; -} -} -} -default: -{ -lean_object* x_82; -x_82 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__3(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_82; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2___lambda__2(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; -x_4 = l_Std_HashMap_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_3, x_1, x_2); -x_5 = lean_box(0); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; -lean_inc(x_6); -x_14 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(x_14, 0, lean_box(0)); -lean_closure_set(x_14, 1, lean_box(0)); +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_box(x_5); +x_14 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg___lambda__1___boxed), 10, 4); +lean_closure_set(x_14, 0, x_4); +lean_closure_set(x_14, 1, x_13); lean_closure_set(x_14, 2, x_6); -lean_inc(x_4); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_15 = lean_apply_9(x_4, lean_box(0), x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_closure_set(x_14, 3, x_7); +x_15 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_14, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { +return x_15; +} +else +{ 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); -lean_inc(x_5); -x_19 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_17, 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_free_object(x_15); -lean_inc(x_1); -lean_inc(x_5); -x_20 = lean_apply_1(x_1, x_5); -x_21 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_21, 0, x_20); -lean_inc(x_4); -lean_inc(x_3); -x_22 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2___lambda__1), 13, 4); -lean_closure_set(x_22, 0, x_1); -lean_closure_set(x_22, 1, x_2); -lean_closure_set(x_22, 2, x_3); -lean_closure_set(x_22, 3, x_4); -x_23 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__12___rarg), 10, 2); -lean_closure_set(x_23, 0, x_21); -lean_closure_set(x_23, 1, x_22); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_24 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__13(x_3, lean_box(0), x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_18); -lean_dec(x_3); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -lean_inc(x_25); -x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2___lambda__2), 3, 2); -lean_closure_set(x_27, 0, x_5); -lean_closure_set(x_27, 1, x_25); -x_28 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_28, 0, x_6); -lean_closure_set(x_28, 1, x_27); -x_29 = lean_apply_9(x_4, lean_box(0), x_28, x_7, x_8, x_9, x_10, x_11, x_12, x_26); -if (lean_obj_tag(x_29) == 0) -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_29, 0); -lean_dec(x_31); -lean_ctor_set(x_29, 0, x_25); -return x_29; -} -else -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_dec(x_29); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_25); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_15); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } else { -uint8_t x_34; -lean_dec(x_25); -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_15); +if (x_20 == 0) { -return x_29; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 0); -x_36 = lean_ctor_get(x_29, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_29); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -else -{ -uint8_t x_38; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_38 = !lean_is_exclusive(x_24); -if (x_38 == 0) -{ -return x_24; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_24, 0); -x_40 = lean_ctor_get(x_24, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_24); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -lean_object* x_42; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_42 = lean_ctor_get(x_19, 0); -lean_inc(x_42); -lean_dec(x_19); -lean_ctor_set(x_15, 0, x_42); return x_15; } +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_15, 0); +x_22 = lean_ctor_get(x_15, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_15); +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg___boxed), 12, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_box(x_5); +x_14 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg___lambda__1___boxed), 10, 4); +lean_closure_set(x_14, 0, x_4); +lean_closure_set(x_14, 1, x_13); +lean_closure_set(x_14, 2, x_6); +lean_closure_set(x_14, 3, x_7); +x_15 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(x_1, x_2, x_3, x_14, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_15, 0); -x_44 = lean_ctor_get(x_15, 1); -lean_inc(x_44); -lean_inc(x_43); +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); +lean_inc(x_18); +lean_inc(x_17); lean_dec(x_15); -lean_inc(x_5); -x_45 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_43, x_5); -if (lean_obj_tag(x_45) == 0) +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_inc(x_1); -lean_inc(x_5); -x_46 = lean_apply_1(x_1, x_5); -x_47 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_47, 0, x_46); -lean_inc(x_4); -lean_inc(x_3); -x_48 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2___lambda__1), 13, 4); -lean_closure_set(x_48, 0, x_1); -lean_closure_set(x_48, 1, x_2); -lean_closure_set(x_48, 2, x_3); -lean_closure_set(x_48, 3, x_4); -x_49 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__12___rarg), 10, 2); -lean_closure_set(x_49, 0, x_47); -lean_closure_set(x_49, 1, x_48); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); +uint8_t x_20; +x_20 = !lean_is_exclusive(x_15); +if (x_20 == 0) +{ +return x_15; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_15, 0); +x_22 = lean_ctor_get(x_15, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_15); +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__2___rarg___boxed), 12, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_expr_instantiate1(x_1, x_2); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_50 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__13(x_3, lean_box(0), x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_44); -lean_dec(x_3); -if (lean_obj_tag(x_50) == 0) +x_12 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -lean_inc(x_51); -x_53 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2___lambda__2), 3, 2); -lean_closure_set(x_53, 0, x_5); -lean_closure_set(x_53, 1, x_51); -x_54 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_54, 0, x_6); -lean_closure_set(x_54, 1, x_53); -x_55 = lean_apply_9(x_4, lean_box(0), x_54, x_7, x_8, x_9, x_10, x_11, x_12, x_52); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_57 = x_55; -} else { - lean_dec_ref(x_55); - x_57 = lean_box(0); -} -if (lean_is_scalar(x_57)) { - x_58 = lean_alloc_ctor(0, 2, 0); -} else { - x_58 = x_57; -} -lean_ctor_set(x_58, 0, x_51); -lean_ctor_set(x_58, 1, x_56); -return x_58; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -lean_dec(x_51); -x_59 = lean_ctor_get(x_55, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_55, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_61 = x_55; -} else { - lean_dec_ref(x_55); - x_61 = lean_box(0); -} -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(1, 2, 0); -} else { - x_62 = x_61; -} -lean_ctor_set(x_62, 0, x_59); -lean_ctor_set(x_62, 1, x_60); -return x_62; -} -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +x_15 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; +x_16 = lean_array_push(x_15, x_2); +x_17 = 0; +x_18 = 1; +x_19 = 1; +x_20 = l_Lean_Meta_mkLambdaFVars(x_16, x_13, x_17, x_18, x_19, x_6, x_7, x_8, x_9, x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_63 = lean_ctor_get(x_50, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_50, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_65 = x_50; -} else { - lean_dec_ref(x_50); - x_65 = lean_box(0); -} -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(1, 2, 0); -} else { - x_66 = x_65; -} -lean_ctor_set(x_66, 0, x_63); -lean_ctor_set(x_66, 1, x_64); -return x_66; -} +return x_20; } else { -lean_object* x_67; lean_object* x_68; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +uint8_t x_21; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); +x_21 = !lean_is_exclusive(x_12); +if (x_21 == 0) +{ +return x_12; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_12, 0); +x_23 = lean_ctor_get(x_12, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_12); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_expr_instantiate1(x_1, x_2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_12 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; +x_16 = lean_array_push(x_15, x_2); +x_17 = 0; +x_18 = 1; +x_19 = 1; +x_20 = l_Lean_Meta_mkForallFVars(x_16, x_13, x_17, x_18, x_19, x_6, x_7, x_8, x_9, x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_12); +if (x_21 == 0) +{ +return x_12; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_12, 0); +x_23 = lean_ctor_get(x_12, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_12); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 5: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); lean_dec(x_1); -x_67 = lean_ctor_get(x_45, 0); -lean_inc(x_67); -lean_dec(x_45); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_44); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_12 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = l_Lean_mkApp(x_13, x_17); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = l_Lean_mkApp(x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +uint8_t x_23; +lean_dec(x_13); +x_23 = !lean_is_exclusive(x_15); +if (x_23 == 0) +{ +return x_15; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_ctor_get(x_15, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_15); +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 +{ +uint8_t x_27; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_27 = !lean_is_exclusive(x_12); +if (x_27 == 0) +{ +return x_12; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_12, 0); +x_29 = lean_ctor_get(x_12, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_12); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +case 6: +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_1, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_1, 1); +lean_inc(x_32); +x_33 = lean_ctor_get(x_1, 2); +lean_inc(x_33); +lean_dec(x_1); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_34 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Expr_binderInfo(x_33); +x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__1___boxed), 10, 1); +lean_closure_set(x_38, 0, x_33); +x_39 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg(x_31, x_37, x_35, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_36); +return x_39; +} +else +{ +uint8_t x_40; +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +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; +} +} +} +case 7: +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_1, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_1, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_1, 2); +lean_inc(x_46); +lean_dec(x_1); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_47 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l_Lean_Expr_binderInfo(x_46); +x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__2___boxed), 10, 1); +lean_closure_set(x_51, 0, x_46); +x_52 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg(x_44, x_50, x_48, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_49); +return x_52; +} +else +{ +uint8_t x_53; +lean_dec(x_46); +lean_dec(x_44); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_53 = !lean_is_exclusive(x_47); +if (x_53 == 0) +{ +return x_47; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_47, 0); +x_55 = lean_ctor_get(x_47, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_47); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +case 8: +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_1, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_1, 1); +lean_inc(x_58); +x_59 = lean_ctor_get(x_1, 2); +lean_inc(x_59); +x_60 = lean_ctor_get(x_1, 3); +lean_inc(x_60); +lean_dec(x_1); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_61 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_64 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_63); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = lean_alloc_closure((void*)(l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__1___boxed), 10, 1); +lean_closure_set(x_67, 0, x_60); +x_68 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__2___rarg(x_57, x_62, x_65, x_67, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_66); return x_68; } -} -} else { uint8_t x_69; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_62); +lean_dec(x_60); +lean_dec(x_57); 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_69 = !lean_is_exclusive(x_15); +x_69 = !lean_is_exclusive(x_64); if (x_69 == 0) { -return x_15; +return x_64; } else { lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_15, 0); -x_71 = lean_ctor_get(x_15, 1); +x_70 = lean_ctor_get(x_64, 0); +x_71 = lean_ctor_get(x_64, 1); lean_inc(x_71); lean_inc(x_70); -lean_dec(x_15); +lean_dec(x_64); x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_70); lean_ctor_set(x_72, 1, x_71); @@ -20470,435 +18714,482 @@ return x_72; } } } -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_st_ref_get(x_8, x_9); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_apply_1(x_2, x_11); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -return x_12; -} else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -} -static lean_object* _init_l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Std_mkHashMapImp___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___lambda__1___boxed), 9, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_11 = lean_box(0); -x_12 = lean_st_ref_get(x_9, x_10); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__1; -x_15 = lean_st_mk_ref(x_14, x_13); -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_18 = l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__2; -lean_inc(x_9); -lean_inc(x_16); -x_19 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__2(x_2, x_3, x_11, x_18, x_1, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_17); -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; uint8_t x_25; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_st_ref_get(x_9, x_21); -lean_dec(x_9); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_st_ref_get(x_16, x_23); -lean_dec(x_16); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -lean_ctor_set(x_24, 0, x_20); -return x_24; -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_20); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -else -{ -uint8_t x_29; -lean_dec(x_16); -lean_dec(x_9); -x_29 = !lean_is_exclusive(x_19); -if (x_29 == 0) -{ -return x_19; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_19, 0); -x_31 = lean_ctor_get(x_19, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_19); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_patternWithRef_x3f(x_1); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_10 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_10, 0, x_1); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_8); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -lean_dec(x_1); -x_12 = lean_ctor_get(x_9, 0); -lean_inc(x_12); -lean_dec(x_9); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_box(0); -x_16 = lean_box(0); -x_17 = 0; -lean_inc(x_14); -x_18 = l_Lean_Elab_Term_addTermInfo_x27(x_13, x_14, x_15, x_15, x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_14); -lean_ctor_set(x_18, 0, x_21); -return x_18; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_18, 1); -lean_inc(x_22); -lean_dec(x_18); -x_23 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_23, 0, x_14); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -return x_24; -} -} -else -{ -uint8_t x_25; -lean_dec(x_14); -x_25 = !lean_is_exclusive(x_18); -if (x_25 == 0) -{ -return x_18; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_18, 0); -x_27 = lean_ctor_get(x_18, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_18); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_1); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_8); -return x_10; -} -} -static lean_object* _init_l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___lambda__2___boxed), 8, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___lambda__1), 8, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo(lean_object* x_1, lean_object* x_2, 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; -x_9 = !lean_is_exclusive(x_2); -if (x_9 == 0) -{ -uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*8 + 6, x_10); -x_11 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__1; -x_12 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__2; -x_13 = l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1(x_1, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_14 = lean_ctor_get(x_2, 0); -x_15 = lean_ctor_get(x_2, 1); -x_16 = lean_ctor_get(x_2, 2); -x_17 = lean_ctor_get(x_2, 3); -x_18 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_19 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_20 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); -x_21 = lean_ctor_get(x_2, 4); -x_22 = lean_ctor_get(x_2, 5); -x_23 = lean_ctor_get(x_2, 6); -x_24 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 3); -x_25 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 4); -x_26 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 5); -x_27 = lean_ctor_get(x_2, 7); -lean_inc(x_27); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_2); -x_28 = 0; -x_29 = lean_alloc_ctor(0, 8, 7); -lean_ctor_set(x_29, 0, x_14); -lean_ctor_set(x_29, 1, x_15); -lean_ctor_set(x_29, 2, x_16); -lean_ctor_set(x_29, 3, x_17); -lean_ctor_set(x_29, 4, x_21); -lean_ctor_set(x_29, 5, x_22); -lean_ctor_set(x_29, 6, x_23); -lean_ctor_set(x_29, 7, x_27); -lean_ctor_set_uint8(x_29, sizeof(void*)*8, x_18); -lean_ctor_set_uint8(x_29, sizeof(void*)*8 + 1, x_19); -lean_ctor_set_uint8(x_29, sizeof(void*)*8 + 2, x_20); -lean_ctor_set_uint8(x_29, sizeof(void*)*8 + 3, x_24); -lean_ctor_set_uint8(x_29, sizeof(void*)*8 + 4, x_25); -lean_ctor_set_uint8(x_29, sizeof(void*)*8 + 5, x_26); -lean_ctor_set_uint8(x_29, sizeof(void*)*8 + 6, x_28); -x_30 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__1; -x_31 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__2; -x_32 = l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1(x_1, x_30, x_31, x_29, x_3, x_4, x_5, x_6, x_7, x_8); -return x_32; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); -lean_dec(x_2); -x_14 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___rarg(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__7(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); -lean_dec(x_2); -x_14 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8___rarg(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__8(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__9___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__9(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_17 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__10(x_1, x_2, x_3, x_4, x_16, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_18; -} -} -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +uint8_t x_73; +lean_dec(x_60); +lean_dec(x_59); +lean_dec(x_57); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: +x_73 = !lean_is_exclusive(x_61); +if (x_73 == 0) { -lean_object* x_9; -x_9 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_61; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_61, 0); +x_75 = lean_ctor_get(x_61, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_61); +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; +} +} +} +case 10: +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_1, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_1, 1); +lean_inc(x_78); +x_79 = l_Lean_inaccessible_x3f(x_1); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; +x_80 = l_Lean_patternWithRef_x3f(x_1); +lean_dec(x_1); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; +x_81 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_78, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_81) == 0) +{ +uint8_t x_82; +x_82 = !lean_is_exclusive(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; +x_83 = lean_ctor_get(x_81, 0); +x_84 = l_Lean_mkMData(x_77, x_83); +lean_ctor_set(x_81, 0, x_84); +return x_81; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_85 = lean_ctor_get(x_81, 0); +x_86 = lean_ctor_get(x_81, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_81); +x_87 = l_Lean_mkMData(x_77, x_85); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_86); +return x_88; +} +} +else +{ +uint8_t x_89; +lean_dec(x_77); +x_89 = !lean_is_exclusive(x_81); +if (x_89 == 0) +{ +return x_81; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_81, 0); +x_91 = lean_ctor_get(x_81, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_81); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; +} +} +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_dec(x_78); +lean_dec(x_77); +x_93 = lean_ctor_get(x_80, 0); +lean_inc(x_93); +lean_dec(x_80); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_96 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_95, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; lean_object* x_98; uint8_t x_99; +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_99 = l_Lean_Expr_isFVar(x_97); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; +x_100 = lean_box(0); +x_101 = lean_box(0); +x_102 = 0; +x_103 = l_Lean_Elab_Term_addTermInfo(x_94, x_97, x_100, x_100, x_101, x_102, x_3, x_4, x_5, x_6, x_7, x_8, x_98); +return x_103; +} +else +{ +if (x_2 == 0) +{ +lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; +x_104 = lean_box(0); +x_105 = lean_box(0); +x_106 = 1; +x_107 = l_Lean_Elab_Term_addTermInfo(x_94, x_97, x_104, x_104, x_105, x_106, x_3, x_4, x_5, x_6, x_7, x_8, x_98); +return x_107; +} +else +{ +lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; +x_108 = lean_box(0); +x_109 = lean_box(0); +x_110 = 0; +x_111 = l_Lean_Elab_Term_addTermInfo(x_94, x_97, x_108, x_108, x_109, x_110, x_3, x_4, x_5, x_6, x_7, x_8, x_98); +return x_111; +} +} +} +else +{ +uint8_t x_112; +lean_dec(x_94); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +x_112 = !lean_is_exclusive(x_96); +if (x_112 == 0) +{ +return x_96; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_96, 0); +x_114 = lean_ctor_get(x_96, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_96); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; +} +} +} +} +else +{ +uint8_t x_116; lean_object* x_117; +lean_dec(x_79); +lean_dec(x_1); +x_116 = 0; +x_117 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_78, x_116, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_117) == 0) +{ +uint8_t x_118; +x_118 = !lean_is_exclusive(x_117); +if (x_118 == 0) +{ +lean_object* x_119; lean_object* x_120; +x_119 = lean_ctor_get(x_117, 0); +x_120 = l_Lean_mkMData(x_77, x_119); +lean_ctor_set(x_117, 0, x_120); +return x_117; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_121 = lean_ctor_get(x_117, 0); +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_117); +x_123 = l_Lean_mkMData(x_77, x_121); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +return x_124; +} +} +else +{ +uint8_t x_125; +lean_dec(x_77); +x_125 = !lean_is_exclusive(x_117); +if (x_125 == 0) +{ +return x_117; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_117, 0); +x_127 = lean_ctor_get(x_117, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_117); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; +} +} +} +} +case 11: +{ +uint8_t x_129; +x_129 = !lean_is_exclusive(x_1); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_130 = lean_ctor_get(x_1, 0); +x_131 = lean_ctor_get(x_1, 1); +x_132 = lean_ctor_get(x_1, 2); +lean_inc(x_132); +x_133 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_132, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_133) == 0) +{ +uint8_t x_134; +x_134 = !lean_is_exclusive(x_133); +if (x_134 == 0) +{ +lean_object* x_135; lean_object* x_136; +x_135 = lean_ctor_get(x_133, 0); +x_136 = lean_expr_update_proj(x_1, x_135); +lean_ctor_set(x_133, 0, x_136); +return x_133; +} +else +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_137 = lean_ctor_get(x_133, 0); +x_138 = lean_ctor_get(x_133, 1); +lean_inc(x_138); +lean_inc(x_137); +lean_dec(x_133); +x_139 = lean_expr_update_proj(x_1, x_137); +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +return x_140; +} +} +else +{ +uint8_t x_141; +lean_free_object(x_1); +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_130); +x_141 = !lean_is_exclusive(x_133); +if (x_141 == 0) +{ +return x_133; +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_133, 0); +x_143 = lean_ctor_get(x_133, 1); +lean_inc(x_143); +lean_inc(x_142); +lean_dec(x_133); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +return x_144; +} +} +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; uint64_t x_148; lean_object* x_149; +x_145 = lean_ctor_get(x_1, 0); +x_146 = lean_ctor_get(x_1, 1); +x_147 = lean_ctor_get(x_1, 2); +x_148 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_inc(x_147); +lean_inc(x_146); +lean_inc(x_145); +lean_dec(x_1); +lean_inc(x_147); +x_149 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_147, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +if (lean_is_exclusive(x_149)) { + lean_ctor_release(x_149, 0); + lean_ctor_release(x_149, 1); + x_152 = x_149; +} else { + lean_dec_ref(x_149); + x_152 = lean_box(0); +} +x_153 = lean_alloc_ctor(11, 3, 8); +lean_ctor_set(x_153, 0, x_145); +lean_ctor_set(x_153, 1, x_146); +lean_ctor_set(x_153, 2, x_147); +lean_ctor_set_uint64(x_153, sizeof(void*)*3, x_148); +x_154 = lean_expr_update_proj(x_153, x_150); +if (lean_is_scalar(x_152)) { + x_155 = lean_alloc_ctor(0, 2, 0); +} else { + x_155 = x_152; +} +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_151); +return x_155; +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +lean_dec(x_147); +lean_dec(x_146); +lean_dec(x_145); +x_156 = lean_ctor_get(x_149, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_149, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_149)) { + lean_ctor_release(x_149, 0); + lean_ctor_release(x_149, 1); + x_158 = x_149; +} else { + lean_dec_ref(x_149); + x_158 = lean_box(0); +} +if (lean_is_scalar(x_158)) { + x_159 = lean_alloc_ctor(1, 2, 0); +} else { + x_159 = x_158; +} +lean_ctor_set(x_159, 0, x_156); +lean_ctor_set(x_159, 1, x_157); +return x_159; +} +} +} +default: +{ +lean_object* x_160; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_1); +lean_ctor_set(x_160, 1, x_9); +return x_160; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_2); lean_dec(x_2); -return x_9; +x_12 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg___lambda__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_2); +lean_dec(x_2); +x_14 = lean_unbox(x_5); +lean_dec(x_5); +x_15 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg(x_1, x_13, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_5); +lean_dec(x_5); +x_14 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__2___rarg(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___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) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_3); +lean_dec(x_3); +x_12 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__1(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_3); +lean_dec(x_3); +x_12 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__2(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_2); +lean_dec(x_2); +x_11 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo(lean_object* x_1, lean_object* x_2, 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 = 0; +x_10 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_1, x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main_pack___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_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) { @@ -21492,36 +19783,37 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; x_13 = lean_array_uget(x_3, x_2); x_14 = lean_unsigned_to_nat(0u); x_15 = lean_array_uset(x_3, x_2, x_14); +x_16 = 0; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_16 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo(x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) +x_17 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_13, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_16); -x_19 = 1; -x_20 = lean_usize_add(x_2, x_19); -x_21 = lean_array_uset(x_15, x_2, x_17); -x_2 = x_20; -x_3 = x_21; -x_10 = x_18; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = 1; +x_21 = lean_usize_add(x_2, x_20); +x_22 = lean_array_uset(x_15, x_2, x_18); +x_2 = x_21; +x_3 = x_22; +x_10 = x_19; goto _start; } else { -uint8_t x_23; +uint8_t x_24; lean_dec(x_15); lean_dec(x_9); lean_dec(x_8); @@ -21529,23 +19821,23 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) +x_24 = !lean_is_exclusive(x_17); +if (x_24 == 0) { -return x_16; +return x_17; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_16, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_17, 0); +x_26 = lean_ctor_get(x_17, 1); +lean_inc(x_26); lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_16); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_dec(x_17); +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; } } } @@ -31698,7 +29990,7 @@ lean_dec(x_2); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -31708,7 +30000,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__2() { _start: { lean_object* x_1; @@ -31716,17 +30008,17 @@ x_1 = lean_mk_string("ignoreUnusedAlts"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__1; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__2; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__4() { _start: { lean_object* x_1; @@ -31734,13 +30026,13 @@ x_1 = lean_mk_string("if true, do not generate error if an alternative is not us return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__5() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__15; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__4; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__4; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -31749,12 +30041,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__3; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__5; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_1); return x_4; } @@ -32394,7 +30686,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___closed__1; x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__4; -x_3 = lean_unsigned_to_nat(947u); +x_3 = lean_unsigned_to_nat(961u); x_4 = lean_unsigned_to_nat(2u); x_5 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -32763,11 +31055,31 @@ return x_25; } } } +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_maxRecDepthErrorMessage; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__2; +x_9 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__2; x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_1); lean_ctor_set(x_10, 1, x_9); @@ -34877,7 +33189,7 @@ if (lean_obj_tag(x_28) == 0) lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_21); x_30 = lean_array_get_size(x_22); -x_31 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__1; +x_31 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__1; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -37832,7 +36144,7 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabMatch _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__2; +x_9 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__2; x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_1); lean_ctor_set(x_10, 1, x_9); @@ -38815,7 +37127,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1172u); +x_1 = lean_unsigned_to_nat(1186u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38827,7 +37139,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1189u); +x_1 = lean_unsigned_to_nat(1203u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38855,7 +37167,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1172u); +x_1 = lean_unsigned_to_nat(1186u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38867,7 +37179,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1172u); +x_1 = lean_unsigned_to_nat(1186u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38913,7 +37225,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_15388_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_15838_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -39225,7 +37537,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoMatch_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1198u); +x_1 = lean_unsigned_to_nat(1212u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -39237,7 +37549,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoMatch_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1210u); +x_1 = lean_unsigned_to_nat(1224u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -39265,7 +37577,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoMatch_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1198u); +x_1 = lean_unsigned_to_nat(1212u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -39277,7 +37589,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoMatch_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1198u); +x_1 = lean_unsigned_to_nat(1212u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -39609,18 +37921,6 @@ l_Lean_Elab_Term_ToDepElimPattern_TopSort_State_result___default = _init_l_Lean_ lean_mark_persistent(l_Lean_Elab_Term_ToDepElimPattern_TopSort_State_result___default); l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_topSort___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_topSort___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_topSort___closed__1); -l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__1(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__1); -l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__2(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__14___rarg___closed__2); -l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__1 = _init_l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__1); -l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__2 = _init_l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_transform___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___spec__1___closed__2); -l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__1 = _init_l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__1); -l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__2 = _init_l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo___closed__2); l_Lean_withInPattern___at_Lean_Elab_Term_ToDepElimPattern_main___spec__2___closed__1 = _init_l_Lean_withInPattern___at_Lean_Elab_Term_ToDepElimPattern_main___spec__2___closed__1(); lean_mark_persistent(l_Lean_withInPattern___at_Lean_Elab_Term_ToDepElimPattern_main___spec__2___closed__1); l_Lean_withInPattern___at_Lean_Elab_Term_ToDepElimPattern_main___spec__2___closed__2 = _init_l_Lean_withInPattern___at_Lean_Elab_Term_ToDepElimPattern_main___spec__2___closed__2(); @@ -39704,17 +38004,17 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__1 lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132____closed__5); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12132_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582____closed__5); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_12582_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_match_ignoreUnusedAlts = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_match_ignoreUnusedAlts); @@ -39747,6 +38047,10 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6 = _ini lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6); l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__7 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__7(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__7); +l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__1(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__1); +l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__2(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__2); l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___rarg___closed__1); l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___rarg___closed__2 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___rarg___closed__2(); @@ -39840,7 +38144,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___closed_ res = l___regBuiltin_Lean_Elab_Term_elabMatch_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_15388_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_15838_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_elabNoMatch___closed__1 = _init_l_Lean_Elab_Term_elabNoMatch___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Config.c b/stage0/stdlib/Lean/Elab/Tactic/Config.c index bcbf1a9941..31d2f4c683 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Config.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Config.c @@ -58,6 +58,7 @@ static lean_object* l_Lean_Elab_Tactic_commandDeclare__config__elab___________cl static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__81; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__73; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__115; +static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__228; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__56; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__105; @@ -66,6 +67,7 @@ lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__186; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__66; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__165; +static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__234; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__77; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__49; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__164; @@ -100,6 +102,7 @@ static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______ma static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__180; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__61; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__195; +static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__233; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__48; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__162; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__220; @@ -130,6 +133,7 @@ static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______ma static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__59; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__156; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__45; +static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__231; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__128; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__12; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__116; @@ -139,6 +143,7 @@ static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______ma static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__148; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__160; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__203; +static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__232; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__82; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__102; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__136; @@ -150,6 +155,7 @@ static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______ma static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__166; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__125; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__53; +static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__229; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__144; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__197; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__181; @@ -246,6 +252,7 @@ static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______ma static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__55; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__208; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__126; +static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__230; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__193; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__29; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__52; @@ -2150,7 +2157,7 @@ static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config__ _start: { lean_object* x_1; -x_1 = lean_mk_string("Term.withSynthesize"); +x_1 = lean_mk_string("withSaveInfoContext"); return x_1; } } @@ -2180,17 +2187,19 @@ return x_4; static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__179() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("withSynthesize"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__176; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__180() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__69; -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__179; +x_1 = l_Lean_Elab_Tactic_commandDeclare__config__elab___________closed__4; +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__176; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2199,9 +2208,11 @@ static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__59; -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__179; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__180; +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; } } @@ -2211,7 +2222,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__181; -x_3 = lean_alloc_ctor(0, 2, 0); +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; @@ -2220,83 +2231,27 @@ return x_3; static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__183() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__182; -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* x_1; +x_1 = lean_mk_string("Term.withSynthesize"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__184() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("doLetArrow"); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__183; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__185() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__33; -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__184; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__186() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("let"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__187() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("doIdDecl"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__188() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__33; -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__187; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__189() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("c"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__190() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__189; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__191() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__189; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__183; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__190; +x_3 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__184; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2304,12 +2259,72 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__192() { +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__186() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("withSynthesize"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__187() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__69; +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__186; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__188() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__59; +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__186; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__189() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__188; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__190() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__189; +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; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__191() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doLetArrow"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__192() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__33; +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__191; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2318,7 +2333,7 @@ static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config__ _start: { lean_object* x_1; -x_1 = lean_mk_string("←"); +x_1 = lean_mk_string("let"); return x_1; } } @@ -2326,26 +2341,44 @@ static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config__ _start: { lean_object* x_1; -x_1 = lean_mk_string("Term.elabTermEnsuringType"); +x_1 = lean_mk_string("doIdDecl"); return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__195() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__194; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__33; +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__194; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__196() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("c"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__197() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__196; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__198() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__194; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__196; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__195; +x_3 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__197; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2353,30 +2386,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__197() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabTermEnsuringType"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__198() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__69; -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__197; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__199() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__59; -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__197; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__196; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2384,67 +2399,66 @@ return x_3; static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__200() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__199; -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* x_1; +x_1 = lean_mk_string("←"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__201() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__200; -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* x_1; +x_1 = lean_mk_string("Term.elabTermEnsuringType"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__202() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("arrayRef"); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__201; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__203() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__33; -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__202; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__201; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__202; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__204() { _start: { lean_object* x_1; -x_1 = lean_mk_string("["); +x_1 = lean_mk_string("elabTermEnsuringType"); return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__205() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("num"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__69; +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__204; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__206() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__205; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__59; +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__204; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2452,24 +2466,32 @@ return x_3; static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__207() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("0"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__206; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__208() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("3"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__207; +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; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__209() { _start: { lean_object* x_1; -x_1 = lean_mk_string("paren"); +x_1 = lean_mk_string("arrayRef"); return x_1; } } @@ -2487,72 +2509,59 @@ static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config__ _start: { lean_object* x_1; -x_1 = lean_mk_string("Lean.mkConst"); +x_1 = lean_mk_string("["); return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__212() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__211; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("num"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__213() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__211; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__212; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__212; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__214() { _start: { lean_object* x_1; -x_1 = lean_mk_string("mkConst"); +x_1 = lean_mk_string("0"); return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__215() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_commandDeclare__config__elab___________closed__2; -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__214; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("3"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__216() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__215; -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* x_1; +x_1 = lean_mk_string("paren"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__217() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__33; x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__216; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -2560,44 +2569,26 @@ static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config__ _start: { lean_object* x_1; -x_1 = lean_mk_string("liftMethod"); +x_1 = lean_mk_string("Lean.mkConst"); return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__219() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__33; -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__218; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__218; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__220() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("instantiateMVars"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__221() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__220; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__222() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__220; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__218; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__221; +x_3 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__219; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2605,13 +2596,33 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__221() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("mkConst"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__222() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_commandDeclare__config__elab___________closed__2; +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__221; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__223() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__220; -x_3 = lean_name_mk_string(x_1, x_2); +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__222; +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; } } @@ -2619,39 +2630,110 @@ static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__168; -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__220; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__225() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__224; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__226() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__225; +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__223; 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; } } +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__225() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("liftMethod"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__226() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__33; +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__225; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__227() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("instantiateMVars"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__228() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__227; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__229() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__227; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__228; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__230() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__227; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__231() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__168; +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__227; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__232() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__231; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__233() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__232; +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; +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__234() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__29; x_2 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__110; @@ -2690,7 +2772,7 @@ x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRul x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; x_14 = lean_ctor_get(x_12, 0); x_15 = lean_ctor_get(x_2, 2); lean_inc(x_15); @@ -3282,1343 +3364,1383 @@ x_292 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_292, 0, x_21); lean_ctor_set(x_292, 1, x_84); lean_ctor_set(x_292, 2, x_291); -x_293 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__180; +x_293 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__179; lean_inc(x_15); lean_inc(x_16); x_294 = l_Lean_addMacroScope(x_16, x_293, x_15); x_295 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__178; -x_296 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__183; +x_296 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__182; lean_inc(x_14); x_297 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_297, 0, x_14); lean_ctor_set(x_297, 1, x_295); lean_ctor_set(x_297, 2, x_294); lean_ctor_set(x_297, 3, x_296); -x_298 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__186; -lean_inc(x_14); -x_299 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_299, 0, x_14); -lean_ctor_set(x_299, 1, x_298); -x_300 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__192; +x_298 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__187; lean_inc(x_15); lean_inc(x_16); -x_301 = l_Lean_addMacroScope(x_16, x_300, x_15); -x_302 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__191; +x_299 = l_Lean_addMacroScope(x_16, x_298, x_15); +x_300 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__185; +x_301 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__190; lean_inc(x_14); -x_303 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_303, 0, x_14); -lean_ctor_set(x_303, 1, x_302); -lean_ctor_set(x_303, 2, x_301); -lean_ctor_set(x_303, 3, x_37); -x_304 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__193; +x_302 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_302, 0, x_14); +lean_ctor_set(x_302, 1, x_300); +lean_ctor_set(x_302, 2, x_299); +lean_ctor_set(x_302, 3, x_301); +x_303 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__193; lean_inc(x_14); -x_305 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_305, 0, x_14); -lean_ctor_set(x_305, 1, x_304); -x_306 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__198; +x_304 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_304, 0, x_14); +lean_ctor_set(x_304, 1, x_303); +x_305 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__199; lean_inc(x_15); lean_inc(x_16); -x_307 = l_Lean_addMacroScope(x_16, x_306, x_15); -x_308 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__196; -x_309 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__201; +x_306 = l_Lean_addMacroScope(x_16, x_305, x_15); +x_307 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__198; lean_inc(x_14); -x_310 = lean_alloc_ctor(3, 4, 0); +x_308 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_308, 0, x_14); +lean_ctor_set(x_308, 1, x_307); +lean_ctor_set(x_308, 2, x_306); +lean_ctor_set(x_308, 3, x_37); +x_309 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__200; +lean_inc(x_14); +x_310 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_310, 0, x_14); -lean_ctor_set(x_310, 1, x_308); -lean_ctor_set(x_310, 2, x_307); -lean_ctor_set(x_310, 3, x_309); -x_311 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__204; +lean_ctor_set(x_310, 1, x_309); +x_311 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__205; +lean_inc(x_15); +lean_inc(x_16); +x_312 = l_Lean_addMacroScope(x_16, x_311, x_15); +x_313 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__203; +x_314 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__208; lean_inc(x_14); -x_312 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_312, 0, x_14); -lean_ctor_set(x_312, 1, x_311); -x_313 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__207; +x_315 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_315, 0, x_14); +lean_ctor_set(x_315, 1, x_313); +lean_ctor_set(x_315, 2, x_312); +lean_ctor_set(x_315, 3, x_314); +x_316 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__211; lean_inc(x_14); -x_314 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_314, 0, x_14); -lean_ctor_set(x_314, 1, x_313); -x_315 = lean_array_push(x_19, x_314); -x_316 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__206; -x_317 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_317, 0, x_21); +x_317 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_317, 0, x_14); lean_ctor_set(x_317, 1, x_316); -lean_ctor_set(x_317, 2, x_315); -x_318 = lean_array_push(x_182, x_195); -lean_inc(x_312); -x_319 = lean_array_push(x_318, x_312); -x_320 = lean_array_push(x_319, x_317); -lean_inc(x_155); -x_321 = lean_array_push(x_320, x_155); -x_322 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__203; -x_323 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_323, 0, x_21); -lean_ctor_set(x_323, 1, x_322); -lean_ctor_set(x_323, 2, x_321); -x_324 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__208; +x_318 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__214; lean_inc(x_14); -x_325 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_325, 0, x_14); -lean_ctor_set(x_325, 1, x_324); -x_326 = lean_array_push(x_19, x_325); -x_327 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_327, 0, x_21); -lean_ctor_set(x_327, 1, x_316); -lean_ctor_set(x_327, 2, x_326); -x_328 = lean_array_push(x_182, x_323); -x_329 = lean_array_push(x_328, x_312); -x_330 = lean_array_push(x_329, x_327); -x_331 = lean_array_push(x_330, x_155); +x_319 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_319, 0, x_14); +lean_ctor_set(x_319, 1, x_318); +x_320 = lean_array_push(x_19, x_319); +x_321 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__213; +x_322 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_322, 0, x_21); +lean_ctor_set(x_322, 1, x_321); +lean_ctor_set(x_322, 2, x_320); +x_323 = lean_array_push(x_182, x_195); +lean_inc(x_317); +x_324 = lean_array_push(x_323, x_317); +x_325 = lean_array_push(x_324, x_322); +lean_inc(x_155); +x_326 = lean_array_push(x_325, x_155); +x_327 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__210; +x_328 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_328, 0, x_21); +lean_ctor_set(x_328, 1, x_327); +lean_ctor_set(x_328, 2, x_326); +x_329 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__215; +lean_inc(x_14); +x_330 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_330, 0, x_14); +lean_ctor_set(x_330, 1, x_329); +x_331 = lean_array_push(x_19, x_330); x_332 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_332, 0, x_21); -lean_ctor_set(x_332, 1, x_322); +lean_ctor_set(x_332, 1, x_321); lean_ctor_set(x_332, 2, x_331); -x_333 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__215; +x_333 = lean_array_push(x_182, x_328); +x_334 = lean_array_push(x_333, x_317); +x_335 = lean_array_push(x_334, x_332); +x_336 = lean_array_push(x_335, x_155); +x_337 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_337, 0, x_21); +lean_ctor_set(x_337, 1, x_327); +lean_ctor_set(x_337, 2, x_336); +x_338 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__222; lean_inc(x_15); lean_inc(x_16); -x_334 = l_Lean_addMacroScope(x_16, x_333, x_15); -x_335 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__213; -x_336 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__217; +x_339 = l_Lean_addMacroScope(x_16, x_338, x_15); +x_340 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__220; +x_341 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__224; lean_inc(x_14); -x_337 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_337, 0, x_14); -lean_ctor_set(x_337, 1, x_335); -lean_ctor_set(x_337, 2, x_334); -lean_ctor_set(x_337, 3, x_336); -x_338 = lean_array_push(x_19, x_109); -x_339 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_339, 0, x_21); -lean_ctor_set(x_339, 1, x_25); -lean_ctor_set(x_339, 2, x_338); -x_340 = lean_array_push(x_40, x_337); -x_341 = lean_array_push(x_340, x_339); -x_342 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_342, 0, x_21); -lean_ctor_set(x_342, 1, x_84); -lean_ctor_set(x_342, 2, x_341); -x_343 = lean_array_push(x_40, x_342); -x_344 = lean_array_push(x_343, x_29); -x_345 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_345, 0, x_21); -lean_ctor_set(x_345, 1, x_25); -lean_ctor_set(x_345, 2, x_344); -x_346 = lean_array_push(x_104, x_46); -lean_inc(x_346); -x_347 = lean_array_push(x_346, x_345); -lean_inc(x_64); -x_348 = lean_array_push(x_347, x_64); -x_349 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__210; +x_342 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_342, 0, x_14); +lean_ctor_set(x_342, 1, x_340); +lean_ctor_set(x_342, 2, x_339); +lean_ctor_set(x_342, 3, x_341); +x_343 = lean_array_push(x_19, x_109); +x_344 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_344, 0, x_21); +lean_ctor_set(x_344, 1, x_25); +lean_ctor_set(x_344, 2, x_343); +x_345 = lean_array_push(x_40, x_342); +x_346 = lean_array_push(x_345, x_344); +x_347 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_347, 0, x_21); +lean_ctor_set(x_347, 1, x_84); +lean_ctor_set(x_347, 2, x_346); +x_348 = lean_array_push(x_40, x_347); +x_349 = lean_array_push(x_348, x_29); x_350 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_350, 0, x_21); -lean_ctor_set(x_350, 1, x_349); -lean_ctor_set(x_350, 2, x_348); -x_351 = lean_array_push(x_40, x_332); +lean_ctor_set(x_350, 1, x_25); +lean_ctor_set(x_350, 2, x_349); +x_351 = lean_array_push(x_104, x_46); +lean_inc(x_351); x_352 = lean_array_push(x_351, x_350); -x_353 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_353, 0, x_21); -lean_ctor_set(x_353, 1, x_25); -lean_ctor_set(x_353, 2, x_352); -x_354 = lean_array_push(x_40, x_310); -x_355 = lean_array_push(x_354, x_353); -x_356 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_356, 0, x_21); -lean_ctor_set(x_356, 1, x_84); -lean_ctor_set(x_356, 2, x_355); -x_357 = lean_array_push(x_19, x_356); -x_358 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__152; -x_359 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_359, 0, x_21); -lean_ctor_set(x_359, 1, x_358); -lean_ctor_set(x_359, 2, x_357); -lean_inc(x_303); -x_360 = lean_array_push(x_182, x_303); -x_361 = lean_array_push(x_360, x_29); -lean_inc(x_305); -x_362 = lean_array_push(x_361, x_305); -x_363 = lean_array_push(x_362, x_359); -x_364 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__188; -x_365 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_365, 0, x_21); -lean_ctor_set(x_365, 1, x_364); -lean_ctor_set(x_365, 2, x_363); -x_366 = lean_array_push(x_104, x_299); -x_367 = lean_array_push(x_366, x_29); -x_368 = lean_array_push(x_367, x_365); -x_369 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__185; +lean_inc(x_64); +x_353 = lean_array_push(x_352, x_64); +x_354 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__217; +x_355 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_355, 0, x_21); +lean_ctor_set(x_355, 1, x_354); +lean_ctor_set(x_355, 2, x_353); +x_356 = lean_array_push(x_40, x_337); +x_357 = lean_array_push(x_356, x_355); +x_358 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_358, 0, x_21); +lean_ctor_set(x_358, 1, x_25); +lean_ctor_set(x_358, 2, x_357); +x_359 = lean_array_push(x_40, x_315); +x_360 = lean_array_push(x_359, x_358); +x_361 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_361, 0, x_21); +lean_ctor_set(x_361, 1, x_84); +lean_ctor_set(x_361, 2, x_360); +x_362 = lean_array_push(x_19, x_361); +x_363 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__152; +x_364 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_364, 0, x_21); +lean_ctor_set(x_364, 1, x_363); +lean_ctor_set(x_364, 2, x_362); +lean_inc(x_308); +x_365 = lean_array_push(x_182, x_308); +x_366 = lean_array_push(x_365, x_29); +lean_inc(x_310); +x_367 = lean_array_push(x_366, x_310); +x_368 = lean_array_push(x_367, x_364); +x_369 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__195; x_370 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_370, 0, x_21); lean_ctor_set(x_370, 1, x_369); lean_ctor_set(x_370, 2, x_368); -x_371 = lean_array_push(x_40, x_370); +x_371 = lean_array_push(x_104, x_304); x_372 = lean_array_push(x_371, x_29); -x_373 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_373, 0, x_21); -lean_ctor_set(x_373, 1, x_255); -lean_ctor_set(x_373, 2, x_372); -x_374 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__223; -x_375 = l_Lean_addMacroScope(x_16, x_374, x_15); -x_376 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__222; -x_377 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__226; -x_378 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_378, 0, x_14); -lean_ctor_set(x_378, 1, x_376); -lean_ctor_set(x_378, 2, x_375); -lean_ctor_set(x_378, 3, x_377); -x_379 = lean_array_push(x_19, x_303); -x_380 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_380, 0, x_21); -lean_ctor_set(x_380, 1, x_25); -lean_ctor_set(x_380, 2, x_379); -x_381 = lean_array_push(x_40, x_378); -x_382 = lean_array_push(x_381, x_380); -x_383 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_383, 0, x_21); -lean_ctor_set(x_383, 1, x_84); -lean_ctor_set(x_383, 2, x_382); -x_384 = lean_array_push(x_40, x_305); -x_385 = lean_array_push(x_384, x_383); -x_386 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__219; -x_387 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_387, 0, x_21); -lean_ctor_set(x_387, 1, x_386); -lean_ctor_set(x_387, 2, x_385); -x_388 = lean_array_push(x_40, x_387); -x_389 = lean_array_push(x_388, x_29); -x_390 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_390, 0, x_21); -lean_ctor_set(x_390, 1, x_25); -lean_ctor_set(x_390, 2, x_389); -x_391 = lean_array_push(x_346, x_390); -x_392 = lean_array_push(x_391, x_64); -x_393 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_393, 0, x_21); -lean_ctor_set(x_393, 1, x_349); -lean_ctor_set(x_393, 2, x_392); -x_394 = lean_array_push(x_19, x_393); +x_373 = lean_array_push(x_372, x_370); +x_374 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__192; +x_375 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_375, 0, x_21); +lean_ctor_set(x_375, 1, x_374); +lean_ctor_set(x_375, 2, x_373); +x_376 = lean_array_push(x_40, x_375); +x_377 = lean_array_push(x_376, x_29); +x_378 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_378, 0, x_21); +lean_ctor_set(x_378, 1, x_255); +lean_ctor_set(x_378, 2, x_377); +x_379 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__230; +x_380 = l_Lean_addMacroScope(x_16, x_379, x_15); +x_381 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__229; +x_382 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__233; +x_383 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_383, 0, x_14); +lean_ctor_set(x_383, 1, x_381); +lean_ctor_set(x_383, 2, x_380); +lean_ctor_set(x_383, 3, x_382); +x_384 = lean_array_push(x_19, x_308); +x_385 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_385, 0, x_21); +lean_ctor_set(x_385, 1, x_25); +lean_ctor_set(x_385, 2, x_384); +x_386 = lean_array_push(x_40, x_383); +x_387 = lean_array_push(x_386, x_385); +x_388 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_388, 0, x_21); +lean_ctor_set(x_388, 1, x_84); +lean_ctor_set(x_388, 2, x_387); +x_389 = lean_array_push(x_40, x_310); +x_390 = lean_array_push(x_389, x_388); +x_391 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__226; +x_392 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_392, 0, x_21); +lean_ctor_set(x_392, 1, x_391); +lean_ctor_set(x_392, 2, x_390); +x_393 = lean_array_push(x_40, x_392); +x_394 = lean_array_push(x_393, x_29); x_395 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_395, 0, x_21); lean_ctor_set(x_395, 1, x_25); lean_ctor_set(x_395, 2, x_394); -x_396 = lean_array_push(x_176, x_395); -x_397 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_397, 0, x_21); -lean_ctor_set(x_397, 1, x_84); -lean_ctor_set(x_397, 2, x_396); -x_398 = lean_array_push(x_19, x_397); -x_399 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_399, 0, x_21); -lean_ctor_set(x_399, 1, x_358); -lean_ctor_set(x_399, 2, x_398); -x_400 = lean_array_push(x_40, x_399); -x_401 = lean_array_push(x_400, x_29); +x_396 = lean_array_push(x_351, x_395); +x_397 = lean_array_push(x_396, x_64); +x_398 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_398, 0, x_21); +lean_ctor_set(x_398, 1, x_354); +lean_ctor_set(x_398, 2, x_397); +x_399 = lean_array_push(x_19, x_398); +x_400 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_400, 0, x_21); +lean_ctor_set(x_400, 1, x_25); +lean_ctor_set(x_400, 2, x_399); +x_401 = lean_array_push(x_176, x_400); x_402 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_402, 0, x_21); -lean_ctor_set(x_402, 1, x_255); +lean_ctor_set(x_402, 1, x_84); lean_ctor_set(x_402, 2, x_401); -x_403 = lean_array_push(x_40, x_373); -x_404 = lean_array_push(x_403, x_402); -x_405 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_405, 0, x_21); -lean_ctor_set(x_405, 1, x_25); -lean_ctor_set(x_405, 2, x_404); -x_406 = lean_array_push(x_19, x_405); +x_403 = lean_array_push(x_19, x_402); +x_404 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_404, 0, x_21); +lean_ctor_set(x_404, 1, x_363); +lean_ctor_set(x_404, 2, x_403); +x_405 = lean_array_push(x_40, x_404); +x_406 = lean_array_push(x_405, x_29); x_407 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_407, 0, x_21); -lean_ctor_set(x_407, 1, x_260); +lean_ctor_set(x_407, 1, x_255); lean_ctor_set(x_407, 2, x_406); -x_408 = lean_array_push(x_40, x_216); -lean_inc(x_408); +x_408 = lean_array_push(x_40, x_378); x_409 = lean_array_push(x_408, x_407); -x_410 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__123; -x_411 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_411, 0, x_21); -lean_ctor_set(x_411, 1, x_410); -lean_ctor_set(x_411, 2, x_409); -x_412 = lean_array_push(x_19, x_411); -x_413 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_413, 0, x_21); -lean_ctor_set(x_413, 1, x_25); -lean_ctor_set(x_413, 2, x_412); -x_414 = lean_array_push(x_40, x_297); -x_415 = lean_array_push(x_414, x_413); +x_410 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_410, 0, x_21); +lean_ctor_set(x_410, 1, x_25); +lean_ctor_set(x_410, 2, x_409); +x_411 = lean_array_push(x_19, x_410); +x_412 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_412, 0, x_21); +lean_ctor_set(x_412, 1, x_260); +lean_ctor_set(x_412, 2, x_411); +x_413 = lean_array_push(x_40, x_216); +lean_inc(x_413); +x_414 = lean_array_push(x_413, x_412); +x_415 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__123; x_416 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_416, 0, x_21); -lean_ctor_set(x_416, 1, x_84); -lean_ctor_set(x_416, 2, x_415); -x_417 = lean_array_push(x_104, x_292); -lean_inc(x_270); -x_418 = lean_array_push(x_417, x_270); -x_419 = lean_array_push(x_418, x_416); -x_420 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__154; +lean_ctor_set(x_416, 1, x_415); +lean_ctor_set(x_416, 2, x_414); +x_417 = lean_array_push(x_19, x_416); +x_418 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_418, 0, x_21); +lean_ctor_set(x_418, 1, x_25); +lean_ctor_set(x_418, 2, x_417); +x_419 = lean_array_push(x_40, x_302); +x_420 = lean_array_push(x_419, x_418); x_421 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_421, 0, x_21); -lean_ctor_set(x_421, 1, x_420); -lean_ctor_set(x_421, 2, x_419); -x_422 = lean_array_push(x_104, x_268); +lean_ctor_set(x_421, 1, x_84); +lean_ctor_set(x_421, 2, x_420); +x_422 = lean_array_push(x_104, x_297); +lean_inc(x_270); x_423 = lean_array_push(x_422, x_270); x_424 = lean_array_push(x_423, x_421); -x_425 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_425, 0, x_21); -lean_ctor_set(x_425, 1, x_420); -lean_ctor_set(x_425, 2, x_424); -x_426 = lean_array_push(x_19, x_425); -x_427 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_427, 0, x_21); -lean_ctor_set(x_427, 1, x_358); -lean_ctor_set(x_427, 2, x_426); -x_428 = lean_array_push(x_40, x_427); -x_429 = lean_array_push(x_428, x_29); +x_425 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__154; +x_426 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_426, 0, x_21); +lean_ctor_set(x_426, 1, x_425); +lean_ctor_set(x_426, 2, x_424); +x_427 = lean_array_push(x_104, x_292); +lean_inc(x_270); +x_428 = lean_array_push(x_427, x_270); +x_429 = lean_array_push(x_428, x_426); x_430 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_430, 0, x_21); -lean_ctor_set(x_430, 1, x_255); +lean_ctor_set(x_430, 1, x_425); lean_ctor_set(x_430, 2, x_429); -x_431 = lean_array_push(x_19, x_430); -x_432 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_432, 0, x_21); -lean_ctor_set(x_432, 1, x_25); -lean_ctor_set(x_432, 2, x_431); -x_433 = lean_array_push(x_19, x_432); +x_431 = lean_array_push(x_104, x_268); +x_432 = lean_array_push(x_431, x_270); +x_433 = lean_array_push(x_432, x_430); x_434 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_434, 0, x_21); -lean_ctor_set(x_434, 1, x_260); +lean_ctor_set(x_434, 1, x_425); lean_ctor_set(x_434, 2, x_433); -x_435 = lean_array_push(x_40, x_263); -x_436 = lean_array_push(x_435, x_434); -x_437 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_437, 0, x_21); -lean_ctor_set(x_437, 1, x_25); -lean_ctor_set(x_437, 2, x_436); -x_438 = lean_array_push(x_237, x_218); -x_439 = lean_array_push(x_438, x_226); -x_440 = lean_array_push(x_439, x_228); -x_441 = lean_array_push(x_440, x_261); -x_442 = lean_array_push(x_441, x_29); -x_443 = lean_array_push(x_442, x_437); -x_444 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__129; -x_445 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_445, 0, x_21); -lean_ctor_set(x_445, 1, x_444); -lean_ctor_set(x_445, 2, x_443); -x_446 = lean_array_push(x_40, x_445); -x_447 = lean_array_push(x_446, x_29); -x_448 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_448, 0, x_21); -lean_ctor_set(x_448, 1, x_255); -lean_ctor_set(x_448, 2, x_447); -x_449 = lean_array_push(x_19, x_448); -x_450 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_450, 0, x_21); -lean_ctor_set(x_450, 1, x_25); -lean_ctor_set(x_450, 2, x_449); -x_451 = lean_array_push(x_19, x_450); -x_452 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_452, 0, x_21); -lean_ctor_set(x_452, 1, x_260); -lean_ctor_set(x_452, 2, x_451); -x_453 = lean_array_push(x_408, x_452); +x_435 = lean_array_push(x_19, x_434); +x_436 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_436, 0, x_21); +lean_ctor_set(x_436, 1, x_363); +lean_ctor_set(x_436, 2, x_435); +x_437 = lean_array_push(x_40, x_436); +x_438 = lean_array_push(x_437, x_29); +x_439 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_439, 0, x_21); +lean_ctor_set(x_439, 1, x_255); +lean_ctor_set(x_439, 2, x_438); +x_440 = lean_array_push(x_19, x_439); +x_441 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_441, 0, x_21); +lean_ctor_set(x_441, 1, x_25); +lean_ctor_set(x_441, 2, x_440); +x_442 = lean_array_push(x_19, x_441); +x_443 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_443, 0, x_21); +lean_ctor_set(x_443, 1, x_260); +lean_ctor_set(x_443, 2, x_442); +x_444 = lean_array_push(x_40, x_263); +x_445 = lean_array_push(x_444, x_443); +x_446 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_446, 0, x_21); +lean_ctor_set(x_446, 1, x_25); +lean_ctor_set(x_446, 2, x_445); +x_447 = lean_array_push(x_237, x_218); +x_448 = lean_array_push(x_447, x_226); +x_449 = lean_array_push(x_448, x_228); +x_450 = lean_array_push(x_449, x_261); +x_451 = lean_array_push(x_450, x_29); +x_452 = lean_array_push(x_451, x_446); +x_453 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__129; x_454 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_454, 0, x_21); -lean_ctor_set(x_454, 1, x_410); -lean_ctor_set(x_454, 2, x_453); -x_455 = lean_array_push(x_117, x_454); +lean_ctor_set(x_454, 1, x_453); +lean_ctor_set(x_454, 2, x_452); +x_455 = lean_array_push(x_40, x_454); x_456 = lean_array_push(x_455, x_29); x_457 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_457, 0, x_21); -lean_ctor_set(x_457, 1, x_120); +lean_ctor_set(x_457, 1, x_255); lean_ctor_set(x_457, 2, x_456); -x_458 = lean_array_push(x_123, x_9); -x_459 = lean_array_push(x_458, x_214); -x_460 = lean_array_push(x_459, x_457); -x_461 = lean_array_push(x_460, x_29); -x_462 = lean_array_push(x_461, x_29); -x_463 = lean_array_push(x_462, x_29); -x_464 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_464, 0, x_21); -lean_ctor_set(x_464, 1, x_130); -lean_ctor_set(x_464, 2, x_463); -x_465 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__227; -x_466 = lean_array_push(x_465, x_464); -x_467 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_467, 0, x_21); -lean_ctor_set(x_467, 1, x_134); -lean_ctor_set(x_467, 2, x_466); -x_468 = lean_array_push(x_104, x_135); -x_469 = lean_array_push(x_468, x_191); -x_470 = lean_array_push(x_469, x_467); -x_471 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_471, 0, x_21); -lean_ctor_set(x_471, 1, x_25); -lean_ctor_set(x_471, 2, x_470); -lean_ctor_set(x_12, 0, x_471); +x_458 = lean_array_push(x_19, x_457); +x_459 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_459, 0, x_21); +lean_ctor_set(x_459, 1, x_25); +lean_ctor_set(x_459, 2, x_458); +x_460 = lean_array_push(x_19, x_459); +x_461 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_461, 0, x_21); +lean_ctor_set(x_461, 1, x_260); +lean_ctor_set(x_461, 2, x_460); +x_462 = lean_array_push(x_413, x_461); +x_463 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_463, 0, x_21); +lean_ctor_set(x_463, 1, x_415); +lean_ctor_set(x_463, 2, x_462); +x_464 = lean_array_push(x_117, x_463); +x_465 = lean_array_push(x_464, x_29); +x_466 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_466, 0, x_21); +lean_ctor_set(x_466, 1, x_120); +lean_ctor_set(x_466, 2, x_465); +x_467 = lean_array_push(x_123, x_9); +x_468 = lean_array_push(x_467, x_214); +x_469 = lean_array_push(x_468, x_466); +x_470 = lean_array_push(x_469, x_29); +x_471 = lean_array_push(x_470, x_29); +x_472 = lean_array_push(x_471, x_29); +x_473 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_473, 0, x_21); +lean_ctor_set(x_473, 1, x_130); +lean_ctor_set(x_473, 2, x_472); +x_474 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__234; +x_475 = lean_array_push(x_474, x_473); +x_476 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_476, 0, x_21); +lean_ctor_set(x_476, 1, x_134); +lean_ctor_set(x_476, 2, x_475); +x_477 = lean_array_push(x_104, x_135); +x_478 = lean_array_push(x_477, x_191); +x_479 = lean_array_push(x_478, x_476); +x_480 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_480, 0, x_21); +lean_ctor_set(x_480, 1, x_25); +lean_ctor_set(x_480, 2, x_479); +lean_ctor_set(x_12, 0, x_480); return x_12; } else { -lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; -x_472 = lean_ctor_get(x_12, 0); -x_473 = lean_ctor_get(x_12, 1); -lean_inc(x_473); -lean_inc(x_472); +lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; 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; +x_481 = lean_ctor_get(x_12, 0); +x_482 = lean_ctor_get(x_12, 1); +lean_inc(x_482); +lean_inc(x_481); lean_dec(x_12); -x_474 = lean_ctor_get(x_2, 2); -lean_inc(x_474); -x_475 = lean_ctor_get(x_2, 1); -lean_inc(x_475); +x_483 = lean_ctor_get(x_2, 2); +lean_inc(x_483); +x_484 = lean_ctor_get(x_2, 1); +lean_inc(x_484); lean_dec(x_2); -x_476 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__13; -lean_inc(x_472); -x_477 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_477, 0, x_472); -lean_ctor_set(x_477, 1, x_476); -x_478 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__15; -x_479 = lean_array_push(x_478, x_477); -x_480 = lean_box(2); -x_481 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__14; -x_482 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_482, 0, x_480); -lean_ctor_set(x_482, 1, x_481); -lean_ctor_set(x_482, 2, x_479); -x_483 = lean_array_push(x_478, x_482); -x_484 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__2; -x_485 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_485, 0, x_480); -lean_ctor_set(x_485, 1, x_484); -lean_ctor_set(x_485, 2, x_483); -x_486 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__20; -x_487 = lean_array_push(x_486, x_485); -x_488 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__12; -x_489 = lean_array_push(x_487, x_488); -x_490 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__10; +x_485 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__13; +lean_inc(x_481); +x_486 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_486, 0, x_481); +lean_ctor_set(x_486, 1, x_485); +x_487 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__15; +x_488 = lean_array_push(x_487, x_486); +x_489 = lean_box(2); +x_490 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__14; x_491 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_491, 0, x_480); +lean_ctor_set(x_491, 0, x_489); lean_ctor_set(x_491, 1, x_490); -lean_ctor_set(x_491, 2, x_489); -x_492 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__21; -lean_inc(x_472); -x_493 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_493, 0, x_472); -lean_ctor_set(x_493, 1, x_492); -x_494 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__28; -lean_inc(x_474); -lean_inc(x_475); -x_495 = l_Lean_addMacroScope(x_475, x_494, x_474); -x_496 = lean_box(0); -x_497 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__27; -lean_inc(x_472); -x_498 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_498, 0, x_472); -lean_ctor_set(x_498, 1, x_497); -lean_ctor_set(x_498, 2, x_495); -lean_ctor_set(x_498, 3, x_496); -x_499 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__29; -lean_inc(x_498); -x_500 = lean_array_push(x_499, x_498); -x_501 = lean_array_push(x_500, x_488); -x_502 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__24; -x_503 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_503, 0, x_480); -lean_ctor_set(x_503, 1, x_502); -lean_ctor_set(x_503, 2, x_501); -x_504 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__36; -lean_inc(x_472); -x_505 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_505, 0, x_472); -lean_ctor_set(x_505, 1, x_504); -x_506 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__40; -lean_inc(x_474); -lean_inc(x_475); -x_507 = l_Lean_addMacroScope(x_475, x_506, x_474); -x_508 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__39; -lean_inc(x_472); -x_509 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_509, 0, x_472); -lean_ctor_set(x_509, 1, x_508); -lean_ctor_set(x_509, 2, x_507); -lean_ctor_set(x_509, 3, x_496); -lean_inc(x_509); -x_510 = lean_array_push(x_478, x_509); -x_511 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_511, 0, x_480); -lean_ctor_set(x_511, 1, x_484); -lean_ctor_set(x_511, 2, x_510); -x_512 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__41; -lean_inc(x_472); -x_513 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_513, 0, x_472); -lean_ctor_set(x_513, 1, x_512); -x_514 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__45; -lean_inc(x_474); -lean_inc(x_475); -x_515 = l_Lean_addMacroScope(x_475, x_514, x_474); -x_516 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__44; -x_517 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__48; -lean_inc(x_472); +lean_ctor_set(x_491, 2, x_488); +x_492 = lean_array_push(x_487, x_491); +x_493 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__2; +x_494 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_494, 0, x_489); +lean_ctor_set(x_494, 1, x_493); +lean_ctor_set(x_494, 2, x_492); +x_495 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__20; +x_496 = lean_array_push(x_495, x_494); +x_497 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__12; +x_498 = lean_array_push(x_496, x_497); +x_499 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__10; +x_500 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_500, 0, x_489); +lean_ctor_set(x_500, 1, x_499); +lean_ctor_set(x_500, 2, x_498); +x_501 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__21; +lean_inc(x_481); +x_502 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_502, 0, x_481); +lean_ctor_set(x_502, 1, x_501); +x_503 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__28; +lean_inc(x_483); +lean_inc(x_484); +x_504 = l_Lean_addMacroScope(x_484, x_503, x_483); +x_505 = lean_box(0); +x_506 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__27; +lean_inc(x_481); +x_507 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_507, 0, x_481); +lean_ctor_set(x_507, 1, x_506); +lean_ctor_set(x_507, 2, x_504); +lean_ctor_set(x_507, 3, x_505); +x_508 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__29; +lean_inc(x_507); +x_509 = lean_array_push(x_508, x_507); +x_510 = lean_array_push(x_509, x_497); +x_511 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__24; +x_512 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_512, 0, x_489); +lean_ctor_set(x_512, 1, x_511); +lean_ctor_set(x_512, 2, x_510); +x_513 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__36; +lean_inc(x_481); +x_514 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_514, 0, x_481); +lean_ctor_set(x_514, 1, x_513); +x_515 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__40; +lean_inc(x_483); +lean_inc(x_484); +x_516 = l_Lean_addMacroScope(x_484, x_515, x_483); +x_517 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__39; +lean_inc(x_481); x_518 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_518, 0, x_472); -lean_ctor_set(x_518, 1, x_516); -lean_ctor_set(x_518, 2, x_515); -lean_ctor_set(x_518, 3, x_517); -x_519 = lean_array_push(x_499, x_513); -lean_inc(x_519); -x_520 = lean_array_push(x_519, x_518); -x_521 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_521, 0, x_480); -lean_ctor_set(x_521, 1, x_484); -lean_ctor_set(x_521, 2, x_520); -x_522 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__49; -lean_inc(x_472); -x_523 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_523, 0, x_472); -lean_ctor_set(x_523, 1, x_522); -x_524 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__50; -lean_inc(x_505); -x_525 = lean_array_push(x_524, x_505); -lean_inc(x_525); -x_526 = lean_array_push(x_525, x_511); -x_527 = lean_array_push(x_526, x_521); -x_528 = lean_array_push(x_527, x_488); -lean_inc(x_523); -x_529 = lean_array_push(x_528, x_523); -x_530 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__35; -x_531 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_531, 0, x_480); -lean_ctor_set(x_531, 1, x_530); -lean_ctor_set(x_531, 2, x_529); -x_532 = lean_array_push(x_478, x_531); -x_533 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_533, 0, x_480); -lean_ctor_set(x_533, 1, x_484); -lean_ctor_set(x_533, 2, x_532); -x_534 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__58; -lean_inc(x_474); -lean_inc(x_475); -x_535 = l_Lean_addMacroScope(x_475, x_534, x_474); -x_536 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__57; -x_537 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__62; -lean_inc(x_472); -x_538 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_538, 0, x_472); -lean_ctor_set(x_538, 1, x_536); -lean_ctor_set(x_538, 2, x_535); -lean_ctor_set(x_538, 3, x_537); -lean_inc(x_11); -x_539 = lean_array_push(x_478, x_11); +lean_ctor_set(x_518, 0, x_481); +lean_ctor_set(x_518, 1, x_517); +lean_ctor_set(x_518, 2, x_516); +lean_ctor_set(x_518, 3, x_505); +lean_inc(x_518); +x_519 = lean_array_push(x_487, x_518); +x_520 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_520, 0, x_489); +lean_ctor_set(x_520, 1, x_493); +lean_ctor_set(x_520, 2, x_519); +x_521 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__41; +lean_inc(x_481); +x_522 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_522, 0, x_481); +lean_ctor_set(x_522, 1, x_521); +x_523 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__45; +lean_inc(x_483); +lean_inc(x_484); +x_524 = l_Lean_addMacroScope(x_484, x_523, x_483); +x_525 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__44; +x_526 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__48; +lean_inc(x_481); +x_527 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_527, 0, x_481); +lean_ctor_set(x_527, 1, x_525); +lean_ctor_set(x_527, 2, x_524); +lean_ctor_set(x_527, 3, x_526); +x_528 = lean_array_push(x_508, x_522); +lean_inc(x_528); +x_529 = lean_array_push(x_528, x_527); +x_530 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_530, 0, x_489); +lean_ctor_set(x_530, 1, x_493); +lean_ctor_set(x_530, 2, x_529); +x_531 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__49; +lean_inc(x_481); +x_532 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_532, 0, x_481); +lean_ctor_set(x_532, 1, x_531); +x_533 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__50; +lean_inc(x_514); +x_534 = lean_array_push(x_533, x_514); +lean_inc(x_534); +x_535 = lean_array_push(x_534, x_520); +x_536 = lean_array_push(x_535, x_530); +x_537 = lean_array_push(x_536, x_497); +lean_inc(x_532); +x_538 = lean_array_push(x_537, x_532); +x_539 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__35; x_540 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_540, 0, x_480); -lean_ctor_set(x_540, 1, x_484); -lean_ctor_set(x_540, 2, x_539); -x_541 = lean_array_push(x_499, x_538); -x_542 = lean_array_push(x_541, x_540); -x_543 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__54; -x_544 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_544, 0, x_480); -lean_ctor_set(x_544, 1, x_543); -lean_ctor_set(x_544, 2, x_542); -lean_inc(x_519); -x_545 = lean_array_push(x_519, x_544); -x_546 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__52; -x_547 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_547, 0, x_480); -lean_ctor_set(x_547, 1, x_546); -lean_ctor_set(x_547, 2, x_545); -lean_inc(x_547); -x_548 = lean_array_push(x_478, x_547); +lean_ctor_set(x_540, 0, x_489); +lean_ctor_set(x_540, 1, x_539); +lean_ctor_set(x_540, 2, x_538); +x_541 = lean_array_push(x_487, x_540); +x_542 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_542, 0, x_489); +lean_ctor_set(x_542, 1, x_493); +lean_ctor_set(x_542, 2, x_541); +x_543 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__58; +lean_inc(x_483); +lean_inc(x_484); +x_544 = l_Lean_addMacroScope(x_484, x_543, x_483); +x_545 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__57; +x_546 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__62; +lean_inc(x_481); +x_547 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_547, 0, x_481); +lean_ctor_set(x_547, 1, x_545); +lean_ctor_set(x_547, 2, x_544); +lean_ctor_set(x_547, 3, x_546); +lean_inc(x_11); +x_548 = lean_array_push(x_487, x_11); x_549 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_549, 0, x_480); -lean_ctor_set(x_549, 1, x_484); +lean_ctor_set(x_549, 0, x_489); +lean_ctor_set(x_549, 1, x_493); lean_ctor_set(x_549, 2, x_548); -x_550 = lean_array_push(x_499, x_533); -lean_inc(x_549); -lean_inc(x_550); +x_550 = lean_array_push(x_508, x_547); x_551 = lean_array_push(x_550, x_549); -x_552 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__31; +x_552 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__54; x_553 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_553, 0, x_480); +lean_ctor_set(x_553, 0, x_489); lean_ctor_set(x_553, 1, x_552); lean_ctor_set(x_553, 2, x_551); -x_554 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__65; -lean_inc(x_472); -x_555 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_555, 0, x_472); -lean_ctor_set(x_555, 1, x_554); -x_556 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__71; -lean_inc(x_474); -lean_inc(x_475); -x_557 = l_Lean_addMacroScope(x_475, x_556, x_474); -x_558 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__68; -x_559 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__74; -lean_inc(x_472); -x_560 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_560, 0, x_472); -lean_ctor_set(x_560, 1, x_558); -lean_ctor_set(x_560, 2, x_557); -lean_ctor_set(x_560, 3, x_559); -x_561 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__77; -lean_inc(x_472); -x_562 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_562, 0, x_472); +lean_inc(x_528); +x_554 = lean_array_push(x_528, x_553); +x_555 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__52; +x_556 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_556, 0, x_489); +lean_ctor_set(x_556, 1, x_555); +lean_ctor_set(x_556, 2, x_554); +lean_inc(x_556); +x_557 = lean_array_push(x_487, x_556); +x_558 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_558, 0, x_489); +lean_ctor_set(x_558, 1, x_493); +lean_ctor_set(x_558, 2, x_557); +x_559 = lean_array_push(x_508, x_542); +lean_inc(x_558); +lean_inc(x_559); +x_560 = lean_array_push(x_559, x_558); +x_561 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__31; +x_562 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_562, 0, x_489); lean_ctor_set(x_562, 1, x_561); -x_563 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__78; -lean_inc(x_562); -x_564 = lean_array_push(x_563, x_562); -x_565 = lean_array_push(x_564, x_562); +lean_ctor_set(x_562, 2, x_560); +x_563 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__65; +lean_inc(x_481); +x_564 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_564, 0, x_481); +lean_ctor_set(x_564, 1, x_563); +x_565 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__71; +lean_inc(x_483); +lean_inc(x_484); +x_566 = l_Lean_addMacroScope(x_484, x_565, x_483); +x_567 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__68; +x_568 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__74; +lean_inc(x_481); +x_569 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_569, 0, x_481); +lean_ctor_set(x_569, 1, x_567); +lean_ctor_set(x_569, 2, x_566); +lean_ctor_set(x_569, 3, x_568); +x_570 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__77; +lean_inc(x_481); +x_571 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_571, 0, x_481); +lean_ctor_set(x_571, 1, x_570); +x_572 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__78; +lean_inc(x_571); +x_573 = lean_array_push(x_572, x_571); +x_574 = lean_array_push(x_573, x_571); lean_inc(x_11); -x_566 = lean_array_push(x_565, x_11); -x_567 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__76; -x_568 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_568, 0, x_480); -lean_ctor_set(x_568, 1, x_567); -lean_ctor_set(x_568, 2, x_566); +x_575 = lean_array_push(x_574, x_11); +x_576 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__76; +x_577 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_577, 0, x_489); +lean_ctor_set(x_577, 1, x_576); +lean_ctor_set(x_577, 2, x_575); lean_inc(x_11); -x_569 = lean_array_push(x_563, x_11); -lean_inc(x_568); -x_570 = lean_array_push(x_569, x_568); -x_571 = lean_array_push(x_570, x_509); -x_572 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_572, 0, x_480); -lean_ctor_set(x_572, 1, x_484); -lean_ctor_set(x_572, 2, x_571); -x_573 = lean_array_push(x_499, x_560); -x_574 = lean_array_push(x_573, x_572); -x_575 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_575, 0, x_480); -lean_ctor_set(x_575, 1, x_543); -lean_ctor_set(x_575, 2, x_574); -x_576 = lean_array_push(x_563, x_555); -lean_inc(x_576); -x_577 = lean_array_push(x_576, x_575); -x_578 = lean_array_push(x_577, x_488); -x_579 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__64; -x_580 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_580, 0, x_480); -lean_ctor_set(x_580, 1, x_579); -lean_ctor_set(x_580, 2, x_578); -x_581 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__79; -x_582 = lean_array_push(x_581, x_493); -lean_inc(x_582); -x_583 = lean_array_push(x_582, x_503); -x_584 = lean_array_push(x_583, x_553); -x_585 = lean_array_push(x_584, x_580); -x_586 = lean_array_push(x_585, x_488); -x_587 = lean_array_push(x_586, x_488); -x_588 = lean_array_push(x_587, x_488); -x_589 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__22; -x_590 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_590, 0, x_480); -lean_ctor_set(x_590, 1, x_589); -lean_ctor_set(x_590, 2, x_588); -x_591 = lean_array_push(x_499, x_491); -x_592 = lean_array_push(x_591, x_590); -x_593 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__8; -x_594 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_594, 0, x_480); -lean_ctor_set(x_594, 1, x_593); -lean_ctor_set(x_594, 2, x_592); -x_595 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__82; -lean_inc(x_472); -x_596 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_596, 0, x_472); -lean_ctor_set(x_596, 1, x_595); -x_597 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__96; -lean_inc(x_474); -lean_inc(x_475); -x_598 = l_Lean_addMacroScope(x_475, x_597, x_474); -x_599 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__95; -lean_inc(x_472); -x_600 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_600, 0, x_472); -lean_ctor_set(x_600, 1, x_599); -lean_ctor_set(x_600, 2, x_598); -lean_ctor_set(x_600, 3, x_496); -x_601 = lean_array_push(x_478, x_498); -x_602 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_602, 0, x_480); -lean_ctor_set(x_602, 1, x_484); -lean_ctor_set(x_602, 2, x_601); -x_603 = lean_array_push(x_499, x_600); -x_604 = lean_array_push(x_603, x_602); -x_605 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__92; -x_606 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_606, 0, x_480); -lean_ctor_set(x_606, 1, x_605); -lean_ctor_set(x_606, 2, x_604); -x_607 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__97; -x_608 = lean_array_push(x_607, x_606); -x_609 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__84; -x_610 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_610, 0, x_480); -lean_ctor_set(x_610, 1, x_609); -lean_ctor_set(x_610, 2, x_608); -x_611 = lean_array_push(x_478, x_610); -x_612 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_612, 0, x_480); -lean_ctor_set(x_612, 1, x_484); -lean_ctor_set(x_612, 2, x_611); -x_613 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__98; -lean_inc(x_472); -x_614 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_614, 0, x_472); -lean_ctor_set(x_614, 1, x_613); -x_615 = lean_array_push(x_563, x_596); -x_616 = lean_array_push(x_615, x_612); -lean_inc(x_614); -x_617 = lean_array_push(x_616, x_614); -x_618 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__81; +x_578 = lean_array_push(x_572, x_11); +lean_inc(x_577); +x_579 = lean_array_push(x_578, x_577); +x_580 = lean_array_push(x_579, x_518); +x_581 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_581, 0, x_489); +lean_ctor_set(x_581, 1, x_493); +lean_ctor_set(x_581, 2, x_580); +x_582 = lean_array_push(x_508, x_569); +x_583 = lean_array_push(x_582, x_581); +x_584 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_584, 0, x_489); +lean_ctor_set(x_584, 1, x_552); +lean_ctor_set(x_584, 2, x_583); +x_585 = lean_array_push(x_572, x_564); +lean_inc(x_585); +x_586 = lean_array_push(x_585, x_584); +x_587 = lean_array_push(x_586, x_497); +x_588 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__64; +x_589 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_589, 0, x_489); +lean_ctor_set(x_589, 1, x_588); +lean_ctor_set(x_589, 2, x_587); +x_590 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__79; +x_591 = lean_array_push(x_590, x_502); +lean_inc(x_591); +x_592 = lean_array_push(x_591, x_512); +x_593 = lean_array_push(x_592, x_562); +x_594 = lean_array_push(x_593, x_589); +x_595 = lean_array_push(x_594, x_497); +x_596 = lean_array_push(x_595, x_497); +x_597 = lean_array_push(x_596, x_497); +x_598 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__22; +x_599 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_599, 0, x_489); +lean_ctor_set(x_599, 1, x_598); +lean_ctor_set(x_599, 2, x_597); +x_600 = lean_array_push(x_508, x_500); +x_601 = lean_array_push(x_600, x_599); +x_602 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__8; +x_603 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_603, 0, x_489); +lean_ctor_set(x_603, 1, x_602); +lean_ctor_set(x_603, 2, x_601); +x_604 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__82; +lean_inc(x_481); +x_605 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_605, 0, x_481); +lean_ctor_set(x_605, 1, x_604); +x_606 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__96; +lean_inc(x_483); +lean_inc(x_484); +x_607 = l_Lean_addMacroScope(x_484, x_606, x_483); +x_608 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__95; +lean_inc(x_481); +x_609 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_609, 0, x_481); +lean_ctor_set(x_609, 1, x_608); +lean_ctor_set(x_609, 2, x_607); +lean_ctor_set(x_609, 3, x_505); +x_610 = lean_array_push(x_487, x_507); +x_611 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_611, 0, x_489); +lean_ctor_set(x_611, 1, x_493); +lean_ctor_set(x_611, 2, x_610); +x_612 = lean_array_push(x_508, x_609); +x_613 = lean_array_push(x_612, x_611); +x_614 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__92; +x_615 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_615, 0, x_489); +lean_ctor_set(x_615, 1, x_614); +lean_ctor_set(x_615, 2, x_613); +x_616 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__97; +x_617 = lean_array_push(x_616, x_615); +x_618 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__84; x_619 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_619, 0, x_480); +lean_ctor_set(x_619, 0, x_489); lean_ctor_set(x_619, 1, x_618); lean_ctor_set(x_619, 2, x_617); -x_620 = lean_array_push(x_478, x_619); +x_620 = lean_array_push(x_487, x_619); x_621 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_621, 0, x_480); -lean_ctor_set(x_621, 1, x_484); +lean_ctor_set(x_621, 0, x_489); +lean_ctor_set(x_621, 1, x_493); lean_ctor_set(x_621, 2, x_620); -x_622 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__17; -x_623 = lean_array_push(x_622, x_621); -x_624 = lean_array_push(x_623, x_488); -x_625 = lean_array_push(x_624, x_488); -x_626 = lean_array_push(x_625, x_488); -x_627 = lean_array_push(x_626, x_488); +x_622 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__98; +lean_inc(x_481); +x_623 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_623, 0, x_481); +lean_ctor_set(x_623, 1, x_622); +x_624 = lean_array_push(x_572, x_605); +x_625 = lean_array_push(x_624, x_621); +lean_inc(x_623); +x_626 = lean_array_push(x_625, x_623); +x_627 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__81; x_628 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_628, 0, x_480); -lean_ctor_set(x_628, 1, x_490); -lean_ctor_set(x_628, 2, x_627); -x_629 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__99; -lean_inc(x_472); -x_630 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_630, 0, x_472); -lean_ctor_set(x_630, 1, x_629); -x_631 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__104; -lean_inc(x_474); -lean_inc(x_475); -x_632 = l_Lean_addMacroScope(x_475, x_631, x_474); -x_633 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__103; -lean_inc(x_472); -x_634 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_634, 0, x_472); -lean_ctor_set(x_634, 1, x_633); -lean_ctor_set(x_634, 2, x_632); -lean_ctor_set(x_634, 3, x_496); -x_635 = lean_array_push(x_499, x_634); -lean_inc(x_635); -x_636 = lean_array_push(x_635, x_488); +lean_ctor_set(x_628, 0, x_489); +lean_ctor_set(x_628, 1, x_627); +lean_ctor_set(x_628, 2, x_626); +x_629 = lean_array_push(x_487, x_628); +x_630 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_630, 0, x_489); +lean_ctor_set(x_630, 1, x_493); +lean_ctor_set(x_630, 2, x_629); +x_631 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__17; +x_632 = lean_array_push(x_631, x_630); +x_633 = lean_array_push(x_632, x_497); +x_634 = lean_array_push(x_633, x_497); +x_635 = lean_array_push(x_634, x_497); +x_636 = lean_array_push(x_635, x_497); x_637 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_637, 0, x_480); -lean_ctor_set(x_637, 1, x_502); +lean_ctor_set(x_637, 0, x_489); +lean_ctor_set(x_637, 1, x_499); lean_ctor_set(x_637, 2, x_636); -x_638 = lean_array_push(x_550, x_547); -x_639 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__106; -x_640 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_640, 0, x_480); -lean_ctor_set(x_640, 1, x_639); -lean_ctor_set(x_640, 2, x_638); -x_641 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__107; -x_642 = lean_array_push(x_641, x_630); -x_643 = lean_array_push(x_642, x_637); -x_644 = lean_array_push(x_643, x_640); -x_645 = lean_array_push(x_644, x_488); -x_646 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__100; -x_647 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_647, 0, x_480); -lean_ctor_set(x_647, 1, x_646); -lean_ctor_set(x_647, 2, x_645); -x_648 = lean_array_push(x_499, x_628); -x_649 = lean_array_push(x_648, x_647); -x_650 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_650, 0, x_480); -lean_ctor_set(x_650, 1, x_593); -lean_ctor_set(x_650, 2, x_649); -x_651 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__114; -lean_inc(x_474); -lean_inc(x_475); -x_652 = l_Lean_addMacroScope(x_475, x_651, x_474); -x_653 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__113; -lean_inc(x_472); -x_654 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_654, 0, x_472); -lean_ctor_set(x_654, 1, x_653); -lean_ctor_set(x_654, 2, x_652); -lean_ctor_set(x_654, 3, x_496); -lean_inc(x_654); -x_655 = lean_array_push(x_478, x_654); +x_638 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__99; +lean_inc(x_481); +x_639 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_639, 0, x_481); +lean_ctor_set(x_639, 1, x_638); +x_640 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__104; +lean_inc(x_483); +lean_inc(x_484); +x_641 = l_Lean_addMacroScope(x_484, x_640, x_483); +x_642 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__103; +lean_inc(x_481); +x_643 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_643, 0, x_481); +lean_ctor_set(x_643, 1, x_642); +lean_ctor_set(x_643, 2, x_641); +lean_ctor_set(x_643, 3, x_505); +x_644 = lean_array_push(x_508, x_643); +lean_inc(x_644); +x_645 = lean_array_push(x_644, x_497); +x_646 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_646, 0, x_489); +lean_ctor_set(x_646, 1, x_511); +lean_ctor_set(x_646, 2, x_645); +x_647 = lean_array_push(x_559, x_556); +x_648 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__106; +x_649 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_649, 0, x_489); +lean_ctor_set(x_649, 1, x_648); +lean_ctor_set(x_649, 2, x_647); +x_650 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__107; +x_651 = lean_array_push(x_650, x_639); +x_652 = lean_array_push(x_651, x_646); +x_653 = lean_array_push(x_652, x_649); +x_654 = lean_array_push(x_653, x_497); +x_655 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__100; x_656 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_656, 0, x_480); -lean_ctor_set(x_656, 1, x_484); -lean_ctor_set(x_656, 2, x_655); -x_657 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__118; -lean_inc(x_474); -lean_inc(x_475); -x_658 = l_Lean_addMacroScope(x_475, x_657, x_474); -x_659 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__117; -x_660 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__121; -lean_inc(x_472); -x_661 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_661, 0, x_472); -lean_ctor_set(x_661, 1, x_659); -lean_ctor_set(x_661, 2, x_658); -lean_ctor_set(x_661, 3, x_660); -lean_inc(x_519); -x_662 = lean_array_push(x_519, x_661); -x_663 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_663, 0, x_480); -lean_ctor_set(x_663, 1, x_484); -lean_ctor_set(x_663, 2, x_662); -x_664 = lean_array_push(x_525, x_656); -x_665 = lean_array_push(x_664, x_663); -x_666 = lean_array_push(x_665, x_488); -lean_inc(x_523); -x_667 = lean_array_push(x_666, x_523); -x_668 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_668, 0, x_480); -lean_ctor_set(x_668, 1, x_530); -lean_ctor_set(x_668, 2, x_667); -x_669 = lean_array_push(x_478, x_668); -x_670 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_670, 0, x_480); -lean_ctor_set(x_670, 1, x_484); -lean_ctor_set(x_670, 2, x_669); -x_671 = lean_array_push(x_499, x_670); -x_672 = lean_array_push(x_671, x_549); -x_673 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_673, 0, x_480); -lean_ctor_set(x_673, 1, x_552); -lean_ctor_set(x_673, 2, x_672); -x_674 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__122; -lean_inc(x_472); -x_675 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_675, 0, x_472); -lean_ctor_set(x_675, 1, x_674); -x_676 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__130; -lean_inc(x_472); -x_677 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_677, 0, x_472); -lean_ctor_set(x_677, 1, x_676); -x_678 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__137; -lean_inc(x_474); -lean_inc(x_475); -x_679 = l_Lean_addMacroScope(x_475, x_678, x_474); -x_680 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__135; -lean_inc(x_472); -x_681 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_681, 0, x_472); -lean_ctor_set(x_681, 1, x_680); -lean_ctor_set(x_681, 2, x_679); -lean_ctor_set(x_681, 3, x_496); -x_682 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__138; -x_683 = lean_array_push(x_682, x_681); -x_684 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__132; -x_685 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_685, 0, x_480); -lean_ctor_set(x_685, 1, x_684); -lean_ctor_set(x_685, 2, x_683); -x_686 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__139; -lean_inc(x_472); -x_687 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_687, 0, x_472); -lean_ctor_set(x_687, 1, x_686); -x_688 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__142; -lean_inc(x_472); -x_689 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_689, 0, x_472); -lean_ctor_set(x_689, 1, x_688); -x_690 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__145; -lean_inc(x_472); -x_691 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_691, 0, x_472); -lean_ctor_set(x_691, 1, x_690); -x_692 = lean_array_push(x_519, x_11); -x_693 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_693, 0, x_480); -lean_ctor_set(x_693, 1, x_484); -lean_ctor_set(x_693, 2, x_692); -x_694 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__149; -lean_inc(x_472); -x_695 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_695, 0, x_472); -lean_ctor_set(x_695, 1, x_694); -x_696 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__16; -lean_inc(x_691); -x_697 = lean_array_push(x_696, x_691); -x_698 = lean_array_push(x_697, x_488); -x_699 = lean_array_push(x_698, x_488); -x_700 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__148; -x_701 = lean_array_push(x_699, x_700); -lean_inc(x_701); -x_702 = lean_array_push(x_701, x_693); -lean_inc(x_695); -x_703 = lean_array_push(x_702, x_695); -x_704 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__144; -x_705 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_705, 0, x_480); -lean_ctor_set(x_705, 1, x_704); -lean_ctor_set(x_705, 2, x_703); -x_706 = lean_array_push(x_478, x_705); -x_707 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_707, 0, x_480); -lean_ctor_set(x_707, 1, x_484); -lean_ctor_set(x_707, 2, x_706); -x_708 = lean_array_push(x_499, x_689); -x_709 = lean_array_push(x_708, x_707); -x_710 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__141; -x_711 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_711, 0, x_480); -lean_ctor_set(x_711, 1, x_710); -lean_ctor_set(x_711, 2, x_709); -x_712 = lean_array_push(x_499, x_711); -x_713 = lean_array_push(x_712, x_488); -x_714 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__127; -x_715 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_715, 0, x_480); -lean_ctor_set(x_715, 1, x_714); -lean_ctor_set(x_715, 2, x_713); -x_716 = lean_array_push(x_478, x_715); -x_717 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_717, 0, x_480); -lean_ctor_set(x_717, 1, x_484); -lean_ctor_set(x_717, 2, x_716); -x_718 = lean_array_push(x_478, x_717); -x_719 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__125; +lean_ctor_set(x_656, 0, x_489); +lean_ctor_set(x_656, 1, x_655); +lean_ctor_set(x_656, 2, x_654); +x_657 = lean_array_push(x_508, x_637); +x_658 = lean_array_push(x_657, x_656); +x_659 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_659, 0, x_489); +lean_ctor_set(x_659, 1, x_602); +lean_ctor_set(x_659, 2, x_658); +x_660 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__114; +lean_inc(x_483); +lean_inc(x_484); +x_661 = l_Lean_addMacroScope(x_484, x_660, x_483); +x_662 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__113; +lean_inc(x_481); +x_663 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_663, 0, x_481); +lean_ctor_set(x_663, 1, x_662); +lean_ctor_set(x_663, 2, x_661); +lean_ctor_set(x_663, 3, x_505); +lean_inc(x_663); +x_664 = lean_array_push(x_487, x_663); +x_665 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_665, 0, x_489); +lean_ctor_set(x_665, 1, x_493); +lean_ctor_set(x_665, 2, x_664); +x_666 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__118; +lean_inc(x_483); +lean_inc(x_484); +x_667 = l_Lean_addMacroScope(x_484, x_666, x_483); +x_668 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__117; +x_669 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__121; +lean_inc(x_481); +x_670 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_670, 0, x_481); +lean_ctor_set(x_670, 1, x_668); +lean_ctor_set(x_670, 2, x_667); +lean_ctor_set(x_670, 3, x_669); +lean_inc(x_528); +x_671 = lean_array_push(x_528, x_670); +x_672 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_672, 0, x_489); +lean_ctor_set(x_672, 1, x_493); +lean_ctor_set(x_672, 2, x_671); +x_673 = lean_array_push(x_534, x_665); +x_674 = lean_array_push(x_673, x_672); +x_675 = lean_array_push(x_674, x_497); +lean_inc(x_532); +x_676 = lean_array_push(x_675, x_532); +x_677 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_677, 0, x_489); +lean_ctor_set(x_677, 1, x_539); +lean_ctor_set(x_677, 2, x_676); +x_678 = lean_array_push(x_487, x_677); +x_679 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_679, 0, x_489); +lean_ctor_set(x_679, 1, x_493); +lean_ctor_set(x_679, 2, x_678); +x_680 = lean_array_push(x_508, x_679); +x_681 = lean_array_push(x_680, x_558); +x_682 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_682, 0, x_489); +lean_ctor_set(x_682, 1, x_561); +lean_ctor_set(x_682, 2, x_681); +x_683 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__122; +lean_inc(x_481); +x_684 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_684, 0, x_481); +lean_ctor_set(x_684, 1, x_683); +x_685 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__130; +lean_inc(x_481); +x_686 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_686, 0, x_481); +lean_ctor_set(x_686, 1, x_685); +x_687 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__137; +lean_inc(x_483); +lean_inc(x_484); +x_688 = l_Lean_addMacroScope(x_484, x_687, x_483); +x_689 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__135; +lean_inc(x_481); +x_690 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_690, 0, x_481); +lean_ctor_set(x_690, 1, x_689); +lean_ctor_set(x_690, 2, x_688); +lean_ctor_set(x_690, 3, x_505); +x_691 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__138; +x_692 = lean_array_push(x_691, x_690); +x_693 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__132; +x_694 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_694, 0, x_489); +lean_ctor_set(x_694, 1, x_693); +lean_ctor_set(x_694, 2, x_692); +x_695 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__139; +lean_inc(x_481); +x_696 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_696, 0, x_481); +lean_ctor_set(x_696, 1, x_695); +x_697 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__142; +lean_inc(x_481); +x_698 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_698, 0, x_481); +lean_ctor_set(x_698, 1, x_697); +x_699 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__145; +lean_inc(x_481); +x_700 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_700, 0, x_481); +lean_ctor_set(x_700, 1, x_699); +x_701 = lean_array_push(x_528, x_11); +x_702 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_702, 0, x_489); +lean_ctor_set(x_702, 1, x_493); +lean_ctor_set(x_702, 2, x_701); +x_703 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__149; +lean_inc(x_481); +x_704 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_704, 0, x_481); +lean_ctor_set(x_704, 1, x_703); +x_705 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__16; +lean_inc(x_700); +x_706 = lean_array_push(x_705, x_700); +x_707 = lean_array_push(x_706, x_497); +x_708 = lean_array_push(x_707, x_497); +x_709 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__148; +x_710 = lean_array_push(x_708, x_709); +lean_inc(x_710); +x_711 = lean_array_push(x_710, x_702); +lean_inc(x_704); +x_712 = lean_array_push(x_711, x_704); +x_713 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__144; +x_714 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_714, 0, x_489); +lean_ctor_set(x_714, 1, x_713); +lean_ctor_set(x_714, 2, x_712); +x_715 = lean_array_push(x_487, x_714); +x_716 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_716, 0, x_489); +lean_ctor_set(x_716, 1, x_493); +lean_ctor_set(x_716, 2, x_715); +x_717 = lean_array_push(x_508, x_698); +x_718 = lean_array_push(x_717, x_716); +x_719 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__141; x_720 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_720, 0, x_480); +lean_ctor_set(x_720, 0, x_489); lean_ctor_set(x_720, 1, x_719); lean_ctor_set(x_720, 2, x_718); -x_721 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__150; -lean_inc(x_472); -x_722 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_722, 0, x_472); -lean_ctor_set(x_722, 1, x_721); -x_723 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__158; -lean_inc(x_474); -lean_inc(x_475); -x_724 = l_Lean_addMacroScope(x_475, x_723, x_474); -x_725 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__157; -x_726 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__161; -lean_inc(x_472); -x_727 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_727, 0, x_472); -lean_ctor_set(x_727, 1, x_725); -lean_ctor_set(x_727, 2, x_724); -lean_ctor_set(x_727, 3, x_726); -x_728 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__162; -lean_inc(x_472); -x_729 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_729, 0, x_472); +x_721 = lean_array_push(x_508, x_720); +x_722 = lean_array_push(x_721, x_497); +x_723 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__127; +x_724 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_724, 0, x_489); +lean_ctor_set(x_724, 1, x_723); +lean_ctor_set(x_724, 2, x_722); +x_725 = lean_array_push(x_487, x_724); +x_726 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_726, 0, x_489); +lean_ctor_set(x_726, 1, x_493); +lean_ctor_set(x_726, 2, x_725); +x_727 = lean_array_push(x_487, x_726); +x_728 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__125; +x_729 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_729, 0, x_489); lean_ctor_set(x_729, 1, x_728); -x_730 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__166; -lean_inc(x_474); -lean_inc(x_475); -x_731 = l_Lean_addMacroScope(x_475, x_730, x_474); -x_732 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__165; -x_733 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__171; -lean_inc(x_472); -x_734 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_734, 0, x_472); -lean_ctor_set(x_734, 1, x_732); -lean_ctor_set(x_734, 2, x_731); -lean_ctor_set(x_734, 3, x_733); -x_735 = lean_array_push(x_499, x_691); -lean_inc(x_695); -x_736 = lean_array_push(x_735, x_695); -x_737 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__175; -x_738 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_738, 0, x_480); +lean_ctor_set(x_729, 2, x_727); +x_730 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__150; +lean_inc(x_481); +x_731 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_731, 0, x_481); +lean_ctor_set(x_731, 1, x_730); +x_732 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__158; +lean_inc(x_483); +lean_inc(x_484); +x_733 = l_Lean_addMacroScope(x_484, x_732, x_483); +x_734 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__157; +x_735 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__161; +lean_inc(x_481); +x_736 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_736, 0, x_481); +lean_ctor_set(x_736, 1, x_734); +lean_ctor_set(x_736, 2, x_733); +lean_ctor_set(x_736, 3, x_735); +x_737 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__162; +lean_inc(x_481); +x_738 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_738, 0, x_481); lean_ctor_set(x_738, 1, x_737); -lean_ctor_set(x_738, 2, x_736); -x_739 = lean_array_push(x_701, x_488); -x_740 = lean_array_push(x_739, x_695); -x_741 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_741, 0, x_480); -lean_ctor_set(x_741, 1, x_704); -lean_ctor_set(x_741, 2, x_740); -x_742 = lean_array_push(x_499, x_738); -x_743 = lean_array_push(x_742, x_741); -x_744 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__173; -x_745 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_745, 0, x_480); -lean_ctor_set(x_745, 1, x_744); -lean_ctor_set(x_745, 2, x_743); -lean_inc(x_745); -x_746 = lean_array_push(x_499, x_745); -x_747 = lean_array_push(x_746, x_745); -x_748 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_748, 0, x_480); -lean_ctor_set(x_748, 1, x_484); -lean_ctor_set(x_748, 2, x_747); -x_749 = lean_array_push(x_499, x_734); -x_750 = lean_array_push(x_749, x_748); -x_751 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_751, 0, x_480); -lean_ctor_set(x_751, 1, x_543); -lean_ctor_set(x_751, 2, x_750); -x_752 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__180; -lean_inc(x_474); -lean_inc(x_475); -x_753 = l_Lean_addMacroScope(x_475, x_752, x_474); -x_754 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__178; -x_755 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__183; -lean_inc(x_472); -x_756 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_756, 0, x_472); -lean_ctor_set(x_756, 1, x_754); -lean_ctor_set(x_756, 2, x_753); -lean_ctor_set(x_756, 3, x_755); -x_757 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__186; -lean_inc(x_472); -x_758 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_758, 0, x_472); -lean_ctor_set(x_758, 1, x_757); -x_759 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__192; -lean_inc(x_474); -lean_inc(x_475); -x_760 = l_Lean_addMacroScope(x_475, x_759, x_474); -x_761 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__191; -lean_inc(x_472); -x_762 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_762, 0, x_472); -lean_ctor_set(x_762, 1, x_761); -lean_ctor_set(x_762, 2, x_760); -lean_ctor_set(x_762, 3, x_496); -x_763 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__193; -lean_inc(x_472); -x_764 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_764, 0, x_472); -lean_ctor_set(x_764, 1, x_763); -x_765 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__198; -lean_inc(x_474); -lean_inc(x_475); -x_766 = l_Lean_addMacroScope(x_475, x_765, x_474); -x_767 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__196; -x_768 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__201; -lean_inc(x_472); -x_769 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_769, 0, x_472); -lean_ctor_set(x_769, 1, x_767); -lean_ctor_set(x_769, 2, x_766); -lean_ctor_set(x_769, 3, x_768); -x_770 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__204; -lean_inc(x_472); -x_771 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_771, 0, x_472); -lean_ctor_set(x_771, 1, x_770); -x_772 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__207; -lean_inc(x_472); -x_773 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_773, 0, x_472); -lean_ctor_set(x_773, 1, x_772); -x_774 = lean_array_push(x_478, x_773); -x_775 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__206; -x_776 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_776, 0, x_480); +x_739 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__166; +lean_inc(x_483); +lean_inc(x_484); +x_740 = l_Lean_addMacroScope(x_484, x_739, x_483); +x_741 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__165; +x_742 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__171; +lean_inc(x_481); +x_743 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_743, 0, x_481); +lean_ctor_set(x_743, 1, x_741); +lean_ctor_set(x_743, 2, x_740); +lean_ctor_set(x_743, 3, x_742); +x_744 = lean_array_push(x_508, x_700); +lean_inc(x_704); +x_745 = lean_array_push(x_744, x_704); +x_746 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__175; +x_747 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_747, 0, x_489); +lean_ctor_set(x_747, 1, x_746); +lean_ctor_set(x_747, 2, x_745); +x_748 = lean_array_push(x_710, x_497); +x_749 = lean_array_push(x_748, x_704); +x_750 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_750, 0, x_489); +lean_ctor_set(x_750, 1, x_713); +lean_ctor_set(x_750, 2, x_749); +x_751 = lean_array_push(x_508, x_747); +x_752 = lean_array_push(x_751, x_750); +x_753 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__173; +x_754 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_754, 0, x_489); +lean_ctor_set(x_754, 1, x_753); +lean_ctor_set(x_754, 2, x_752); +lean_inc(x_754); +x_755 = lean_array_push(x_508, x_754); +x_756 = lean_array_push(x_755, x_754); +x_757 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_757, 0, x_489); +lean_ctor_set(x_757, 1, x_493); +lean_ctor_set(x_757, 2, x_756); +x_758 = lean_array_push(x_508, x_743); +x_759 = lean_array_push(x_758, x_757); +x_760 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_760, 0, x_489); +lean_ctor_set(x_760, 1, x_552); +lean_ctor_set(x_760, 2, x_759); +x_761 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__179; +lean_inc(x_483); +lean_inc(x_484); +x_762 = l_Lean_addMacroScope(x_484, x_761, x_483); +x_763 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__178; +x_764 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__182; +lean_inc(x_481); +x_765 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_765, 0, x_481); +lean_ctor_set(x_765, 1, x_763); +lean_ctor_set(x_765, 2, x_762); +lean_ctor_set(x_765, 3, x_764); +x_766 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__187; +lean_inc(x_483); +lean_inc(x_484); +x_767 = l_Lean_addMacroScope(x_484, x_766, x_483); +x_768 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__185; +x_769 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__190; +lean_inc(x_481); +x_770 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_770, 0, x_481); +lean_ctor_set(x_770, 1, x_768); +lean_ctor_set(x_770, 2, x_767); +lean_ctor_set(x_770, 3, x_769); +x_771 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__193; +lean_inc(x_481); +x_772 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_772, 0, x_481); +lean_ctor_set(x_772, 1, x_771); +x_773 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__199; +lean_inc(x_483); +lean_inc(x_484); +x_774 = l_Lean_addMacroScope(x_484, x_773, x_483); +x_775 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__198; +lean_inc(x_481); +x_776 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_776, 0, x_481); lean_ctor_set(x_776, 1, x_775); lean_ctor_set(x_776, 2, x_774); -x_777 = lean_array_push(x_641, x_654); -lean_inc(x_771); -x_778 = lean_array_push(x_777, x_771); -x_779 = lean_array_push(x_778, x_776); -lean_inc(x_614); -x_780 = lean_array_push(x_779, x_614); +lean_ctor_set(x_776, 3, x_505); +x_777 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__200; +lean_inc(x_481); +x_778 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_778, 0, x_481); +lean_ctor_set(x_778, 1, x_777); +x_779 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__205; +lean_inc(x_483); +lean_inc(x_484); +x_780 = l_Lean_addMacroScope(x_484, x_779, x_483); x_781 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__203; -x_782 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_782, 0, x_480); -lean_ctor_set(x_782, 1, x_781); -lean_ctor_set(x_782, 2, x_780); -x_783 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__208; -lean_inc(x_472); -x_784 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_784, 0, x_472); -lean_ctor_set(x_784, 1, x_783); -x_785 = lean_array_push(x_478, x_784); -x_786 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_786, 0, x_480); -lean_ctor_set(x_786, 1, x_775); -lean_ctor_set(x_786, 2, x_785); -x_787 = lean_array_push(x_641, x_782); -x_788 = lean_array_push(x_787, x_771); -x_789 = lean_array_push(x_788, x_786); -x_790 = lean_array_push(x_789, x_614); -x_791 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_791, 0, x_480); -lean_ctor_set(x_791, 1, x_781); -lean_ctor_set(x_791, 2, x_790); -x_792 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__215; -lean_inc(x_474); -lean_inc(x_475); -x_793 = l_Lean_addMacroScope(x_475, x_792, x_474); -x_794 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__213; -x_795 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__217; -lean_inc(x_472); -x_796 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_796, 0, x_472); -lean_ctor_set(x_796, 1, x_794); -lean_ctor_set(x_796, 2, x_793); -lean_ctor_set(x_796, 3, x_795); -x_797 = lean_array_push(x_478, x_568); -x_798 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_798, 0, x_480); -lean_ctor_set(x_798, 1, x_484); -lean_ctor_set(x_798, 2, x_797); -x_799 = lean_array_push(x_499, x_796); -x_800 = lean_array_push(x_799, x_798); -x_801 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_801, 0, x_480); -lean_ctor_set(x_801, 1, x_543); -lean_ctor_set(x_801, 2, x_800); -x_802 = lean_array_push(x_499, x_801); -x_803 = lean_array_push(x_802, x_488); -x_804 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_804, 0, x_480); -lean_ctor_set(x_804, 1, x_484); -lean_ctor_set(x_804, 2, x_803); -x_805 = lean_array_push(x_563, x_505); -lean_inc(x_805); -x_806 = lean_array_push(x_805, x_804); -lean_inc(x_523); -x_807 = lean_array_push(x_806, x_523); -x_808 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__210; -x_809 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_809, 0, x_480); -lean_ctor_set(x_809, 1, x_808); -lean_ctor_set(x_809, 2, x_807); -x_810 = lean_array_push(x_499, x_791); -x_811 = lean_array_push(x_810, x_809); +x_782 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__208; +lean_inc(x_481); +x_783 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_783, 0, x_481); +lean_ctor_set(x_783, 1, x_781); +lean_ctor_set(x_783, 2, x_780); +lean_ctor_set(x_783, 3, x_782); +x_784 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__211; +lean_inc(x_481); +x_785 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_785, 0, x_481); +lean_ctor_set(x_785, 1, x_784); +x_786 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__214; +lean_inc(x_481); +x_787 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_787, 0, x_481); +lean_ctor_set(x_787, 1, x_786); +x_788 = lean_array_push(x_487, x_787); +x_789 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__213; +x_790 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_790, 0, x_489); +lean_ctor_set(x_790, 1, x_789); +lean_ctor_set(x_790, 2, x_788); +x_791 = lean_array_push(x_650, x_663); +lean_inc(x_785); +x_792 = lean_array_push(x_791, x_785); +x_793 = lean_array_push(x_792, x_790); +lean_inc(x_623); +x_794 = lean_array_push(x_793, x_623); +x_795 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__210; +x_796 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_796, 0, x_489); +lean_ctor_set(x_796, 1, x_795); +lean_ctor_set(x_796, 2, x_794); +x_797 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__215; +lean_inc(x_481); +x_798 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_798, 0, x_481); +lean_ctor_set(x_798, 1, x_797); +x_799 = lean_array_push(x_487, x_798); +x_800 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_800, 0, x_489); +lean_ctor_set(x_800, 1, x_789); +lean_ctor_set(x_800, 2, x_799); +x_801 = lean_array_push(x_650, x_796); +x_802 = lean_array_push(x_801, x_785); +x_803 = lean_array_push(x_802, x_800); +x_804 = lean_array_push(x_803, x_623); +x_805 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_805, 0, x_489); +lean_ctor_set(x_805, 1, x_795); +lean_ctor_set(x_805, 2, x_804); +x_806 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__222; +lean_inc(x_483); +lean_inc(x_484); +x_807 = l_Lean_addMacroScope(x_484, x_806, x_483); +x_808 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__220; +x_809 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__224; +lean_inc(x_481); +x_810 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_810, 0, x_481); +lean_ctor_set(x_810, 1, x_808); +lean_ctor_set(x_810, 2, x_807); +lean_ctor_set(x_810, 3, x_809); +x_811 = lean_array_push(x_487, x_577); x_812 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_812, 0, x_480); -lean_ctor_set(x_812, 1, x_484); +lean_ctor_set(x_812, 0, x_489); +lean_ctor_set(x_812, 1, x_493); lean_ctor_set(x_812, 2, x_811); -x_813 = lean_array_push(x_499, x_769); +x_813 = lean_array_push(x_508, x_810); x_814 = lean_array_push(x_813, x_812); x_815 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_815, 0, x_480); -lean_ctor_set(x_815, 1, x_543); +lean_ctor_set(x_815, 0, x_489); +lean_ctor_set(x_815, 1, x_552); lean_ctor_set(x_815, 2, x_814); -x_816 = lean_array_push(x_478, x_815); -x_817 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__152; +x_816 = lean_array_push(x_508, x_815); +x_817 = lean_array_push(x_816, x_497); x_818 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_818, 0, x_480); -lean_ctor_set(x_818, 1, x_817); -lean_ctor_set(x_818, 2, x_816); -lean_inc(x_762); -x_819 = lean_array_push(x_641, x_762); -x_820 = lean_array_push(x_819, x_488); -lean_inc(x_764); -x_821 = lean_array_push(x_820, x_764); -x_822 = lean_array_push(x_821, x_818); -x_823 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__188; -x_824 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_824, 0, x_480); -lean_ctor_set(x_824, 1, x_823); -lean_ctor_set(x_824, 2, x_822); -x_825 = lean_array_push(x_563, x_758); -x_826 = lean_array_push(x_825, x_488); -x_827 = lean_array_push(x_826, x_824); -x_828 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__185; +lean_ctor_set(x_818, 0, x_489); +lean_ctor_set(x_818, 1, x_493); +lean_ctor_set(x_818, 2, x_817); +x_819 = lean_array_push(x_572, x_514); +lean_inc(x_819); +x_820 = lean_array_push(x_819, x_818); +lean_inc(x_532); +x_821 = lean_array_push(x_820, x_532); +x_822 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__217; +x_823 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_823, 0, x_489); +lean_ctor_set(x_823, 1, x_822); +lean_ctor_set(x_823, 2, x_821); +x_824 = lean_array_push(x_508, x_805); +x_825 = lean_array_push(x_824, x_823); +x_826 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_826, 0, x_489); +lean_ctor_set(x_826, 1, x_493); +lean_ctor_set(x_826, 2, x_825); +x_827 = lean_array_push(x_508, x_783); +x_828 = lean_array_push(x_827, x_826); x_829 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_829, 0, x_480); -lean_ctor_set(x_829, 1, x_828); -lean_ctor_set(x_829, 2, x_827); -x_830 = lean_array_push(x_499, x_829); -x_831 = lean_array_push(x_830, x_488); +lean_ctor_set(x_829, 0, x_489); +lean_ctor_set(x_829, 1, x_552); +lean_ctor_set(x_829, 2, x_828); +x_830 = lean_array_push(x_487, x_829); +x_831 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__152; x_832 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_832, 0, x_480); -lean_ctor_set(x_832, 1, x_714); -lean_ctor_set(x_832, 2, x_831); -x_833 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__223; -x_834 = l_Lean_addMacroScope(x_475, x_833, x_474); -x_835 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__222; -x_836 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__226; -x_837 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_837, 0, x_472); -lean_ctor_set(x_837, 1, x_835); -lean_ctor_set(x_837, 2, x_834); -lean_ctor_set(x_837, 3, x_836); -x_838 = lean_array_push(x_478, x_762); -x_839 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_839, 0, x_480); -lean_ctor_set(x_839, 1, x_484); -lean_ctor_set(x_839, 2, x_838); -x_840 = lean_array_push(x_499, x_837); -x_841 = lean_array_push(x_840, x_839); -x_842 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_842, 0, x_480); -lean_ctor_set(x_842, 1, x_543); -lean_ctor_set(x_842, 2, x_841); -x_843 = lean_array_push(x_499, x_764); -x_844 = lean_array_push(x_843, x_842); -x_845 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__219; +lean_ctor_set(x_832, 0, x_489); +lean_ctor_set(x_832, 1, x_831); +lean_ctor_set(x_832, 2, x_830); +lean_inc(x_776); +x_833 = lean_array_push(x_650, x_776); +x_834 = lean_array_push(x_833, x_497); +lean_inc(x_778); +x_835 = lean_array_push(x_834, x_778); +x_836 = lean_array_push(x_835, x_832); +x_837 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__195; +x_838 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_838, 0, x_489); +lean_ctor_set(x_838, 1, x_837); +lean_ctor_set(x_838, 2, x_836); +x_839 = lean_array_push(x_572, x_772); +x_840 = lean_array_push(x_839, x_497); +x_841 = lean_array_push(x_840, x_838); +x_842 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__192; +x_843 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_843, 0, x_489); +lean_ctor_set(x_843, 1, x_842); +lean_ctor_set(x_843, 2, x_841); +x_844 = lean_array_push(x_508, x_843); +x_845 = lean_array_push(x_844, x_497); x_846 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_846, 0, x_480); -lean_ctor_set(x_846, 1, x_845); -lean_ctor_set(x_846, 2, x_844); -x_847 = lean_array_push(x_499, x_846); -x_848 = lean_array_push(x_847, x_488); -x_849 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_849, 0, x_480); -lean_ctor_set(x_849, 1, x_484); -lean_ctor_set(x_849, 2, x_848); -x_850 = lean_array_push(x_805, x_849); -x_851 = lean_array_push(x_850, x_523); -x_852 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_852, 0, x_480); -lean_ctor_set(x_852, 1, x_808); -lean_ctor_set(x_852, 2, x_851); -x_853 = lean_array_push(x_478, x_852); -x_854 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_854, 0, x_480); -lean_ctor_set(x_854, 1, x_484); -lean_ctor_set(x_854, 2, x_853); -x_855 = lean_array_push(x_635, x_854); +lean_ctor_set(x_846, 0, x_489); +lean_ctor_set(x_846, 1, x_723); +lean_ctor_set(x_846, 2, x_845); +x_847 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__230; +x_848 = l_Lean_addMacroScope(x_484, x_847, x_483); +x_849 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__229; +x_850 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__233; +x_851 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_851, 0, x_481); +lean_ctor_set(x_851, 1, x_849); +lean_ctor_set(x_851, 2, x_848); +lean_ctor_set(x_851, 3, x_850); +x_852 = lean_array_push(x_487, x_776); +x_853 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_853, 0, x_489); +lean_ctor_set(x_853, 1, x_493); +lean_ctor_set(x_853, 2, x_852); +x_854 = lean_array_push(x_508, x_851); +x_855 = lean_array_push(x_854, x_853); x_856 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_856, 0, x_480); -lean_ctor_set(x_856, 1, x_543); +lean_ctor_set(x_856, 0, x_489); +lean_ctor_set(x_856, 1, x_552); lean_ctor_set(x_856, 2, x_855); -x_857 = lean_array_push(x_478, x_856); -x_858 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_858, 0, x_480); -lean_ctor_set(x_858, 1, x_817); -lean_ctor_set(x_858, 2, x_857); -x_859 = lean_array_push(x_499, x_858); -x_860 = lean_array_push(x_859, x_488); -x_861 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_861, 0, x_480); -lean_ctor_set(x_861, 1, x_714); -lean_ctor_set(x_861, 2, x_860); -x_862 = lean_array_push(x_499, x_832); -x_863 = lean_array_push(x_862, x_861); -x_864 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_864, 0, x_480); -lean_ctor_set(x_864, 1, x_484); -lean_ctor_set(x_864, 2, x_863); -x_865 = lean_array_push(x_478, x_864); +x_857 = lean_array_push(x_508, x_778); +x_858 = lean_array_push(x_857, x_856); +x_859 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__226; +x_860 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_860, 0, x_489); +lean_ctor_set(x_860, 1, x_859); +lean_ctor_set(x_860, 2, x_858); +x_861 = lean_array_push(x_508, x_860); +x_862 = lean_array_push(x_861, x_497); +x_863 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_863, 0, x_489); +lean_ctor_set(x_863, 1, x_493); +lean_ctor_set(x_863, 2, x_862); +x_864 = lean_array_push(x_819, x_863); +x_865 = lean_array_push(x_864, x_532); x_866 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_866, 0, x_480); -lean_ctor_set(x_866, 1, x_719); +lean_ctor_set(x_866, 0, x_489); +lean_ctor_set(x_866, 1, x_822); lean_ctor_set(x_866, 2, x_865); -x_867 = lean_array_push(x_499, x_675); -lean_inc(x_867); -x_868 = lean_array_push(x_867, x_866); -x_869 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__123; +x_867 = lean_array_push(x_487, x_866); +x_868 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_868, 0, x_489); +lean_ctor_set(x_868, 1, x_493); +lean_ctor_set(x_868, 2, x_867); +x_869 = lean_array_push(x_644, x_868); x_870 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_870, 0, x_480); -lean_ctor_set(x_870, 1, x_869); -lean_ctor_set(x_870, 2, x_868); -x_871 = lean_array_push(x_478, x_870); +lean_ctor_set(x_870, 0, x_489); +lean_ctor_set(x_870, 1, x_552); +lean_ctor_set(x_870, 2, x_869); +x_871 = lean_array_push(x_487, x_870); x_872 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_872, 0, x_480); -lean_ctor_set(x_872, 1, x_484); +lean_ctor_set(x_872, 0, x_489); +lean_ctor_set(x_872, 1, x_831); lean_ctor_set(x_872, 2, x_871); -x_873 = lean_array_push(x_499, x_756); -x_874 = lean_array_push(x_873, x_872); +x_873 = lean_array_push(x_508, x_872); +x_874 = lean_array_push(x_873, x_497); x_875 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_875, 0, x_480); -lean_ctor_set(x_875, 1, x_543); +lean_ctor_set(x_875, 0, x_489); +lean_ctor_set(x_875, 1, x_723); lean_ctor_set(x_875, 2, x_874); -x_876 = lean_array_push(x_563, x_751); -lean_inc(x_729); -x_877 = lean_array_push(x_876, x_729); -x_878 = lean_array_push(x_877, x_875); -x_879 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__154; +x_876 = lean_array_push(x_508, x_846); +x_877 = lean_array_push(x_876, x_875); +x_878 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_878, 0, x_489); +lean_ctor_set(x_878, 1, x_493); +lean_ctor_set(x_878, 2, x_877); +x_879 = lean_array_push(x_487, x_878); x_880 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_880, 0, x_480); -lean_ctor_set(x_880, 1, x_879); -lean_ctor_set(x_880, 2, x_878); -x_881 = lean_array_push(x_563, x_727); -x_882 = lean_array_push(x_881, x_729); -x_883 = lean_array_push(x_882, x_880); +lean_ctor_set(x_880, 0, x_489); +lean_ctor_set(x_880, 1, x_728); +lean_ctor_set(x_880, 2, x_879); +x_881 = lean_array_push(x_508, x_684); +lean_inc(x_881); +x_882 = lean_array_push(x_881, x_880); +x_883 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__123; x_884 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_884, 0, x_480); -lean_ctor_set(x_884, 1, x_879); -lean_ctor_set(x_884, 2, x_883); -x_885 = lean_array_push(x_478, x_884); +lean_ctor_set(x_884, 0, x_489); +lean_ctor_set(x_884, 1, x_883); +lean_ctor_set(x_884, 2, x_882); +x_885 = lean_array_push(x_487, x_884); x_886 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_886, 0, x_480); -lean_ctor_set(x_886, 1, x_817); +lean_ctor_set(x_886, 0, x_489); +lean_ctor_set(x_886, 1, x_493); lean_ctor_set(x_886, 2, x_885); -x_887 = lean_array_push(x_499, x_886); -x_888 = lean_array_push(x_887, x_488); +x_887 = lean_array_push(x_508, x_770); +x_888 = lean_array_push(x_887, x_886); x_889 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_889, 0, x_480); -lean_ctor_set(x_889, 1, x_714); +lean_ctor_set(x_889, 0, x_489); +lean_ctor_set(x_889, 1, x_552); lean_ctor_set(x_889, 2, x_888); -x_890 = lean_array_push(x_478, x_889); -x_891 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_891, 0, x_480); -lean_ctor_set(x_891, 1, x_484); -lean_ctor_set(x_891, 2, x_890); -x_892 = lean_array_push(x_478, x_891); -x_893 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_893, 0, x_480); -lean_ctor_set(x_893, 1, x_719); -lean_ctor_set(x_893, 2, x_892); -x_894 = lean_array_push(x_499, x_722); -x_895 = lean_array_push(x_894, x_893); -x_896 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_896, 0, x_480); -lean_ctor_set(x_896, 1, x_484); -lean_ctor_set(x_896, 2, x_895); -x_897 = lean_array_push(x_696, x_677); -x_898 = lean_array_push(x_897, x_685); -x_899 = lean_array_push(x_898, x_687); -x_900 = lean_array_push(x_899, x_720); -x_901 = lean_array_push(x_900, x_488); -x_902 = lean_array_push(x_901, x_896); -x_903 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__129; +x_890 = lean_array_push(x_572, x_765); +lean_inc(x_738); +x_891 = lean_array_push(x_890, x_738); +x_892 = lean_array_push(x_891, x_889); +x_893 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__154; +x_894 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_894, 0, x_489); +lean_ctor_set(x_894, 1, x_893); +lean_ctor_set(x_894, 2, x_892); +x_895 = lean_array_push(x_572, x_760); +lean_inc(x_738); +x_896 = lean_array_push(x_895, x_738); +x_897 = lean_array_push(x_896, x_894); +x_898 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_898, 0, x_489); +lean_ctor_set(x_898, 1, x_893); +lean_ctor_set(x_898, 2, x_897); +x_899 = lean_array_push(x_572, x_736); +x_900 = lean_array_push(x_899, x_738); +x_901 = lean_array_push(x_900, x_898); +x_902 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_902, 0, x_489); +lean_ctor_set(x_902, 1, x_893); +lean_ctor_set(x_902, 2, x_901); +x_903 = lean_array_push(x_487, x_902); x_904 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_904, 0, x_480); -lean_ctor_set(x_904, 1, x_903); -lean_ctor_set(x_904, 2, x_902); -x_905 = lean_array_push(x_499, x_904); -x_906 = lean_array_push(x_905, x_488); +lean_ctor_set(x_904, 0, x_489); +lean_ctor_set(x_904, 1, x_831); +lean_ctor_set(x_904, 2, x_903); +x_905 = lean_array_push(x_508, x_904); +x_906 = lean_array_push(x_905, x_497); x_907 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_907, 0, x_480); -lean_ctor_set(x_907, 1, x_714); +lean_ctor_set(x_907, 0, x_489); +lean_ctor_set(x_907, 1, x_723); lean_ctor_set(x_907, 2, x_906); -x_908 = lean_array_push(x_478, x_907); +x_908 = lean_array_push(x_487, x_907); x_909 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_909, 0, x_480); -lean_ctor_set(x_909, 1, x_484); +lean_ctor_set(x_909, 0, x_489); +lean_ctor_set(x_909, 1, x_493); lean_ctor_set(x_909, 2, x_908); -x_910 = lean_array_push(x_478, x_909); +x_910 = lean_array_push(x_487, x_909); x_911 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_911, 0, x_480); -lean_ctor_set(x_911, 1, x_719); +lean_ctor_set(x_911, 0, x_489); +lean_ctor_set(x_911, 1, x_728); lean_ctor_set(x_911, 2, x_910); -x_912 = lean_array_push(x_867, x_911); -x_913 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_913, 0, x_480); -lean_ctor_set(x_913, 1, x_869); -lean_ctor_set(x_913, 2, x_912); -x_914 = lean_array_push(x_576, x_913); -x_915 = lean_array_push(x_914, x_488); -x_916 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_916, 0, x_480); -lean_ctor_set(x_916, 1, x_579); -lean_ctor_set(x_916, 2, x_915); -x_917 = lean_array_push(x_582, x_9); -x_918 = lean_array_push(x_917, x_673); -x_919 = lean_array_push(x_918, x_916); -x_920 = lean_array_push(x_919, x_488); -x_921 = lean_array_push(x_920, x_488); -x_922 = lean_array_push(x_921, x_488); -x_923 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_923, 0, x_480); -lean_ctor_set(x_923, 1, x_589); -lean_ctor_set(x_923, 2, x_922); -x_924 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__227; -x_925 = lean_array_push(x_924, x_923); -x_926 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_926, 0, x_480); -lean_ctor_set(x_926, 1, x_593); -lean_ctor_set(x_926, 2, x_925); -x_927 = lean_array_push(x_563, x_594); -x_928 = lean_array_push(x_927, x_650); -x_929 = lean_array_push(x_928, x_926); -x_930 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_930, 0, x_480); -lean_ctor_set(x_930, 1, x_484); -lean_ctor_set(x_930, 2, x_929); -x_931 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_931, 0, x_930); -lean_ctor_set(x_931, 1, x_473); -return x_931; +x_912 = lean_array_push(x_508, x_731); +x_913 = lean_array_push(x_912, x_911); +x_914 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_914, 0, x_489); +lean_ctor_set(x_914, 1, x_493); +lean_ctor_set(x_914, 2, x_913); +x_915 = lean_array_push(x_705, x_686); +x_916 = lean_array_push(x_915, x_694); +x_917 = lean_array_push(x_916, x_696); +x_918 = lean_array_push(x_917, x_729); +x_919 = lean_array_push(x_918, x_497); +x_920 = lean_array_push(x_919, x_914); +x_921 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__129; +x_922 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_922, 0, x_489); +lean_ctor_set(x_922, 1, x_921); +lean_ctor_set(x_922, 2, x_920); +x_923 = lean_array_push(x_508, x_922); +x_924 = lean_array_push(x_923, x_497); +x_925 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_925, 0, x_489); +lean_ctor_set(x_925, 1, x_723); +lean_ctor_set(x_925, 2, x_924); +x_926 = lean_array_push(x_487, x_925); +x_927 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_927, 0, x_489); +lean_ctor_set(x_927, 1, x_493); +lean_ctor_set(x_927, 2, x_926); +x_928 = lean_array_push(x_487, x_927); +x_929 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_929, 0, x_489); +lean_ctor_set(x_929, 1, x_728); +lean_ctor_set(x_929, 2, x_928); +x_930 = lean_array_push(x_881, x_929); +x_931 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_931, 0, x_489); +lean_ctor_set(x_931, 1, x_883); +lean_ctor_set(x_931, 2, x_930); +x_932 = lean_array_push(x_585, x_931); +x_933 = lean_array_push(x_932, x_497); +x_934 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_934, 0, x_489); +lean_ctor_set(x_934, 1, x_588); +lean_ctor_set(x_934, 2, x_933); +x_935 = lean_array_push(x_591, x_9); +x_936 = lean_array_push(x_935, x_682); +x_937 = lean_array_push(x_936, x_934); +x_938 = lean_array_push(x_937, x_497); +x_939 = lean_array_push(x_938, x_497); +x_940 = lean_array_push(x_939, x_497); +x_941 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_941, 0, x_489); +lean_ctor_set(x_941, 1, x_598); +lean_ctor_set(x_941, 2, x_940); +x_942 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__234; +x_943 = lean_array_push(x_942, x_941); +x_944 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_944, 0, x_489); +lean_ctor_set(x_944, 1, x_602); +lean_ctor_set(x_944, 2, x_943); +x_945 = lean_array_push(x_572, x_603); +x_946 = lean_array_push(x_945, x_659); +x_947 = lean_array_push(x_946, x_944); +x_948 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_948, 0, x_489); +lean_ctor_set(x_948, 1, x_493); +lean_ctor_set(x_948, 2, x_947); +x_949 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_949, 0, x_948); +lean_ctor_set(x_949, 1, x_482); +return x_949; } } } @@ -5132,6 +5254,20 @@ l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__226); l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__227 = _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__227(); lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__227); +l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__228 = _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__228(); +lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__228); +l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__229 = _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__229(); +lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__229); +l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__230 = _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__230(); +lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__230); +l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__231 = _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__231(); +lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__231); +l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__232 = _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__232(); +lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__232); +l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__233 = _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__233(); +lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__233); +l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__234 = _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__234(); +lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__commandDeclare__config__elab__________1___closed__234); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c index 549f7cc00f..292d245d5d 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c @@ -13,60 +13,74 @@ #ifdef __cplusplus extern "C" { #endif +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withRWRulesSeq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__4; static lean_object* l_Lean_Elab_Tactic_withRWRulesSeq___closed__1; static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_793____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withRWRulesSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_withRWRulesSeq___closed__2; +size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_withRWRulesSeq___spec__7___closed__2; lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__2___closed__7; extern lean_object* l_Lean_nullKind; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__2___closed__2; lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstCore___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_withRWRulesSeq___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq_declRange___closed__2; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterMap___at_Lean_resolveGlobalConst___spec__1(lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_withRWRulesSeq___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__5; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__2; static lean_object* l_Lean_Elab_Tactic_withRWRulesSeq_go___closed__3; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___boxed(lean_object**); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__10; +lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__5___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_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__3; +lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq_declRange___closed__7; static lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__2___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_withRWRulesSeq___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq_declRange(lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_rewriteTarget___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_withRWRulesSeq_go___closed__4; static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_withRWRulesSeq___spec__1___closed__2; lean_object* l_Lean_Meta_replaceLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__5; static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_793____closed__3; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_withRWRulesSeq___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_withRWRulesSeq_go___closed__1; static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_793____closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__2___closed__6; @@ -78,14 +92,17 @@ lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_rewriteTarget(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_replaceTargetEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_withRWRulesSeq___spec__2___closed__2; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___closed__2; lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandOptLocation(lean_object*); -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___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*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__4; static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_793____closed__4; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -96,18 +113,21 @@ lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Bas lean_object* l_Lean_Elab_Tactic_getMainTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__2___closed__1; static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_793____closed__6; -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_793_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_withRWRulesSeq___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_format_pretty(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__11; -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__6; lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__1; lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq_declRange___closed__3; @@ -120,9 +140,13 @@ lean_object* l_Lean_Meta_rewrite(lean_object*, lean_object*, lean_object*, uint8 LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_withRWRulesSeq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; static lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -138,25 +162,29 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq_ lean_object* l_Lean_Elab_Tactic_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Tactic_withRWRulesSeq___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__2; -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabRewriteConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getEqnsFor_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_withRWRulesSeq___spec__1___closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__4; static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_withRWRulesSeq___spec__2___closed__3; lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__2(lean_object*, uint8_t, 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*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__6; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__7; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__2___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq(lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); @@ -171,7 +199,6 @@ LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_wit uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__3___closed__1; static lean_object* l_Lean_Elab_Tactic_elabRewriteConfig___closed__2; -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__8; @@ -181,19 +208,23 @@ LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_wit static lean_object* l_Lean_Elab_Tactic_withRWRulesSeq_go___closed__2; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq_declRange___closed__1; -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__5; static lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__2___closed__2; static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_withRWRulesSeq___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_withRWRulesSeq___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRewriteSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withRWRulesSeq_go(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq_declRange___closed__4; +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__3; lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__7; +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_withRWRulesSeq___spec__7___closed__1; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_withRWRulesSeq___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2999,7 +3030,1287 @@ x_10 = l_Lean_Elab_Term_evalExpr___rarg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, return x_10; } } -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +lean_inc(x_1); +x_17 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__3(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_22 = lean_array_uset(x_16, x_3, x_18); +x_3 = x_21; +x_4 = x_22; +x_11 = x_19; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___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: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__4(x_1, x_13, x_14, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_ctor_set(x_2, 0, x_17); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_15); +lean_ctor_set(x_2, 0, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_2, 0); +lean_inc(x_21); +lean_dec(x_2); +x_22 = lean_array_get_size(x_21); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__4(x_1, x_23, x_24, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_26); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +} +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_2); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; uint8_t x_37; +x_32 = lean_ctor_get(x_2, 0); +x_33 = lean_array_get_size(x_32); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__5(x_1, x_34, x_35, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_ctor_set(x_2, 0, x_38); +lean_ctor_set(x_36, 0, x_2); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_36, 0); +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_36); +lean_ctor_set(x_2, 0, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_2); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t 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_42 = lean_ctor_get(x_2, 0); +lean_inc(x_42); +lean_dec(x_2); +x_43 = lean_array_get_size(x_42); +x_44 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_45 = 0; +x_46 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__5(x_1, x_44, x_45, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +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; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_47); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_13 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__3(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_array_get_size(x_12); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__6(x_1, x_17, x_18, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 1, x_21); +lean_ctor_set(x_2, 0, x_14); +lean_ctor_set(x_19, 0, x_2); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +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); +lean_ctor_set(x_2, 1, x_22); +lean_ctor_set(x_2, 0, x_14); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_25 = lean_ctor_get(x_2, 0); +x_26 = lean_ctor_get(x_2, 1); +x_27 = lean_ctor_get(x_2, 2); +x_28 = lean_ctor_get_usize(x_2, 4); +x_29 = lean_ctor_get(x_2, 3); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_2); +lean_inc(x_1); +x_30 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__3(x_1, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_array_get_size(x_26); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__6(x_1, x_34, x_35, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +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_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_27); +lean_ctor_set(x_40, 3, x_29); +lean_ctor_set_usize(x_40, 4, x_28); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__9(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +lean_inc(x_1); +x_17 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__8(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_22 = lean_array_uset(x_16, x_3, x_18); +x_3 = x_21; +x_4 = x_22; +x_11 = x_19; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__10(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__9(x_1, x_13, x_14, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_ctor_set(x_2, 0, x_17); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_15); +lean_ctor_set(x_2, 0, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_2, 0); +lean_inc(x_21); +lean_dec(x_2); +x_22 = lean_array_get_size(x_21); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__9(x_1, x_23, x_24, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_26); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +} +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_2); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; uint8_t x_37; +x_32 = lean_ctor_get(x_2, 0); +x_33 = lean_array_get_size(x_32); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__10(x_1, x_34, x_35, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_ctor_set(x_2, 0, x_38); +lean_ctor_set(x_36, 0, x_2); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_36, 0); +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_36); +lean_ctor_set(x_2, 0, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_2); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t 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_42 = lean_ctor_get(x_2, 0); +lean_inc(x_42); +lean_dec(x_2); +x_43 = lean_array_get_size(x_42); +x_44 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_45 = 0; +x_46 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__10(x_1, x_44, x_45, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +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; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_47); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_13 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__8(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_array_get_size(x_12); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__11(x_1, x_17, x_18, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 1, x_21); +lean_ctor_set(x_2, 0, x_14); +lean_ctor_set(x_19, 0, x_2); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +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); +lean_ctor_set(x_2, 1, x_22); +lean_ctor_set(x_2, 0, x_14); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_25 = lean_ctor_get(x_2, 0); +x_26 = lean_ctor_get(x_2, 1); +x_27 = lean_ctor_get(x_2, 2); +x_28 = lean_ctor_get_usize(x_2, 4); +x_29 = lean_ctor_get(x_2, 3); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_2); +lean_inc(x_1); +x_30 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__8(x_1, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_array_get_size(x_26); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__11(x_1, x_34, x_35, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +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_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_27); +lean_ctor_set(x_40, 3, x_29); +lean_ctor_set_usize(x_40, 4, x_28); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_st_ref_get(x_3, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 5); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*2); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_dec(x_11); +x_18 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_3, x_4, x_5, x_6, x_7, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_21 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_st_ref_get(x_7, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_3, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 5); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +x_31 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2(x_29, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_28); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_st_ref_get(x_7, x_33); +lean_dec(x_7); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_st_ref_take(x_3, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 5); +lean_inc(x_38); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = !lean_is_exclusive(x_37); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 5); +lean_dec(x_41); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_38, 1); +lean_dec(x_43); +x_44 = l_Std_PersistentArray_append___rarg(x_19, x_32); +lean_ctor_set(x_38, 1, x_44); +x_45 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +lean_ctor_set(x_45, 0, x_22); +return x_45; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_22); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +else +{ +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_50 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_51 = lean_ctor_get(x_38, 0); +lean_inc(x_51); +lean_dec(x_38); +x_52 = l_Std_PersistentArray_append___rarg(x_19, x_32); +x_53 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*2, x_50); +lean_ctor_set(x_37, 5, x_53); +x_54 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_56 = x_54; +} else { + lean_dec_ref(x_54); + x_56 = lean_box(0); +} +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_56; +} +lean_ctor_set(x_57, 0, x_22); +lean_ctor_set(x_57, 1, x_55); +return x_57; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_58 = lean_ctor_get(x_37, 0); +x_59 = lean_ctor_get(x_37, 1); +x_60 = lean_ctor_get(x_37, 2); +x_61 = lean_ctor_get(x_37, 3); +x_62 = lean_ctor_get(x_37, 4); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_37); +x_63 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_64 = lean_ctor_get(x_38, 0); +lean_inc(x_64); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_65 = x_38; +} else { + lean_dec_ref(x_38); + x_65 = lean_box(0); +} +x_66 = l_Std_PersistentArray_append___rarg(x_19, x_32); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 2, 1); +} else { + x_67 = x_65; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set_uint8(x_67, sizeof(void*)*2, x_63); +x_68 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_68, 0, x_58); +lean_ctor_set(x_68, 1, x_59); +lean_ctor_set(x_68, 2, x_60); +lean_ctor_set(x_68, 3, x_61); +lean_ctor_set(x_68, 4, x_62); +lean_ctor_set(x_68, 5, x_67); +x_69 = lean_st_ref_set(x_3, x_68, x_39); +lean_dec(x_3); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_71 = x_69; +} else { + lean_dec_ref(x_69); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_22); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_73 = lean_ctor_get(x_21, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_21, 1); +lean_inc(x_74); +lean_dec(x_21); +x_75 = lean_st_ref_get(x_7, x_74); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +x_77 = lean_st_ref_get(x_3, x_76); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = lean_ctor_get(x_78, 5); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +x_82 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__7(x_80, x_81, x_2, x_3, x_4, x_5, x_6, x_7, x_79); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_st_ref_get(x_7, x_84); +lean_dec(x_7); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = lean_st_ref_take(x_3, x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_88, 5); +lean_inc(x_89); +x_90 = lean_ctor_get(x_87, 1); +lean_inc(x_90); +lean_dec(x_87); +x_91 = !lean_is_exclusive(x_88); +if (x_91 == 0) +{ +lean_object* x_92; uint8_t x_93; +x_92 = lean_ctor_get(x_88, 5); +lean_dec(x_92); +x_93 = !lean_is_exclusive(x_89); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = lean_ctor_get(x_89, 1); +lean_dec(x_94); +x_95 = l_Std_PersistentArray_append___rarg(x_19, x_83); +lean_ctor_set(x_89, 1, x_95); +x_96 = lean_st_ref_set(x_3, x_88, x_90); +lean_dec(x_3); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) +{ +lean_object* x_98; +x_98 = lean_ctor_get(x_96, 0); +lean_dec(x_98); +lean_ctor_set_tag(x_96, 1); +lean_ctor_set(x_96, 0, x_73); +return x_96; +} +else +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_96, 1); +lean_inc(x_99); +lean_dec(x_96); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_73); +lean_ctor_set(x_100, 1, x_99); +return x_100; +} +} +else +{ +uint8_t 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; +x_101 = lean_ctor_get_uint8(x_89, sizeof(void*)*2); +x_102 = lean_ctor_get(x_89, 0); +lean_inc(x_102); +lean_dec(x_89); +x_103 = l_Std_PersistentArray_append___rarg(x_19, x_83); +x_104 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +lean_ctor_set_uint8(x_104, sizeof(void*)*2, x_101); +lean_ctor_set(x_88, 5, x_104); +x_105 = lean_st_ref_set(x_3, x_88, x_90); +lean_dec(x_3); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_107 = x_105; +} else { + lean_dec_ref(x_105); + x_107 = lean_box(0); +} +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(1, 2, 0); +} else { + x_108 = x_107; + lean_ctor_set_tag(x_108, 1); +} +lean_ctor_set(x_108, 0, x_73); +lean_ctor_set(x_108, 1, x_106); +return x_108; +} +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t 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; +x_109 = lean_ctor_get(x_88, 0); +x_110 = lean_ctor_get(x_88, 1); +x_111 = lean_ctor_get(x_88, 2); +x_112 = lean_ctor_get(x_88, 3); +x_113 = lean_ctor_get(x_88, 4); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_88); +x_114 = lean_ctor_get_uint8(x_89, sizeof(void*)*2); +x_115 = lean_ctor_get(x_89, 0); +lean_inc(x_115); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_116 = x_89; +} else { + lean_dec_ref(x_89); + x_116 = lean_box(0); +} +x_117 = l_Std_PersistentArray_append___rarg(x_19, x_83); +if (lean_is_scalar(x_116)) { + x_118 = lean_alloc_ctor(0, 2, 1); +} else { + x_118 = x_116; +} +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set_uint8(x_118, sizeof(void*)*2, x_114); +x_119 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_119, 0, x_109); +lean_ctor_set(x_119, 1, x_110); +lean_ctor_set(x_119, 2, x_111); +lean_ctor_set(x_119, 3, x_112); +lean_ctor_set(x_119, 4, x_113); +lean_ctor_set(x_119, 5, x_118); +x_120 = lean_st_ref_set(x_3, x_119, x_90); +lean_dec(x_3); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_122 = x_120; +} else { + lean_dec_ref(x_120); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; + lean_ctor_set_tag(x_123, 1); +} +lean_ctor_set(x_123, 0, x_73); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -3093,7 +4404,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; @@ -3153,7 +4464,7 @@ return x_22; } } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__1() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__1() { _start: { lean_object* x_1; @@ -3161,21 +4472,21 @@ x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__2() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__1; +x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__3() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__2; +x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__2; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3183,7 +4494,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__4() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -3192,23 +4503,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__5() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__4; +x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__6() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__6() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; -x_2 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__5; -x_3 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__4; +x_2 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__5; +x_3 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__4; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_2); @@ -3219,19 +4530,19 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__7() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__3; -x_2 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__6; +x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__3; +x_2 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__6; 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; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__8() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -3240,11 +4551,11 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; uint8_t x_12; uint8_t 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; -x_11 = lean_alloc_closure((void*)(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___lambda__1), 10, 3); +lean_object* x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_11 = lean_alloc_closure((void*)(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___lambda__1), 10, 3); lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_2); lean_closure_set(x_11, 2, x_3); @@ -3256,92 +4567,94 @@ x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_0__Lean_E lean_closure_set(x_16, 0, x_11); lean_closure_set(x_16, 1, x_14); lean_closure_set(x_16, 2, x_15); -x_17 = l_Lean_Elab_Term_saveState___rarg(x_5, x_6, x_7, x_8, x_9, x_10); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1), 8, 1); +lean_closure_set(x_17, 0, x_16); +x_18 = l_Lean_Elab_Term_saveState___rarg(x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__7; -x_21 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__8; +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__7; +x_22 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__8; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_22 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__3___rarg(x_20, x_21, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__3___rarg(x_21, x_22, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Elab_Term_SavedState_restore(x_18, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Elab_Term_SavedState_restore(x_19, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_25); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -lean_object* x_27; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -lean_ctor_set(x_25, 0, x_23); -return x_25; +lean_object* x_28; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +lean_ctor_set(x_26, 0, x_24); +return x_26; } else { -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_dec(x_25); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_23); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_24); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = lean_ctor_get(x_22, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_22, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_23, 0); lean_inc(x_31); -lean_dec(x_22); -x_32 = l_Lean_Elab_Term_SavedState_restore(x_18, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_31); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); +lean_dec(x_23); +x_33 = l_Lean_Elab_Term_SavedState_restore(x_19, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_32); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) { -lean_object* x_34; -x_34 = lean_ctor_get(x_32, 0); -lean_dec(x_34); -lean_ctor_set_tag(x_32, 1); -lean_ctor_set(x_32, 0, x_30); -return x_32; +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set_tag(x_33, 1); +lean_ctor_set(x_33, 0, x_31); +return x_33; } else { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_30); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_31); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } } @@ -3394,7 +4707,7 @@ x_13 = l_Lean_Syntax_getArg(x_11, x_12); lean_dec(x_11); x_14 = lean_box(0); x_15 = l_Lean_Elab_Tactic_elabRewriteConfig___closed__2; -x_16 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2(x_13, x_15, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_16 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13(x_13, x_15, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_16; } else @@ -3415,6 +4728,170 @@ return x_18; } } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___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) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___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* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__5(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___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_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__6(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__9(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__10(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__11(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { @@ -3927,22 +5404,22 @@ l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_793____close lean_mark_persistent(l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_793____closed__5); l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_793____closed__6 = _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_793____closed__6(); lean_mark_persistent(l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_793____closed__6); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__1 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__1(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__1); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__2 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__2(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__2); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__3 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__3(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__3); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__4 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__4(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__4); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__5 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__5(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__5); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__6 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__6(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__6); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__7 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__7(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__7); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__8 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__8(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__1___at_Lean_Elab_Tactic_elabRewriteConfig___spec__2___closed__8); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__1 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__1(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__1); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__2 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__2(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__2); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__3 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__3(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__3); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__4 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__4(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__4); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__5 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__5(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__5); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__6 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__6(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__6); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__7 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__7(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__7); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__8 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__8(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__8); l_Lean_Elab_Tactic_elabRewriteConfig___closed__1 = _init_l_Lean_Elab_Tactic_elabRewriteConfig___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_elabRewriteConfig___closed__1); l_Lean_Elab_Tactic_elabRewriteConfig___closed__2 = _init_l_Lean_Elab_Tactic_elabRewriteConfig___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Simp.c b/stage0/stdlib/Lean/Elab/Tactic/Simp.c index a1103cf90f..7662727eaa 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Simp.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Simp.c @@ -19,6 +19,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp_declRange___closed_ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___lambda__1(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_PersistentHashMap_empty___at_Lean_KeyedDeclsAttribute_ExtensionState_declNames___default___spec__1; size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); @@ -28,17 +29,21 @@ lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__8(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_elabCDotFunctionAlias_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__2___closed__3; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSimpConfig___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__18___closed__5; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_mkDischargeWrapper(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__5; lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCore___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__8; lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticToDischarge___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -49,10 +54,12 @@ lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstCore___spec__2(lean_obj extern lean_object* l_Std_Format_defWidth; static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__23; static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll___closed__3; lean_object* l_List_filterMap___at_Lean_resolveGlobalConst___spec__1(lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__18; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_mkDischargeWrapper___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__5; @@ -61,8 +68,11 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_mkSimpContext LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_simpLocation_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_mkSimpContext___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__14; +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_simpLocation___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__22; @@ -72,8 +82,11 @@ uint8_t l_Lean_Meta_SimpTheorems_isDeclToUnfold(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___lambda__3___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_mkSimpContext___spec__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__13___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__6; +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__7; static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__9___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -84,6 +97,7 @@ lean_object* lean_array_get_size(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__9___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange___closed__4; +lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_simpLocation_go(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*); @@ -99,15 +113,18 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_simpLocation___lambda__2___boxed(lea static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__18___closed__3; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__7; +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__6; -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSimpConfigCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Simp_DischargeWrapper_with(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__2(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__20; static lean_object* l_Lean_Elab_Tactic_mkSimpContext___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__1___rarg(lean_object*); @@ -115,22 +132,30 @@ extern lean_object* l_Lean_LocalContext_empty; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAll(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpTheorem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_contains___at_Lean_Meta_SimpTheorems_erase___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__1___rarg___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll___closed__1; +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem___closed__3; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_ElabSimpArgsResult_starArg___default; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_tacticToDischarge___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__17___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__4; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__2; static lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__4___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__2; static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__3; +static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__1; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__9(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_abstractMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__15; @@ -138,29 +163,40 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimp(lean_object*, lean_object*, lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSimpConfigCtxCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__8; -static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__1; +static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__2; +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandOptLocation(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpTheorem___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_SimpTheorems_isLemma(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAll___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__1; extern lean_object* l_Lean_Meta_simpExtension; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__1___rarg___closed__1; +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__4; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__10; uint8_t l_Lean_Expr_hasExprMVar(lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll___closed__4; lean_object* l_Lean_Meta_getNondepPropHyps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp_declRange___closed__7; +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__8; LEAN_EXPORT lean_object* l_Std_RBNode_insert___at_Lean_Elab_Tactic_mkSimpContext___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_ins___at_Lean_Elab_Tactic_mkSimpContext___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__18___closed__7; static lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__2___closed__5; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_mkSimpContext___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSimpConfig(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -171,10 +207,10 @@ static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___lambda__3___closed__2 LEAN_EXPORT lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem___closed__4; lean_object* l_Lean_Syntax_getId(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__8; lean_object* lean_format_pretty(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); @@ -182,7 +218,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(lean_o LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_simpLocation(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__10(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_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_simpLocation___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__7; lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -194,15 +229,17 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_ static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCtxCore___closed__3; static lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConst(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__1(lean_object*, uint8_t, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCore___closed__1; -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__2; +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpTheorems_eraseCore(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_mkSimpContext___spec__3___at_Lean_Elab_Tactic_mkSimpContext___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticToDischarge___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instInhabitedSimpTheorems; static lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem___closed__2; @@ -219,23 +256,24 @@ lean_object* l_Lean_LocalDecl_fvarId(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___at_Lean_Elab_Tactic_tacticToDischarge___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__3; -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticToDischarge___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__3___closed__1; static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__11; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_resolveGlobalConstCore___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_tacticToDischarge___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__2; -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__5; static lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__4___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpTheorem___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SimpTheorems_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__17___closed__1; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Simp_DischargeWrapper_with___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -247,18 +285,20 @@ lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, static lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__3___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__1; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_tacticToDischarge___spec__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Std_RBNode_isRed___rarg(lean_object*); lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Meta_simpAll(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__16; static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__9___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__8; static lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__4___closed__1; -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange___closed__7; static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__12; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs_resolveSimpIdTheorem_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -273,6 +313,7 @@ static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_ static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCore___closed__3; static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___lambda__3___closed__3; lean_object* l_Lean_Meta_simpGoal(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__17___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*); @@ -291,8 +332,10 @@ lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_objec LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs_resolveSimpIdTheorem_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticToDischarge(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange___closed__3; +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs_resolveSimpIdTheorem_x3f___closed__2; lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs_resolveSimpIdTheorem_x3f___closed__1; lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; @@ -303,7 +346,6 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__2; -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpTheoremsArray_addTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpTheorems_addConst(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__5; @@ -314,17 +356,18 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp_declRange___closed_ lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__17; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__6; -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__3___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCtxCore___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(lean_object*); uint8_t l_Lean_Meta_SimpTheoremsArray_isErased(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__7; +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticToDischarge___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__1; @@ -337,6 +380,7 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x21(lean_object*); lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Simp_defaultMaxSteps; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); @@ -344,12 +388,14 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll(lean_object static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__18___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_DiscrTree_empty(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpTheorem___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___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*); uint8_t l_Lean_Syntax_isIdent(lean_object*); static lean_object* _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__1() { _start: @@ -432,7 +478,1287 @@ x_10 = l_Lean_Elab_Term_evalExpr___rarg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, return x_10; } } -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +lean_inc(x_1); +x_17 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__3(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_22 = lean_array_uset(x_16, x_3, x_18); +x_3 = x_21; +x_4 = x_22; +x_11 = x_19; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___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: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__4(x_1, x_13, x_14, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_ctor_set(x_2, 0, x_17); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_15); +lean_ctor_set(x_2, 0, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_2, 0); +lean_inc(x_21); +lean_dec(x_2); +x_22 = lean_array_get_size(x_21); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__4(x_1, x_23, x_24, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_26); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +} +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_2); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; uint8_t x_37; +x_32 = lean_ctor_get(x_2, 0); +x_33 = lean_array_get_size(x_32); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__5(x_1, x_34, x_35, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_ctor_set(x_2, 0, x_38); +lean_ctor_set(x_36, 0, x_2); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_36, 0); +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_36); +lean_ctor_set(x_2, 0, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_2); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t 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_42 = lean_ctor_get(x_2, 0); +lean_inc(x_42); +lean_dec(x_2); +x_43 = lean_array_get_size(x_42); +x_44 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_45 = 0; +x_46 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__5(x_1, x_44, x_45, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +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; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_47); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_13 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__3(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_array_get_size(x_12); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__6(x_1, x_17, x_18, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 1, x_21); +lean_ctor_set(x_2, 0, x_14); +lean_ctor_set(x_19, 0, x_2); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +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); +lean_ctor_set(x_2, 1, x_22); +lean_ctor_set(x_2, 0, x_14); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_25 = lean_ctor_get(x_2, 0); +x_26 = lean_ctor_get(x_2, 1); +x_27 = lean_ctor_get(x_2, 2); +x_28 = lean_ctor_get_usize(x_2, 4); +x_29 = lean_ctor_get(x_2, 3); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_2); +lean_inc(x_1); +x_30 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__3(x_1, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_array_get_size(x_26); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__6(x_1, x_34, x_35, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +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_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_27); +lean_ctor_set(x_40, 3, x_29); +lean_ctor_set_usize(x_40, 4, x_28); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__9(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +lean_inc(x_1); +x_17 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__8(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_22 = lean_array_uset(x_16, x_3, x_18); +x_3 = x_21; +x_4 = x_22; +x_11 = x_19; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__10(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__9(x_1, x_13, x_14, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_ctor_set(x_2, 0, x_17); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_15); +lean_ctor_set(x_2, 0, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_2, 0); +lean_inc(x_21); +lean_dec(x_2); +x_22 = lean_array_get_size(x_21); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__9(x_1, x_23, x_24, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_26); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +} +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_2); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; uint8_t x_37; +x_32 = lean_ctor_get(x_2, 0); +x_33 = lean_array_get_size(x_32); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__10(x_1, x_34, x_35, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_ctor_set(x_2, 0, x_38); +lean_ctor_set(x_36, 0, x_2); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_36, 0); +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_36); +lean_ctor_set(x_2, 0, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_2); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t 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_42 = lean_ctor_get(x_2, 0); +lean_inc(x_42); +lean_dec(x_2); +x_43 = lean_array_get_size(x_42); +x_44 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_45 = 0; +x_46 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__10(x_1, x_44, x_45, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +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; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_47); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_13 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__8(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_array_get_size(x_12); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__11(x_1, x_17, x_18, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 1, x_21); +lean_ctor_set(x_2, 0, x_14); +lean_ctor_set(x_19, 0, x_2); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +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); +lean_ctor_set(x_2, 1, x_22); +lean_ctor_set(x_2, 0, x_14); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_25 = lean_ctor_get(x_2, 0); +x_26 = lean_ctor_get(x_2, 1); +x_27 = lean_ctor_get(x_2, 2); +x_28 = lean_ctor_get_usize(x_2, 4); +x_29 = lean_ctor_get(x_2, 3); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_2); +lean_inc(x_1); +x_30 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__8(x_1, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_array_get_size(x_26); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__11(x_1, x_34, x_35, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +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_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_27); +lean_ctor_set(x_40, 3, x_29); +lean_ctor_set_usize(x_40, 4, x_28); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_st_ref_get(x_3, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 5); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*2); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_dec(x_11); +x_18 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_3, x_4, x_5, x_6, x_7, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_21 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_st_ref_get(x_7, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_3, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 5); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +x_31 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2(x_29, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_28); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_st_ref_get(x_7, x_33); +lean_dec(x_7); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_st_ref_take(x_3, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 5); +lean_inc(x_38); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = !lean_is_exclusive(x_37); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 5); +lean_dec(x_41); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_38, 1); +lean_dec(x_43); +x_44 = l_Std_PersistentArray_append___rarg(x_19, x_32); +lean_ctor_set(x_38, 1, x_44); +x_45 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +lean_ctor_set(x_45, 0, x_22); +return x_45; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_22); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +else +{ +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_50 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_51 = lean_ctor_get(x_38, 0); +lean_inc(x_51); +lean_dec(x_38); +x_52 = l_Std_PersistentArray_append___rarg(x_19, x_32); +x_53 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*2, x_50); +lean_ctor_set(x_37, 5, x_53); +x_54 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_56 = x_54; +} else { + lean_dec_ref(x_54); + x_56 = lean_box(0); +} +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_56; +} +lean_ctor_set(x_57, 0, x_22); +lean_ctor_set(x_57, 1, x_55); +return x_57; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_58 = lean_ctor_get(x_37, 0); +x_59 = lean_ctor_get(x_37, 1); +x_60 = lean_ctor_get(x_37, 2); +x_61 = lean_ctor_get(x_37, 3); +x_62 = lean_ctor_get(x_37, 4); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_37); +x_63 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_64 = lean_ctor_get(x_38, 0); +lean_inc(x_64); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_65 = x_38; +} else { + lean_dec_ref(x_38); + x_65 = lean_box(0); +} +x_66 = l_Std_PersistentArray_append___rarg(x_19, x_32); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 2, 1); +} else { + x_67 = x_65; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set_uint8(x_67, sizeof(void*)*2, x_63); +x_68 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_68, 0, x_58); +lean_ctor_set(x_68, 1, x_59); +lean_ctor_set(x_68, 2, x_60); +lean_ctor_set(x_68, 3, x_61); +lean_ctor_set(x_68, 4, x_62); +lean_ctor_set(x_68, 5, x_67); +x_69 = lean_st_ref_set(x_3, x_68, x_39); +lean_dec(x_3); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_71 = x_69; +} else { + lean_dec_ref(x_69); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_22); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_73 = lean_ctor_get(x_21, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_21, 1); +lean_inc(x_74); +lean_dec(x_21); +x_75 = lean_st_ref_get(x_7, x_74); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +x_77 = lean_st_ref_get(x_3, x_76); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = lean_ctor_get(x_78, 5); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +x_82 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__7(x_80, x_81, x_2, x_3, x_4, x_5, x_6, x_7, x_79); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_st_ref_get(x_7, x_84); +lean_dec(x_7); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = lean_st_ref_take(x_3, x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_88, 5); +lean_inc(x_89); +x_90 = lean_ctor_get(x_87, 1); +lean_inc(x_90); +lean_dec(x_87); +x_91 = !lean_is_exclusive(x_88); +if (x_91 == 0) +{ +lean_object* x_92; uint8_t x_93; +x_92 = lean_ctor_get(x_88, 5); +lean_dec(x_92); +x_93 = !lean_is_exclusive(x_89); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = lean_ctor_get(x_89, 1); +lean_dec(x_94); +x_95 = l_Std_PersistentArray_append___rarg(x_19, x_83); +lean_ctor_set(x_89, 1, x_95); +x_96 = lean_st_ref_set(x_3, x_88, x_90); +lean_dec(x_3); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) +{ +lean_object* x_98; +x_98 = lean_ctor_get(x_96, 0); +lean_dec(x_98); +lean_ctor_set_tag(x_96, 1); +lean_ctor_set(x_96, 0, x_73); +return x_96; +} +else +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_96, 1); +lean_inc(x_99); +lean_dec(x_96); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_73); +lean_ctor_set(x_100, 1, x_99); +return x_100; +} +} +else +{ +uint8_t 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; +x_101 = lean_ctor_get_uint8(x_89, sizeof(void*)*2); +x_102 = lean_ctor_get(x_89, 0); +lean_inc(x_102); +lean_dec(x_89); +x_103 = l_Std_PersistentArray_append___rarg(x_19, x_83); +x_104 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +lean_ctor_set_uint8(x_104, sizeof(void*)*2, x_101); +lean_ctor_set(x_88, 5, x_104); +x_105 = lean_st_ref_set(x_3, x_88, x_90); +lean_dec(x_3); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_107 = x_105; +} else { + lean_dec_ref(x_105); + x_107 = lean_box(0); +} +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(1, 2, 0); +} else { + x_108 = x_107; + lean_ctor_set_tag(x_108, 1); +} +lean_ctor_set(x_108, 0, x_73); +lean_ctor_set(x_108, 1, x_106); +return x_108; +} +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t 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; +x_109 = lean_ctor_get(x_88, 0); +x_110 = lean_ctor_get(x_88, 1); +x_111 = lean_ctor_get(x_88, 2); +x_112 = lean_ctor_get(x_88, 3); +x_113 = lean_ctor_get(x_88, 4); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_88); +x_114 = lean_ctor_get_uint8(x_89, sizeof(void*)*2); +x_115 = lean_ctor_get(x_89, 0); +lean_inc(x_115); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_116 = x_89; +} else { + lean_dec_ref(x_89); + x_116 = lean_box(0); +} +x_117 = l_Std_PersistentArray_append___rarg(x_19, x_83); +if (lean_is_scalar(x_116)) { + x_118 = lean_alloc_ctor(0, 2, 1); +} else { + x_118 = x_116; +} +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set_uint8(x_118, sizeof(void*)*2, x_114); +x_119 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_119, 0, x_109); +lean_ctor_set(x_119, 1, x_110); +lean_ctor_set(x_119, 2, x_111); +lean_ctor_set(x_119, 3, x_112); +lean_ctor_set(x_119, 4, x_113); +lean_ctor_set(x_119, 5, x_118); +x_120 = lean_st_ref_set(x_3, x_119, x_90); +lean_dec(x_3); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_122 = x_120; +} else { + lean_dec_ref(x_120); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; + lean_ctor_set_tag(x_123, 1); +} +lean_ctor_set(x_123, 0, x_73); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -526,7 +1852,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; @@ -586,7 +1912,7 @@ return x_22; } } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__1() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__1() { _start: { lean_object* x_1; @@ -594,21 +1920,21 @@ x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__2() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__1; +x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__3() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__2; +x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__2; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -616,7 +1942,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__4() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -625,23 +1951,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__5() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__4; +x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__6() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__6() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; -x_2 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__5; -x_3 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__4; +x_2 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__5; +x_3 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__4; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_2); @@ -652,19 +1978,19 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__7() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__3; -x_2 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__6; +x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__3; +x_2 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__6; 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; } } -static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__8() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -673,11 +1999,11 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; uint8_t x_12; uint8_t 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; -x_11 = lean_alloc_closure((void*)(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___lambda__1), 10, 3); +lean_object* x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_11 = lean_alloc_closure((void*)(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___lambda__1), 10, 3); lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_2); lean_closure_set(x_11, 2, x_3); @@ -689,92 +2015,94 @@ x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_0__Lean_E lean_closure_set(x_16, 0, x_11); lean_closure_set(x_16, 1, x_14); lean_closure_set(x_16, 2, x_15); -x_17 = l_Lean_Elab_Term_saveState___rarg(x_5, x_6, x_7, x_8, x_9, x_10); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1), 8, 1); +lean_closure_set(x_17, 0, x_16); +x_18 = l_Lean_Elab_Term_saveState___rarg(x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__7; -x_21 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__8; +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__7; +x_22 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__8; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_22 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__3___rarg(x_20, x_21, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__3___rarg(x_21, x_22, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Elab_Term_SavedState_restore(x_18, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Elab_Term_SavedState_restore(x_19, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_25); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -lean_object* x_27; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -lean_ctor_set(x_25, 0, x_23); -return x_25; +lean_object* x_28; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +lean_ctor_set(x_26, 0, x_24); +return x_26; } else { -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_dec(x_25); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_23); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_24); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = lean_ctor_get(x_22, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_22, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_23, 0); lean_inc(x_31); -lean_dec(x_22); -x_32 = l_Lean_Elab_Term_SavedState_restore(x_18, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_31); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); +lean_dec(x_23); +x_33 = l_Lean_Elab_Term_SavedState_restore(x_19, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_32); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) { -lean_object* x_34; -x_34 = lean_ctor_get(x_32, 0); -lean_dec(x_34); -lean_ctor_set_tag(x_32, 1); -lean_ctor_set(x_32, 0, x_30); -return x_32; +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set_tag(x_33, 1); +lean_ctor_set(x_33, 0, x_31); +return x_33; } else { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_30); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_31); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } } @@ -840,7 +2168,7 @@ x_13 = l_Lean_Syntax_getArg(x_11, x_12); lean_dec(x_11); x_14 = lean_box(0); x_15 = l_Lean_Elab_Tactic_elabSimpConfigCore___closed__2; -x_16 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2(x_13, x_15, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_16 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13(x_13, x_15, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_16; } else @@ -861,7 +2189,171 @@ return x_18; } } } -static lean_object* _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__1() { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___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) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___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* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__5(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___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_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__6(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__9(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__10(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__11(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__1() { _start: { lean_object* x_1; @@ -869,26 +2361,1306 @@ x_1 = lean_mk_string("ConfigCtx"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__6; -x_2 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__1; +x_2 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; -x_9 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__2; +x_9 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__2; x_10 = l_Lean_Elab_Term_evalExpr___rarg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +lean_inc(x_1); +x_17 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__3(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_22 = lean_array_uset(x_16, x_3, x_18); +x_3 = x_21; +x_4 = x_22; +x_11 = x_19; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___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: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__4(x_1, x_13, x_14, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_ctor_set(x_2, 0, x_17); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_15); +lean_ctor_set(x_2, 0, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_2, 0); +lean_inc(x_21); +lean_dec(x_2); +x_22 = lean_array_get_size(x_21); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__4(x_1, x_23, x_24, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_26); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +} +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_2); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; uint8_t x_37; +x_32 = lean_ctor_get(x_2, 0); +x_33 = lean_array_get_size(x_32); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__5(x_1, x_34, x_35, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_ctor_set(x_2, 0, x_38); +lean_ctor_set(x_36, 0, x_2); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_36, 0); +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_36); +lean_ctor_set(x_2, 0, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_2); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t 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_42 = lean_ctor_get(x_2, 0); +lean_inc(x_42); +lean_dec(x_2); +x_43 = lean_array_get_size(x_42); +x_44 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_45 = 0; +x_46 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__5(x_1, x_44, x_45, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +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; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_47); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_13 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__3(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_array_get_size(x_12); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__6(x_1, x_17, x_18, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 1, x_21); +lean_ctor_set(x_2, 0, x_14); +lean_ctor_set(x_19, 0, x_2); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +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); +lean_ctor_set(x_2, 1, x_22); +lean_ctor_set(x_2, 0, x_14); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_25 = lean_ctor_get(x_2, 0); +x_26 = lean_ctor_get(x_2, 1); +x_27 = lean_ctor_get(x_2, 2); +x_28 = lean_ctor_get_usize(x_2, 4); +x_29 = lean_ctor_get(x_2, 3); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_2); +lean_inc(x_1); +x_30 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__3(x_1, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_array_get_size(x_26); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__6(x_1, x_34, x_35, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +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_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_27); +lean_ctor_set(x_40, 3, x_29); +lean_ctor_set_usize(x_40, 4, x_28); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__9(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +lean_inc(x_1); +x_17 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__8(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_22 = lean_array_uset(x_16, x_3, x_18); +x_3 = x_21; +x_4 = x_22; +x_11 = x_19; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__10(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__9(x_1, x_13, x_14, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_ctor_set(x_2, 0, x_17); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_15); +lean_ctor_set(x_2, 0, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_2, 0); +lean_inc(x_21); +lean_dec(x_2); +x_22 = lean_array_get_size(x_21); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__9(x_1, x_23, x_24, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_26); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +} +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_2); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; uint8_t x_37; +x_32 = lean_ctor_get(x_2, 0); +x_33 = lean_array_get_size(x_32); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__10(x_1, x_34, x_35, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_ctor_set(x_2, 0, x_38); +lean_ctor_set(x_36, 0, x_2); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_36, 0); +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_36); +lean_ctor_set(x_2, 0, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_2); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t 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_42 = lean_ctor_get(x_2, 0); +lean_inc(x_42); +lean_dec(x_2); +x_43 = lean_array_get_size(x_42); +x_44 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_45 = 0; +x_46 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__10(x_1, x_44, x_45, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +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; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_47); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_13 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__8(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_array_get_size(x_12); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__11(x_1, x_17, x_18, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 1, x_21); +lean_ctor_set(x_2, 0, x_14); +lean_ctor_set(x_19, 0, x_2); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +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); +lean_ctor_set(x_2, 1, x_22); +lean_ctor_set(x_2, 0, x_14); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_25 = lean_ctor_get(x_2, 0); +x_26 = lean_ctor_get(x_2, 1); +x_27 = lean_ctor_get(x_2, 2); +x_28 = lean_ctor_get_usize(x_2, 4); +x_29 = lean_ctor_get(x_2, 3); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_2); +lean_inc(x_1); +x_30 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__8(x_1, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_array_get_size(x_26); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__11(x_1, x_34, x_35, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +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_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_27); +lean_ctor_set(x_40, 3, x_29); +lean_ctor_set_usize(x_40, 4, x_28); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_st_ref_get(x_3, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 5); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*2); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_dec(x_11); +x_18 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_3, x_4, x_5, x_6, x_7, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_21 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_st_ref_get(x_7, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_3, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 5); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +x_31 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2(x_29, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_28); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_st_ref_get(x_7, x_33); +lean_dec(x_7); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_st_ref_take(x_3, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 5); +lean_inc(x_38); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = !lean_is_exclusive(x_37); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 5); +lean_dec(x_41); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_38, 1); +lean_dec(x_43); +x_44 = l_Std_PersistentArray_append___rarg(x_19, x_32); +lean_ctor_set(x_38, 1, x_44); +x_45 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +lean_ctor_set(x_45, 0, x_22); +return x_45; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_22); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +else +{ +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_50 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_51 = lean_ctor_get(x_38, 0); +lean_inc(x_51); +lean_dec(x_38); +x_52 = l_Std_PersistentArray_append___rarg(x_19, x_32); +x_53 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*2, x_50); +lean_ctor_set(x_37, 5, x_53); +x_54 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_56 = x_54; +} else { + lean_dec_ref(x_54); + x_56 = lean_box(0); +} +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_56; +} +lean_ctor_set(x_57, 0, x_22); +lean_ctor_set(x_57, 1, x_55); +return x_57; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_58 = lean_ctor_get(x_37, 0); +x_59 = lean_ctor_get(x_37, 1); +x_60 = lean_ctor_get(x_37, 2); +x_61 = lean_ctor_get(x_37, 3); +x_62 = lean_ctor_get(x_37, 4); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_37); +x_63 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_64 = lean_ctor_get(x_38, 0); +lean_inc(x_64); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_65 = x_38; +} else { + lean_dec_ref(x_38); + x_65 = lean_box(0); +} +x_66 = l_Std_PersistentArray_append___rarg(x_19, x_32); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 2, 1); +} else { + x_67 = x_65; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set_uint8(x_67, sizeof(void*)*2, x_63); +x_68 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_68, 0, x_58); +lean_ctor_set(x_68, 1, x_59); +lean_ctor_set(x_68, 2, x_60); +lean_ctor_set(x_68, 3, x_61); +lean_ctor_set(x_68, 4, x_62); +lean_ctor_set(x_68, 5, x_67); +x_69 = lean_st_ref_set(x_3, x_68, x_39); +lean_dec(x_3); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_71 = x_69; +} else { + lean_dec_ref(x_69); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_22); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_73 = lean_ctor_get(x_21, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_21, 1); +lean_inc(x_74); +lean_dec(x_21); +x_75 = lean_st_ref_get(x_7, x_74); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +x_77 = lean_st_ref_get(x_3, x_76); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = lean_ctor_get(x_78, 5); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +x_82 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__7(x_80, x_81, x_2, x_3, x_4, x_5, x_6, x_7, x_79); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_st_ref_get(x_7, x_84); +lean_dec(x_7); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = lean_st_ref_take(x_3, x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_88, 5); +lean_inc(x_89); +x_90 = lean_ctor_get(x_87, 1); +lean_inc(x_90); +lean_dec(x_87); +x_91 = !lean_is_exclusive(x_88); +if (x_91 == 0) +{ +lean_object* x_92; uint8_t x_93; +x_92 = lean_ctor_get(x_88, 5); +lean_dec(x_92); +x_93 = !lean_is_exclusive(x_89); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = lean_ctor_get(x_89, 1); +lean_dec(x_94); +x_95 = l_Std_PersistentArray_append___rarg(x_19, x_83); +lean_ctor_set(x_89, 1, x_95); +x_96 = lean_st_ref_set(x_3, x_88, x_90); +lean_dec(x_3); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) +{ +lean_object* x_98; +x_98 = lean_ctor_get(x_96, 0); +lean_dec(x_98); +lean_ctor_set_tag(x_96, 1); +lean_ctor_set(x_96, 0, x_73); +return x_96; +} +else +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_96, 1); +lean_inc(x_99); +lean_dec(x_96); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_73); +lean_ctor_set(x_100, 1, x_99); +return x_100; +} +} +else +{ +uint8_t 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; +x_101 = lean_ctor_get_uint8(x_89, sizeof(void*)*2); +x_102 = lean_ctor_get(x_89, 0); +lean_inc(x_102); +lean_dec(x_89); +x_103 = l_Std_PersistentArray_append___rarg(x_19, x_83); +x_104 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +lean_ctor_set_uint8(x_104, sizeof(void*)*2, x_101); +lean_ctor_set(x_88, 5, x_104); +x_105 = lean_st_ref_set(x_3, x_88, x_90); +lean_dec(x_3); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_107 = x_105; +} else { + lean_dec_ref(x_105); + x_107 = lean_box(0); +} +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(1, 2, 0); +} else { + x_108 = x_107; + lean_ctor_set_tag(x_108, 1); +} +lean_ctor_set(x_108, 0, x_73); +lean_ctor_set(x_108, 1, x_106); +return x_108; +} +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t 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; +x_109 = lean_ctor_get(x_88, 0); +x_110 = lean_ctor_get(x_88, 1); +x_111 = lean_ctor_get(x_88, 2); +x_112 = lean_ctor_get(x_88, 3); +x_113 = lean_ctor_get(x_88, 4); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_88); +x_114 = lean_ctor_get_uint8(x_89, sizeof(void*)*2); +x_115 = lean_ctor_get(x_89, 0); +lean_inc(x_115); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_116 = x_89; +} else { + lean_dec_ref(x_89); + x_116 = lean_box(0); +} +x_117 = l_Std_PersistentArray_append___rarg(x_19, x_83); +if (lean_is_scalar(x_116)) { + x_118 = lean_alloc_ctor(0, 2, 1); +} else { + x_118 = x_116; +} +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set_uint8(x_118, sizeof(void*)*2, x_114); +x_119 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_119, 0, x_109); +lean_ctor_set(x_119, 1, x_110); +lean_ctor_set(x_119, 2, x_111); +lean_ctor_set(x_119, 3, x_112); +lean_ctor_set(x_119, 4, x_113); +lean_ctor_set(x_119, 5, x_118); +x_120 = lean_st_ref_set(x_3, x_119, x_90); +lean_dec(x_3); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_122 = x_120; +} else { + lean_dec_ref(x_120); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; + lean_ctor_set_tag(x_123, 1); +} +lean_ctor_set(x_123, 0, x_73); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -982,7 +3754,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__13___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; @@ -1009,7 +3781,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108_(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +x_18 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111_(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_17); return x_18; } else @@ -1042,11 +3814,11 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; uint8_t x_12; uint8_t 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; -x_11 = lean_alloc_closure((void*)(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2___lambda__1), 10, 3); +lean_object* x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_11 = lean_alloc_closure((void*)(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__13___lambda__1), 10, 3); lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_2); lean_closure_set(x_11, 2, x_3); @@ -1058,92 +3830,94 @@ x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_0__Lean_E lean_closure_set(x_16, 0, x_11); lean_closure_set(x_16, 1, x_14); lean_closure_set(x_16, 2, x_15); -x_17 = l_Lean_Elab_Term_saveState___rarg(x_5, x_6, x_7, x_8, x_9, x_10); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__1), 8, 1); +lean_closure_set(x_17, 0, x_16); +x_18 = l_Lean_Elab_Term_saveState___rarg(x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__7; -x_21 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__8; +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__7; +x_22 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__8; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_22 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__3___rarg(x_20, x_21, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__3___rarg(x_21, x_22, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Elab_Term_SavedState_restore(x_18, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Elab_Term_SavedState_restore(x_19, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_25); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -lean_object* x_27; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -lean_ctor_set(x_25, 0, x_23); -return x_25; +lean_object* x_28; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +lean_ctor_set(x_26, 0, x_24); +return x_26; } else { -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_dec(x_25); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_23); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_24); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = lean_ctor_get(x_22, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_22, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_23, 0); lean_inc(x_31); -lean_dec(x_22); -x_32 = l_Lean_Elab_Term_SavedState_restore(x_18, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_31); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); +lean_dec(x_23); +x_33 = l_Lean_Elab_Term_SavedState_restore(x_19, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_32); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) { -lean_object* x_34; -x_34 = lean_ctor_get(x_32, 0); -lean_dec(x_34); -lean_ctor_set_tag(x_32, 1); -lean_ctor_set(x_32, 0, x_30); -return x_32; +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set_tag(x_33, 1); +lean_ctor_set(x_33, 0, x_31); +return x_33; } else { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_30); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_31); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } } @@ -1153,7 +3927,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__2; +x_2 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__2; x_3 = l_Lean_mkConst(x_2, x_1); return x_3; } @@ -1209,7 +3983,7 @@ x_13 = l_Lean_Syntax_getArg(x_11, x_12); lean_dec(x_11); x_14 = lean_box(0); x_15 = l_Lean_Elab_Tactic_elabSimpConfigCtxCore___closed__2; -x_16 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2(x_13, x_15, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_16 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__13(x_13, x_15, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_16; } else @@ -1230,6 +4004,170 @@ return x_18; } } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___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) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___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* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__5(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___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_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__6(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__9(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__10(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__11(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCtxCore___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_tacticToDischarge___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -1780,7 +4718,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); x_2 = l_Lean_Elab_Tactic_tacticToDischarge___closed__13; -x_3 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__8; +x_3 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__8; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2402,7 +5340,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_box(0); -x_12 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__8; +x_12 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__8; x_13 = lean_unsigned_to_nat(1000u); x_14 = l_Lean_Meta_SimpTheorems_add(x_1, x_12, x_2, x_4, x_3, x_13, x_11, x_5, x_6, x_7, x_8, x_9); return x_14; @@ -2630,7 +5568,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_23 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__8; +x_23 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__8; x_24 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_21); @@ -2701,7 +5639,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_41 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__8; +x_41 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__8; x_42 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_39); @@ -4447,7 +7385,7 @@ lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; x_23 = lean_ctor_get(x_13, 1); lean_inc(x_23); lean_dec(x_13); -x_24 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__6; +x_24 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__6; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_1); lean_ctor_set(x_25, 1, x_24); @@ -9556,7 +12494,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_mkSimpContext___lambda__2___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__2; +x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__2; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10880,32 +13818,32 @@ l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__7 lean_mark_persistent(l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__7); l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__8 = _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__8(); lean_mark_persistent(l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_5____closed__8); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__1 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__1(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__1); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__2 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__2(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__2); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__3 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__3(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__3); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__4 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__4(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__4); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__5 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__5(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__5); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__6 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__6(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__6); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__7 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__7(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__7); -l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__8 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__8(); -lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__1___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___closed__8); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__1 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__1(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__1); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__2 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__2(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__2); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__3 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__3(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__3); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__4 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__4(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__4); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__5 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__5(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__5); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__6 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__6(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__6); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__7 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__7(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__7); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__8 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__8(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13___closed__8); l_Lean_Elab_Tactic_elabSimpConfigCore___closed__1 = _init_l_Lean_Elab_Tactic_elabSimpConfigCore___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_elabSimpConfigCore___closed__1); l_Lean_Elab_Tactic_elabSimpConfigCore___closed__2 = _init_l_Lean_Elab_Tactic_elabSimpConfigCore___closed__2(); lean_mark_persistent(l_Lean_Elab_Tactic_elabSimpConfigCore___closed__2); l_Lean_Elab_Tactic_elabSimpConfigCore___closed__3 = _init_l_Lean_Elab_Tactic_elabSimpConfigCore___closed__3(); lean_mark_persistent(l_Lean_Elab_Tactic_elabSimpConfigCore___closed__3); -l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__1 = _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__1); -l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__2 = _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_108____closed__2); +l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__1 = _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__1); +l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__2 = _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_111____closed__2); l_Lean_Elab_Tactic_elabSimpConfigCtxCore___closed__1 = _init_l_Lean_Elab_Tactic_elabSimpConfigCtxCore___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_elabSimpConfigCtxCore___closed__1); l_Lean_Elab_Tactic_elabSimpConfigCtxCore___closed__2 = _init_l_Lean_Elab_Tactic_elabSimpConfigCtxCore___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index a876456e84..49bb27be41 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -27,13 +27,14 @@ uint8_t l_Lean_isRecCore(lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1___closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__3; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__5; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__7; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__4; +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__1; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -99,6 +100,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_instAddErrorMessageContextTermElabM(le LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorInfo___closed__1; +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_collectUnassignedMVars_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -155,6 +157,7 @@ static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__3___closed lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveLocalName_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Elab_Term_resolveName___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -204,6 +207,7 @@ LEAN_EXPORT uint8_t l_Lean_Elab_Term_hasNoImplicitLambdaAnnotation(lean_object*) LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__4; static lean_object* l_Lean_Elab_Term_instInhabitedState___closed__2; +static lean_object* l_Lean_Elab_Term_resolveName___closed__3; uint8_t l_Lean_isCasesOnRecursor(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerMVarErrorHoleInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); @@ -228,6 +232,7 @@ extern lean_object* l_Lean_Elab_autoBoundImplicitExceptionId; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withDeclName(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeAscription___closed__1; @@ -290,6 +295,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_instToStringMVarErrorKind(lean_object* LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Elab_Term_getMVarErrorInfo_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_autoImplicit; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__3; lean_object* l_Lean_Elab_Level_elabLevel(lean_object*, lean_object*, lean_object*); @@ -356,6 +363,8 @@ lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_o LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__4; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__1; lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwTypeMismatchError___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -372,9 +381,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDecl LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__4; static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__16; -static lean_object* l_Lean_Elab_Term_resolveName___lambda__5___closed__2; extern lean_object* l_Lean_maxRecDepth; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4___closed__2; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__2; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); @@ -402,9 +409,8 @@ lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Term_expandDeclId___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__2; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4___closed__1; LEAN_EXPORT lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Elab_Term_evalExpr___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Term_evalExpr___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -479,6 +485,7 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Le LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_evalExpr___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_removeSaveInfoAnnotation(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__5___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_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isNoImplicitLambda___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_forIn_visit___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -563,6 +570,7 @@ static lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Le lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_TermElabM_run_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4___closed__3; LEAN_EXPORT lean_object* l_Lean_MessageLog_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_forIn_visit___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__6___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -589,6 +597,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef___box static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__4; lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addAndCompile___at_Lean_Elab_Term_evalExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -603,9 +612,9 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___ LEAN_EXPORT lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone(lean_object*); lean_object* l_Lean_Meta_getDelayedAssignment_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066_(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__14; @@ -614,7 +623,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_getLetRecsToLift(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_liftLevelM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*); lean_object* l_Lean_Expr_setAppPPExplicitForExposingMVars(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2080_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2081_(lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__8; static lean_object* l_Lean_Elab_Term_State_messages___default___closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__8; @@ -667,6 +676,7 @@ static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__3___closed extern lean_object* l_Lean_protectedExt; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_printTraces___at_Lean_Core_instMetaEvalCoreM___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -684,7 +694,9 @@ lean_object* l_Lean_MetavarContext_localDeclDependsOn(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Term_expandDeclId___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_resolveName_process___closed__3; static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__2; @@ -707,9 +719,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_throwMVa extern lean_object* l_Lean_instInhabitedSyntax; extern lean_object* l_Lean_firstFrontendMacroScope; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__3; static uint8_t l_Lean_Elab_Term_collectUnassignedMVars_go___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__1; static lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__3; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4; extern lean_object* l_Lean_Meta_instAlternativeMetaM; LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -718,20 +731,18 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBou LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent(lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__3; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___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*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerMVarErrorHoleInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__4; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2___closed__2; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__4; lean_object* l_Lean_Core_checkMaxHeartbeats(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instMonadMetaM; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Elab_Term_evalExpr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkConst___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeCoeInstMVarCore___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); @@ -742,7 +753,6 @@ LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_isNoncomputableSection___default; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_containsPendingMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_implicitLambda___default; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_resolveName_process___closed__1; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2___lambda__1___closed__1; @@ -751,20 +761,19 @@ static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13; lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; static lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Term_expandDeclId___spec__5___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__2; lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_6____spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__10; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__1; size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Elab_Term_mkCoe___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandDeclId___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_resolveName___lambda__5___closed__4; lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDelayedRoot(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_LVal_getRef(lean_object*); lean_object* l_Lean_Elab_expandDeclIdCore(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_autoBoundImplicit___default; @@ -779,6 +788,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0_ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__2; uint8_t l_Lean_BinderInfo_isImplicit(uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Term_evalExpr___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); @@ -787,6 +797,7 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_dropTermParens_ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__2; lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceOptions(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_resolveName___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -801,7 +812,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean LEAN_EXPORT lean_object* l_Lean_Elab_Term_synthesizeInst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Term_termElabAttribute; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__1(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Term_evalExpr___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -855,6 +865,8 @@ static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__8; static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__2; static lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__18; @@ -864,7 +876,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe__ lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM; -static lean_object* l_Lean_Elab_Term_resolveName___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadTermElabM; lean_object* l_Lean_Meta_whnfR(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -882,7 +893,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpo lean_object* lean_environment_main_module(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; uint8_t lean_expr_eqv(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4; LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Elab_Tactic_Cache_pre___default___spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -893,6 +903,7 @@ static lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__1; uint8_t l_Lean_Expr_isMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__6; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__15; static lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos___closed__1; @@ -920,6 +931,7 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Term_expandDeclId___spec__10___closed__2; static lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___closed__2; uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__2; @@ -960,6 +972,7 @@ static lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_traceAtCmdPos___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_traceAtCmdPos___spec__3___closed__1; +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_inPattern___default; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___boxed(lean_object*); @@ -979,7 +992,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_isSaveInfoAnnotation_x3f___boxed(lean_ LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_State_infoState___default___closed__1; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__3; extern lean_object* l_Lean_Elab_pp_macroStack; static lean_object* l_Lean_Elab_Term_resolveName_x27___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -989,6 +1001,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_isTypeApp_x3f___boxed(lean_object*, le static lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_isExprMVarAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__1; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Context_macroStack___default; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); @@ -1019,6 +1032,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_observing___rarg___lambda__1___boxed(l uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instAddErrorMessageContextTermElabM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__1(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__8; uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_13_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1026,6 +1040,7 @@ static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__3; lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSyntheticSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__3; @@ -1037,15 +1052,15 @@ static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMe lean_object* l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__9; uint8_t l_Lean_Syntax_isNone(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__2; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_evalExpr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_resolveName___lambda__5___closed__3; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__3; +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_ignoreTCFailures___default; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getLetRecsToLift___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1064,7 +1079,6 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0_ static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__11; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___closed__3; @@ -1102,6 +1116,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_logUnassig LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Term_collectUnassignedMVars_go___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_evalExpr___rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2(lean_object*); +static lean_object* l_Lean_Elab_Term_resolveName___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getMVarErrorInfo_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1119,7 +1134,6 @@ lean_object* l_Lean_Meta_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, le LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1___closed__4; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__10; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop(lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkConst___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1135,7 +1149,7 @@ lean_object* l_IO_println___at_Lean_instEval___spec__1(lean_object*, lean_object static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__17; LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Term_addTermInfo___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwErrorIfErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310_(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_evalExpr___spec__13(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1159,6 +1173,7 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Term static lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___closed__2; static lean_object* l_Lean_addDocString___at_Lean_Elab_Term_expandDeclId___spec__9___closed__1; LEAN_EXPORT lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__2; lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__9; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__1; @@ -1166,7 +1181,7 @@ static lean_object* l_Lean_Elab_Term_expandDeclId___closed__1; LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedLetRecToLift___closed__2; lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__11; lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1175,7 +1190,7 @@ uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp(lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__3___closed__3; @@ -1194,6 +1209,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwMVarError(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_observing___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1211,6 +1227,7 @@ lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__3___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedLetRecToLift___closed__1; lean_object* l_Lean_Meta_setMCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1230,6 +1247,7 @@ static lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___closed__4; LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__6; +static lean_object* l_Lean_Elab_Term_resolveName___closed__1; static lean_object* l_Lean_Elab_Term_mkAuxName___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_setLevelNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___closed__1; @@ -1245,6 +1263,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___ LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureHasTypeAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1276,7 +1295,7 @@ static lean_object* l_Lean_Elab_Term_evalExpr___rarg___closed__4; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__8; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDeclId___closed__2; lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1292,7 +1311,6 @@ static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMe LEAN_EXPORT uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock(lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Elab_Term_evalExpr___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__7; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__2; uint8_t l_Lean_isStructure(lean_object*, lean_object*); @@ -6559,6 +6577,1294 @@ lean_dec(x_3); return x_10; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +lean_inc(x_1); +x_17 = l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__3(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_22 = lean_array_uset(x_16, x_3, x_18); +x_3 = x_21; +x_4 = x_22; +x_11 = x_19; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___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: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__4(x_1, x_13, x_14, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_ctor_set(x_2, 0, x_17); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_15); +lean_ctor_set(x_2, 0, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_2, 0); +lean_inc(x_21); +lean_dec(x_2); +x_22 = lean_array_get_size(x_21); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__4(x_1, x_23, x_24, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_26); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +} +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_2); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; uint8_t x_37; +x_32 = lean_ctor_get(x_2, 0); +x_33 = lean_array_get_size(x_32); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__5(x_1, x_34, x_35, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_ctor_set(x_2, 0, x_38); +lean_ctor_set(x_36, 0, x_2); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_36, 0); +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_36); +lean_ctor_set(x_2, 0, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_2); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t 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_42 = lean_ctor_get(x_2, 0); +lean_inc(x_42); +lean_dec(x_2); +x_43 = lean_array_get_size(x_42); +x_44 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_45 = 0; +x_46 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__5(x_1, x_44, x_45, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +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; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_47); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_13 = l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__3(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_array_get_size(x_12); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__6(x_1, x_17, x_18, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 1, x_21); +lean_ctor_set(x_2, 0, x_14); +lean_ctor_set(x_19, 0, x_2); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +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); +lean_ctor_set(x_2, 1, x_22); +lean_ctor_set(x_2, 0, x_14); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_25 = lean_ctor_get(x_2, 0); +x_26 = lean_ctor_get(x_2, 1); +x_27 = lean_ctor_get(x_2, 2); +x_28 = lean_ctor_get_usize(x_2, 4); +x_29 = lean_ctor_get(x_2, 3); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_2); +lean_inc(x_1); +x_30 = l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__3(x_1, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_array_get_size(x_26); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__6(x_1, x_34, x_35, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +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_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_27); +lean_ctor_set(x_40, 3, x_29); +lean_ctor_set_usize(x_40, 4, x_28); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__9(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +lean_inc(x_1); +x_17 = l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__8(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_22 = lean_array_uset(x_16, x_3, x_18); +x_3 = x_21; +x_4 = x_22; +x_11 = x_19; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__10(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__9(x_1, x_13, x_14, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_ctor_set(x_2, 0, x_17); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_15); +lean_ctor_set(x_2, 0, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_2, 0); +lean_inc(x_21); +lean_dec(x_2); +x_22 = lean_array_get_size(x_21); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__9(x_1, x_23, x_24, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_26); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +} +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_2); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; uint8_t x_37; +x_32 = lean_ctor_get(x_2, 0); +x_33 = lean_array_get_size(x_32); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__10(x_1, x_34, x_35, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_ctor_set(x_2, 0, x_38); +lean_ctor_set(x_36, 0, x_2); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_36, 0); +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_36); +lean_ctor_set(x_2, 0, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_2); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t 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_42 = lean_ctor_get(x_2, 0); +lean_inc(x_42); +lean_dec(x_2); +x_43 = lean_array_get_size(x_42); +x_44 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_45 = 0; +x_46 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__10(x_1, x_44, x_45, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +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; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_47); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = l_Lean_Elab_InfoTree_substitute(x_14, x_17); +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_st_ref_get(x_10, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 4); +x_32 = lean_ctor_get(x_9, 5); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_23); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set(x_33, 5, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_37 = lean_array_uset(x_16, x_3, x_34); +x_3 = x_36; +x_4 = x_37; +x_11 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_13 = l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__8(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_array_get_size(x_12); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__11(x_1, x_17, x_18, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 1, x_21); +lean_ctor_set(x_2, 0, x_14); +lean_ctor_set(x_19, 0, x_2); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +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); +lean_ctor_set(x_2, 1, x_22); +lean_ctor_set(x_2, 0, x_14); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_25 = lean_ctor_get(x_2, 0); +x_26 = lean_ctor_get(x_2, 1); +x_27 = lean_ctor_get(x_2, 2); +x_28 = lean_ctor_get_usize(x_2, 4); +x_29 = lean_ctor_get(x_2, 3); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_2); +lean_inc(x_1); +x_30 = l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__8(x_1, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_array_get_size(x_26); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__11(x_1, x_34, x_35, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +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_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_27); +lean_ctor_set(x_40, 3, x_29); +lean_ctor_set_usize(x_40, 4, x_28); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +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_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_st_ref_get(x_3, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 5); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*2); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_dec(x_11); +x_18 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_3, x_4, x_5, x_6, x_7, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_21 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_st_ref_get(x_7, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_3, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 5); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +x_31 = l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__2(x_29, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_28); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_st_ref_get(x_7, x_33); +lean_dec(x_7); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_st_ref_take(x_3, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 5); +lean_inc(x_38); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = !lean_is_exclusive(x_37); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 5); +lean_dec(x_41); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_38, 1); +lean_dec(x_43); +x_44 = l_Std_PersistentArray_append___rarg(x_19, x_32); +lean_ctor_set(x_38, 1, x_44); +x_45 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +lean_ctor_set(x_45, 0, x_22); +return x_45; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_22); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +else +{ +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_50 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_51 = lean_ctor_get(x_38, 0); +lean_inc(x_51); +lean_dec(x_38); +x_52 = l_Std_PersistentArray_append___rarg(x_19, x_32); +x_53 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*2, x_50); +lean_ctor_set(x_37, 5, x_53); +x_54 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_56 = x_54; +} else { + lean_dec_ref(x_54); + x_56 = lean_box(0); +} +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_56; +} +lean_ctor_set(x_57, 0, x_22); +lean_ctor_set(x_57, 1, x_55); +return x_57; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_58 = lean_ctor_get(x_37, 0); +x_59 = lean_ctor_get(x_37, 1); +x_60 = lean_ctor_get(x_37, 2); +x_61 = lean_ctor_get(x_37, 3); +x_62 = lean_ctor_get(x_37, 4); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_37); +x_63 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_64 = lean_ctor_get(x_38, 0); +lean_inc(x_64); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_65 = x_38; +} else { + lean_dec_ref(x_38); + x_65 = lean_box(0); +} +x_66 = l_Std_PersistentArray_append___rarg(x_19, x_32); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 2, 1); +} else { + x_67 = x_65; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set_uint8(x_67, sizeof(void*)*2, x_63); +x_68 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_68, 0, x_58); +lean_ctor_set(x_68, 1, x_59); +lean_ctor_set(x_68, 2, x_60); +lean_ctor_set(x_68, 3, x_61); +lean_ctor_set(x_68, 4, x_62); +lean_ctor_set(x_68, 5, x_67); +x_69 = lean_st_ref_set(x_3, x_68, x_39); +lean_dec(x_3); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_71 = x_69; +} else { + lean_dec_ref(x_69); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_22); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_73 = lean_ctor_get(x_21, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_21, 1); +lean_inc(x_74); +lean_dec(x_21); +x_75 = lean_st_ref_get(x_7, x_74); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +x_77 = lean_st_ref_get(x_3, x_76); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = lean_ctor_get(x_78, 5); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +x_82 = l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__7(x_80, x_81, x_2, x_3, x_4, x_5, x_6, x_7, x_79); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_st_ref_get(x_7, x_84); +lean_dec(x_7); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = lean_st_ref_take(x_3, x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_88, 5); +lean_inc(x_89); +x_90 = lean_ctor_get(x_87, 1); +lean_inc(x_90); +lean_dec(x_87); +x_91 = !lean_is_exclusive(x_88); +if (x_91 == 0) +{ +lean_object* x_92; uint8_t x_93; +x_92 = lean_ctor_get(x_88, 5); +lean_dec(x_92); +x_93 = !lean_is_exclusive(x_89); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = lean_ctor_get(x_89, 1); +lean_dec(x_94); +x_95 = l_Std_PersistentArray_append___rarg(x_19, x_83); +lean_ctor_set(x_89, 1, x_95); +x_96 = lean_st_ref_set(x_3, x_88, x_90); +lean_dec(x_3); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) +{ +lean_object* x_98; +x_98 = lean_ctor_get(x_96, 0); +lean_dec(x_98); +lean_ctor_set_tag(x_96, 1); +lean_ctor_set(x_96, 0, x_73); +return x_96; +} +else +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_96, 1); +lean_inc(x_99); +lean_dec(x_96); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_73); +lean_ctor_set(x_100, 1, x_99); +return x_100; +} +} +else +{ +uint8_t 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; +x_101 = lean_ctor_get_uint8(x_89, sizeof(void*)*2); +x_102 = lean_ctor_get(x_89, 0); +lean_inc(x_102); +lean_dec(x_89); +x_103 = l_Std_PersistentArray_append___rarg(x_19, x_83); +x_104 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +lean_ctor_set_uint8(x_104, sizeof(void*)*2, x_101); +lean_ctor_set(x_88, 5, x_104); +x_105 = lean_st_ref_set(x_3, x_88, x_90); +lean_dec(x_3); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_107 = x_105; +} else { + lean_dec_ref(x_105); + x_107 = lean_box(0); +} +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(1, 2, 0); +} else { + x_108 = x_107; + lean_ctor_set_tag(x_108, 1); +} +lean_ctor_set(x_108, 0, x_73); +lean_ctor_set(x_108, 1, x_106); +return x_108; +} +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t 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; +x_109 = lean_ctor_get(x_88, 0); +x_110 = lean_ctor_get(x_88, 1); +x_111 = lean_ctor_get(x_88, 2); +x_112 = lean_ctor_get(x_88, 3); +x_113 = lean_ctor_get(x_88, 4); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_88); +x_114 = lean_ctor_get_uint8(x_89, sizeof(void*)*2); +x_115 = lean_ctor_get(x_89, 0); +lean_inc(x_115); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_116 = x_89; +} else { + lean_dec_ref(x_89); + x_116 = lean_box(0); +} +x_117 = l_Std_PersistentArray_append___rarg(x_19, x_83); +if (lean_is_scalar(x_116)) { + x_118 = lean_alloc_ctor(0, 2, 1); +} else { + x_118 = x_116; +} +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set_uint8(x_118, sizeof(void*)*2, x_114); +x_119 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_119, 0, x_109); +lean_ctor_set(x_119, 1, x_110); +lean_ctor_set(x_119, 2, x_111); +lean_ctor_set(x_119, 3, x_112); +lean_ctor_set(x_119, 4, x_113); +lean_ctor_set(x_119, 5, x_118); +x_120 = lean_st_ref_set(x_3, x_119, x_90); +lean_dec(x_3); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_122 = x_120; +} else { + lean_dec_ref(x_120); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; + lean_ctor_set_tag(x_123, 1); +} +lean_ctor_set(x_123, 0, x_73); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__1___rarg), 8, 0); +return x_2; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -6575,7 +7881,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_12 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_12 = l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; @@ -6985,6 +8291,170 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_wi return x_2; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___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) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___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* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__5(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___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_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__6(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__9(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__10(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__11(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} static lean_object* _init_l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1() { _start: { @@ -7161,7 +8631,7 @@ x_8 = l_Lean_Elab_mkElabAttribute___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2080_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2081_(lean_object* x_1) { _start: { lean_object* x_2; @@ -19527,7 +20997,7 @@ lean_dec(x_3); return x_12; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__1() { _start: { lean_object* x_1; @@ -19535,17 +21005,17 @@ x_1 = lean_mk_string("autoLift"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__3() { _start: { lean_object* x_1; @@ -19553,13 +21023,13 @@ x_1 = lean_mk_string("insert monadic lifts (i.e., `liftM` and coercions) when ne return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l_Lean_Elab_logAt___at_Lean_Elab_Term_traceAtCmdPos___spec__3___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -19568,17 +21038,17 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__4; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1() { _start: { lean_object* x_1; @@ -19586,17 +21056,17 @@ x_1 = lean_mk_string("maxCoeSize"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3() { _start: { lean_object* x_1; @@ -19604,13 +21074,13 @@ x_1 = lean_mk_string("maximum number of instances used to construct an automatic return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_unsigned_to_nat(16u); x_2 = l_Lean_Elab_logAt___at_Lean_Elab_Term_traceAtCmdPos___spec__3___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -19618,12 +21088,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4; x_4 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_6____spec__1(x_2, x_3, x_1); return x_4; } @@ -39627,7 +41097,7 @@ lean_dec(x_3); return x_10; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__1() { _start: { lean_object* x_1; @@ -39635,21 +41105,21 @@ x_1 = lean_mk_string("letrec"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__11; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -39946,7 +41416,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_isLetRecAuxMVar(lean_object* x_1, lean _start: { lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__2; +x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__2; x_38 = lean_st_ref_get(x_7, x_8); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); @@ -41095,54 +42565,6 @@ x_11 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts(x_1, x_2, x_4, x_5, return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = l_List_isEmpty___rarg(x_3); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_5); -lean_dec(x_4); -x_15 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts(x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; -} -else -{ -uint8_t x_16; -x_16 = l_List_isEmpty___rarg(x_2); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_5); -lean_dec(x_4); -x_17 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts(x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_18 = lean_ctor_get(x_9, 1); -lean_inc(x_18); -x_19 = l_Lean_Syntax_getId(x_4); -x_20 = 0; -x_21 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_21, 0, x_4); -lean_ctor_set(x_21, 1, x_19); -lean_ctor_set(x_21, 2, x_18); -lean_ctor_set(x_21, 3, x_5); -lean_ctor_set_uint8(x_21, sizeof(void*)*4, x_20); -x_22 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts(x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_23); -return x_24; -} -} -} -} static lean_object* _init_l_Lean_Elab_Term_resolveName_process___closed__1() { _start: { @@ -41168,120 +42590,117 @@ x_1 = l_Lean_Elab_relaxedAutoImplicit; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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_14; -x_14 = l_List_isEmpty___rarg(x_6); -if (x_14 == 0) +uint8_t x_11; +x_11 = l_List_isEmpty___rarg(x_3); +if (x_11 == 0) { -lean_object* x_15; lean_object* x_16; -lean_dec(x_2); -x_15 = lean_box(0); -x_16 = l_Lean_Elab_Term_resolveName_process___lambda__2(x_6, x_4, x_3, x_1, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_16; -} -else -{ -lean_object* x_17; uint8_t x_31; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +lean_object* x_12; lean_dec(x_1); -x_31 = lean_ctor_get_uint8(x_7, sizeof(void*)*8 + 2); -if (x_31 == 0) -{ -lean_object* x_32; -x_32 = lean_box(0); -x_17 = x_32; -goto block_30; +x_12 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts(x_3, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } else { -lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; -x_33 = lean_ctor_get(x_11, 0); -lean_inc(x_33); -x_34 = l_Lean_Elab_Term_resolveName_process___closed__3; -x_35 = l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(x_33, x_34); -lean_dec(x_33); -lean_inc(x_2); -x_36 = l_Lean_Elab_isValidAutoBoundImplicitName(x_2, x_35); -if (x_36 == 0) +lean_object* x_13; uint8_t x_27; +lean_dec(x_3); +lean_dec(x_2); +x_27 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +if (x_27 == 0) { -lean_object* x_37; -x_37 = lean_box(0); -x_17 = x_37; -goto block_30; +lean_object* x_28; +x_28 = lean_box(0); +x_13 = x_28; +goto block_26; } else { -lean_object* x_38; uint8_t x_39; -x_38 = l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1(x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_8, 0); +lean_inc(x_29); +x_30 = l_Lean_Elab_Term_resolveName_process___closed__3; +x_31 = l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(x_29, x_30); +lean_dec(x_29); +lean_inc(x_1); +x_32 = l_Lean_Elab_isValidAutoBoundImplicitName(x_1, x_31); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = lean_box(0); +x_13 = x_33; +goto block_26; +} +else +{ +lean_object* x_34; uint8_t x_35; +x_34 = l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { +return x_34; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_34); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); return x_38; } -else +} +} +block_26: { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_38, 0); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_38); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -} -block_30: -{ -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; uint8_t x_26; -lean_dec(x_17); -x_18 = lean_box(0); -x_19 = l_Lean_mkConst(x_2, x_18); -x_20 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = l_Lean_Elab_Term_resolveName_process___closed__2; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__4; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +lean_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; uint8_t x_22; +lean_dec(x_13); +x_14 = lean_box(0); +x_15 = l_Lean_mkConst(x_1, x_14); +x_16 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = l_Lean_Elab_Term_resolveName_process___closed__2; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__4; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -return x_25; +return x_21; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_25); -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; +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_21); +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; } } } @@ -41310,25 +42729,6 @@ lean_dec(x_3); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Elab_Term_resolveName_process___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_6); -lean_dec(x_3); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Elab_Term_resolveName_process(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_3); -return x_14; -} -} LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -41415,141 +42815,31 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_14; -x_14 = l_List_isEmpty___rarg(x_1); -if (x_14 == 0) +uint8_t x_12; +x_12 = l_List_isEmpty___rarg(x_1); +if (x_12 == 0) { -lean_object* x_15; -lean_inc(x_1); -x_15 = l_Lean_Elab_Term_resolveName_process(x_2, x_3, x_1, x_4, x_5, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_13; +x_13 = l_Lean_Elab_Term_resolveName_process(x_2, x_3, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(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_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -lean_ctor_set(x_15, 0, x_19); -return x_15; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_15, 0); -x_21 = lean_ctor_get(x_15, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_15); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_21); -return x_24; -} -} -else -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_15); -if (x_25 == 0) -{ -return x_15; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_15, 0); -x_27 = lean_ctor_get(x_15, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_15); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_inc(x_11); -lean_inc(x_3); -x_29 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Elab_Term_resolveName_process(x_2, x_3, x_1, x_4, x_5, x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_31); -lean_dec(x_1); -if (lean_obj_tag(x_32) == 0) -{ -uint8_t x_33; -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 0); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_32, 0, x_36); -return x_32; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_37 = lean_ctor_get(x_32, 0); -x_38 = lean_ctor_get(x_32, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_32); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_39); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_38); -return x_41; -} -} -else -{ -uint8_t x_42; -x_42 = !lean_is_exclusive(x_32); -if (x_42 == 0) -{ -return x_32; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_32, 0); -x_44 = lean_ctor_get(x_32, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_32); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} +lean_inc(x_9); +lean_inc(x_2); +x_14 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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 = l_Lean_Elab_Term_resolveName_process(x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +return x_17; } } } @@ -41643,80 +42933,70 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_14; lean_object* x_15; -lean_dec(x_6); -lean_inc(x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Term_resolveName___lambda__2___boxed), 2, 1); -lean_closure_set(x_14, 0, x_7); +lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +lean_inc(x_5); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Term_resolveName___lambda__2___boxed), 2, 1); +lean_closure_set(x_12, 0, x_5); lean_inc(x_1); -x_15 = l_List_findSome_x3f___rarg(x_14, x_1); -if (lean_obj_tag(x_15) == 0) +x_13 = l_List_findSome_x3f___rarg(x_12, x_1); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_16; lean_object* x_17; -x_16 = lean_box(0); -x_17 = l_Lean_Elab_Term_resolveName___lambda__1(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_17; +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = l_Lean_Elab_Term_resolveName___lambda__1(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; } else { -lean_object* x_18; uint8_t x_19; -lean_dec(x_12); -lean_dec(x_11); +lean_object* x_16; uint8_t x_17; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_18 = lean_ctor_get(x_15, 0); -lean_inc(x_18); -lean_dec(x_15); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +lean_dec(x_13); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_18); -lean_ctor_set(x_21, 1, x_20); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_13); -return x_24; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_11); +return x_20; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_25 = lean_ctor_get(x_18, 0); -x_26 = lean_ctor_get(x_18, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_18); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -x_30 = lean_box(0); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_13); -return x_32; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_21 = lean_ctor_get(x_16, 0); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_16); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_11); +return x_26; } } } @@ -41724,7 +43004,7 @@ return x_32; LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_1); lean_ctor_set(x_11, 1, x_2); @@ -41732,17 +43012,13 @@ x_12 = lean_box(0); x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_10); -return x_16; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_10); +return x_14; } } -static lean_object* _init_l_Lean_Elab_Term_resolveName___lambda__5___closed__1() { +static lean_object* _init_l_Lean_Elab_Term_resolveName___closed__1() { _start: { lean_object* x_1; @@ -41750,16 +43026,16 @@ x_1 = lean_mk_string("invalid use of explicit universe parameters, '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_resolveName___lambda__5___closed__2() { +static lean_object* _init_l_Lean_Elab_Term_resolveName___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_resolveName___lambda__5___closed__1; +x_1 = l_Lean_Elab_Term_resolveName___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_resolveName___lambda__5___closed__3() { +static lean_object* _init_l_Lean_Elab_Term_resolveName___closed__3() { _start: { lean_object* x_1; @@ -41767,416 +43043,117 @@ x_1 = lean_mk_string("' is a local"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_resolveName___lambda__5___closed__4() { +static lean_object* _init_l_Lean_Elab_Term_resolveName___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_resolveName___lambda__5___closed__3; +x_1 = l_Lean_Elab_Term_resolveName___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__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* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -lean_dec(x_4); -x_12 = l_List_isEmpty___rarg(x_3); -lean_dec(x_3); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -lean_dec(x_2); -x_13 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_13, 0, x_1); -x_14 = l_Lean_Elab_Term_resolveName___lambda__5___closed__2; -x_15 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -x_16 = l_Lean_Elab_Term_resolveName___lambda__5___closed__4; -x_17 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -return x_18; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_18); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_box(0); -x_24 = l_Lean_Elab_Term_resolveName___lambda__4(x_1, x_2, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_24; -} -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_29; lean_object* x_30; +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +x_14 = l_Lean_Syntax_getId(x_1); +x_15 = 0; +x_16 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_16, 0, x_1); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_16, 2, x_13); +lean_ctor_set(x_16, 3, x_5); +lean_ctor_set_uint8(x_16, sizeof(void*)*4, x_15); +x_17 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); lean_inc(x_8); lean_inc(x_2); -x_29 = l_Lean_Elab_Term_resolveLocalName(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -if (lean_obj_tag(x_30) == 0) +x_19 = l_Lean_Elab_Term_resolveLocalName(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_box(0); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_1); -lean_inc(x_3); -x_33 = l_Lean_Elab_Term_resolveName___lambda__3(x_3, x_1, x_2, x_4, x_5, x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_33) == 0) -{ -uint8_t x_34; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_33, 0); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -lean_dec(x_35); -lean_ctor_set(x_33, 0, x_36); -return x_33; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_33, 0); -x_38 = lean_ctor_get(x_33, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_33); -x_39 = lean_ctor_get(x_37, 0); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -return x_40; -} -} -else -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_33, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_33, 1); -lean_inc(x_42); -lean_dec(x_33); -x_13 = x_41; -x_14 = x_42; -goto block_28; -} -} -else -{ -lean_object* x_43; uint8_t x_44; -lean_dec(x_2); -x_43 = lean_ctor_get(x_30, 0); -lean_inc(x_43); -lean_dec(x_30); -x_44 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_45 = lean_ctor_get(x_29, 1); -lean_inc(x_45); -lean_dec(x_29); -x_46 = lean_ctor_get(x_43, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_43, 1); -lean_inc(x_47); -lean_dec(x_43); -x_48 = lean_box(0); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_49 = l_Lean_Elab_Term_resolveName___lambda__5(x_46, x_47, x_4, x_48, x_6, x_7, x_8, x_9, x_10, x_11, x_45); -if (lean_obj_tag(x_49) == 0) -{ -uint8_t x_50; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_49, 0); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -lean_dec(x_51); -lean_ctor_set(x_49, 0, x_52); -return x_49; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_53 = lean_ctor_get(x_49, 0); -x_54 = lean_ctor_get(x_49, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_49); -x_55 = lean_ctor_get(x_53, 0); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -return x_56; -} -} -else -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_49, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_49, 1); -lean_inc(x_58); -lean_dec(x_49); -x_13 = x_57; -x_14 = x_58; -goto block_28; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t 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_29, 1); -lean_inc(x_59); -lean_dec(x_29); -x_60 = lean_ctor_get(x_43, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_43, 1); -lean_inc(x_61); -lean_dec(x_43); -x_62 = lean_ctor_get(x_8, 1); -lean_inc(x_62); -x_63 = l_Lean_Syntax_getId(x_1); -x_64 = 0; -lean_inc(x_5); -lean_inc(x_1); -x_65 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_65, 0, x_1); -lean_ctor_set(x_65, 1, x_63); -lean_ctor_set(x_65, 2, x_62); -lean_ctor_set(x_65, 3, x_5); -lean_ctor_set_uint8(x_65, sizeof(void*)*4, x_64); -x_66 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_65, x_6, x_7, x_8, x_9, x_10, x_11, x_59); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_69 = l_Lean_Elab_Term_resolveName___lambda__5(x_60, x_61, x_4, x_67, x_6, x_7, x_8, x_9, x_10, x_11, x_68); -if (lean_obj_tag(x_69) == 0) -{ -uint8_t x_70; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_70 = !lean_is_exclusive(x_69); -if (x_70 == 0) -{ -lean_object* x_71; lean_object* x_72; -x_71 = lean_ctor_get(x_69, 0); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -lean_dec(x_71); -lean_ctor_set(x_69, 0, x_72); -return x_69; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_73 = lean_ctor_get(x_69, 0); -x_74 = lean_ctor_get(x_69, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_69); -x_75 = lean_ctor_get(x_73, 0); -lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -return x_76; -} -} -else -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_69, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_69, 1); -lean_inc(x_78); -lean_dec(x_69); -x_13 = x_77; -x_14 = x_78; -goto block_28; -} -} -} -block_28: -{ -uint8_t x_15; -x_15 = l_List_isEmpty___rarg(x_3); -lean_dec(x_3); -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_13); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -else -{ -uint8_t x_17; -x_17 = l_List_isEmpty___rarg(x_4); -lean_dec(x_4); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_13); -lean_ctor_set(x_18, 1, x_14); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_19 = lean_ctor_get(x_8, 1); -lean_inc(x_19); -x_20 = l_Lean_Syntax_getId(x_1); -x_21 = 0; -x_22 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_22, 0, x_1); -lean_ctor_set(x_22, 1, x_20); -lean_ctor_set(x_22, 2, x_19); -lean_ctor_set(x_22, 3, x_5); -lean_ctor_set_uint8(x_22, sizeof(void*)*4, x_21); -x_23 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_14); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -lean_ctor_set_tag(x_23, 1); -lean_ctor_set(x_23, 0, x_13); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = l_Lean_Elab_Term_resolveName___lambda__3(x_3, x_2, x_4, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_21); return x_23; } else { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_23, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_ctor_get(x_20, 0); +lean_inc(x_24); +lean_dec(x_20); +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_dec(x_19); +x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_13); -lean_ctor_set(x_27, 1, x_26); -return x_27; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = l_List_isEmpty___rarg(x_4); +lean_dec(x_4); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_dec(x_27); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_26); +x_30 = l_Lean_Elab_Term_resolveName___closed__2; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_Elab_Term_resolveName___closed__4; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +return x_34; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_34); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_box(0); +x_40 = l_Lean_Elab_Term_resolveName___lambda__4(x_26, x_27, x_39, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_40; } } } @@ -42204,13 +43181,13 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___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: { -lean_object* x_14; -x_14 = l_Lean_Elab_Term_resolveName___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_6); -return x_14; +lean_object* x_12; +x_12 = l_Lean_Elab_Term_resolveName___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__2___boxed(lean_object* x_1, lean_object* x_2) { @@ -50284,7 +51261,7 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Elab_withoutModifyingStateWithInfoAndMes return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -50294,7 +51271,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__2() { _start: { lean_object* x_1; @@ -50302,17 +51279,17 @@ x_1 = lean_mk_string("debug"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__11; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__2; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -50324,7 +51301,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_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__1; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__1; x_6 = l_Lean_registerTraceClass(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -50332,7 +51309,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_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__3; +x_8 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__3; x_9 = l_Lean_registerTraceClass(x_8, x_7); return x_9; } @@ -50722,7 +51699,7 @@ l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__17 = _init_l_Lean_Elab_Term lean_mark_persistent(l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__17); l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__18 = _init_l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__18(); lean_mark_persistent(l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__18); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2080_(lean_io_mk_world()); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2081_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_termElabAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_termElabAttribute); @@ -50873,28 +51850,28 @@ l_Lean_Elab_Term_synthesizeInstMVarCore___closed__4 = _init_l_Lean_Elab_Term_syn lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__4); l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843____closed__4); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5843_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_autoLift = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_autoLift); lean_dec_ref(res); -}l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865____closed__4); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5865_(lean_io_mk_world()); +}l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_maxCoeSize = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_maxCoeSize); @@ -51154,11 +52131,11 @@ l_Lean_Elab_Term_mkAuxName___closed__1 = _init_l_Lean_Elab_Term_mkAuxName___clos lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__1); l_Lean_Elab_Term_mkAuxName___closed__2 = _init_l_Lean_Elab_Term_mkAuxName___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065____closed__2); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13065_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__2); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1(); @@ -51193,14 +52170,14 @@ l_Lean_Elab_Term_resolveName_process___closed__2 = _init_l_Lean_Elab_Term_resolv lean_mark_persistent(l_Lean_Elab_Term_resolveName_process___closed__2); l_Lean_Elab_Term_resolveName_process___closed__3 = _init_l_Lean_Elab_Term_resolveName_process___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_resolveName_process___closed__3); -l_Lean_Elab_Term_resolveName___lambda__5___closed__1 = _init_l_Lean_Elab_Term_resolveName___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_resolveName___lambda__5___closed__1); -l_Lean_Elab_Term_resolveName___lambda__5___closed__2 = _init_l_Lean_Elab_Term_resolveName___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_resolveName___lambda__5___closed__2); -l_Lean_Elab_Term_resolveName___lambda__5___closed__3 = _init_l_Lean_Elab_Term_resolveName___lambda__5___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_resolveName___lambda__5___closed__3); -l_Lean_Elab_Term_resolveName___lambda__5___closed__4 = _init_l_Lean_Elab_Term_resolveName___lambda__5___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_resolveName___lambda__5___closed__4); +l_Lean_Elab_Term_resolveName___closed__1 = _init_l_Lean_Elab_Term_resolveName___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_resolveName___closed__1); +l_Lean_Elab_Term_resolveName___closed__2 = _init_l_Lean_Elab_Term_resolveName___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_resolveName___closed__2); +l_Lean_Elab_Term_resolveName___closed__3 = _init_l_Lean_Elab_Term_resolveName___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_resolveName___closed__3); +l_Lean_Elab_Term_resolveName___closed__4 = _init_l_Lean_Elab_Term_resolveName___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_resolveName___closed__4); l_Lean_Elab_Term_resolveName_x27___closed__1 = _init_l_Lean_Elab_Term_resolveName_x27___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_resolveName_x27___closed__1); l_Lean_Elab_Term_resolveName_x27___closed__2 = _init_l_Lean_Elab_Term_resolveName_x27___closed__2(); @@ -51321,13 +52298,13 @@ l_Lean_Elab_Term_expandDeclId___closed__1 = _init_l_Lean_Elab_Term_expandDeclId_ lean_mark_persistent(l_Lean_Elab_Term_expandDeclId___closed__1); l_Lean_Elab_Term_expandDeclId___closed__2 = _init_l_Lean_Elab_Term_expandDeclId___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_expandDeclId___closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667____closed__3); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15667_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310____closed__3); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15310_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index 45567df1ef..9100e3673f 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -330,7 +330,7 @@ static lean_object* l_Lean_Meta_mkEqOfHEq___closed__3; static lean_object* l_Lean_Meta_mkProjection___lambda__1___closed__9; static lean_object* l_Lean_Meta_mkEqMPR___closed__1; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_5672_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_5653_(lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -14282,7 +14282,7 @@ x_10 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkBinaryRel(x_8, x_9, x_1, return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_5672_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_5653_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -14754,7 +14754,7 @@ l_Lean_Meta_mkMul___closed__3 = _init_l_Lean_Meta_mkMul___closed__3(); lean_mark_persistent(l_Lean_Meta_mkMul___closed__3); l_Lean_Meta_mkMul___closed__4 = _init_l_Lean_Meta_mkMul___closed__4(); lean_mark_persistent(l_Lean_Meta_mkMul___closed__4); -res = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_5672_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_5653_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index 62128e3f0c..49ac568cbb 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -14,7 +14,7 @@ extern "C" { #endif LEAN_EXPORT 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_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignmentQuick_check_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__11; @@ -23,7 +23,7 @@ lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_o LEAN_EXPORT lean_object* l_Lean_Meta_mkAuxMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__2; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isCached___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_elem___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit___spec__2___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__2; @@ -44,7 +44,7 @@ static lean_object* l_Lean_Meta_isDefEqStringLit___closed__3; lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__1(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashSetImp_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDepsAux___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Std_PersistentHashMap_insertAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_checkFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -56,7 +56,6 @@ static lean_object* l_Lean_Meta_CheckAssignment_check___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_checkFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__60(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_checkAssignmentAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isSynthetic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateMVars(lean_object*, lean_object*); @@ -64,8 +63,8 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkCacheKey static lean_object* l_Lean_Meta_CheckAssignment_check___closed__12; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__13; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldBothDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121_(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_checkApp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -154,7 +153,6 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_c uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__6(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__2; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__47___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDelayedAssignedHead(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -173,7 +171,6 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0_ LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit___spec__5(lean_object*, lean_object*); lean_object* l_Lean_LocalContext_findFVar_x3f(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqRight___closed__2; -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1___closed__2; @@ -196,7 +193,6 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0_ lean_object* l_Std_mkHashSetImp___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___closed__2; -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__1; size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_etaEq___boxed(lean_object*, lean_object*); @@ -211,7 +207,6 @@ uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__1; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__41(lean_object*, lean_object*, size_t, size_t); uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__2; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__8; @@ -241,6 +236,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignmen static lean_object* l_Lean_Meta_CheckAssignment_check___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__2; +lean_object* l_Lean_Meta_mkProjFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_is_level_def_eq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitApp___at_Lean_Meta_CheckAssignment_checkMVar___spec__36(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); @@ -250,6 +246,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_checkAssignmentExceptionId; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__61(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__4; +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__1; lean_object* l_Lean_Core_instMonadOptionsCoreM___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadLiftReaderT___rarg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__9; @@ -283,7 +280,6 @@ lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CheckAssignment_checkApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickMVarMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__3; @@ -296,6 +292,7 @@ lean_object* l_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj_isDefEqSingleton___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__1; static lean_object* l_Lean_Meta_CheckAssignment_check___closed__3; lean_object* l_Lean_addTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -305,6 +302,7 @@ lean_object* lean_local_ctx_get(lean_object*, lean_object*); lean_object* l_Lean_patternAnnotation_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isCached___spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__2; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__7; @@ -335,6 +333,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_Ex LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_consumeLet___boxed(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__8(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__57___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -389,6 +388,7 @@ uint64_t l_Lean_Expr_hash(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitApp___at_Lean_Meta_CheckAssignment_checkMVar___spec__36___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__46___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__2; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__3; static lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -649,7 +649,7 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkM uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitApp___at_Lean_Meta_CheckAssignment_checkMVar___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_14701_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_14743_(lean_object*); lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1264,379 +1264,398 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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) { _start: { -uint8_t x_17; -x_17 = lean_nat_dec_le(x_9, x_8); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -x_18 = lean_unsigned_to_nat(0u); -x_19 = lean_nat_dec_eq(x_7, x_18); +uint8_t x_19; +x_19 = lean_nat_dec_le(x_11, x_10); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -lean_dec(x_11); -x_20 = lean_unsigned_to_nat(1u); -x_21 = lean_nat_sub(x_7, x_20); -lean_dec(x_7); -x_22 = lean_nat_sub(x_8, x_3); -lean_inc(x_1); -lean_inc(x_22); -lean_inc(x_4); -x_23 = l_Lean_mkProj(x_4, x_22, x_1); -x_24 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__8; -x_87 = lean_st_ref_get(x_15, x_16); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_88, 3); -lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_ctor_get_uint8(x_89, sizeof(void*)*1); -lean_dec(x_89); -if (x_90 == 0) +lean_object* x_20; uint8_t x_21; +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_nat_dec_eq(x_9, x_20); +if (x_21 == 0) { -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_87, 1); -lean_inc(x_91); -lean_dec(x_87); -x_92 = 0; -x_25 = x_92; -x_26 = x_91; -goto block_86; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +lean_dec(x_13); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_9, x_22); +lean_dec(x_9); +x_24 = lean_nat_sub(x_10, x_5); +lean_inc(x_1); +lean_inc(x_24); +lean_inc(x_7); +lean_inc(x_4); +lean_inc(x_3); +x_25 = l_Lean_Meta_mkProjFn(x_3, x_4, x_7, x_24, x_1, x_16, x_17, x_18); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__8; +x_91 = lean_st_ref_get(x_17, x_27); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_92, 3); +lean_inc(x_93); +lean_dec(x_92); +x_94 = lean_ctor_get_uint8(x_93, sizeof(void*)*1); +lean_dec(x_93); +if (x_94 == 0) +{ +lean_object* x_95; uint8_t x_96; +x_95 = lean_ctor_get(x_91, 1); +lean_inc(x_95); +lean_dec(x_91); +x_96 = 0; +x_29 = x_96; +x_30 = x_95; +goto block_90; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_93 = lean_ctor_get(x_87, 1); -lean_inc(x_93); -lean_dec(x_87); -x_94 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_24, x_12, x_13, x_14, x_15, x_93); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_unbox(x_95); -lean_dec(x_95); -x_25 = x_97; -x_26 = x_96; -goto block_86; +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_91, 1); +lean_inc(x_97); +lean_dec(x_91); +x_98 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_28, x_14, x_15, x_16, x_17, x_97); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = lean_unbox(x_99); +lean_dec(x_99); +x_29 = x_101; +x_30 = x_100; +goto block_90; } -block_86: +block_90: { -if (x_25 == 0) -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_22); -x_27 = lean_box(0); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_6); -lean_inc(x_8); -x_28 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2(x_5, x_8, x_23, x_24, x_6, x_27, x_12, x_13, x_14, x_15, x_26); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) -{ -uint8_t x_30; -lean_dec(x_21); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_30 = !lean_is_exclusive(x_28); -if (x_30 == 0) +if (x_29 == 0) { lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_28, 0); -lean_dec(x_31); -x_32 = lean_ctor_get(x_29, 0); -lean_inc(x_32); -lean_dec(x_29); -lean_ctor_set(x_28, 0, x_32); -return x_28; -} -else +lean_dec(x_24); +x_31 = lean_box(0); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_8); +lean_inc(x_10); +x_32 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2(x_6, x_10, x_26, x_28, x_8, x_31, x_14, x_15, x_16, x_17, x_30); +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_28, 1); +lean_object* x_33; +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -lean_dec(x_28); -x_34 = lean_ctor_get(x_29, 0); -lean_inc(x_34); -lean_dec(x_29); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -return x_35; +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +lean_dec(x_23); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_32); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_32, 0); +lean_dec(x_35); +x_36 = lean_ctor_get(x_33, 0); +lean_inc(x_36); +lean_dec(x_33); +lean_ctor_set(x_32, 0, x_36); +return x_32; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_32, 1); +lean_inc(x_37); +lean_dec(x_32); +x_38 = lean_ctor_get(x_33, 0); +lean_inc(x_38); +lean_dec(x_33); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +return x_39; } } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_28, 1); -lean_inc(x_36); -lean_dec(x_28); -x_37 = lean_ctor_get(x_29, 0); -lean_inc(x_37); -lean_dec(x_29); -x_38 = lean_nat_add(x_8, x_10); -lean_dec(x_8); -x_7 = x_21; -x_8 = x_38; -x_11 = x_37; -x_16 = x_36; +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_32, 1); +lean_inc(x_40); +lean_dec(x_32); +x_41 = lean_ctor_get(x_33, 0); +lean_inc(x_41); +lean_dec(x_33); +x_42 = lean_nat_add(x_10, x_12); +lean_dec(x_10); +x_9 = x_23; +x_10 = x_42; +x_13 = x_41; +x_18 = x_40; goto _start; } } else { -uint8_t x_40; -lean_dec(x_21); +uint8_t x_44; +lean_dec(x_23); +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); +lean_dec(x_10); lean_dec(x_8); -lean_dec(x_6); +lean_dec(x_7); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_28); -if (x_40 == 0) +x_44 = !lean_is_exclusive(x_32); +if (x_44 == 0) { -return x_28; +return x_32; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_28, 0); -x_42 = lean_ctor_get(x_28, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_28); -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* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_32, 0); +x_46 = lean_ctor_get(x_32, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_32); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_inc(x_1); -x_44 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_44, 0, x_1); -x_45 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -lean_inc(x_2); -x_49 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_49, 0, x_2); +x_48 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_48, 0, x_1); +x_49 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__12; +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; x_52 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Nat_repr(x_22); -x_54 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_54, 0, x_53); -x_55 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_55, 0, x_54); +lean_inc(x_2); +x_53 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_53, 0, x_2); +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__12; x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_52); +lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__14; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -lean_inc(x_23); -x_59 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_59, 0, x_23); +x_57 = l_Nat_repr(x_24); +x_58 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_58); x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 0, x_56); lean_ctor_set(x_60, 1, x_59); -x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_47); -x_62 = l_Lean_instInhabitedExpr; -x_63 = lean_array_get(x_62, x_5, x_8); -x_64 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_64, 0, x_63); +x_61 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__14; +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +lean_inc(x_26); +x_63 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_63, 0, x_26); +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); x_65 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_65, 0, x_61); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_45); -x_67 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_24, x_66, x_12, x_13, x_14, x_15, x_26); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_51); +x_66 = l_Lean_instInhabitedExpr; +x_67 = lean_array_get(x_66, x_6, x_10); +x_68 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_68, 0, x_67); +x_69 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_69, 0, x_65); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_49); +x_71 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_28, x_70, x_14, x_15, x_16, x_17, x_30); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +lean_inc(x_17); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_6); lean_inc(x_8); -x_70 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2(x_5, x_8, x_23, x_24, x_6, x_68, x_12, x_13, x_14, x_15, x_69); -lean_dec(x_68); -if (lean_obj_tag(x_70) == 0) +lean_inc(x_10); +x_74 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2(x_6, x_10, x_26, x_28, x_8, x_72, x_14, x_15, x_16, x_17, x_73); +lean_dec(x_72); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_71; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -if (lean_obj_tag(x_71) == 0) +lean_object* x_75; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +if (lean_obj_tag(x_75) == 0) { -uint8_t x_72; -lean_dec(x_21); +uint8_t x_76; +lean_dec(x_23); +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); +lean_dec(x_10); lean_dec(x_8); -lean_dec(x_6); +lean_dec(x_7); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_70); -if (x_72 == 0) +x_76 = !lean_is_exclusive(x_74); +if (x_76 == 0) { -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_70, 0); -lean_dec(x_73); -x_74 = lean_ctor_get(x_71, 0); -lean_inc(x_74); -lean_dec(x_71); -lean_ctor_set(x_70, 0, x_74); -return x_70; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_70, 1); -lean_inc(x_75); -lean_dec(x_70); -x_76 = lean_ctor_get(x_71, 0); -lean_inc(x_76); -lean_dec(x_71); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -return x_77; -} -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_70, 1); +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_74, 0); +lean_dec(x_77); +x_78 = lean_ctor_get(x_75, 0); lean_inc(x_78); -lean_dec(x_70); -x_79 = lean_ctor_get(x_71, 0); +lean_dec(x_75); +lean_ctor_set(x_74, 0, x_78); +return x_74; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_74, 1); lean_inc(x_79); -lean_dec(x_71); -x_80 = lean_nat_add(x_8, x_10); -lean_dec(x_8); -x_7 = x_21; -x_8 = x_80; -x_11 = x_79; -x_16 = x_78; +lean_dec(x_74); +x_80 = lean_ctor_get(x_75, 0); +lean_inc(x_80); +lean_dec(x_75); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_79); +return x_81; +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_74, 1); +lean_inc(x_82); +lean_dec(x_74); +x_83 = lean_ctor_get(x_75, 0); +lean_inc(x_83); +lean_dec(x_75); +x_84 = lean_nat_add(x_10, x_12); +lean_dec(x_10); +x_9 = x_23; +x_10 = x_84; +x_13 = x_83; +x_18 = x_82; goto _start; } } else { -uint8_t x_82; -lean_dec(x_21); +uint8_t x_86; +lean_dec(x_23); +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_82 = !lean_is_exclusive(x_70); -if (x_82 == 0) -{ -return x_70; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_70, 0); -x_84 = lean_ctor_get(x_70, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_70); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; -} -} -} -} -} -else -{ -lean_object* x_98; -lean_dec(x_15); -lean_dec(x_14); -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_3); lean_dec(x_2); lean_dec(x_1); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_11); -lean_ctor_set(x_98, 1, x_16); -return x_98; +x_86 = !lean_is_exclusive(x_74); +if (x_86 == 0) +{ +return x_74; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_74, 0); +x_88 = lean_ctor_get(x_74, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_74); +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; +} +} +} } } else { -lean_object* x_99; +lean_object* x_102; +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_11); -lean_ctor_set(x_99, 1, x_16); -return x_99; +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_13); +lean_ctor_set(x_102, 1, x_18); +return x_102; +} +} +else +{ +lean_object* x_103; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_13); +lean_ctor_set(x_103, 1, x_18); +return x_103; } } } @@ -1655,6 +1674,18 @@ return x_9; static lean_object* _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +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; +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__2() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___lambda__1___boxed), 6, 0); return x_1; @@ -1663,7 +1694,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___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 x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_28; lean_object* x_29; lean_object* x_68; lean_object* x_69; +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; uint8_t x_28; lean_object* x_29; 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_14 = l_Lean_Meta_saveState___rarg(x_10, x_11, x_12, x_13); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); @@ -1676,93 +1707,98 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -x_68 = lean_unsigned_to_nat(1u); +x_68 = lean_st_ref_get(x_12, x_19); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); +x_70 = lean_array_get_size(x_6); +x_71 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1; +x_72 = lean_unsigned_to_nat(1u); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_6); -lean_inc(x_7); -lean_inc(x_3); -x_69 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(x_1, x_2, x_3, x_4, x_5, x_7, x_6, x_3, x_6, x_68, x_7, x_9, x_10, x_11, x_12, x_19); -lean_dec(x_6); -lean_dec(x_3); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; -x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); +lean_inc(x_5); +x_73 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_71, x_70, x_5, x_70, x_72, x_71, x_9, x_10, x_11, x_12, x_69); lean_dec(x_70); -if (lean_obj_tag(x_71) == 0) +lean_dec(x_5); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_72 = lean_ctor_get(x_69, 1); -lean_inc(x_72); -lean_dec(x_69); -x_73 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1; -x_74 = lean_box(0); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_75 = lean_apply_6(x_73, x_74, x_9, x_10, x_11, x_12, x_72); +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +lean_dec(x_74); if (lean_obj_tag(x_75) == 0) { -lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_76 = lean_ctor_get(x_75, 0); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_76 = lean_ctor_get(x_73, 1); lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_unbox(x_76); -lean_dec(x_76); -x_28 = x_78; -x_29 = x_77; +lean_dec(x_73); +x_77 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__2; +x_78 = lean_box(0); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_79 = lean_apply_6(x_77, x_78, x_9, x_10, x_11, x_12, x_76); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +x_82 = lean_unbox(x_80); +lean_dec(x_80); +x_28 = x_82; +x_29 = x_81; goto block_67; } else { -lean_object* x_79; lean_object* x_80; +lean_object* x_83; lean_object* x_84; lean_dec(x_18); -x_79 = lean_ctor_get(x_75, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_75, 1); -lean_inc(x_80); -lean_dec(x_75); -x_20 = x_79; -x_21 = x_80; +x_83 = lean_ctor_get(x_79, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_79, 1); +lean_inc(x_84); +lean_dec(x_79); +x_20 = x_83; +x_21 = x_84; goto block_27; } } else { -lean_object* x_81; lean_object* x_82; uint8_t x_83; -x_81 = lean_ctor_get(x_69, 1); -lean_inc(x_81); -lean_dec(x_69); -x_82 = lean_ctor_get(x_71, 0); -lean_inc(x_82); -lean_dec(x_71); -x_83 = lean_unbox(x_82); -lean_dec(x_82); -x_28 = x_83; -x_29 = x_81; +lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_85 = lean_ctor_get(x_73, 1); +lean_inc(x_85); +lean_dec(x_73); +x_86 = lean_ctor_get(x_75, 0); +lean_inc(x_86); +lean_dec(x_75); +x_87 = lean_unbox(x_86); +lean_dec(x_86); +x_28 = x_87; +x_29 = x_85; goto block_67; } } else { -lean_object* x_84; lean_object* x_85; +lean_object* x_88; lean_object* x_89; lean_dec(x_18); -x_84 = lean_ctor_get(x_69, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_69, 1); -lean_inc(x_85); -lean_dec(x_69); -x_20 = x_84; -x_21 = x_85; +x_88 = lean_ctor_get(x_73, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_73, 1); +lean_inc(x_89); +lean_dec(x_73); +x_20 = x_88; +x_21 = x_89; goto block_27; } block_27: @@ -2010,405 +2046,399 @@ x_2 = l_Lean_mkSort(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__7() { +LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = lean_box(0); -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_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_9 = lean_ctor_get(x_3, 3); -lean_inc(x_9); -x_10 = lean_ctor_get(x_3, 4); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_10 = lean_ctor_get(x_3, 3); lean_inc(x_10); -x_11 = lean_nat_add(x_9, x_10); -lean_dec(x_10); -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Expr_getAppNumArgsAux(x_2, x_12); -x_14 = lean_nat_dec_eq(x_11, x_13); +x_11 = lean_ctor_get(x_3, 4); +lean_inc(x_11); +x_12 = lean_nat_add(x_10, x_11); lean_dec(x_11); -if (x_14 == 0) +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_Expr_getAppNumArgsAux(x_2, x_13); +x_15 = lean_nat_dec_eq(x_12, x_14); +lean_dec(x_12); +if (x_15 == 0) { -lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -lean_dec(x_13); -lean_dec(x_9); +lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_15 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__8; -x_31 = lean_st_ref_get(x_7, x_8); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_32, 3); +x_16 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__8; +x_32 = lean_st_ref_get(x_8, x_9); +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -lean_dec(x_32); -x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); +x_34 = lean_ctor_get(x_33, 3); +lean_inc(x_34); lean_dec(x_33); -if (x_34 == 0) +x_35 = lean_ctor_get_uint8(x_34, sizeof(void*)*1); +lean_dec(x_34); +if (x_35 == 0) { -lean_object* x_35; uint8_t x_36; -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); -lean_dec(x_31); -x_36 = 0; -x_16 = x_36; -x_17 = x_35; -goto block_30; +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_dec(x_32); +x_37 = 0; +x_17 = x_37; +x_18 = x_36; +goto block_31; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_37 = lean_ctor_get(x_31, 1); -lean_inc(x_37); -lean_dec(x_31); -x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_15, x_4, x_5, x_6, x_7, x_37); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_dec(x_32); +x_39 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_16, x_5, x_6, x_7, x_8, x_38); +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_unbox(x_39); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); lean_dec(x_39); -x_16 = x_41; -x_17 = x_40; -goto block_30; +x_42 = lean_unbox(x_40); +lean_dec(x_40); +x_17 = x_42; +x_18 = x_41; +goto block_31; } -block_30: +block_31: { -lean_object* x_18; -x_18 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__1; -if (x_16 == 0) +lean_object* x_19; +x_19 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__1; +if (x_17 == 0) { -lean_object* x_19; lean_object* x_20; +lean_object* x_20; lean_object* x_21; lean_dec(x_2); -x_19 = lean_box(0); -x_20 = lean_apply_6(x_18, x_19, x_4, x_5, x_6, x_7, x_17); -return x_20; +x_20 = lean_box(0); +x_21 = lean_apply_6(x_19, x_20, x_5, x_6, x_7, x_8, x_18); +return x_21; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_21 = l_Lean_indentExpr(x_2); -x_22 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__3; -x_23 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -x_24 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_15, x_25, x_4, x_5, x_6, x_7, x_17); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_22 = l_Lean_indentExpr(x_2); +x_23 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__3; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_16, x_26, x_5, x_6, x_7, x_8, x_18); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_apply_6(x_18, x_27, x_4, x_5, x_6, x_7, x_28); -return x_29; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_apply_6(x_19, x_28, x_5, x_6, x_7, x_8, x_29); +return x_30; } } } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_42 = lean_st_ref_get(x_7, x_8); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_43 = lean_st_ref_get(x_8, x_9); +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_43, 0); +x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); lean_dec(x_43); -x_46 = lean_ctor_get(x_3, 1); +x_46 = lean_ctor_get(x_44, 0); lean_inc(x_46); -lean_dec(x_3); -lean_inc(x_46); -x_47 = l_Lean_isStructureLike(x_45, x_46); -if (x_47 == 0) +lean_dec(x_44); +x_47 = lean_ctor_get(x_3, 1); +lean_inc(x_47); +x_48 = l_Lean_isStructureLike(x_46, x_47); +if (x_48 == 0) { -lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -lean_dec(x_46); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_1); -x_48 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__8; -x_64 = lean_st_ref_get(x_7, x_44); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_65, 3); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_ctor_get_uint8(x_66, sizeof(void*)*1); -lean_dec(x_66); -if (x_67 == 0) -{ -lean_object* x_68; uint8_t x_69; -x_68 = lean_ctor_get(x_64, 1); -lean_inc(x_68); -lean_dec(x_64); -x_69 = 0; -x_49 = x_69; -x_50 = x_68; -goto block_63; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_70 = lean_ctor_get(x_64, 1); -lean_inc(x_70); -lean_dec(x_64); -x_71 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_48, x_4, x_5, x_6, x_7, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_49 = x_74; -x_50 = x_73; -goto block_63; -} -block_63: -{ -lean_object* x_51; -x_51 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__1; -if (x_49 == 0) -{ -lean_object* x_52; lean_object* x_53; -lean_dec(x_2); -x_52 = lean_box(0); -x_53 = lean_apply_6(x_51, x_52, x_4, x_5, x_6, x_7, x_50); -return x_53; -} -else -{ -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; -x_54 = l_Lean_indentExpr(x_2); -x_55 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__5; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_48, x_58, x_4, x_5, x_6, x_7, x_50); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_apply_6(x_51, x_60, x_4, x_5, x_6, x_7, x_61); -return x_62; -} -} -} -else -{ -lean_object* x_75; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_1); -x_75 = lean_infer_type(x_1, x_4, x_5, x_6, x_7, x_44); -if (lean_obj_tag(x_75) == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_2); -x_78 = lean_infer_type(x_2, x_4, x_5, x_6, x_7, x_77); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_81 = l_Lean_Meta_isExprDefEq(x_76, x_79, x_4, x_5, x_6, x_7, x_80); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; uint8_t x_83; -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_unbox(x_82); -lean_dec(x_82); -if (x_83 == 0) -{ -uint8_t x_84; -lean_dec(x_46); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_14); +lean_dec(x_10); lean_dec(x_4); -lean_dec(x_2); +lean_dec(x_3); lean_dec(x_1); -x_84 = !lean_is_exclusive(x_81); +x_49 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__8; +x_65 = lean_st_ref_get(x_8, x_45); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_66, 3); +lean_inc(x_67); +lean_dec(x_66); +x_68 = lean_ctor_get_uint8(x_67, sizeof(void*)*1); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; uint8_t x_70; +x_69 = lean_ctor_get(x_65, 1); +lean_inc(x_69); +lean_dec(x_65); +x_70 = 0; +x_50 = x_70; +x_51 = x_69; +goto block_64; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_71 = lean_ctor_get(x_65, 1); +lean_inc(x_71); +lean_dec(x_65); +x_72 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_49, x_5, x_6, x_7, x_8, x_71); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_unbox(x_73); +lean_dec(x_73); +x_50 = x_75; +x_51 = x_74; +goto block_64; +} +block_64: +{ +lean_object* x_52; +x_52 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__1; +if (x_50 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_2); +x_53 = lean_box(0); +x_54 = lean_apply_6(x_52, x_53, x_5, x_6, x_7, x_8, x_51); +return x_54; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_55 = l_Lean_indentExpr(x_2); +x_56 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__5; +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_49, x_59, x_5, x_6, x_7, x_8, x_51); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_apply_6(x_52, x_61, x_5, x_6, x_7, x_8, x_62); +return x_63; +} +} +} +else +{ +lean_object* x_76; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +x_76 = lean_infer_type(x_1, x_5, x_6, x_7, x_8, x_45); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +x_79 = lean_infer_type(x_2, x_5, x_6, x_7, x_8, x_78); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_82 = l_Lean_Meta_isExprDefEq(x_77, x_80, x_5, x_6, x_7, x_8, x_81); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; uint8_t x_84; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_unbox(x_83); +lean_dec(x_83); if (x_84 == 0) { -lean_object* x_85; uint8_t x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_81, 0); -lean_dec(x_85); -x_86 = 0; -x_87 = lean_box(x_86); -lean_ctor_set(x_81, 0, x_87); -return x_81; +uint8_t x_85; +lean_dec(x_14); +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_85 = !lean_is_exclusive(x_82); +if (x_85 == 0) +{ +lean_object* x_86; uint8_t x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_82, 0); +lean_dec(x_86); +x_87 = 0; +x_88 = lean_box(x_87); +lean_ctor_set(x_82, 0, x_88); +return x_82; } else { -lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; -x_88 = lean_ctor_get(x_81, 1); -lean_inc(x_88); -lean_dec(x_81); -x_89 = 0; -x_90 = lean_box(x_89); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_88); -return x_91; +lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; +x_89 = lean_ctor_get(x_82, 1); +lean_inc(x_89); +lean_dec(x_82); +x_90 = 0; +x_91 = lean_box(x_90); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_89); +return x_92; } } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; -x_92 = lean_ctor_get(x_81, 1); -lean_inc(x_92); -lean_dec(x_81); -x_93 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__6; -lean_inc(x_13); -x_94 = lean_mk_array(x_13, x_93); -x_95 = lean_unsigned_to_nat(1u); -x_96 = lean_nat_sub(x_13, x_95); -lean_dec(x_13); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; +x_93 = lean_ctor_get(x_82, 1); +lean_inc(x_93); +lean_dec(x_82); +x_94 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__6; +lean_inc(x_14); +x_95 = lean_mk_array(x_14, x_94); +x_96 = lean_unsigned_to_nat(1u); +x_97 = lean_nat_sub(x_14, x_96); +lean_dec(x_14); lean_inc(x_2); -x_97 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_94, x_96); -x_98 = lean_array_get_size(x_97); -x_99 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__7; -x_100 = 1; -x_101 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2(x_1, x_2, x_9, x_46, x_97, x_98, x_99, x_100, x_4, x_5, x_6, x_7, x_92); -lean_dec(x_97); -return x_101; +x_98 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_95, x_97); +lean_inc(x_10); +lean_inc(x_98); +x_99 = l_Array_toSubarray___rarg(x_98, x_13, x_10); +x_100 = l_Array_ofSubarray___rarg(x_99); +x_101 = 1; +x_102 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2(x_1, x_2, x_3, x_4, x_10, x_98, x_100, x_101, x_5, x_6, x_7, x_8, x_93); +lean_dec(x_98); +return x_102; } } else { -uint8_t x_102; -lean_dec(x_46); -lean_dec(x_13); -lean_dec(x_9); +uint8_t x_103; +lean_dec(x_14); +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_102 = !lean_is_exclusive(x_81); -if (x_102 == 0) +x_103 = !lean_is_exclusive(x_82); +if (x_103 == 0) { -return x_81; +return x_82; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_81, 0); -x_104 = lean_ctor_get(x_81, 1); +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_82, 0); +x_105 = lean_ctor_get(x_82, 1); +lean_inc(x_105); lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_81); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -return x_105; +lean_dec(x_82); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; } } } else { -uint8_t x_106; -lean_dec(x_76); -lean_dec(x_46); -lean_dec(x_13); -lean_dec(x_9); +uint8_t x_107; +lean_dec(x_77); +lean_dec(x_14); +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_106 = !lean_is_exclusive(x_78); -if (x_106 == 0) +x_107 = !lean_is_exclusive(x_79); +if (x_107 == 0) { -return x_78; +return x_79; } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_78, 0); -x_108 = lean_ctor_get(x_78, 1); +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_79, 0); +x_109 = lean_ctor_get(x_79, 1); +lean_inc(x_109); lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_78); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -return x_109; +lean_dec(x_79); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; } } } else { -uint8_t x_110; -lean_dec(x_46); -lean_dec(x_13); -lean_dec(x_9); +uint8_t x_111; +lean_dec(x_14); +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_110 = !lean_is_exclusive(x_75); -if (x_110 == 0) +x_111 = !lean_is_exclusive(x_76); +if (x_111 == 0) { -return x_75; +return x_76; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_75, 0); -x_112 = lean_ctor_get(x_75, 1); +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_76, 0); +x_113 = lean_ctor_get(x_76, 1); +lean_inc(x_113); lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_75); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -return x_113; +lean_dec(x_76); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +return x_114; } } } @@ -2438,16 +2468,34 @@ lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -lean_object* x_17; -x_17 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_10); -lean_dec(x_9); +lean_object* x_19; +x_19 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); -return x_17; +return x_19; } } LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -2470,7 +2518,7 @@ uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_8); lean_dec(x_8); x_15 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_14, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_5); +lean_dec(x_6); return x_15; } } @@ -2543,323 +2591,332 @@ lean_dec(x_21); x_22 = l_Lean_Expr_getAppFn(x_2); if (lean_obj_tag(x_22) == 4) { -lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_free_object(x_8); 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_24 = lean_st_ref_get(x_6, x_20); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +x_25 = lean_st_ref_get(x_6, x_20); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_ctor_get(x_24, 1); -x_28 = lean_ctor_get(x_26, 0); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_environment_find(x_28, x_23); -if (lean_obj_tag(x_29) == 0) +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_ctor_get(x_25, 1); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_environment_find(x_29, x_23); +if (lean_obj_tag(x_30) == 0) { -uint8_t x_30; lean_object* x_31; +uint8_t x_31; lean_object* x_32; +lean_dec(x_24); 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_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_24, 0, x_31); -return x_24; +x_31 = 0; +x_32 = lean_box(x_31); +lean_ctor_set(x_25, 0, x_32); +return x_25; } else { -lean_object* x_32; -x_32 = lean_ctor_get(x_29, 0); -lean_inc(x_32); -lean_dec(x_29); -if (lean_obj_tag(x_32) == 6) -{ -lean_object* x_33; lean_object* x_34; -lean_free_object(x_24); -x_33 = lean_ctor_get(x_32, 0); +lean_object* x_33; +x_33 = lean_ctor_get(x_30, 0); lean_inc(x_33); -lean_dec(x_32); -x_34 = l_Lean_Expr_getAppFn(x_1); -if (lean_obj_tag(x_34) == 4) +lean_dec(x_30); +if (lean_obj_tag(x_33) == 6) { -lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -lean_dec(x_34); -x_36 = lean_st_ref_get(x_6, x_27); -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +lean_object* x_34; lean_object* x_35; +lean_free_object(x_25); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +lean_dec(x_33); +x_35 = l_Lean_Expr_getAppFn(x_1); +if (lean_obj_tag(x_35) == 4) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_ctor_get(x_36, 1); -x_40 = lean_ctor_get(x_38, 0); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_environment_find(x_40, x_35); -if (lean_obj_tag(x_41) == 0) +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_st_ref_get(x_6, x_28); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_42; -lean_free_object(x_36); -x_42 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_33, x_3, x_4, x_5, x_6, x_39); -return x_42; -} -else +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get(x_37, 0); +x_40 = lean_ctor_get(x_37, 1); +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_environment_find(x_41, x_36); +if (lean_obj_tag(x_42) == 0) { lean_object* x_43; -x_43 = lean_ctor_get(x_41, 0); -lean_inc(x_43); -lean_dec(x_41); -if (lean_obj_tag(x_43) == 6) +lean_free_object(x_37); +x_43 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_34, x_24, x_3, x_4, x_5, x_6, x_40); +return x_43; +} +else { -uint8_t x_44; lean_object* x_45; -lean_dec(x_43); -lean_dec(x_33); +lean_object* x_44; +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +lean_dec(x_42); +if (lean_obj_tag(x_44) == 6) +{ +uint8_t x_45; lean_object* x_46; +lean_dec(x_44); +lean_dec(x_34); +lean_dec(x_24); 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 = 0; -x_45 = lean_box(x_44); -lean_ctor_set(x_36, 0, x_45); -return x_36; +x_45 = 0; +x_46 = lean_box(x_45); +lean_ctor_set(x_37, 0, x_46); +return x_37; } else { -lean_object* x_46; -lean_dec(x_43); -lean_free_object(x_36); -x_46 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_33, x_3, x_4, x_5, x_6, x_39); -return x_46; +lean_object* x_47; +lean_dec(x_44); +lean_free_object(x_37); +x_47 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_34, x_24, x_3, x_4, x_5, x_6, x_40); +return x_47; } } } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_36, 0); -x_48 = lean_ctor_get(x_36, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_36); -x_49 = lean_ctor_get(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_37, 0); +x_49 = lean_ctor_get(x_37, 1); lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_environment_find(x_49, x_35); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; -x_51 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_33, x_3, x_4, x_5, x_6, x_48); -return x_51; -} -else +lean_inc(x_48); +lean_dec(x_37); +x_50 = lean_ctor_get(x_48, 0); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_environment_find(x_50, x_36); +if (lean_obj_tag(x_51) == 0) { lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_inc(x_52); -lean_dec(x_50); -if (lean_obj_tag(x_52) == 6) +x_52 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_34, x_24, x_3, x_4, x_5, x_6, x_49); +return x_52; +} +else { -uint8_t x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_52); -lean_dec(x_33); +lean_object* x_53; +x_53 = lean_ctor_get(x_51, 0); +lean_inc(x_53); +lean_dec(x_51); +if (lean_obj_tag(x_53) == 6) +{ +uint8_t x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_53); +lean_dec(x_34); +lean_dec(x_24); 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_53 = 0; -x_54 = lean_box(x_53); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_48); -return x_55; -} -else -{ -lean_object* x_56; -lean_dec(x_52); -x_56 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_33, x_3, x_4, x_5, x_6, x_48); +x_54 = 0; +x_55 = lean_box(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_49); return x_56; } -} -} -} else { lean_object* x_57; -lean_dec(x_34); -x_57 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_33, x_3, x_4, x_5, x_6, x_27); +lean_dec(x_53); +x_57 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_34, x_24, x_3, x_4, x_5, x_6, x_49); return x_57; } } -else -{ -uint8_t x_58; lean_object* x_59; -lean_dec(x_32); -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_58 = 0; -x_59 = lean_box(x_58); -lean_ctor_set(x_24, 0, x_59); -return x_24; -} } } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_24, 0); -x_61 = lean_ctor_get(x_24, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_58; +lean_dec(x_35); +x_58 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_34, x_24, x_3, x_4, x_5, x_6, x_28); +return x_58; +} +} +else +{ +uint8_t x_59; lean_object* x_60; +lean_dec(x_33); lean_dec(x_24); -x_62 = lean_ctor_get(x_60, 0); -lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_environment_find(x_62, x_23); -if (lean_obj_tag(x_63) == 0) -{ -uint8_t x_64; lean_object* x_65; lean_object* x_66; 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_64 = 0; -x_65 = lean_box(x_64); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_61); -return x_66; +x_59 = 0; +x_60 = lean_box(x_59); +lean_ctor_set(x_25, 0, x_60); +return x_25; +} +} } else { -lean_object* x_67; -x_67 = lean_ctor_get(x_63, 0); -lean_inc(x_67); -lean_dec(x_63); -if (lean_obj_tag(x_67) == 6) +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_61 = lean_ctor_get(x_25, 0); +x_62 = lean_ctor_get(x_25, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_25); +x_63 = lean_ctor_get(x_61, 0); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_environment_find(x_63, x_23); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_67, 0); +uint8_t x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_24); +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_65 = 0; +x_66 = lean_box(x_65); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_62); +return x_67; +} +else +{ +lean_object* x_68; +x_68 = lean_ctor_get(x_64, 0); lean_inc(x_68); -lean_dec(x_67); -x_69 = l_Lean_Expr_getAppFn(x_1); -if (lean_obj_tag(x_69) == 4) +lean_dec(x_64); +if (lean_obj_tag(x_68) == 6) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -lean_dec(x_69); -x_71 = lean_st_ref_get(x_6, x_61); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +lean_dec(x_68); +x_70 = l_Lean_Expr_getAppFn(x_1); +if (lean_obj_tag(x_70) == 4) +{ +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_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_st_ref_get(x_6, x_62); +x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_74 = x_71; +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_75 = x_72; } else { - lean_dec_ref(x_71); - x_74 = lean_box(0); + lean_dec_ref(x_72); + x_75 = lean_box(0); } -x_75 = lean_ctor_get(x_72, 0); -lean_inc(x_75); -lean_dec(x_72); -x_76 = lean_environment_find(x_75, x_70); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; -lean_dec(x_74); -x_77 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_68, x_3, x_4, x_5, x_6, x_73); -return x_77; -} -else +x_76 = lean_ctor_get(x_73, 0); +lean_inc(x_76); +lean_dec(x_73); +x_77 = lean_environment_find(x_76, x_71); +if (lean_obj_tag(x_77) == 0) { lean_object* x_78; -x_78 = lean_ctor_get(x_76, 0); -lean_inc(x_78); -lean_dec(x_76); -if (lean_obj_tag(x_78) == 6) +lean_dec(x_75); +x_78 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_69, x_24, x_3, x_4, x_5, x_6, x_74); +return x_78; +} +else { -uint8_t x_79; lean_object* x_80; lean_object* x_81; -lean_dec(x_78); -lean_dec(x_68); +lean_object* x_79; +x_79 = lean_ctor_get(x_77, 0); +lean_inc(x_79); +lean_dec(x_77); +if (lean_obj_tag(x_79) == 6) +{ +uint8_t x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_79); +lean_dec(x_69); +lean_dec(x_24); 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_79 = 0; -x_80 = lean_box(x_79); -if (lean_is_scalar(x_74)) { - x_81 = lean_alloc_ctor(0, 2, 0); +x_80 = 0; +x_81 = lean_box(x_80); +if (lean_is_scalar(x_75)) { + x_82 = lean_alloc_ctor(0, 2, 0); } else { - x_81 = x_74; + x_82 = x_75; } -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_73); -return x_81; -} -else -{ -lean_object* x_82; -lean_dec(x_78); -lean_dec(x_74); -x_82 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_68, x_3, x_4, x_5, x_6, x_73); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_74); return x_82; } -} -} else { lean_object* x_83; -lean_dec(x_69); -x_83 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_68, x_3, x_4, x_5, x_6, x_61); +lean_dec(x_79); +lean_dec(x_75); +x_83 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_69, x_24, x_3, x_4, x_5, x_6, x_74); return x_83; } } +} else { -uint8_t x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_67); +lean_object* x_84; +lean_dec(x_70); +x_84 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_69, x_24, x_3, x_4, x_5, x_6, x_62); +return x_84; +} +} +else +{ +uint8_t x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_68); +lean_dec(x_24); 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_84 = 0; -x_85 = lean_box(x_84); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_61); -return x_86; +x_85 = 0; +x_86 = lean_box(x_85); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_62); +return x_87; } } } } else { -uint8_t x_87; lean_object* x_88; +uint8_t x_88; lean_object* x_89; lean_dec(x_22); lean_dec(x_6); lean_dec(x_5); @@ -2867,191 +2924,196 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_87 = 0; -x_88 = lean_box(x_87); -lean_ctor_set(x_8, 0, x_88); +x_88 = 0; +x_89 = lean_box(x_88); +lean_ctor_set(x_8, 0, x_89); return x_8; } } else { -lean_object* x_89; lean_object* x_90; -x_89 = lean_ctor_get(x_8, 1); -lean_inc(x_89); +lean_object* x_90; lean_object* x_91; +x_90 = lean_ctor_get(x_8, 1); +lean_inc(x_90); lean_dec(x_8); -x_90 = l_Lean_Expr_getAppFn(x_2); -if (lean_obj_tag(x_90) == 4) +x_91 = l_Lean_Expr_getAppFn(x_2); +if (lean_obj_tag(x_91) == 4) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -lean_dec(x_90); -x_92 = lean_st_ref_get(x_6, x_89); -x_93 = lean_ctor_get(x_92, 0); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -if (lean_is_exclusive(x_92)) { - lean_ctor_release(x_92, 0); - lean_ctor_release(x_92, 1); - x_95 = x_92; -} else { - lean_dec_ref(x_92); - x_95 = lean_box(0); -} -x_96 = lean_ctor_get(x_93, 0); +lean_dec(x_91); +x_94 = lean_st_ref_get(x_6, x_90); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); lean_inc(x_96); -lean_dec(x_93); -x_97 = lean_environment_find(x_96, x_91); -if (lean_obj_tag(x_97) == 0) +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_97 = x_94; +} else { + lean_dec_ref(x_94); + x_97 = lean_box(0); +} +x_98 = lean_ctor_get(x_95, 0); +lean_inc(x_98); +lean_dec(x_95); +x_99 = lean_environment_find(x_98, x_92); +if (lean_obj_tag(x_99) == 0) { -uint8_t x_98; lean_object* x_99; lean_object* x_100; +uint8_t x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_93); 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_98 = 0; -x_99 = lean_box(x_98); -if (lean_is_scalar(x_95)) { - x_100 = lean_alloc_ctor(0, 2, 0); +x_100 = 0; +x_101 = lean_box(x_100); +if (lean_is_scalar(x_97)) { + x_102 = lean_alloc_ctor(0, 2, 0); } else { - x_100 = x_95; + x_102 = x_97; } -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_94); -return x_100; +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_96); +return x_102; } else { -lean_object* x_101; -x_101 = lean_ctor_get(x_97, 0); -lean_inc(x_101); +lean_object* x_103; +x_103 = lean_ctor_get(x_99, 0); +lean_inc(x_103); +lean_dec(x_99); +if (lean_obj_tag(x_103) == 6) +{ +lean_object* x_104; lean_object* x_105; lean_dec(x_97); -if (lean_obj_tag(x_101) == 6) -{ -lean_object* x_102; lean_object* x_103; -lean_dec(x_95); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -lean_dec(x_101); -x_103 = l_Lean_Expr_getAppFn(x_1); -if (lean_obj_tag(x_103) == 4) -{ -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; x_104 = lean_ctor_get(x_103, 0); lean_inc(x_104); lean_dec(x_103); -x_105 = lean_st_ref_get(x_6, x_94); +x_105 = l_Lean_Expr_getAppFn(x_1); +if (lean_obj_tag(x_105) == 4) +{ +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; x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_108 = x_105; -} else { - lean_dec_ref(x_105); - x_108 = lean_box(0); -} -x_109 = lean_ctor_get(x_106, 0); +lean_dec(x_105); +x_107 = lean_st_ref_get(x_6, x_96); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); lean_inc(x_109); -lean_dec(x_106); -x_110 = lean_environment_find(x_109, x_104); -if (lean_obj_tag(x_110) == 0) -{ -lean_object* x_111; +if (lean_is_exclusive(x_107)) { + lean_ctor_release(x_107, 0); + lean_ctor_release(x_107, 1); + x_110 = x_107; +} else { + lean_dec_ref(x_107); + x_110 = lean_box(0); +} +x_111 = lean_ctor_get(x_108, 0); +lean_inc(x_111); lean_dec(x_108); -x_111 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_102, x_3, x_4, x_5, x_6, x_107); -return x_111; +x_112 = lean_environment_find(x_111, x_106); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; +lean_dec(x_110); +x_113 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_104, x_93, x_3, x_4, x_5, x_6, x_109); +return x_113; } else { -lean_object* x_112; -x_112 = lean_ctor_get(x_110, 0); -lean_inc(x_112); -lean_dec(x_110); -if (lean_obj_tag(x_112) == 6) -{ -uint8_t x_113; lean_object* x_114; lean_object* x_115; +lean_object* x_114; +x_114 = lean_ctor_get(x_112, 0); +lean_inc(x_114); lean_dec(x_112); -lean_dec(x_102); +if (lean_obj_tag(x_114) == 6) +{ +uint8_t x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_114); +lean_dec(x_104); +lean_dec(x_93); 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_113 = 0; -x_114 = lean_box(x_113); -if (lean_is_scalar(x_108)) { - x_115 = lean_alloc_ctor(0, 2, 0); +x_115 = 0; +x_116 = lean_box(x_115); +if (lean_is_scalar(x_110)) { + x_117 = lean_alloc_ctor(0, 2, 0); } else { - x_115 = x_108; + x_117 = x_110; } -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_107); -return x_115; -} -else -{ -lean_object* x_116; -lean_dec(x_112); -lean_dec(x_108); -x_116 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_102, x_3, x_4, x_5, x_6, x_107); -return x_116; -} -} -} -else -{ -lean_object* x_117; -lean_dec(x_103); -x_117 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_102, x_3, x_4, x_5, x_6, x_94); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_109); return x_117; } +else +{ +lean_object* x_118; +lean_dec(x_114); +lean_dec(x_110); +x_118 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_104, x_93, x_3, x_4, x_5, x_6, x_109); +return x_118; +} +} } else { -uint8_t x_118; lean_object* x_119; lean_object* x_120; -lean_dec(x_101); +lean_object* x_119; +lean_dec(x_105); +x_119 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go(x_1, x_2, x_104, x_93, x_3, x_4, x_5, x_6, x_96); +return x_119; +} +} +else +{ +uint8_t x_120; lean_object* x_121; lean_object* x_122; +lean_dec(x_103); +lean_dec(x_93); 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_118 = 0; -x_119 = lean_box(x_118); -if (lean_is_scalar(x_95)) { - x_120 = lean_alloc_ctor(0, 2, 0); +x_120 = 0; +x_121 = lean_box(x_120); +if (lean_is_scalar(x_97)) { + x_122 = lean_alloc_ctor(0, 2, 0); } else { - x_120 = x_95; + x_122 = x_97; } -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_94); -return x_120; +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_96); +return x_122; } } } else { -uint8_t x_121; lean_object* x_122; lean_object* x_123; -lean_dec(x_90); +uint8_t x_123; lean_object* x_124; lean_object* x_125; +lean_dec(x_91); 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_121 = 0; -x_122 = lean_box(x_121); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_89); -return x_123; +x_123 = 0; +x_124 = lean_box(x_123); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_90); +return x_125; } } } @@ -10841,7 +10903,7 @@ x_18 = l_Lean_LocalDecl_index(x_17); lean_dec(x_17); x_19 = lean_nat_add(x_15, x_8); lean_dec(x_15); -x_20 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__7; +x_20 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1; lean_inc(x_18); x_21 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1(x_10, x_20, x_18, x_19, x_18, x_8, x_20); lean_dec(x_18); @@ -13812,7 +13874,7 @@ lean_dec(x_5); return x_10; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__1() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__1() { _start: { lean_object* x_1; @@ -13820,26 +13882,26 @@ x_1 = lean_mk_string("checkAssignment"); return x_1; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__2() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__1; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__2; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__2; x_3 = l_Lean_registerInternalExceptionId(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__1() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__1() { _start: { lean_object* x_1; @@ -13847,21 +13909,21 @@ x_1 = lean_mk_string("outOfScope"); return x_1; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__2() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__1; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__2; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__2; x_3 = l_Lean_registerInternalExceptionId(x_2, x_1); return x_3; } @@ -39215,7 +39277,7 @@ lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13 x_9 = lean_array_get_size(x_2); x_10 = lean_usize_of_nat(x_9); x_11 = 0; -x_12 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__7; +x_12 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -66424,7 +66486,7 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_14701_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_14743_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -66718,6 +66780,8 @@ l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEt lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__14); l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1 = _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1(); lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1); +l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__2 = _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__2); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__1(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__1); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__2(); @@ -66730,8 +66794,6 @@ l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__5 = _ lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__5); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__6 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__6(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__6); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__7 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__7(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__7); l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta___spec__1___closed__1 = _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta___spec__1___closed__1(); lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta___spec__1___closed__1); l_Lean_Meta_isDefEqStringLit___closed__1 = _init_l_Lean_Meta_isDefEqStringLit___closed__1(); @@ -66782,20 +66844,20 @@ l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDecl lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___closed__2); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom___closed__1(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom___closed__1); -l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__1(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__1); -l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__2(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065____closed__2); -if (builtin) {res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4065_(lean_io_mk_world()); +l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__1(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__1); +l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__2(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107____closed__2); +if (builtin) {res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4107_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_CheckAssignment_checkAssignmentExceptionId = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_CheckAssignment_checkAssignmentExceptionId); lean_dec_ref(res); -}l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__1(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__1); -l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__2(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079____closed__2); -if (builtin) {res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4079_(lean_io_mk_world()); +}l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__1(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__1); +l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__2(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121____closed__2); +if (builtin) {res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_4121_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_CheckAssignment_outOfScopeExceptionId = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_CheckAssignment_outOfScopeExceptionId); @@ -67010,7 +67072,7 @@ l_Lean_Meta_isExprDefEqAuxImpl___closed__1 = _init_l_Lean_Meta_isExprDefEqAuxImp lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__1); l_Lean_Meta_isExprDefEqAuxImpl___closed__2 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__2(); lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_14701_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_14743_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c index f1c604908f..e150cfd6f6 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c @@ -13,10 +13,10 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToLocalDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToLocalDeclCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpLet___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToFVarId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToFVarId(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__3___closed__4; lean_object* l_Lean_Expr_bindingInfo_x21(lean_object*); lean_object* l_Lean_Meta_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -44,6 +44,7 @@ lean_object* l_Lean_Meta_Simp_getSimpTheorems___rarg(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_simpGoal___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l_Lean_Expr_isNatLit(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_cacheResult___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); @@ -86,7 +87,7 @@ lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); static lean_object* l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg___closed__2; static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__8___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__2(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_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_DefaultMethods_post(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpProj___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Meta_Simp_simp_simpStep___spec__1___closed__2; @@ -159,7 +160,6 @@ static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__2___ LEAN_EXPORT lean_object* l_Std_AssocList_replace___at_Lean_Meta_Simp_simp_cacheResult___spec__6(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_mkCongrSimp_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_AssocList_contains___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__4(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1___closed__1; static lean_object* l_panic___at_Lean_Meta_Simp_simp_simpStep___spec__1___closed__4; lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_SimpLetCase_noConfusion___rarg(uint8_t, uint8_t, lean_object*); @@ -244,7 +244,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_isEqnThmHypothesis_go___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_Simp_simp_simpLambda___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_SimpLetCase_toCtorIdx___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__2___boxed(lean_object**); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_replaceTargetEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLetValCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -279,7 +279,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp LEAN_EXPORT lean_object* l_Lean_Meta_Simp_SimpLetCase_toCtorIdx(uint8_t); lean_object* l_Lean_Meta_throwNestedTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_tryClear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_headBeta(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_simpTarget___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -325,7 +325,7 @@ static lean_object* l_Lean_Meta_Simp_SimpLetCase_noConfusion___rarg___closed__1; static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_DefaultMethods_methods; lean_object* l_Nat_repr(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -363,7 +363,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_initFn____x40_Lean_Meta_Tactic_Simp_Main___hyg_5_(lean_object*); lean_object* l_Lean_Meta_Simp_post(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Config_updateArith___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_mkCongrSimp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -403,6 +403,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_trySimpCon static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__1; extern lean_object* l_Lean_Meta_instMonadMetaM; static lean_object* l_Lean_Meta_Simp_isEqnThmHypothesis_go___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_congr___closed__1; static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__4; uint8_t l_Lean_Expr_isForall(lean_object*); @@ -418,6 +419,7 @@ uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); static lean_object* l_Lean_Meta_Simp_Config_updateArith___closed__5; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Meta_assertHypotheses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToFVarId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_withNewLemmas___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -504,6 +506,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrArgs_ lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__2___closed__9; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_simpGoal___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__1; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_Simp_simp_congr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_simpTargetCore___closed__1; @@ -513,6 +516,7 @@ LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Mai static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__2___closed__4; static lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__7; static lean_object* l_Lean_Meta_simpTargetCore___closed__2; +lean_object* l_Lean_Meta_replaceLocalDeclDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_simpLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_Config_updateArith___closed__8; @@ -522,6 +526,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_Simp_removeUnnece LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_visitFn___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_throwCongrHypothesisFailed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_simpTargetCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__1___closed__1; @@ -551,7 +556,7 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_isOfNatNatLit___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_withNewLemmas___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -569,6 +574,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpConst(lean_object*, lean_obje static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__4; lean_object* l_Lean_mkLet(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__8___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Simp_simp___spec__1(lean_object*, lean_object*); uint8_t l_Lean_MapDeclarationExtension_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getPropHyps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -610,7 +616,7 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3 lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_Simp_simp_cacheResult___spec__5(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpProj___closed__1; static lean_object* l_Lean_Meta_Simp_simp_simpProj___closed__2; @@ -625,7 +631,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg( LEAN_EXPORT lean_object* l_Lean_Meta_Simp_removeUnnecessaryCasts_elimDummyEqRec(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Meta_Simp_dischargeUsingAssumption___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__9(lean_object*, size_t, size_t); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -650,8 +656,8 @@ lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpLit___closed__1; lean_object* l_Lean_Meta_Simp_synthesizeArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_simpGoal___lambda__3___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__1___closed__4; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrArgs___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_cacheResult___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__4___closed__3; @@ -38016,52 +38022,51 @@ lean_dec(x_3); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToFVarId(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToFVarId(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) { _start: { -lean_object* x_9; -lean_inc(x_4); +lean_object* x_10; +lean_inc(x_5); lean_inc(x_2); -x_9 = l_Lean_Meta_getLocalDecl(x_2, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) +x_10 = l_Lean_Meta_getLocalDecl(x_2, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_mkFVar(x_2); -x_13 = l_Lean_LocalDecl_type(x_10); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); lean_dec(x_10); -x_14 = 1; -x_15 = l_Lean_Meta_applySimpResultToProp(x_1, x_12, x_13, x_3, x_14, x_4, x_5, x_6, x_7, x_11); -lean_dec(x_13); +x_13 = l_Lean_mkFVar(x_2); +x_14 = l_Lean_LocalDecl_type(x_11); +lean_dec(x_11); +x_15 = l_Lean_Meta_applySimpResultToProp(x_1, x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_14); return x_15; } else { uint8_t x_16; +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_16 = !lean_is_exclusive(x_9); +x_16 = !lean_is_exclusive(x_10); if (x_16 == 0) { -return x_9; +return x_10; } else { lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_9, 0); -x_18 = lean_ctor_get(x_9, 1); +x_17 = lean_ctor_get(x_10, 0); +x_18 = lean_ctor_get(x_10, 1); lean_inc(x_18); lean_inc(x_17); -lean_dec(x_9); +lean_dec(x_10); x_19 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -38070,6 +38075,16 @@ return x_19; } } } +LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToFVarId___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_4); +lean_dec(x_4); +x_11 = l_Lean_Meta_applySimpResultToFVarId(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_simpStep(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: { @@ -39134,56 +39149,442 @@ return x_187; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToLocalDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToLocalDecl(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) { _start: { -lean_object* x_9; +lean_object* x_10; +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_3, 0); +lean_inc(x_11); +lean_dec(x_3); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_9 = l_Lean_Meta_applySimpResultToFVarId(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -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 = l_Lean_Meta_applySimpResultToLocalDeclCore(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_11); +lean_inc(x_2); +x_12 = l_Lean_Meta_replaceLocalDeclDefEq(x_1, x_2, x_11, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +if (x_4 == 0) +{ +uint8_t x_13; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_12, 0, x_16); return x_12; } else { -uint8_t x_13; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -return x_9; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_12, 0); +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_12); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_2); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_18); +return x_21; +} } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_9, 0); -x_15 = lean_ctor_get(x_9, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_9); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; +uint8_t x_22; +x_22 = !lean_is_exclusive(x_12); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_23 = lean_ctor_get(x_12, 0); +x_24 = lean_ctor_get(x_12, 1); +x_25 = l_Lean_Meta_Simp_isEqnThmHypothesis_go___closed__2; +x_26 = l_Lean_Expr_isConstOf(x_11, x_25); +lean_dec(x_11); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_2); +lean_ctor_set(x_27, 1, x_23); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_12, 0, x_28); +return x_12; +} +else +{ +lean_object* x_29; +lean_free_object(x_12); +lean_inc(x_23); +x_29 = l_Lean_Meta_getMVarType(x_23, x_5, x_6, x_7, x_8, x_24); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_mkFVar(x_2); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_33 = l_Lean_Meta_mkFalseElim(x_30, x_32, x_5, x_6, x_7, x_8, x_31); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_Meta_assignExprMVar(x_23, x_34, x_5, x_6, x_7, x_8, x_35); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_36, 0); +lean_dec(x_38); +x_39 = lean_box(0); +lean_ctor_set(x_36, 0, x_39); +return x_36; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_dec(x_36); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +return x_42; } } +else +{ +uint8_t x_43; +lean_dec(x_23); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_43 = !lean_is_exclusive(x_33); +if (x_43 == 0) +{ +return x_33; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_33, 0); +x_45 = lean_ctor_get(x_33, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_33); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +uint8_t x_47; +lean_dec(x_23); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_47 = !lean_is_exclusive(x_29); +if (x_47 == 0) +{ +return x_29; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_29, 0); +x_49 = lean_ctor_get(x_29, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_29); +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; uint8_t x_54; +x_51 = lean_ctor_get(x_12, 0); +x_52 = lean_ctor_get(x_12, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_12); +x_53 = l_Lean_Meta_Simp_isEqnThmHypothesis_go___closed__2; +x_54 = l_Lean_Expr_isConstOf(x_11, x_53); +lean_dec(x_11); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_2); +lean_ctor_set(x_55, 1, x_51); +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_55); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_52); +return x_57; +} +else +{ +lean_object* x_58; +lean_inc(x_51); +x_58 = l_Lean_Meta_getMVarType(x_51, x_5, x_6, x_7, x_8, x_52); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Lean_mkFVar(x_2); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_62 = l_Lean_Meta_mkFalseElim(x_59, x_61, x_5, x_6, x_7, x_8, x_60); +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; +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 = l_Lean_Meta_assignExprMVar(x_51, x_63, x_5, x_6, x_7, x_8, x_64); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_67 = x_65; +} else { + lean_dec_ref(x_65); + x_67 = lean_box(0); +} +x_68 = lean_box(0); +if (lean_is_scalar(x_67)) { + x_69 = lean_alloc_ctor(0, 2, 0); +} else { + x_69 = x_67; +} +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_66); +return x_69; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_51); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_70 = lean_ctor_get(x_62, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_62, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_72 = x_62; +} else { + lean_dec_ref(x_62); + 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; +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_51); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_74 = lean_ctor_get(x_58, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_58, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_76 = x_58; +} else { + lean_dec_ref(x_58); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +} +} +} +else +{ +uint8_t x_78; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_78 = !lean_is_exclusive(x_12); +if (x_78 == 0) +{ +return x_12; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_12, 0); +x_80 = lean_ctor_get(x_12, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_12); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +else +{ +lean_object* x_82; +lean_dec(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_82 = l_Lean_Meta_applySimpResultToFVarId(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = l_Lean_Meta_applySimpResultToLocalDeclCore(x_1, x_2, x_83, x_5, x_6, x_7, x_8, x_84); +return x_85; +} +else +{ +uint8_t x_86; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_86 = !lean_is_exclusive(x_82); +if (x_86 == 0) +{ +return x_82; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_82, 0); +x_88 = lean_ctor_get(x_82, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_82); +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_EXPORT lean_object* l_Lean_Meta_applySimpResultToLocalDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_4); +lean_dec(x_4); +x_11 = l_Lean_Meta_applySimpResultToLocalDecl(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9); +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Meta_simpLocalDecl___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) { @@ -39408,7 +39809,93 @@ goto _start; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1___closed__1() { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +lean_inc(x_2); +x_14 = l_Lean_Meta_replaceLocalDeclDefEq(x_6, x_2, x_13, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_array_push(x_5, x_2); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_3); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_4); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_14, 0, x_21); +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = lean_array_push(x_5, x_2); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_3); +lean_ctor_set(x_25, 1, x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_4); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, 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_23); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_30 = !lean_is_exclusive(x_14); +if (x_30 == 0) +{ +return x_14; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_14, 0); +x_32 = lean_ctor_get(x_14, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_14); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -39418,743 +39905,1277 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_14 = l_Lean_mkFVar(x_1); -x_15 = 1; -x_16 = l_Lean_Meta_simpStep(x_2, x_14, x_3, x_8, x_4, x_15, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_16) == 0) +lean_object* x_15; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_1); +x_15 = l_Lean_Meta_simp(x_1, x_9, x_2, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); if (lean_obj_tag(x_17) == 0) { -uint8_t x_18; -lean_dec(x_6); -x_18 = !lean_is_exclusive(x_16); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +lean_dec(x_5); +lean_dec(x_1); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); x_19 = lean_ctor_get(x_16, 0); +lean_inc(x_19); +x_20 = l_Lean_Meta_Simp_isEqnThmHypothesis_go___closed__2; +x_21 = l_Lean_Expr_isConstOf(x_19, x_20); lean_dec(x_19); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1___closed__1; -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_7); -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_16, 0, x_22); -return x_16; +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1(x_16, x_3, x_7, x_4, x_6, x_8, x_22, x_10, x_11, x_12, x_13, x_18); +return x_23; } 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_16, 1); -lean_inc(x_23); +lean_object* x_24; lean_dec(x_16); -x_24 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1___closed__1; -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_7); -x_26 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_23); -return x_27; -} -} -else +lean_dec(x_4); +lean_inc(x_8); +x_24 = l_Lean_Meta_getMVarType(x_8, x_10, x_11, x_12, x_13, x_18); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_28; uint8_t x_29; -x_28 = lean_ctor_get(x_17, 0); -lean_inc(x_28); -lean_dec(x_17); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_mkFVar(x_3); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_28 = l_Lean_Meta_mkFalseElim(x_25, x_27, x_10, x_11, x_12, x_13, x_26); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_30 = lean_ctor_get(x_16, 0); -lean_dec(x_30); -x_31 = lean_ctor_get(x_28, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_28, 1); -lean_inc(x_32); +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); lean_dec(x_28); -x_33 = l_Lean_LocalDecl_userName(x_5); -x_34 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_34, 2, x_31); -x_35 = lean_array_push(x_7, x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_6); -lean_ctor_set(x_36, 1, x_35); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_16, 0, x_37); -return x_16; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_38 = lean_ctor_get(x_16, 1); -lean_inc(x_38); -lean_dec(x_16); -x_39 = lean_ctor_get(x_28, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_28, 1); -lean_inc(x_40); -lean_dec(x_28); -x_41 = l_Lean_LocalDecl_userName(x_5); -x_42 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -lean_ctor_set(x_42, 2, x_39); -x_43 = lean_array_push(x_7, x_42); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_6); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_44); -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 -{ -uint8_t x_47; -lean_dec(x_7); -lean_dec(x_6); -x_47 = !lean_is_exclusive(x_16); -if (x_47 == 0) -{ -return x_16; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_16, 0); -x_49 = lean_ctor_get(x_16, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_16); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; -x_15 = lean_usize_dec_lt(x_8, x_7); -if (x_15 == 0) -{ -lean_object* x_16; +lean_inc(x_8); +x_31 = l_Lean_Meta_assignExprMVar(x_8, x_29, x_10, x_11, x_12, x_13, x_30); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_9); -lean_ctor_set(x_16, 1, x_14); -return x_16; +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_7); +lean_ctor_set(x_34, 1, x_8); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_6); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2___closed__1; +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_31, 0, x_38); +return x_31; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_array_uget(x_6, x_8); -x_18 = lean_ctor_get(x_9, 1); -lean_inc(x_18); -lean_dec(x_9); -lean_inc(x_10); -lean_inc(x_17); -x_19 = l_Lean_Meta_getLocalDecl(x_17, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_19) == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_39 = lean_ctor_get(x_31, 1); +lean_inc(x_39); +lean_dec(x_31); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_7); +lean_ctor_set(x_40, 1, x_8); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_6); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2___closed__1; +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_39); +return x_45; +} +} +else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +uint8_t x_46; +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); +x_46 = !lean_is_exclusive(x_28); +if (x_46 == 0) +{ +return x_28; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_28, 0); +x_48 = lean_ctor_get(x_28, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_28); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +else +{ +uint8_t x_50; +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_3); +x_50 = !lean_is_exclusive(x_24); +if (x_50 == 0) +{ +return x_24; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_24, 0); +x_52 = lean_ctor_get(x_24, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_24); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +else +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; +lean_dec(x_17); +x_54 = lean_ctor_get(x_15, 1); +lean_inc(x_54); +lean_dec(x_15); +x_55 = l_Lean_mkFVar(x_3); +x_56 = 1; +lean_inc(x_8); +x_57 = l_Lean_Meta_applySimpResultToProp(x_8, x_55, x_1, x_16, x_56, x_10, x_11, x_12, x_13, x_54); +lean_dec(x_1); +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) +{ +uint8_t x_59; +lean_dec(x_5); +lean_dec(x_4); +x_59 = !lean_is_exclusive(x_57); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_60 = lean_ctor_get(x_57, 0); +lean_dec(x_60); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_7); +lean_ctor_set(x_61, 1, x_8); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_6); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2___closed__1; +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_57, 0, x_65); +return x_57; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_66 = lean_ctor_get(x_57, 1); +lean_inc(x_66); +lean_dec(x_57); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_7); +lean_ctor_set(x_67, 1, x_8); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_6); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2___closed__1; +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_66); +return x_72; +} +} +else +{ +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_58, 0); +lean_inc(x_73); +lean_dec(x_58); +x_74 = !lean_is_exclusive(x_57); +if (x_74 == 0) +{ +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_75 = lean_ctor_get(x_57, 0); +lean_dec(x_75); +x_76 = lean_ctor_get(x_73, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_73, 1); +lean_inc(x_77); +lean_dec(x_73); +x_78 = l_Lean_LocalDecl_userName(x_5); +lean_dec(x_5); +x_79 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +lean_ctor_set(x_79, 2, x_76); +x_80 = lean_array_push(x_7, 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_8); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_6); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_4); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_57, 0, x_84); +return x_57; +} +else +{ +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; +x_85 = lean_ctor_get(x_57, 1); +lean_inc(x_85); +lean_dec(x_57); +x_86 = lean_ctor_get(x_73, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_73, 1); +lean_inc(x_87); +lean_dec(x_73); +x_88 = l_Lean_LocalDecl_userName(x_5); +lean_dec(x_5); +x_89 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +lean_ctor_set(x_89, 2, x_86); +x_90 = lean_array_push(x_7, x_89); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_8); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_6); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_4); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_94, 0, x_93); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_85); +return x_95; +} +} +} +else +{ +uint8_t x_96; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_96 = !lean_is_exclusive(x_57); +if (x_96 == 0) +{ +return x_57; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_57, 0); +x_98 = lean_ctor_get(x_57, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_57); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; +} +} +} +} +else +{ +uint8_t x_100; +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_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_100 = !lean_is_exclusive(x_15); +if (x_100 == 0) +{ +return x_15; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_15, 0); +x_102 = lean_ctor_get(x_15, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_15); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_7, x_6); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_array_uget(x_5, x_7); +x_17 = lean_ctor_get(x_8, 1); +lean_inc(x_17); +lean_dec(x_8); +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_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_LocalDecl_type(x_20); -lean_inc(x_11); -x_23 = l_Lean_Meta_instantiateMVars(x_22, x_10, x_11, x_12, x_13, x_21); -x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_9); +lean_inc(x_16); +x_22 = l_Lean_Meta_getLocalDecl(x_16, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = l_Lean_LocalDecl_fvarId(x_20); -x_27 = l_Std_RBNode_find___at_Lean_Meta_simpGoal___spec__1(x_4, x_26); -lean_dec(x_26); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); +lean_dec(x_22); +x_25 = l_Lean_LocalDecl_type(x_23); lean_inc(x_10); -lean_inc(x_2); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_1); -x_28 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1(x_17, x_1, x_24, x_3, x_20, x_5, x_18, x_2, x_10, x_11, x_12, x_13, x_25); -lean_dec(x_20); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) -{ -uint8_t x_30; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_30 = !lean_is_exclusive(x_28); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_28, 0); -lean_dec(x_31); -x_32 = lean_ctor_get(x_29, 0); -lean_inc(x_32); -lean_dec(x_29); -lean_ctor_set(x_28, 0, x_32); -return x_28; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_28, 1); -lean_inc(x_33); -lean_dec(x_28); -x_34 = lean_ctor_get(x_29, 0); -lean_inc(x_34); -lean_dec(x_29); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39; -x_36 = lean_ctor_get(x_28, 1); -lean_inc(x_36); -lean_dec(x_28); -x_37 = lean_ctor_get(x_29, 0); -lean_inc(x_37); -lean_dec(x_29); -x_38 = 1; -x_39 = lean_usize_add(x_8, x_38); -x_8 = x_39; -x_9 = x_37; -x_14 = x_36; -goto _start; -} -} -else -{ -uint8_t x_41; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_41 = !lean_is_exclusive(x_28); -if (x_41 == 0) -{ -return x_28; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_28, 0); -x_43 = lean_ctor_get(x_28, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_28); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_45 = lean_ctor_get(x_27, 0); -lean_inc(x_45); -lean_dec(x_27); -x_46 = lean_ctor_get(x_2, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_2, 1); -lean_inc(x_47); -x_48 = lean_ctor_get(x_2, 2); -lean_inc(x_48); -x_49 = lean_ctor_get(x_2, 3); -lean_inc(x_49); -x_50 = lean_ctor_get(x_2, 4); -lean_inc(x_50); -x_51 = l_Lean_Meta_SimpTheoremsArray_eraseTheorem(x_47, x_45); -x_52 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_52, 0, x_46); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_48); -lean_ctor_set(x_52, 3, x_49); -lean_ctor_set(x_52, 4, x_50); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_1); -x_53 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1(x_17, x_1, x_24, x_3, x_20, x_5, x_18, x_52, x_10, x_11, x_12, x_13, x_25); -lean_dec(x_20); -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) -{ -uint8_t x_55; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_55 = !lean_is_exclusive(x_53); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_53, 0); -lean_dec(x_56); -x_57 = lean_ctor_get(x_54, 0); -lean_inc(x_57); -lean_dec(x_54); -lean_ctor_set(x_53, 0, x_57); -return x_53; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_53, 1); -lean_inc(x_58); -lean_dec(x_53); -x_59 = lean_ctor_get(x_54, 0); -lean_inc(x_59); -lean_dec(x_54); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -return x_60; -} -} -else -{ -lean_object* x_61; lean_object* x_62; size_t x_63; size_t x_64; -x_61 = lean_ctor_get(x_53, 1); -lean_inc(x_61); -lean_dec(x_53); -x_62 = lean_ctor_get(x_54, 0); -lean_inc(x_62); -lean_dec(x_54); -x_63 = 1; -x_64 = lean_usize_add(x_8, x_63); -x_8 = x_64; -x_9 = x_62; -x_14 = x_61; -goto _start; -} -} -else -{ -uint8_t x_66; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_66 = !lean_is_exclusive(x_53); -if (x_66 == 0) -{ -return x_53; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_53, 0); -x_68 = lean_ctor_get(x_53, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_53); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -} -} -else -{ -uint8_t x_70; -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_70 = !lean_is_exclusive(x_19); -if (x_70 == 0) -{ -return x_19; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_19, 0); -x_72 = lean_ctor_get(x_19, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_19); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_10 = l_Lean_Meta_assertHypotheses(x_3, x_1, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = !lean_is_exclusive(x_11); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_11, 0); -x_15 = lean_ctor_get(x_11, 1); -x_16 = l_Lean_Meta_tryClearMany(x_15, x_2, x_5, x_6, x_7, x_8, x_12); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 0); -lean_ctor_set(x_11, 1, x_18); -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_11); -lean_ctor_set(x_16, 0, x_19); -return x_16; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_16, 0); -x_21 = lean_ctor_get(x_16, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_16); -lean_ctor_set(x_11, 1, x_20); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_11); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -return x_23; -} -} -else -{ -uint8_t x_24; -lean_free_object(x_11); -lean_dec(x_14); -x_24 = !lean_is_exclusive(x_16); -if (x_24 == 0) -{ -return x_16; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_16, 0); -x_26 = lean_ctor_get(x_16, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_16); -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; -x_28 = lean_ctor_get(x_11, 0); -x_29 = lean_ctor_get(x_11, 1); -lean_inc(x_29); +x_26 = l_Lean_Meta_instantiateMVars(x_25, x_9, x_10, x_11, x_12, x_24); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); -lean_dec(x_11); -x_30 = l_Lean_Meta_tryClearMany(x_29, x_2, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_26); +x_29 = l_Lean_LocalDecl_fvarId(x_23); +x_30 = l_Std_RBNode_find___at_Lean_Meta_simpGoal___spec__1(x_3, x_29); +lean_dec(x_29); if (lean_obj_tag(x_30) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_33 = x_30; -} else { - lean_dec_ref(x_30); - x_33 = lean_box(0); -} -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_28); -lean_ctor_set(x_34, 1, x_31); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_34); -if (lean_is_scalar(x_33)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_33; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_32); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_dec(x_28); -x_37 = lean_ctor_get(x_30, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_30, 1); -lean_inc(x_38); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_39 = x_30; -} else { - lean_dec_ref(x_30); - x_39 = lean_box(0); -} -if (lean_is_scalar(x_39)) { - x_40 = lean_alloc_ctor(1, 2, 0); -} else { - x_40 = x_39; -} -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_38); -return x_40; -} -} -} -else -{ -uint8_t x_41; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_41 = !lean_is_exclusive(x_10); -if (x_41 == 0) -{ -return x_10; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_10, 0); -x_43 = lean_ctor_get(x_10, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_10); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_dec(x_8); -if (x_3 == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_14 = lean_box(0); -x_15 = l_Lean_Meta_simpGoal___lambda__1(x_1, x_2, x_7, x_14, x_9, x_10, x_11, x_12, x_13); -return x_15; -} -else -{ -uint8_t x_16; lean_object* x_17; -x_16 = 1; +lean_object* x_31; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_17 = l_Lean_Meta_simpTarget(x_7, x_4, x_5, x_16, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_17) == 0) +lean_inc(x_1); +lean_inc(x_4); +lean_inc(x_2); +x_31 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2(x_27, x_2, x_16, x_4, x_23, x_18, x_20, x_21, x_1, x_9, x_10, x_11, x_12, x_28); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_18; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) +lean_object* x_32; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) { -uint8_t x_19; +uint8_t x_33; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_19 = !lean_is_exclusive(x_17); -if (x_19 == 0) +x_33 = !lean_is_exclusive(x_31); +if (x_33 == 0) { -lean_object* x_20; -x_20 = lean_ctor_get(x_17, 0); -lean_dec(x_20); -lean_ctor_set(x_17, 0, x_6); -return x_17; +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 0); +lean_dec(x_34); +x_35 = lean_ctor_get(x_32, 0); +lean_inc(x_35); +lean_dec(x_32); +lean_ctor_set(x_31, 0, x_35); +return x_31; } else { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_17, 1); -lean_inc(x_21); -lean_dec(x_17); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_6); -lean_ctor_set(x_22, 1, x_21); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_31, 1); +lean_inc(x_36); +lean_dec(x_31); +x_37 = lean_ctor_get(x_32, 0); +lean_inc(x_37); +lean_dec(x_32); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +return x_38; +} +} +else +{ +lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; +x_39 = lean_ctor_get(x_31, 1); +lean_inc(x_39); +lean_dec(x_31); +x_40 = lean_ctor_get(x_32, 0); +lean_inc(x_40); +lean_dec(x_32); +x_41 = 1; +x_42 = lean_usize_add(x_7, x_41); +x_7 = x_42; +x_8 = x_40; +x_13 = x_39; +goto _start; +} +} +else +{ +uint8_t x_44; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_44 = !lean_is_exclusive(x_31); +if (x_44 == 0) +{ +return x_31; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_31, 0); +x_46 = lean_ctor_get(x_31, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_31); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_48 = lean_ctor_get(x_30, 0); +lean_inc(x_48); +lean_dec(x_30); +x_49 = lean_ctor_get(x_1, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_1, 1); +lean_inc(x_50); +x_51 = lean_ctor_get(x_1, 2); +lean_inc(x_51); +x_52 = lean_ctor_get(x_1, 3); +lean_inc(x_52); +x_53 = lean_ctor_get(x_1, 4); +lean_inc(x_53); +x_54 = l_Lean_Meta_SimpTheoremsArray_eraseTheorem(x_50, x_48); +x_55 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_55, 0, x_49); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_51); +lean_ctor_set(x_55, 3, x_52); +lean_ctor_set(x_55, 4, x_53); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_4); +lean_inc(x_2); +x_56 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2(x_27, x_2, x_16, x_4, x_23, x_18, x_20, x_21, x_55, x_9, x_10, x_11, x_12, x_28); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +if (lean_obj_tag(x_57) == 0) +{ +uint8_t x_58; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_56); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 0); +lean_dec(x_59); +x_60 = lean_ctor_get(x_57, 0); +lean_inc(x_60); +lean_dec(x_57); +lean_ctor_set(x_56, 0, x_60); +return x_56; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +lean_dec(x_56); +x_62 = lean_ctor_get(x_57, 0); +lean_inc(x_62); +lean_dec(x_57); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; size_t x_66; size_t x_67; +x_64 = lean_ctor_get(x_56, 1); +lean_inc(x_64); +lean_dec(x_56); +x_65 = lean_ctor_get(x_57, 0); +lean_inc(x_65); +lean_dec(x_57); +x_66 = 1; +x_67 = lean_usize_add(x_7, x_66); +x_7 = x_67; +x_8 = x_65; +x_13 = x_64; +goto _start; +} +} +else +{ +uint8_t x_69; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_56); +if (x_69 == 0) +{ +return x_56; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_56, 0); +x_71 = lean_ctor_get(x_56, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_56); +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; +} +} +} +} +else +{ +uint8_t x_73; +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_73 = !lean_is_exclusive(x_22); +if (x_73 == 0) +{ return x_22; } +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_22, 0); +x_75 = lean_ctor_get(x_22, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_22); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_simpGoal___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; size_t x_9; size_t x_10; +x_7 = lean_array_uget(x_2, x_3); +x_8 = l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(x_1, x_7); +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +if (x_8 == 0) +{ +lean_object* x_11; +x_11 = lean_array_push(x_5, x_7); +x_3 = x_10; +x_5 = x_11; +goto _start; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_6); -x_23 = lean_ctor_get(x_17, 1); -lean_inc(x_23); -lean_dec(x_17); -x_24 = lean_ctor_get(x_18, 0); -lean_inc(x_24); -lean_dec(x_18); -x_25 = lean_box(0); -x_26 = l_Lean_Meta_simpGoal___lambda__1(x_1, x_2, x_24, x_25, x_9, x_10, x_11, x_12, x_23); -return x_26; +lean_dec(x_7); +x_3 = x_10; +goto _start; } } else { -uint8_t x_27; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_27 = !lean_is_exclusive(x_17); -if (x_27 == 0) +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: { -return x_17; +lean_object* x_15; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_15 = l_Lean_Meta_assertHypotheses(x_8, x_1, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +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_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = lean_ctor_get(x_16, 0); +x_20 = lean_ctor_get(x_16, 1); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_nat_dec_lt(x_21, x_2); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = l_Lean_Meta_tryClearMany(x_20, x_3, x_10, x_11, x_12, x_13, x_17); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 0); +lean_ctor_set(x_16, 1, x_25); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_16); +lean_ctor_set(x_23, 0, x_26); +return x_23; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_17, 0); -x_29 = lean_ctor_get(x_17, 1); -lean_inc(x_29); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_23, 0); +x_28 = lean_ctor_get(x_23, 1); lean_inc(x_28); -lean_dec(x_17); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); +lean_inc(x_27); +lean_dec(x_23); +lean_ctor_set(x_16, 1, x_27); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_16); +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_16); +lean_dec(x_19); +x_31 = !lean_is_exclusive(x_23); +if (x_31 == 0) +{ +return x_23; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_23, 0); +x_33 = lean_ctor_get(x_23, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_23); +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; } } } -static lean_object* _init_l_Lean_Meta_simpGoal___lambda__3___closed__1() { +else +{ +uint8_t x_35; +x_35 = lean_nat_dec_le(x_2, x_2); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = l_Lean_Meta_tryClearMany(x_20, x_3, x_10, x_11, x_12, x_13, x_17); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_36, 0); +lean_ctor_set(x_16, 1, x_38); +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_16); +lean_ctor_set(x_36, 0, x_39); +return x_36; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_36, 0); +x_41 = lean_ctor_get(x_36, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_36); +lean_ctor_set(x_16, 1, x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_16); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +return x_43; +} +} +else +{ +uint8_t x_44; +lean_free_object(x_16); +lean_dec(x_19); +x_44 = !lean_is_exclusive(x_36); +if (x_44 == 0) +{ +return x_36; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_36, 0); +x_46 = lean_ctor_get(x_36, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_36); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_simpGoal___spec__3(x_4, x_5, x_6, x_7, x_3); +x_49 = l_Lean_Meta_tryClearMany(x_20, x_48, x_10, x_11, x_12, x_13, x_17); +if (lean_obj_tag(x_49) == 0) +{ +uint8_t x_50; +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_49, 0); +lean_ctor_set(x_16, 1, x_51); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_16); +lean_ctor_set(x_49, 0, x_52); +return x_49; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_49, 0); +x_54 = lean_ctor_get(x_49, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_49); +lean_ctor_set(x_16, 1, x_53); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_16); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +return x_56; +} +} +else +{ +uint8_t x_57; +lean_free_object(x_16); +lean_dec(x_19); +x_57 = !lean_is_exclusive(x_49); +if (x_57 == 0) +{ +return x_49; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_49, 0); +x_59 = lean_ctor_get(x_49, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_49); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_61 = lean_ctor_get(x_16, 0); +x_62 = lean_ctor_get(x_16, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_16); +x_63 = lean_unsigned_to_nat(0u); +x_64 = lean_nat_dec_lt(x_63, x_2); +if (x_64 == 0) +{ +lean_object* x_65; +x_65 = l_Lean_Meta_tryClearMany(x_62, x_3, x_10, x_11, x_12, x_13, x_17); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_68 = x_65; +} else { + lean_dec_ref(x_65); + x_68 = lean_box(0); +} +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_61); +lean_ctor_set(x_69, 1, x_66); +x_70 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_70, 0, x_69); +if (lean_is_scalar(x_68)) { + x_71 = lean_alloc_ctor(0, 2, 0); +} else { + x_71 = x_68; +} +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_67); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_61); +x_72 = lean_ctor_get(x_65, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_65, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_74 = x_65; +} else { + lean_dec_ref(x_65); + x_74 = lean_box(0); +} +if (lean_is_scalar(x_74)) { + x_75 = lean_alloc_ctor(1, 2, 0); +} else { + x_75 = x_74; +} +lean_ctor_set(x_75, 0, x_72); +lean_ctor_set(x_75, 1, x_73); +return x_75; +} +} +else +{ +uint8_t x_76; +x_76 = lean_nat_dec_le(x_2, x_2); +if (x_76 == 0) +{ +lean_object* x_77; +x_77 = l_Lean_Meta_tryClearMany(x_62, x_3, x_10, x_11, x_12, x_13, x_17); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_80 = x_77; +} else { + lean_dec_ref(x_77); + x_80 = lean_box(0); +} +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_61); +lean_ctor_set(x_81, 1, x_78); +x_82 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_82, 0, x_81); +if (lean_is_scalar(x_80)) { + x_83 = lean_alloc_ctor(0, 2, 0); +} else { + x_83 = x_80; +} +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_79); +return x_83; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_61); +x_84 = lean_ctor_get(x_77, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_77, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_86 = x_77; +} else { + lean_dec_ref(x_77); + x_86 = lean_box(0); +} +if (lean_is_scalar(x_86)) { + x_87 = lean_alloc_ctor(1, 2, 0); +} else { + x_87 = x_86; +} +lean_ctor_set(x_87, 0, x_84); +lean_ctor_set(x_87, 1, x_85); +return x_87; +} +} +else +{ +lean_object* x_88; lean_object* x_89; +x_88 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_simpGoal___spec__3(x_4, x_5, x_6, x_7, x_3); +x_89 = l_Lean_Meta_tryClearMany(x_62, x_88, x_10, x_11, x_12, x_13, x_17); +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; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_92 = x_89; +} else { + lean_dec_ref(x_89); + x_92 = lean_box(0); +} +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_61); +lean_ctor_set(x_93, 1, x_90); +x_94 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_94, 0, x_93); +if (lean_is_scalar(x_92)) { + x_95 = lean_alloc_ctor(0, 2, 0); +} else { + x_95 = x_92; +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_91); +return x_95; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_61); +x_96 = lean_ctor_get(x_89, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_89, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_98 = x_89; +} else { + lean_dec_ref(x_89); + x_98 = lean_box(0); +} +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 2, 0); +} else { + x_99 = x_98; +} +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_97); +return x_99; +} +} +} +} +} +else +{ +uint8_t x_100; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_3); +x_100 = !lean_is_exclusive(x_15); +if (x_100 == 0) +{ +return x_15; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_15, 0); +x_102 = lean_ctor_get(x_15, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_15); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; -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_dec(x_13); +if (x_8 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_19 = lean_box(0); +x_20 = l_Lean_Meta_simpGoal___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_19, x_14, x_15, x_16, x_17, x_18); +return x_20; +} +else +{ +uint8_t x_21; lean_object* x_22; +x_21 = 1; +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +x_22 = l_Lean_Meta_simpTarget(x_12, x_9, x_10, x_21, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_3); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_22, 0); +lean_dec(x_25); +lean_ctor_set(x_22, 0, x_11); +return x_22; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_22); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_11); +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_dec(x_11); +x_28 = lean_ctor_get(x_22, 1); +lean_inc(x_28); +lean_dec(x_22); +x_29 = lean_ctor_get(x_23, 0); +lean_inc(x_29); +lean_dec(x_23); +x_30 = lean_box(0); +x_31 = l_Lean_Meta_simpGoal___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_29, x_30, x_14, x_15, x_16, x_17, x_28); +return x_31; +} +} +else +{ +uint8_t x_32; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_22); +if (x_32 == 0) +{ +return x_22; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_22, 0); +x_34 = lean_ctor_get(x_22, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_22); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} } } LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { @@ -40166,88 +41187,71 @@ lean_inc(x_1); x_13 = l_Lean_Meta_checkNotAssigned(x_1, x_2, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; +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; size_t x_21; size_t x_22; lean_object* x_23; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); x_15 = lean_box(0); -x_16 = lean_array_get_size(x_3); -x_17 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_18 = 0; -x_19 = l_Lean_Meta_simpGoal___lambda__3___closed__1; +x_16 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_1); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_array_get_size(x_3); +x_21 = lean_usize_of_nat(x_20); +x_22 = 0; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_1); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2(x_1, x_4, x_5, x_6, x_15, x_3, x_17, x_18, x_19, x_8, x_9, x_10, x_11, x_14); +x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2(x_4, x_5, x_6, x_15, x_3, x_21, x_22, x_19, x_8, x_9, x_10, x_11, x_14); lean_dec(x_6); -if (lean_obj_tag(x_20) == 0) +if (lean_obj_tag(x_23) == 0) { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_ctor_get(x_21, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_box(0); -x_26 = l_Lean_Meta_simpGoal___lambda__2(x_24, x_3, x_7, x_4, x_5, x_15, x_1, x_25, x_8, x_9, x_10, x_11, x_23); -return x_26; -} -else +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +lean_dec(x_24); +if (lean_obj_tag(x_27) == 0) { -uint8_t x_27; -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_27 = !lean_is_exclusive(x_20); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_20, 0); -lean_dec(x_28); -x_29 = lean_ctor_get(x_22, 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; +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); +lean_dec(x_23); +x_29 = lean_ctor_get(x_25, 0); lean_inc(x_29); -lean_dec(x_22); -lean_ctor_set(x_20, 0, x_29); -return x_20; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_20, 1); +lean_dec(x_25); +x_30 = lean_ctor_get(x_26, 0); lean_inc(x_30); -lean_dec(x_20); -x_31 = lean_ctor_get(x_22, 0); +x_31 = lean_ctor_get(x_26, 1); lean_inc(x_31); -lean_dec(x_22); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -return x_32; -} -} +lean_dec(x_26); +x_32 = lean_box(0); +x_33 = l_Lean_Meta_simpGoal___lambda__2(x_30, x_20, x_16, x_29, x_3, x_22, x_21, x_7, x_4, x_5, x_15, x_31, x_32, x_8, x_9, x_10, x_11, x_28); +lean_dec(x_3); +lean_dec(x_29); +lean_dec(x_20); +return x_33; } else { -uint8_t x_33; +uint8_t x_34; +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_20); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -40255,30 +41259,68 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_20); -if (x_33 == 0) +x_34 = !lean_is_exclusive(x_23); +if (x_34 == 0) { -return x_20; +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_23, 0); +lean_dec(x_35); +x_36 = lean_ctor_get(x_27, 0); +lean_inc(x_36); +lean_dec(x_27); +lean_ctor_set(x_23, 0, x_36); +return x_23; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_20, 0); -x_35 = lean_ctor_get(x_20, 1); -lean_inc(x_35); -lean_inc(x_34); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_23, 1); +lean_inc(x_37); +lean_dec(x_23); +x_38 = lean_ctor_get(x_27, 0); +lean_inc(x_38); +lean_dec(x_27); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +else +{ +uint8_t x_40; lean_dec(x_20); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = !lean_is_exclusive(x_23); +if (x_40 == 0) +{ +return x_23; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_23, 0); +x_42 = lean_ctor_get(x_23, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_23); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } else { -uint8_t x_37; +uint8_t x_44; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -40288,23 +41330,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_13); -if (x_37 == 0) +x_44 = !lean_is_exclusive(x_13); +if (x_44 == 0) { return x_13; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_13, 0); -x_39 = lean_ctor_get(x_13, 1); -lean_inc(x_39); -lean_inc(x_38); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_13, 0); +x_46 = lean_ctor_get(x_13, 1); +lean_inc(x_46); +lean_inc(x_45); lean_dec(x_13); -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; +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; } } } @@ -40338,46 +41380,92 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_14; -x_14 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_13; +x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_15 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_5); -return x_14; +lean_dec(x_3); +return x_16; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_simpGoal___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_simpGoal___spec__3(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_16 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_16, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = lean_unbox_usize(x_6); lean_dec(x_6); +x_16 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_17 = l_Lean_Meta_simpGoal___lambda__1(x_1, x_2, x_3, x_4, x_5, x_15, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_9); +lean_dec(x_5); lean_dec(x_4); +lean_dec(x_2); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___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_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -lean_object* x_10; -x_10 = l_Lean_Meta_simpGoal___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +size_t x_19; size_t x_20; uint8_t x_21; lean_object* x_22; +x_19 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = lean_unbox(x_8); +lean_dec(x_8); +x_22 = l_Lean_Meta_simpGoal___lambda__2(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_5); lean_dec(x_4); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); -lean_dec(x_3); -x_15 = l_Lean_Meta_simpGoal___lambda__2(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; +lean_dec(x_2); +return x_22; } } LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { @@ -41285,10 +42373,8 @@ l_Lean_Meta_simpTargetCore___closed__3 = _init_l_Lean_Meta_simpTargetCore___clos lean_mark_persistent(l_Lean_Meta_simpTargetCore___closed__3); l_Lean_Meta_simpTargetCore___closed__4 = _init_l_Lean_Meta_simpTargetCore___closed__4(); lean_mark_persistent(l_Lean_Meta_simpTargetCore___closed__4); -l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__1___closed__1); -l_Lean_Meta_simpGoal___lambda__3___closed__1 = _init_l_Lean_Meta_simpGoal___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Meta_simpGoal___lambda__3___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda__2___closed__1); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/Unfold.c b/stage0/stdlib/Lean/Meta/Tactic/Unfold.c index d674235d94..5d9238d05d 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Unfold.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Unfold.c @@ -13,7 +13,7 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_Meta_applySimpResultToLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_applySimpResultToLocalDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_unfold_pre___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___boxed(lean_object*, lean_object*, lean_object*); @@ -852,7 +852,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Lean_Meta_unfoldLocalDecl___lambda__1___closed__1; x_2 = l_Lean_Meta_unfoldLocalDecl___lambda__1___closed__2; x_3 = lean_unsigned_to_nat(39u); -x_4 = lean_unsigned_to_nat(70u); +x_4 = lean_unsigned_to_nat(94u); x_5 = l_Lean_Meta_unfoldLocalDecl___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -889,129 +889,130 @@ lean_inc(x_4); x_16 = l_Lean_Meta_unfold(x_14, x_2, x_4, x_5, x_6, x_7, x_15); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); lean_dec(x_16); +x_19 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_19 = l_Lean_Meta_applySimpResultToLocalDecl(x_3, x_1, x_17, x_4, x_5, x_6, x_7, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); +x_20 = l_Lean_Meta_applySimpResultToLocalDecl(x_3, x_1, x_17, x_19, x_4, x_5, x_6, x_7, x_18); if (lean_obj_tag(x_20) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Meta_unfoldLocalDecl___lambda__1___closed__4; -x_23 = l_panic___at_Lean_Meta_unfoldLocalDecl___spec__1(x_22, x_4, x_5, x_6, x_7, x_21); -return x_23; -} -else +if (lean_obj_tag(x_21) == 0) { -lean_object* x_24; uint8_t x_25; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_24 = lean_ctor_get(x_20, 0); -lean_inc(x_24); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); lean_dec(x_20); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_19, 0); -lean_dec(x_26); -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -lean_ctor_set(x_19, 0, x_27); -return x_19; +x_23 = l_Lean_Meta_unfoldLocalDecl___lambda__1___closed__4; +x_24 = l_panic___at_Lean_Meta_unfoldLocalDecl___spec__1(x_23, x_4, x_5, x_6, x_7, x_22); +return x_24; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -lean_dec(x_19); -x_29 = lean_ctor_get(x_24, 1); -lean_inc(x_29); -lean_dec(x_24); -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_object* x_25; uint8_t x_26; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_31 = !lean_is_exclusive(x_19); -if (x_31 == 0) +x_25 = lean_ctor_get(x_21, 0); +lean_inc(x_25); +lean_dec(x_21); +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) { -return x_19; +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_20, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +lean_ctor_set(x_20, 0, x_28); +return x_20; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_19, 0); -x_33 = lean_ctor_get(x_19, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_dec(x_20); +x_30 = lean_ctor_get(x_25, 1); +lean_inc(x_30); +lean_dec(x_25); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_32 = !lean_is_exclusive(x_20); +if (x_32 == 0) +{ +return x_20; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_20, 0); +x_34 = lean_ctor_get(x_20, 1); +lean_inc(x_34); lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_19); -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; +lean_dec(x_20); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } else { -uint8_t x_35; +uint8_t x_36; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_35 = !lean_is_exclusive(x_16); -if (x_35 == 0) +x_36 = !lean_is_exclusive(x_16); +if (x_36 == 0) { return x_16; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_16, 0); -x_37 = lean_ctor_get(x_16, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_16, 0); +x_38 = lean_ctor_get(x_16, 1); +lean_inc(x_38); lean_inc(x_37); -lean_inc(x_36); lean_dec(x_16); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +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_39; +uint8_t x_40; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -1019,23 +1020,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_39 = !lean_is_exclusive(x_9); -if (x_39 == 0) +x_40 = !lean_is_exclusive(x_9); +if (x_40 == 0) { return x_9; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_9, 0); -x_41 = lean_ctor_get(x_9, 1); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_9, 0); +x_42 = lean_ctor_get(x_9, 1); +lean_inc(x_42); lean_inc(x_41); -lean_inc(x_40); lean_dec(x_9); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } diff --git a/stage0/stdlib/Lean/Meta/WHNF.c b/stage0/stdlib/Lean/Meta/WHNF.c index 2324884cb1..fcf2b5ee63 100644 --- a/stage0/stdlib/Lean/Meta/WHNF.c +++ b/stage0/stdlib/Lean/Meta/WHNF.c @@ -26,7 +26,7 @@ lean_object* l_Lean_Expr_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfHeadPred___at_Lean_Meta_whnfUntil___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_sub___boxed(lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___lambda__1___closed__2; @@ -57,7 +57,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor(l lean_object* lean_expr_update_mdata(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Nat_div___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_noConfusionExt; lean_object* l_Nat_beq___boxed(lean_object*, lean_object*); @@ -150,6 +150,7 @@ static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_canUnfoldAtMatcher__ static lean_object* l_Lean_Meta_toCtorIfLit___closed__14; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_canUnfoldAtMatcher___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_mkProjFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_canUnfoldAtMatcher___closed__33; size_t lean_uint64_to_usize(uint64_t); @@ -242,13 +243,14 @@ LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Meta_reduceBoolNativeUnsafe__ LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Std_PersistentHashMap_findAux___at___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___spec__2___closed__2; lean_object* l_Lean_Meta_getDelayedAssignment_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_canUnfoldAtMatcher___closed__30; static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__3___lambda__3___closed__1; static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__3___lambda__3___closed__2; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__19; uint64_t l_Lean_Expr_hash(lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_canUnfoldAtMatcher___closed__15; +lean_object* l_Lean_StructureInfo_getProjFn_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_project_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_canUnfoldAtMatcher___closed__18; LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingMatchAlt_x3f___boxed(lean_object*); @@ -259,6 +261,7 @@ uint8_t l_Lean_ConstantInfo_hasValue(lean_object*); size_t lean_usize_shift_left(size_t, size_t); static lean_object* l_Lean_List_toExprAux___at_Lean_Meta_toCtorIfLit___spec__1___closed__4; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +lean_object* l_Lean_getStructureInfo_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__3; static lean_object* l_Lean_Meta_reduceBinNatOp___closed__7; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_32____closed__2; @@ -311,7 +314,7 @@ lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec__1(lean_object*); extern lean_object* l_Lean_projectionFnInfoExt; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8237_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8346_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_32_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_canUnfoldAtMatcher___closed__12; @@ -377,7 +380,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__2(lean_object*, static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__2; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_canUnfoldAtMatcher___closed__21; static lean_object* l_Lean_Meta_reduceBinNatOp___closed__12; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_canUnfoldAtMatcher___closed__13; LEAN_EXPORT lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); @@ -432,6 +435,7 @@ static lean_object* l_Lean_Meta_reduceNative_x3f___closed__4; static lean_object* l_Lean_List_toExprAux___at_Lean_Meta_toCtorIfLit___spec__1___closed__2; lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_mkProjFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_canUnfoldAtMatcher___closed__16; @@ -3415,6 +3419,142 @@ x_7 = lean_box(x_6); return x_7; } } +LEAN_EXPORT lean_object* l_Lean_Meta_mkProjFn(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_dec(x_1); +lean_inc(x_13); +x_14 = l_Lean_getStructureInfo_x3f(x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +lean_dec(x_3); +lean_dec(x_2); +x_15 = l_Lean_mkProj(x_13, x_4, x_5); +lean_ctor_set(x_9, 0, x_15); +return x_9; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_StructureInfo_getProjFn_x3f(x_16, x_4); +lean_dec(x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +lean_dec(x_3); +lean_dec(x_2); +x_18 = l_Lean_mkProj(x_13, x_4, x_5); +lean_ctor_set(x_9, 0, x_18); +return x_9; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_13); +lean_dec(x_4); +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_mkConst(x_19, x_2); +x_21 = l_Lean_mkAppN(x_20, x_3); +x_22 = l_Lean_mkApp(x_21, x_5); +lean_ctor_set(x_9, 0, x_22); +return x_9; +} +} +} +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_9, 0); +x_24 = lean_ctor_get(x_9, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_9); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_1, 1); +lean_inc(x_26); +lean_dec(x_1); +lean_inc(x_26); +x_27 = l_Lean_getStructureInfo_x3f(x_25, x_26); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_3); +lean_dec(x_2); +x_28 = l_Lean_mkProj(x_26, x_4, x_5); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_24); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 0); +lean_inc(x_30); +lean_dec(x_27); +x_31 = l_Lean_StructureInfo_getProjFn_x3f(x_30, x_4); +lean_dec(x_30); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_3); +lean_dec(x_2); +x_32 = l_Lean_mkProj(x_26, x_4, x_5); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_24); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_26); +lean_dec(x_4); +x_34 = lean_ctor_get(x_31, 0); +lean_inc(x_34); +lean_dec(x_31); +x_35 = l_Lean_mkConst(x_34, x_2); +x_36 = l_Lean_mkAppN(x_35, x_3); +x_37 = l_Lean_mkApp(x_36, x_5); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_24); +return x_38; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_mkProjFn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_mkProjFn(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_9; +} +} LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -3577,567 +3717,570 @@ return x_27; } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_13; -x_13 = lean_nat_dec_le(x_5, x_4); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_nat_dec_eq(x_3, x_14); +uint8_t x_15; +x_15 = lean_nat_dec_le(x_7, x_6); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_unsigned_to_nat(1u); -x_17 = lean_nat_sub(x_3, x_16); -lean_dec(x_3); -lean_inc(x_2); -lean_inc(x_4); +lean_object* x_16; uint8_t x_17; +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_eq(x_5, x_16); +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; +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_5, x_18); +lean_dec(x_5); lean_inc(x_1); -x_18 = l_Lean_mkProj(x_1, x_4, x_2); -x_19 = l_Lean_mkApp(x_7, x_18); -x_20 = lean_nat_add(x_4, x_6); -lean_dec(x_4); -x_3 = x_17; -x_4 = x_20; -x_7 = x_19; +lean_inc(x_6); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_3); +x_20 = l_Lean_Meta_mkProjFn(x_3, x_2, x_4, x_6, x_1, x_12, x_13, x_14); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_mkApp(x_9, x_21); +x_24 = lean_nat_add(x_6, x_8); +lean_dec(x_6); +x_5 = x_19; +x_6 = x_24; +x_9 = x_23; +x_14 = x_22; goto _start; } else { -lean_object* x_22; +lean_object* x_26; +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_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_7); -lean_ctor_set(x_22, 1, x_12); -return x_22; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_9); +lean_ctor_set(x_26, 1, x_14); +return x_26; } } else { -lean_object* x_23; +lean_object* x_27; +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_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_7); -lean_ctor_set(x_23, 1, x_12); -return x_23; +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_9); +lean_ctor_set(x_27, 1, x_14); +return x_27; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_1) == 4) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_1, 0); +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_1, 1); lean_inc(x_11); -x_12 = lean_ctor_get(x_1, 1); -lean_inc(x_12); lean_dec(x_1); -lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_3); -x_13 = lean_infer_type(x_3, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_13) == 0) +x_12 = lean_infer_type(x_3, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_13, 0); +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -lean_inc(x_9); +lean_dec(x_12); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_16 = l_Lean_Meta_whnfD(x_14, x_6, x_7, x_8, x_9, x_15); -if (lean_obj_tag(x_16) == 0) +lean_inc(x_5); +x_15 = l_Lean_Meta_whnfD(x_13, x_5, x_6, x_7, x_8, x_14); +if (lean_obj_tag(x_15) == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -x_20 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; -x_21 = lean_expr_eqv(x_18, x_20); -lean_dec(x_18); -if (x_21 == 0) +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_15, 1); +x_19 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; +x_20 = lean_expr_eqv(x_17, x_19); +lean_dec(x_17); +if (x_20 == 0) +{ +lean_object* x_21; +lean_free_object(x_15); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_5); +x_21 = l___private_Lean_Meta_WHNF_0__Lean_Meta_getFirstCtor(x_10, x_5, x_6, x_7, x_8, x_18); +if (lean_obj_tag(x_21) == 0) { lean_object* x_22; -lean_free_object(x_16); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_22 = l___private_Lean_Meta_WHNF_0__Lean_Meta_getFirstCtor(x_11, x_6, x_7, x_8, x_9, x_19); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -lean_dec(x_12); -lean_dec(x_9); +uint8_t x_23; +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); -x_24 = !lean_is_exclusive(x_22); -if (x_24 == 0) +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) { -lean_object* x_25; -x_25 = lean_ctor_get(x_22, 0); -lean_dec(x_25); -lean_ctor_set(x_22, 0, x_2); -return x_22; +lean_object* x_24; +x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_24); +lean_ctor_set(x_21, 0, x_2); +return x_21; } else { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_2); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_2); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_22, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 1); +lean_inc(x_27); +lean_dec(x_21); +x_28 = lean_ctor_get(x_22, 0); lean_inc(x_28); lean_dec(x_22); -x_29 = lean_ctor_get(x_23, 0); -lean_inc(x_29); -lean_dec(x_23); -lean_inc(x_29); -x_30 = l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1(x_29, x_6, x_7, x_8, x_9, x_28); -if (lean_obj_tag(x_30) == 0) +lean_inc(x_28); +x_29 = l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1(x_28, x_5, x_6, x_7, x_8, x_27); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_31 = lean_ctor_get(x_30, 0); +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_mkConst(x_29, x_12); -x_34 = lean_unsigned_to_nat(0u); -x_35 = l_Lean_Expr_getAppNumArgsAux(x_3, x_34); -lean_inc(x_35); -x_36 = lean_mk_array(x_35, x_20); -x_37 = lean_unsigned_to_nat(1u); -x_38 = lean_nat_sub(x_35, x_37); -lean_dec(x_35); -x_39 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_3, x_36, x_38); -x_40 = lean_ctor_get(x_31, 3); -lean_inc(x_40); -x_41 = l_Array_shrink___rarg(x_39, x_40); -lean_dec(x_40); -x_42 = l_Lean_mkAppN(x_33, x_41); -x_43 = lean_ctor_get(x_31, 4); -lean_inc(x_43); -lean_dec(x_31); -lean_inc(x_43); -x_44 = l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3(x_4, x_2, x_43, x_34, x_43, x_37, x_42, x_6, x_7, x_8, x_9, x_32); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_43); -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -return x_44; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_44, 0); -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_44); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} -} -else -{ -uint8_t x_49; lean_dec(x_29); -lean_dec(x_12); -lean_dec(x_9); +x_32 = lean_unsigned_to_nat(0u); +x_33 = l_Lean_Expr_getAppNumArgsAux(x_3, x_32); +lean_inc(x_33); +x_34 = lean_mk_array(x_33, x_19); +x_35 = lean_unsigned_to_nat(1u); +x_36 = lean_nat_sub(x_33, x_35); +lean_dec(x_33); +x_37 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_3, x_34, x_36); +x_38 = lean_ctor_get(x_30, 3); +lean_inc(x_38); +x_39 = l_Array_shrink___rarg(x_37, x_38); +lean_dec(x_38); +lean_inc(x_11); +x_40 = l_Lean_mkConst(x_28, x_11); +lean_inc(x_39); +x_41 = l_Lean_mkAppN(x_40, x_39); +x_42 = lean_ctor_get(x_30, 4); +lean_inc(x_42); +lean_inc(x_42); +x_43 = l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3(x_2, x_11, x_30, x_39, x_42, x_32, x_42, x_35, x_41, x_5, x_6, x_7, x_8, x_31); 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_49 = !lean_is_exclusive(x_30); -if (x_49 == 0) +lean_dec(x_5); +lean_dec(x_42); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) { -return x_30; +return x_43; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_30, 0); -x_51 = lean_ctor_get(x_30, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_30); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_43, 0); +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_43); +x_47 = lean_alloc_ctor(0, 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_53; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_53 = !lean_is_exclusive(x_22); -if (x_53 == 0) -{ -return x_22; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_22, 0); -x_55 = lean_ctor_get(x_22, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_22); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} -} -} -else -{ -lean_dec(x_12); +uint8_t x_48; +lean_dec(x_28); lean_dec(x_11); -lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); -lean_ctor_set(x_16, 0, x_2); -return x_16; +lean_dec(x_2); +x_48 = !lean_is_exclusive(x_29); +if (x_48 == 0) +{ +return x_29; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_29, 0); +x_50 = lean_ctor_get(x_29, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_29); +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; +} +} } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_57 = lean_ctor_get(x_16, 0); -x_58 = lean_ctor_get(x_16, 1); -lean_inc(x_58); +uint8_t x_52; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_52 = !lean_is_exclusive(x_21); +if (x_52 == 0) +{ +return x_21; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_21, 0); +x_54 = lean_ctor_get(x_21, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_21); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_56 = lean_ctor_get(x_15, 0); +x_57 = lean_ctor_get(x_15, 1); lean_inc(x_57); -lean_dec(x_16); -x_59 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; -x_60 = lean_expr_eqv(x_57, x_59); -lean_dec(x_57); -if (x_60 == 0) +lean_inc(x_56); +lean_dec(x_15); +x_58 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; +x_59 = lean_expr_eqv(x_56, x_58); +lean_dec(x_56); +if (x_59 == 0) +{ +lean_object* x_60; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_5); +x_60 = l___private_Lean_Meta_WHNF_0__Lean_Meta_getFirstCtor(x_10, x_5, x_6, x_7, x_8, x_57); +if (lean_obj_tag(x_60) == 0) { lean_object* x_61; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_61 = l___private_Lean_Meta_WHNF_0__Lean_Meta_getFirstCtor(x_11, x_6, x_7, x_8, x_9, x_58); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); if (lean_obj_tag(x_61) == 0) { -lean_object* x_62; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -if (lean_obj_tag(x_62) == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -lean_dec(x_12); -lean_dec(x_9); +lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_64 = x_61; +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_63 = x_60; } else { - lean_dec_ref(x_61); - x_64 = lean_box(0); + lean_dec_ref(x_60); + x_63 = lean_box(0); } -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(0, 2, 0); } else { - x_65 = x_64; + x_64 = x_63; } -lean_ctor_set(x_65, 0, x_2); -lean_ctor_set(x_65, 1, x_63); -return x_65; +lean_ctor_set(x_64, 0, x_2); +lean_ctor_set(x_64, 1, x_62); +return x_64; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_61, 1); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_60, 1); +lean_inc(x_65); +lean_dec(x_60); +x_66 = lean_ctor_get(x_61, 0); lean_inc(x_66); lean_dec(x_61); -x_67 = lean_ctor_get(x_62, 0); -lean_inc(x_67); -lean_dec(x_62); -lean_inc(x_67); -x_68 = l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1(x_67, x_6, x_7, x_8, x_9, x_66); -if (lean_obj_tag(x_68) == 0) +lean_inc(x_66); +x_67 = l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1(x_66, x_5, x_6, x_7, x_8, x_65); +if (lean_obj_tag(x_67) == 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; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_69 = lean_ctor_get(x_68, 0); +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = l_Lean_mkConst(x_67, x_12); -x_72 = lean_unsigned_to_nat(0u); -x_73 = l_Lean_Expr_getAppNumArgsAux(x_3, x_72); -lean_inc(x_73); -x_74 = lean_mk_array(x_73, x_59); -x_75 = lean_unsigned_to_nat(1u); -x_76 = lean_nat_sub(x_73, x_75); -lean_dec(x_73); -x_77 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_3, x_74, x_76); -x_78 = lean_ctor_get(x_69, 3); -lean_inc(x_78); -x_79 = l_Array_shrink___rarg(x_77, x_78); -lean_dec(x_78); -x_80 = l_Lean_mkAppN(x_71, x_79); -x_81 = lean_ctor_get(x_69, 4); -lean_inc(x_81); -lean_dec(x_69); -lean_inc(x_81); -x_82 = l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3(x_4, x_2, x_81, x_72, x_81, x_75, x_80, x_6, x_7, x_8, x_9, x_70); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_81); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_85 = x_82; -} else { - lean_dec_ref(x_82); - x_85 = lean_box(0); -} -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_85; -} -lean_ctor_set(x_86, 0, x_83); -lean_ctor_set(x_86, 1, x_84); -return x_86; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_dec(x_67); -lean_dec(x_12); -lean_dec(x_9); +x_70 = lean_unsigned_to_nat(0u); +x_71 = l_Lean_Expr_getAppNumArgsAux(x_3, x_70); +lean_inc(x_71); +x_72 = lean_mk_array(x_71, x_58); +x_73 = lean_unsigned_to_nat(1u); +x_74 = lean_nat_sub(x_71, x_73); +lean_dec(x_71); +x_75 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_3, x_72, x_74); +x_76 = lean_ctor_get(x_68, 3); +lean_inc(x_76); +x_77 = l_Array_shrink___rarg(x_75, x_76); +lean_dec(x_76); +lean_inc(x_11); +x_78 = l_Lean_mkConst(x_66, x_11); +lean_inc(x_77); +x_79 = l_Lean_mkAppN(x_78, x_77); +x_80 = lean_ctor_get(x_68, 4); +lean_inc(x_80); +lean_inc(x_80); +x_81 = l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3(x_2, x_11, x_68, x_77, x_80, x_70, x_80, x_73, x_79, x_5, x_6, x_7, x_8, x_69); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_4); +lean_dec(x_5); +lean_dec(x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_84 = x_81; +} else { + lean_dec_ref(x_81); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_83); +return x_85; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_66); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_87 = lean_ctor_get(x_68, 0); +x_86 = lean_ctor_get(x_67, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_67, 1); lean_inc(x_87); -x_88 = lean_ctor_get(x_68, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_89 = x_68; +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_88 = x_67; } else { - lean_dec_ref(x_68); - x_89 = lean_box(0); + lean_dec_ref(x_67); + x_88 = lean_box(0); } -if (lean_is_scalar(x_89)) { - x_90 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); } else { - x_90 = x_89; + x_89 = x_88; } -lean_ctor_set(x_90, 0, x_87); -lean_ctor_set(x_90, 1, x_88); -return x_90; +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; } } } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -lean_dec(x_12); -lean_dec(x_9); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_91 = lean_ctor_get(x_61, 0); +x_90 = lean_ctor_get(x_60, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_60, 1); lean_inc(x_91); -x_92 = lean_ctor_get(x_61, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_93 = x_61; +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_92 = x_60; } else { - lean_dec_ref(x_61); - x_93 = lean_box(0); + lean_dec_ref(x_60); + x_92 = lean_box(0); } -if (lean_is_scalar(x_93)) { - x_94 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(1, 2, 0); } else { - x_94 = x_93; + x_93 = x_92; } -lean_ctor_set(x_94, 0, x_91); -lean_ctor_set(x_94, 1, x_92); +lean_ctor_set(x_93, 0, x_90); +lean_ctor_set(x_93, 1, x_91); +return x_93; +} +} +else +{ +lean_object* x_94; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_2); +lean_ctor_set(x_94, 1, x_57); return x_94; } } -else -{ -lean_object* x_95; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_2); -lean_ctor_set(x_95, 1, x_58); -return x_95; -} -} } else { -uint8_t x_96; -lean_dec(x_12); +uint8_t x_95; lean_dec(x_11); -lean_dec(x_9); +lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_96 = !lean_is_exclusive(x_16); -if (x_96 == 0) +x_95 = !lean_is_exclusive(x_15); +if (x_95 == 0) { -return x_16; +return x_15; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_16, 0); -x_98 = lean_ctor_get(x_16, 1); -lean_inc(x_98); +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_15, 0); +x_97 = lean_ctor_get(x_15, 1); lean_inc(x_97); -lean_dec(x_16); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; +lean_inc(x_96); +lean_dec(x_15); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } } } else { -uint8_t x_100; -lean_dec(x_12); +uint8_t x_99; lean_dec(x_11); -lean_dec(x_9); +lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_100 = !lean_is_exclusive(x_13); -if (x_100 == 0) +x_99 = !lean_is_exclusive(x_12); +if (x_99 == 0) { -return x_13; +return x_12; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_13, 0); -x_102 = lean_ctor_get(x_13, 1); -lean_inc(x_102); +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_12, 0); +x_101 = lean_ctor_get(x_12, 1); lean_inc(x_101); -lean_dec(x_13); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; +lean_inc(x_100); +lean_dec(x_12); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; } } } else { -lean_object* x_104; -lean_dec(x_9); +lean_object* x_103; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_2); -lean_ctor_set(x_104, 1, x_10); -return x_104; +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_2); +lean_ctor_set(x_103, 1, x_9); +return x_103; } } } @@ -4215,6 +4358,7 @@ x_24 = lean_ctor_get(x_22, 0); x_25 = lean_ctor_get(x_22, 1); x_26 = l_Lean_Expr_getAppFn(x_24); x_27 = l_Lean_Expr_isConstOf(x_26, x_1); +lean_dec(x_1); if (x_27 == 0) { lean_dec(x_26); @@ -4223,7 +4367,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1); lean_ctor_set(x_22, 0, x_2); return x_22; } @@ -4232,7 +4375,7 @@ else lean_object* x_28; lean_object* x_29; lean_free_object(x_22); x_28 = lean_box(0); -x_29 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(x_26, x_2, x_24, x_1, x_28, x_4, x_5, x_6, x_7, x_25); +x_29 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(x_26, x_2, x_24, x_28, x_4, x_5, x_6, x_7, x_25); return x_29; } } @@ -4246,6 +4389,7 @@ lean_inc(x_30); lean_dec(x_22); x_32 = l_Lean_Expr_getAppFn(x_30); x_33 = l_Lean_Expr_isConstOf(x_32, x_1); +lean_dec(x_1); if (x_33 == 0) { lean_object* x_34; @@ -4255,7 +4399,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1); x_34 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_34, 0, x_2); lean_ctor_set(x_34, 1, x_31); @@ -4265,7 +4408,7 @@ else { lean_object* x_35; lean_object* x_36; x_35 = lean_box(0); -x_36 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(x_32, x_2, x_30, x_1, x_35, x_4, x_5, x_6, x_7, x_31); +x_36 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(x_32, x_2, x_30, x_35, x_4, x_5, x_6, x_7, x_31); return x_36; } } @@ -4419,6 +4562,7 @@ if (lean_is_exclusive(x_57)) { } x_61 = l_Lean_Expr_getAppFn(x_58); x_62 = l_Lean_Expr_isConstOf(x_61, x_1); +lean_dec(x_1); if (x_62 == 0) { lean_object* x_63; @@ -4428,7 +4572,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1); if (lean_is_scalar(x_60)) { x_63 = lean_alloc_ctor(0, 2, 0); } else { @@ -4443,7 +4586,7 @@ else lean_object* x_64; lean_object* x_65; lean_dec(x_60); x_64 = lean_box(0); -x_65 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(x_61, x_2, x_58, x_1, x_64, x_4, x_5, x_6, x_7, x_59); +x_65 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(x_61, x_2, x_58, x_64, x_4, x_5, x_6, x_7, x_59); return x_65; } } @@ -4601,27 +4744,27 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_13; -x_13 = l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_15; +x_15 = l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -return x_13; +lean_dec(x_7); +return x_15; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___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_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_11; -x_11 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_5); -return x_11; +lean_object* x_10; +x_10 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; } } LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { @@ -6203,7 +6346,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_whnfEasyCases___closed__2; x_2 = l_Lean_Meta_whnfEasyCases___closed__3; -x_3 = lean_unsigned_to_nat(273u); +x_3 = lean_unsigned_to_nat(285u); x_4 = lean_unsigned_to_nat(26u); x_5 = l_Lean_Meta_whnfEasyCases___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -13385,7 +13528,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_whnfEasyCases___closed__2; x_2 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__3___lambda__3___closed__1; -x_3 = lean_unsigned_to_nat(488u); +x_3 = lean_unsigned_to_nat(500u); x_4 = lean_unsigned_to_nat(11u); x_5 = l_Lean_Meta_whnfEasyCases___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -27796,7 +27939,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_whnfEasyCases___closed__2; x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__1; -x_3 = lean_unsigned_to_nat(779u); +x_3 = lean_unsigned_to_nat(791u); x_4 = lean_unsigned_to_nat(34u); x_5 = l_Lean_Meta_whnfEasyCases___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -28546,7 +28689,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_whnfEasyCases___closed__2; x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__1; -x_3 = lean_unsigned_to_nat(788u); +x_3 = lean_unsigned_to_nat(800u); x_4 = lean_unsigned_to_nat(34u); x_5 = l_Lean_Meta_whnfEasyCases___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -31825,7 +31968,7 @@ return x_38; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8237_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8346_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -32249,7 +32392,7 @@ l_Lean_throwMaxRecDepthAt___at_Lean_Meta_whnfImp___spec__2___closed__1 = _init_l lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_whnfImp___spec__2___closed__1); l_Lean_throwMaxRecDepthAt___at_Lean_Meta_whnfImp___spec__2___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Meta_whnfImp___spec__2___closed__2(); lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_whnfImp___spec__2___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8237_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8346_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Server/Watchdog.c b/stage0/stdlib/Lean/Server/Watchdog.c index 1f4e30bfbb..0520ad63e9 100644 --- a/stage0/stdlib/Lean/Server/Watchdog.c +++ b/stage0/stdlib/Lean/Server/Watchdog.c @@ -27,7 +27,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_forwardNotification___rarg(lean_ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_startFileWorker(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* lean_get_stdout(lean_object*); -static lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__3; +LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__52; extern lean_object* l_String_instInhabitedString; static lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__1___closed__10; @@ -86,6 +86,7 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__56; LEAN_EXPORT lean_object* l_Std_RBNode_erase___at_Lean_Server_Watchdog_eraseFileWorker___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Server_Watchdog_initAndRunWatchdog___closed__9; +lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_searchPathRef; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_findDefinitions___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -102,6 +103,8 @@ lean_object* l_Lean_Lsp_DocumentUri_toPath_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_handleNotification___spec__12(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_handleNotification___spec__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__2; lean_object* lean_private_to_user_name(lean_object*); static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__53; @@ -356,7 +359,6 @@ static lean_object* l_Std_RBNode_forIn_visit___at_Lean_Server_Watchdog_handleCan static lean_object* l_Lean_Server_Watchdog_handleDidChangeWatchedFiles___closed__2; static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__6; static lean_object* l_Lean_Server_Watchdog_findWorkerPath___lambda__2___closed__1; -static lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__2; static lean_object* l_IO_FS_Stream_readLspNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__1___closed__1; static lean_object* l_Std_RBNode_forIn_visit___at_Lean_Server_Watchdog_handleCancelRequest___spec__3___closed__1; lean_object* lean_int_neg(lean_object*); @@ -371,6 +373,7 @@ LEAN_EXPORT lean_object* l_Std_RBNode_del___at_Lean_Server_Watchdog_eraseFileWor static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop___closed__2; static lean_object* l_Lean_Server_Watchdog_findWorkerPath___lambda__2___closed__2; static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__1; +static lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__2; static lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__1___closed__9; LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_shutdown(lean_object*, lean_object*); static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__4; @@ -387,6 +390,7 @@ lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(lean_ static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop___closed__12; LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_tryWriteMessage___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_initAndRunWatchdog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_String_isEmpty(lean_object*); lean_object* lean_io_getenv(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_parseHeaderAst___closed__1; lean_object* l_Lean_FuzzyMatching_fuzzyMatchScoreWithThreshold_x3f(lean_object*, lean_object*, double); @@ -511,7 +515,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleCancelRequest(lean_object* LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_tryWriteMessage___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Watchdog_initAndRunWatchdog___closed__14; LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_log(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__1; LEAN_EXPORT lean_object* l_Std_RBNode_ins___at_Lean_Server_Watchdog_updateFileWorkers___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_handleNotification___spec__12___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Watchdog_initAndRunWatchdog___closed__3; @@ -8776,17 +8779,7 @@ return x_26; } } } -static lean_object* _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(100u); -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__2() { +static lean_object* _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -8798,11 +8791,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__3() { +static lean_object* _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__2; +x_1 = l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__1; x_2 = l_Lean_Lsp_instInhabitedLocation; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8810,98 +8803,127 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } +LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_5 = lean_ctor_get(x_3, 9); +lean_inc(x_5); +x_6 = lean_st_ref_get(x_5, x_4); +lean_dec(x_5); +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_ctor_get(x_3, 8); +lean_inc(x_9); +lean_dec(x_3); +x_10 = lean_alloc_closure((void*)(l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__1), 2, 1); +lean_closure_set(x_10, 0, x_1); +x_11 = lean_box(0); +x_12 = l_Lean_Server_References_definitionsMatching___rarg(x_7, x_9, x_10, x_11, x_8); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_array_get_size(x_14); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_15, x_16); +lean_dec(x_15); +x_18 = l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__2; +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Array_qsort_sort___at_Lean_Server_Watchdog_handleWorkspaceSymbol___spec__1(x_18, x_14, x_19, x_17); +lean_dec(x_17); +x_21 = lean_unsigned_to_nat(100u); +x_22 = l_Array_extract___rarg(x_20, x_19, x_21); +x_23 = lean_array_get_size(x_22); +x_24 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_25 = 0; +x_26 = l_Array_mapMUnsafe_map___at_Lean_Server_Watchdog_handleWorkspaceSymbol___spec__2(x_24, x_25, x_22); +lean_ctor_set(x_12, 0, x_26); +return x_12; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39; lean_object* x_40; lean_object* x_41; +x_27 = lean_ctor_get(x_12, 0); +x_28 = lean_ctor_get(x_12, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_12); +x_29 = lean_array_get_size(x_27); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_sub(x_29, x_30); +lean_dec(x_29); +x_32 = l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__2; +x_33 = lean_unsigned_to_nat(0u); +x_34 = l_Array_qsort_sort___at_Lean_Server_Watchdog_handleWorkspaceSymbol___spec__1(x_32, x_27, x_33, x_31); +lean_dec(x_31); +x_35 = lean_unsigned_to_nat(100u); +x_36 = l_Array_extract___rarg(x_34, x_33, x_35); +x_37 = lean_array_get_size(x_36); +x_38 = lean_usize_of_nat(x_37); +lean_dec(x_37); +x_39 = 0; +x_40 = l_Array_mapMUnsafe_map___at_Lean_Server_Watchdog_handleWorkspaceSymbol___spec__2(x_38, x_39, x_36); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_28); +return x_41; +} +} +else +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_12); +if (x_42 == 0) +{ +return x_12; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_12, 0); +x_44 = lean_ctor_get(x_12, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_12); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_4 = lean_ctor_get(x_2, 9); -lean_inc(x_4); -x_5 = lean_st_ref_get(x_4, x_3); -lean_dec(x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_2, 8); -lean_inc(x_8); +uint8_t x_4; +x_4 = l_String_isEmpty(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_box(0); +x_6 = l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2(x_1, x_5, x_2, x_3); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_dec(x_2); -x_9 = lean_alloc_closure((void*)(l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__1), 2, 1); -lean_closure_set(x_9, 0, x_1); -x_10 = l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__1; -x_11 = l_Lean_Server_References_definitionsMatching___rarg(x_6, x_8, x_9, x_10, x_7); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -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; size_t x_21; size_t x_22; lean_object* x_23; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_array_get_size(x_13); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_sub(x_14, x_15); -lean_dec(x_14); -x_17 = l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__3; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Array_qsort_sort___at_Lean_Server_Watchdog_handleWorkspaceSymbol___spec__1(x_17, x_13, x_18, x_16); -lean_dec(x_16); -x_20 = lean_array_get_size(x_19); -x_21 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_22 = 0; -x_23 = l_Array_mapMUnsafe_map___at_Lean_Server_Watchdog_handleWorkspaceSymbol___spec__2(x_21, x_22, x_19); -lean_ctor_set(x_11, 0, x_23); -return x_11; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; lean_object* x_36; -x_24 = lean_ctor_get(x_11, 0); -x_25 = lean_ctor_get(x_11, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_11); -x_26 = lean_array_get_size(x_24); -x_27 = lean_unsigned_to_nat(1u); -x_28 = lean_nat_sub(x_26, x_27); -lean_dec(x_26); -x_29 = l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__3; -x_30 = lean_unsigned_to_nat(0u); -x_31 = l_Array_qsort_sort___at_Lean_Server_Watchdog_handleWorkspaceSymbol___spec__1(x_29, x_24, x_30, x_28); -lean_dec(x_28); -x_32 = lean_array_get_size(x_31); -x_33 = lean_usize_of_nat(x_32); -lean_dec(x_32); -x_34 = 0; -x_35 = l_Array_mapMUnsafe_map___at_Lean_Server_Watchdog_handleWorkspaceSymbol___spec__2(x_33, x_34, x_31); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_25); -return x_36; -} -} -else -{ -uint8_t x_37; -x_37 = !lean_is_exclusive(x_11); -if (x_37 == 0) -{ -return x_11; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_11, 0); -x_39 = lean_ctor_get(x_11, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_11); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} +lean_dec(x_1); +x_7 = l_Lean_Server_Watchdog_startFileWorker___closed__4; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_3); +return x_8; } } } @@ -8935,6 +8957,15 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_Watchdog_handleWorkspaceSymbol___s return x_6; } } +LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___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_Server_Watchdog_handleWorkspaceSymbol___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleDidOpen(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -23747,12 +23778,10 @@ lean_mark_persistent(l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__1___ l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__1___closed__11 = _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__1___closed__11(); lean_mark_persistent(l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__1___closed__11); l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__1___closed__12 = _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__1___closed__12(); -l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__1 = _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__1(); -lean_mark_persistent(l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__1); -l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__2 = _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__2(); -lean_mark_persistent(l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__2); -l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__3 = _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__3(); -lean_mark_persistent(l_Lean_Server_Watchdog_handleWorkspaceSymbol___closed__3); +l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__1 = _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__1); +l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__2 = _init_l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_Watchdog_handleWorkspaceSymbol___lambda__2___closed__2); l_Lean_Server_Watchdog_handleEdits___lambda__1___closed__1 = _init_l_Lean_Server_Watchdog_handleEdits___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Server_Watchdog_handleEdits___lambda__1___closed__1); l_Lean_Server_Watchdog_handleEdits___closed__1 = _init_l_Lean_Server_Watchdog_handleEdits___closed__1(); diff --git a/stage0/stdlib/Lean/Structure.c b/stage0/stdlib/Lean/Structure.c index c3dafedb3e..c1de4c03c3 100644 --- a/stage0/stdlib/Lean/Structure.c +++ b/stage0/stdlib/Lean/Structure.c @@ -19,23 +19,26 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_getParentStructures static lean_object* l_Lean_getStructureCtor___closed__2; static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__9; size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_StructureInfo_getProjFn_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedStructureDescr; -static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__6; static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__24; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedStructureInfo___closed__1; LEAN_EXPORT lean_object* l_Lean_StructureInfo_fieldInfo___default; +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__2___boxed(lean_object*); static lean_object* l_Lean_getStructureCtor___closed__4; static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__15; lean_object* lean_name_mk_string(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkDefaultFnOfProjFn___boxed(lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedStructureState; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_getStructureInfo_x3f___spec__1(lean_object*, lean_object*); uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_mkDefaultFnOfProjFn___closed__1; size_t lean_usize_sub(size_t, size_t); @@ -45,21 +48,21 @@ lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_registerStructure(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__2; +LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5(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_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__4; static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__8; static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__1; -static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____boxed(lean_object*, lean_object*); lean_object* l_Array_qpartition_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_StructureInfo_fieldNames___default; size_t lean_usize_shift_right(size_t, size_t); +LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_StructureInfo_getProjFn_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__7; LEAN_EXPORT lean_object* l_Lean_getProjFnForField_x3f(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__27; -static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__1; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__17; LEAN_EXPORT lean_object* l___private_Lean_Structure_0__Lean_getStructureFieldsFlattenedAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -67,17 +70,12 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_getStructureI LEAN_EXPORT uint8_t l_Lean_StructureInfo_lt(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_findField_x3f___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_getStructureInfo_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkDefaultFnOfProjFn(lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getStructureFieldsFlattened___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_StructureFieldInfo_lt(lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); -static size_t l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__1; -static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__4; static lean_object* l_Lean_instInhabitedStructureFieldInfo___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Structure_0__Lean_getStructureFieldsFlattenedAux___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_getFieldInfo_x3f(lean_object*, lean_object*, lean_object*); @@ -86,17 +84,18 @@ LEAN_EXPORT lean_object* l_Lean_isStructureLike___boxed(lean_object*, lean_objec LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_getParentStructures___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedConstructorVal; +LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findField_x3f___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedStructureFieldInfo; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_getStructureInfo_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static size_t l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__2(lean_object*); lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_getStructureInfo_x3f___closed__1; LEAN_EXPORT lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_getStructureFields___closed__1; static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__30; +LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__5; static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__18; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -105,12 +104,10 @@ static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo___ static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__14; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_getStructureInfo_x3f___spec__2(lean_object*, size_t, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getStructureCtor___closed__5; static lean_object* l_Lean_getStructureCtor___closed__3; static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__28; uint64_t l_Lean_Name_hash(lean_object*); -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__3(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_getStructureCtor___spec__1(lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__25; LEAN_EXPORT lean_object* l_Lean_structureExt; @@ -118,10 +115,11 @@ static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo___ LEAN_EXPORT uint8_t l_Array_contains___at_Lean_findField_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_StructureInfo_fieldNames___default___closed__1; +LEAN_EXPORT lean_object* l_Lean_StructureInfo_getProjFn_x3f(lean_object*, lean_object*); +static lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5___closed__1; LEAN_EXPORT lean_object* l_panic___at_Lean_getStructureFields___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); -static size_t l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__2; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getStructureInfo_x3f(lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__29; @@ -131,46 +129,50 @@ LEAN_EXPORT lean_object* l_Lean_getPathToBaseStructure_x3f(lean_object*, lean_ob LEAN_EXPORT lean_object* l_Lean_findField_x3f___lambda__1(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__16; +static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__6; size_t lean_usize_mul(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__2___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_StructureInfo_getProjFn_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_registerStructure___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_findField_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_getStructureInfo_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Structure_0__Lean_StructureState_map___default; -LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_getFieldInfo_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_findField_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getAllParentStructures(lean_object*, lean_object*); -static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__3; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__19; static lean_object* l_Lean_getStructureFields___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_registerStructure___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378_(uint8_t, lean_object*); static lean_object* l_Lean_getStructureCtor___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60_(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__5; lean_object* l_List_redLength___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_contains___at_Lean_findField_x3f___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__2; LEAN_EXPORT lean_object* l_Lean_getParentStructures(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__3; static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__20; static lean_object* l_Array_qsort_sort___at_Lean_registerStructure___spec__2___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_getDefaultFnForField_x3f(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_registerStructure___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__1; lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_mkDefaultFnOfProjFn___closed__2; -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298_(lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__10; static lean_object* l___private_Lean_Structure_0__Lean_StructureState_map___default___closed__3; -static lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5___closed__1; -LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_getStructureInfo_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__3; LEAN_EXPORT lean_object* l_Lean_getStructureCtor(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isStructure___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_StructureState_map___default___closed__2; lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); @@ -180,9 +182,11 @@ LEAN_EXPORT lean_object* l_Lean_getStructureLikeNumFields(lean_object*, lean_obj LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_getAllParentStructures_visit___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_registerStructure___spec__1(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_StructureState_map___default___closed__1; +static size_t l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_getPathToBaseStructureAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedStructureInfo; LEAN_EXPORT lean_object* l_Lean_isSubobjectField_x3f(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__4; static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__23; lean_object* lean_string_length(lean_object*); LEAN_EXPORT lean_object* l_Lean_findField_x3f(lean_object*, lean_object*, lean_object*); @@ -191,23 +195,21 @@ LEAN_EXPORT lean_object* l_Lean_getPathToBaseStructureAux___boxed(lean_object*, static lean_object* l_Lean_findField_x3f___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Structure_0__Lean_getStructureFieldsFlattenedAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__21; -LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_getFieldInfo_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__13; LEAN_EXPORT lean_object* l_Lean_getAllParentStructures_visit(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__11; LEAN_EXPORT lean_object* l_Lean_getPathToBaseStructure_x3f___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__3; lean_object* lean_usize_to_nat(size_t); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__3(lean_object*); LEAN_EXPORT uint8_t l_Lean_isStructureLike(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedStructureDescr___closed__1; LEAN_EXPORT lean_object* l_Lean_StructureFieldInfo_lt___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__5; LEAN_EXPORT lean_object* l_Lean_findField_x3f___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__26; -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__2(lean_object*); lean_object* lean_nat_to_int(lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_findField_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Structure_0__Lean_reprStructureFieldInfo____x40_Lean_Structure___hyg_60____closed__6; LEAN_EXPORT lean_object* l___private_Lean_Structure_0__Lean_getStructureFieldsFlattenedAux(lean_object*, lean_object*, lean_object*, uint8_t); @@ -796,6 +798,193 @@ x_4 = lean_box(x_3); return x_4; } } +LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_StructureInfo_getProjFn_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_nat_dec_le(x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_nat_add(x_5, x_6); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_div(x_9, x_10); +lean_dec(x_9); +lean_inc(x_1); +x_12 = lean_array_get(x_1, x_3, x_11); +x_13 = l_Lean_StructureFieldInfo_lt(x_12, x_4); +if (x_13 == 0) +{ +uint8_t x_14; +lean_dec(x_6); +x_14 = l_Lean_StructureFieldInfo_lt(x_4, x_12); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_1); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_12); +return x_15; +} +else +{ +lean_object* x_16; uint8_t x_17; +lean_dec(x_12); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_eq(x_11, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_11, x_18); +lean_dec(x_11); +x_6 = x_19; +goto _start; +} +else +{ +lean_object* x_21; +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_1); +x_21 = lean_box(0); +return x_21; +} +} +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_12); +lean_dec(x_5); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_add(x_11, x_22); +lean_dec(x_11); +x_5 = x_23; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_StructureInfo_getProjFn_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +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) +{ +lean_object* x_6; +x_6 = lean_box(0); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_7 = lean_array_fget(x_3, x_2); +x_8 = lean_ctor_get(x_1, 2); +x_9 = lean_box(0); +x_10 = lean_box(0); +x_11 = 0; +x_12 = 0; +x_13 = lean_alloc_ctor(0, 3, 2); +lean_ctor_set(x_13, 0, x_7); +lean_ctor_set(x_13, 1, x_10); +lean_ctor_set(x_13, 2, x_9); +lean_ctor_set_uint8(x_13, sizeof(void*)*3, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 1, x_12); +x_14 = lean_array_get_size(x_8); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_sub(x_14, x_15); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_nat_dec_lt(x_17, x_14); +lean_dec(x_14); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_13); +x_19 = lean_box(0); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = l_Lean_instInhabitedStructureFieldInfo; +x_21 = l_Array_binSearchAux___at_Lean_StructureInfo_getProjFn_x3f___spec__1(x_20, x_9, x_8, x_13, x_17, x_16); +lean_dec(x_13); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +x_22 = lean_box(0); +return x_22; +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 0); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +lean_ctor_set(x_21, 0, x_25); +return x_21; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_21, 0); +lean_inc(x_26); +lean_dec(x_21); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_StructureInfo_getProjFn_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Array_binSearchAux___at_Lean_StructureInfo_getProjFn_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_StructureInfo_getProjFn_x3f___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_StructureInfo_getProjFn_x3f(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} static lean_object* _init_l___private_Lean_Structure_0__Lean_StructureState_map___default___closed__1() { _start: { @@ -842,7 +1031,7 @@ x_1 = l___private_Lean_Structure_0__Lean_StructureState_map___default___closed__ return x_1; } } -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__3(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__3(size_t 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; @@ -869,7 +1058,7 @@ x_17 = lean_usize_shift_right(x_12, x_16); x_18 = lean_unsigned_to_nat(1u); x_19 = lean_nat_add(x_5, x_18); lean_dec(x_5); -x_20 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2(x_6, x_17, x_1, x_9, x_10); +x_20 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2(x_6, x_17, x_1, x_9, x_10); x_4 = lean_box(0); x_5 = x_19; x_6 = x_20; @@ -877,7 +1066,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__4(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; uint8_t x_8; @@ -969,7 +1158,7 @@ return x_29; } } } -static size_t _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__1() { +static size_t _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__1() { _start: { size_t x_1; size_t x_2; size_t x_3; @@ -979,17 +1168,17 @@ x_3 = lean_usize_shift_left(x_1, x_2); return x_3; } } -static size_t _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__2() { +static size_t _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__2() { _start: { size_t x_1; size_t x_2; size_t x_3; x_1 = 1; -x_2 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__1; +x_2 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__1; x_3 = lean_usize_sub(x_2, x_1); return x_3; } } -static lean_object* _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__3() { +static lean_object* _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__3() { _start: { lean_object* x_1; @@ -997,7 +1186,7 @@ x_1 = l_Std_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); return x_1; } } -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1010,7 +1199,7 @@ lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_7 = lean_ctor_get(x_1, 0); x_8 = 1; x_9 = 5; -x_10 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__2; +x_10 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__2; x_11 = lean_usize_land(x_2, x_10); x_12 = lean_usize_to_nat(x_11); x_13 = lean_array_get_size(x_7); @@ -1110,7 +1299,7 @@ lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_3 x_35 = lean_ctor_get(x_15, 0); x_36 = lean_usize_shift_right(x_2, x_9); x_37 = lean_usize_add(x_3, x_8); -x_38 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2(x_35, x_36, x_37, x_4, x_5); +x_38 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2(x_35, x_36, x_37, x_4, x_5); lean_ctor_set(x_15, 0, x_38); x_39 = lean_array_fset(x_17, x_12, x_15); lean_dec(x_12); @@ -1125,7 +1314,7 @@ lean_inc(x_40); lean_dec(x_15); x_41 = lean_usize_shift_right(x_2, x_9); x_42 = lean_usize_add(x_3, x_8); -x_43 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2(x_40, x_41, x_42, x_4, x_5); +x_43 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2(x_40, x_41, x_42, x_4, x_5); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_43); x_45 = lean_array_fset(x_17, x_12, x_44); @@ -1156,7 +1345,7 @@ lean_inc(x_48); lean_dec(x_1); x_49 = 1; x_50 = 5; -x_51 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__2; +x_51 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__2; x_52 = lean_usize_land(x_2, x_51); x_53 = lean_usize_to_nat(x_52); x_54 = lean_array_get_size(x_48); @@ -1241,7 +1430,7 @@ if (lean_is_exclusive(x_57)) { } x_73 = lean_usize_shift_right(x_2, x_50); x_74 = lean_usize_add(x_3, x_49); -x_75 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2(x_71, x_73, x_74, x_4, x_5); +x_75 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2(x_71, x_73, x_74, x_4, x_5); if (lean_is_scalar(x_72)) { x_76 = lean_alloc_ctor(1, 1, 0); } else { @@ -1278,7 +1467,7 @@ if (x_82 == 0) { lean_object* x_83; lean_object* x_84; size_t x_85; uint8_t x_86; x_83 = lean_unsigned_to_nat(0u); -x_84 = l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__4(x_1, x_83, x_4, x_5); +x_84 = l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__4(x_1, x_83, x_4, x_5); x_85 = 7; x_86 = lean_usize_dec_le(x_85, x_3); if (x_86 == 0) @@ -1296,8 +1485,8 @@ lean_inc(x_90); x_91 = lean_ctor_get(x_84, 1); lean_inc(x_91); lean_dec(x_84); -x_92 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__3; -x_93 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__3(x_3, x_90, x_91, lean_box(0), x_83, x_92); +x_92 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__3; +x_93 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__3(x_3, x_90, x_91, lean_box(0), x_83, x_92); lean_dec(x_91); lean_dec(x_90); return x_93; @@ -1324,7 +1513,7 @@ x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); x_97 = lean_unsigned_to_nat(0u); -x_98 = l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__4(x_96, x_97, x_4, x_5); +x_98 = l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__4(x_96, x_97, x_4, x_5); x_99 = 7; x_100 = lean_usize_dec_le(x_99, x_3); if (x_100 == 0) @@ -1342,8 +1531,8 @@ lean_inc(x_104); x_105 = lean_ctor_get(x_98, 1); lean_inc(x_105); lean_dec(x_98); -x_106 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__3; -x_107 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__3(x_3, x_104, x_105, lean_box(0), x_97, x_106); +x_106 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__3; +x_107 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__3(x_3, x_104, x_105, lean_box(0), x_97, x_106); lean_dec(x_105); lean_dec(x_104); return x_107; @@ -1361,7 +1550,7 @@ return x_98; } } } -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -1374,7 +1563,7 @@ x_6 = lean_ctor_get(x_1, 1); x_7 = l_Lean_Name_hash(x_2); x_8 = lean_uint64_to_usize(x_7); x_9 = 1; -x_10 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2(x_5, x_8, x_9, x_2, x_3); +x_10 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2(x_5, x_8, x_9, x_2, x_3); x_11 = lean_unsigned_to_nat(1u); x_12 = lean_nat_add(x_6, x_11); lean_dec(x_6); @@ -1393,7 +1582,7 @@ lean_dec(x_1); x_15 = l_Lean_Name_hash(x_2); x_16 = lean_uint64_to_usize(x_15); x_17 = 1; -x_18 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2(x_13, x_16, x_17, x_2, x_3); +x_18 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2(x_13, x_16, x_17, x_2, x_3); x_19 = lean_unsigned_to_nat(1u); x_20 = lean_nat_add(x_14, x_19); lean_dec(x_14); @@ -1404,7 +1593,7 @@ return x_21; } } } -static lean_object* _init_l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5___closed__1() { +static lean_object* _init_l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5___closed__1() { _start: { lean_object* x_1; @@ -1412,7 +1601,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_StructureInfo_lt___boxed), 2, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_14; @@ -1469,7 +1658,7 @@ if (x_23 == 0) { lean_object* x_24; lean_object* x_25; lean_dec(x_17); -x_24 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5___closed__1; +x_24 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5___closed__1; lean_inc_n(x_3, 2); lean_inc(x_1); x_25 = l_Array_qpartition_loop___rarg(x_1, x_24, x_4, x_19, x_18, x_3, x_3); @@ -1484,7 +1673,7 @@ x_26 = lean_array_swap(x_18, x_17, x_4); lean_dec(x_17); lean_inc(x_1); x_27 = lean_array_get(x_1, x_26, x_4); -x_28 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5___closed__1; +x_28 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5___closed__1; lean_inc_n(x_3, 2); lean_inc(x_1); x_29 = l_Array_qpartition_loop___rarg(x_1, x_28, x_4, x_27, x_26, x_3, x_3); @@ -1507,7 +1696,7 @@ if (x_33 == 0) { lean_object* x_34; lean_object* x_35; lean_dec(x_17); -x_34 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5___closed__1; +x_34 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5___closed__1; lean_inc_n(x_3, 2); lean_inc(x_1); x_35 = l_Array_qpartition_loop___rarg(x_1, x_34, x_4, x_32, x_30, x_3, x_3); @@ -1522,7 +1711,7 @@ x_36 = lean_array_swap(x_30, x_17, x_4); lean_dec(x_17); lean_inc(x_1); x_37 = lean_array_get(x_1, x_36, x_4); -x_38 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5___closed__1; +x_38 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5___closed__1; lean_inc_n(x_3, 2); lean_inc(x_1); x_39 = l_Array_qpartition_loop___rarg(x_1, x_38, x_4, x_37, x_36, x_3, x_3); @@ -1545,7 +1734,7 @@ if (x_8 == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_inc(x_1); -x_9 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5(x_1, x_7, x_3, x_6); +x_9 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5(x_1, x_7, x_3, x_6); x_10 = lean_unsigned_to_nat(1u); x_11 = lean_nat_add(x_6, x_10); lean_dec(x_6); @@ -1563,17 +1752,17 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); -x_4 = l_Std_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__1(x_1, x_3, x_2); +x_4 = l_Std_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__1(x_1, x_3, x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__2(lean_object* x_1) { _start: { lean_object* x_2; @@ -1581,7 +1770,7 @@ x_2 = l___private_Lean_Structure_0__Lean_StructureState_map___default___closed__ return x_2; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__3(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__3(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -1595,12 +1784,12 @@ x_7 = lean_nat_sub(x_5, x_6); lean_dec(x_5); x_8 = l_Lean_instInhabitedStructureInfo; x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5(x_8, x_4, x_9, x_7); +x_10 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5(x_8, x_4, x_9, x_7); lean_dec(x_7); return x_10; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__1() { _start: { lean_object* x_1; @@ -1608,48 +1797,48 @@ x_1 = lean_mk_string("structExt"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__1), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__2___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__2___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__3), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__3), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__6() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__2; -x_2 = l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__3; -x_3 = l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__4; -x_4 = l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__5; +x_1 = l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__2; +x_2 = l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__3; +x_3 = l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__4; +x_4 = l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__5; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -1658,28 +1847,28 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__6; +x_2 = l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__6; x_3 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_241____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_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_298____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) { _start: { size_t x_7; lean_object* x_8; x_7 = lean_unbox_usize(x_1); lean_dec(x_1); -x_8 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__3(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__3(x_7, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { size_t x_6; size_t x_7; lean_object* x_8; @@ -1687,24 +1876,24 @@ x_6 = lean_unbox_usize(x_2); lean_dec(x_2); x_7 = lean_unbox_usize(x_3); lean_dec(x_3); -x_8 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2(x_1, x_6, x_7, x_4, x_5); +x_8 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2(x_1, x_6, x_7, x_4, x_5); return x_8; } } -LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5(x_1, x_2, x_3, x_4); +x_5 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5(x_1, x_2, x_3, x_4); lean_dec(x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__2___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__2___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_initFn____x40_Lean_Structure___hyg_241____lambda__2(x_1); +x_2 = l_Lean_initFn____x40_Lean_Structure___hyg_298____lambda__2(x_1); lean_dec(x_1); return x_2; } @@ -2026,7 +2215,7 @@ x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); lean_dec(x_1); x_5 = 5; -x_6 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__2; +x_6 = l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__2; x_7 = lean_usize_land(x_2, x_6); x_8 = lean_usize_to_nat(x_7); x_9 = lean_box(2); @@ -2332,7 +2521,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_getStructureCtor___closed__1; x_2 = l_Lean_getStructureCtor___closed__2; -x_3 = lean_unsigned_to_nat(68u); +x_3 = lean_unsigned_to_nat(75u); x_4 = lean_unsigned_to_nat(9u); x_5 = l_Lean_getStructureCtor___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -2353,7 +2542,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_getStructureCtor___closed__1; x_2 = l_Lean_getStructureCtor___closed__2; -x_3 = lean_unsigned_to_nat(67u); +x_3 = lean_unsigned_to_nat(74u); x_4 = lean_unsigned_to_nat(11u); x_5 = l_Lean_getStructureCtor___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -2503,7 +2692,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_getStructureCtor___closed__1; x_2 = l_Lean_getStructureFields___closed__1; -x_3 = lean_unsigned_to_nat(75u); +x_3 = lean_unsigned_to_nat(82u); x_4 = lean_unsigned_to_nat(4u); x_5 = l_Lean_getStructureCtor___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -2535,85 +2724,6 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_getFieldInfo_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; -x_7 = lean_nat_dec_le(x_5, x_6); -if (x_7 == 0) -{ -lean_object* x_8; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_8 = lean_box(0); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_9 = lean_nat_add(x_5, x_6); -x_10 = lean_unsigned_to_nat(2u); -x_11 = lean_nat_div(x_9, x_10); -lean_dec(x_9); -lean_inc(x_1); -x_12 = lean_array_get(x_1, x_3, x_11); -x_13 = l_Lean_StructureFieldInfo_lt(x_12, x_4); -if (x_13 == 0) -{ -uint8_t x_14; -lean_dec(x_6); -x_14 = l_Lean_StructureFieldInfo_lt(x_4, x_12); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_1); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_12); -return x_15; -} -else -{ -lean_object* x_16; uint8_t x_17; -lean_dec(x_12); -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_nat_dec_eq(x_11, x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_unsigned_to_nat(1u); -x_19 = lean_nat_sub(x_11, x_18); -lean_dec(x_11); -x_6 = x_19; -goto _start; -} -else -{ -lean_object* x_21; -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_1); -x_21 = lean_box(0); -return x_21; -} -} -} -else -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_12); -lean_dec(x_5); -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_11, x_22); -lean_dec(x_11); -x_5 = x_23; -goto _start; -} -} -} -} LEAN_EXPORT lean_object* l_Lean_getFieldInfo_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2664,7 +2774,7 @@ else { lean_object* x_19; lean_object* x_20; x_19 = l_Lean_instInhabitedStructureFieldInfo; -x_20 = l_Array_binSearchAux___at_Lean_getFieldInfo_x3f___spec__1(x_19, x_8, x_7, x_12, x_16, x_15); +x_20 = l_Array_binSearchAux___at_Lean_StructureInfo_getProjFn_x3f___spec__1(x_19, x_8, x_7, x_12, x_16, x_15); lean_dec(x_12); lean_dec(x_7); return x_20; @@ -2672,17 +2782,6 @@ return x_20; } } } -LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_getFieldInfo_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Array_binSearchAux___at_Lean_getFieldInfo_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} LEAN_EXPORT lean_object* l_Lean_isSubobjectField_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -4068,25 +4167,25 @@ l___private_Lean_Structure_0__Lean_StructureState_map___default = _init_l___priv lean_mark_persistent(l___private_Lean_Structure_0__Lean_StructureState_map___default); l_Lean_instInhabitedStructureState = _init_l_Lean_instInhabitedStructureState(); lean_mark_persistent(l_Lean_instInhabitedStructureState); -l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__1 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__1(); -l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__2 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__2(); -l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__3 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__3(); -lean_mark_persistent(l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__2___closed__3); -l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5___closed__1 = _init_l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5___closed__1(); -lean_mark_persistent(l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_241____spec__5___closed__1); -l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__1 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__1); -l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__2 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__2); -l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__3 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__3); -l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__4 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__4); -l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__5 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__5(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__5); -l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__6 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__6(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_241____closed__6); -if (builtin) {res = l_Lean_initFn____x40_Lean_Structure___hyg_241_(lean_io_mk_world()); +l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__1 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__1(); +l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__2 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__2(); +l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__3 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__3(); +lean_mark_persistent(l_Std_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__2___closed__3); +l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5___closed__1 = _init_l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5___closed__1(); +lean_mark_persistent(l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Structure___hyg_298____spec__5___closed__1); +l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__1 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__1); +l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__2 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__2); +l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__3 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__3); +l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__4 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__4); +l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__5 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__5(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__5); +l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__6 = _init_l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__6(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Structure___hyg_298____closed__6); +if (builtin) {res = l_Lean_initFn____x40_Lean_Structure___hyg_298_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_structureExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_structureExt);