From c054fa9a6016182c78fc2a79320e86ebcf936d1f Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Thu, 29 Jul 2021 16:33:13 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Lean/Meta/DiscrTree.lean | 69 +- stage0/src/Lean/Meta/WHNF.lean | 2 +- stage0/stdlib/Lean/Elab/App.c | 4 +- stage0/stdlib/Lean/Elab/Do.c | 4 +- stage0/stdlib/Lean/Meta/DiscrTree.c | 5256 +++++++++-------- stage0/stdlib/Lean/Meta/ExprDefEq.c | 14 +- stage0/stdlib/Lean/Meta/Instances.c | 2 +- .../stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c | 2 +- stage0/stdlib/Lean/Meta/UnificationHint.c | 2 +- stage0/stdlib/Lean/Meta/WHNF.c | 364 +- stage0/stdlib/Lean/ParserCompiler.c | 4 +- stage0/stdlib/Std/Data/RBMap.c | 33 + 12 files changed, 3156 insertions(+), 2600 deletions(-) diff --git a/stage0/src/Lean/Meta/DiscrTree.lean b/stage0/src/Lean/Meta/DiscrTree.lean index 5919548d53..2e2c0aee2d 100644 --- a/stage0/src/Lean/Meta/DiscrTree.lean +++ b/stage0/src/Lean/Meta/DiscrTree.lean @@ -6,6 +6,7 @@ Authors: Leonardo de Moura import Lean.Meta.Basic import Lean.Meta.FunInfo import Lean.Meta.InferType +import Lean.Meta.WHNF namespace Lean.Meta.DiscrTree /- @@ -160,12 +161,6 @@ private partial def pushArgsAux (infos : Array ParamInfo) : Nat → Expr → Arr pushArgsAux infos (i-1) f (todo.push a) | _, _, todo => return todo -private partial def whnfEta (e : Expr) : MetaM Expr := do - let e ← whnf e - match e.etaExpandedStrict? with - | some e => whnfEta e - | none => return e - /-- Return true if `e` is one of the following - A nat literal (numeral) @@ -226,13 +221,53 @@ def mkNoindexAnnotation (e : Expr) : Expr := def hasNoindexAnnotation (e : Expr) : Bool := annotation? `noindex e |>.isSome +private partial def whnfEta (e : Expr) : MetaM Expr := do + let e ← whnf e + match e.etaExpandedStrict? with + | some e => whnfEta e + | none => return e + +/-- + Return `true` if `fn` is a "bad" key. That is, `pushArgs` would add `Key.other` or `Key.star`. + We use this function when processing "root terms, and will avoid unfolding terms. + Note that without this trick the pattern `List.map f ∘ List.map g` would be mapped into the key `Key.other` + since the function composition `∘` would be unfolded and we would get `fun x => List.map g (List.map f x)` +-/ +private def isBadKey (fn : Expr) : Bool := + match fn with + | Expr.lit .. => false + | Expr.const .. => false + | Expr.fvar .. => false + | Expr.forallE _ d b _ => b.hasLooseBVars + | _ => true + +/-- + Reduce `e` until we get an irreducible term (modulo current reducibility setting) or the resulting term + is a bad key (see comment at `isBadKey`). + We use this method instead of `whnfEta` for root terms at `pushArgs`. -/ +private partial def whnfUntilBadKey (e : Expr) : MetaM Expr := do + let e ← step e + match e.etaExpandedStrict? with + | some e => whnfUntilBadKey e + | none => return e +where + step (e : Expr) := do + let e ← whnfCore e + match (← unfoldDefinition? e) with + | some e' => if isBadKey e' then return e else step e' + | none => return e + +/-- whnf for the discrimination tree module -/ +private def whnfDT (e : Expr) (root : Bool) : MetaM Expr := + if root then whnfUntilBadKey e else whnfEta e + /- Remark: we use `shouldAddAsStar` only for nested terms, and `root == false` for nested terms -/ private def pushArgs (root : Bool) (todo : Array Expr) (e : Expr) : MetaM (Key × Array Expr) := do if hasNoindexAnnotation e then return (Key.star, todo) else - let e ← whnfEta e + let e ← whnfDT e root let fn := e.getAppFn let push (k : Key) (nargs : Nat) : MetaM (Key × Array Expr) := do let info ← getFunInfoNArgs fn nargs @@ -322,8 +357,8 @@ def insert [BEq α] (d : DiscrTree α) (e : Expr) (v : α) : MetaM (DiscrTree α let keys ← mkPath e return d.insertCore keys v -private def getKeyArgs (e : Expr) (isMatch : Bool) : MetaM (Key × Array Expr) := do - let e ← whnfEta e +private def getKeyArgs (e : Expr) (isMatch root : Bool) : MetaM (Key × Array Expr) := do + let e ← whnfDT e root match e.getAppFn with | Expr.lit v _ => return (Key.lit v, #[]) | Expr.const c _ _ => @@ -365,11 +400,11 @@ private def getKeyArgs (e : Expr) (isMatch : Bool) : MetaM (Key × Array Expr) : | _ => return (Key.other, #[]) -private abbrev getMatchKeyArgs (e : Expr) : MetaM (Key × Array Expr) := - getKeyArgs e (isMatch := true) +private abbrev getMatchKeyArgs (e : Expr) (root : Bool) : MetaM (Key × Array Expr) := + getKeyArgs e (isMatch := true) (root := root) -private abbrev getUnifyKeyArgs (e : Expr) : MetaM (Key × Array Expr) := - getKeyArgs e (isMatch := false) +private abbrev getUnifyKeyArgs (e : Expr) (root : Bool) : MetaM (Key × Array Expr) := + getKeyArgs e (isMatch := false) (root := root) private def getStarResult (d : DiscrTree α) : Array α := let result : Array α := Array.mkEmpty initCapacity @@ -383,7 +418,7 @@ private abbrev findKey (cs : Array (Key × Trie α)) (k : Key) : Option (Key × partial def getMatch (d : DiscrTree α) (e : Expr) : MetaM (Array α) := withReducible do let result := getStarResult d - let (k, args) ← getMatchKeyArgs e + let (k, args) ← getMatchKeyArgs e (root := true) match k with | Key.star => return result | _ => @@ -402,7 +437,7 @@ where let e := todo.back let todo := todo.pop let first := cs[0] /- Recall that `Key.star` is the minimal key -/ - let (k, args) ← getMatchKeyArgs e + let (k, args) ← getMatchKeyArgs e (root := false) /- We must always visit `Key.star` edges since they are wildcards. Thus, `todo` is not used linearly when there is `Key.star` edge and there is an edge for `k` and `k != Key.star`. -/ @@ -427,7 +462,7 @@ where partial def getUnify (d : DiscrTree α) (e : Expr) : MetaM (Array α) := withReducible do - let (k, args) ← getUnifyKeyArgs e + let (k, args) ← getUnifyKeyArgs e (root := true) match k with | Key.star => d.root.foldlM (init := #[]) fun result k c => process k.arity #[] c result | _ => @@ -451,7 +486,7 @@ where else let e := todo.back let todo := todo.pop - let (k, args) ← getUnifyKeyArgs e + let (k, args) ← getUnifyKeyArgs e (root := false) let visitStar (result : Array α) : MetaM (Array α) := let first := cs[0] if first.1 == Key.star then diff --git a/stage0/src/Lean/Meta/WHNF.lean b/stage0/src/Lean/Meta/WHNF.lean index 7a02c30814..6624fd812e 100644 --- a/stage0/src/Lean/Meta/WHNF.lean +++ b/stage0/src/Lean/Meta/WHNF.lean @@ -200,7 +200,7 @@ end =========================== -/ /-- Auxiliary combinator for handling easy WHNF cases. It takes a function for handling the "hard" cases as an argument -/ -@[specialize] private partial def whnfEasyCases (e : Expr) (k : Expr → MetaM Expr) : MetaM Expr := do +@[specialize] partial def whnfEasyCases (e : Expr) (k : Expr → MetaM Expr) : MetaM Expr := do match e with | Expr.forallE .. => return e | Expr.lam .. => return e diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 01d00e85e2..3b3850750c 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -299,7 +299,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_propagateExpectedTypeFo 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*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__9; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_normalizeFunType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___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*); @@ -522,6 +521,7 @@ 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; static lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getParentStructures(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toLVals_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___boxed(lean_object*); @@ -15096,7 +15096,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_11 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_3, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_3, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 91ad455f36..cc71575341 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -541,7 +541,6 @@ lean_object* l_Lean_Elab_Term_Do_addFreshJP___boxed(lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMacroExpansion___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___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__5; @@ -939,6 +938,7 @@ lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_Elab_Term_Do_getDoLetRecVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Do_ToTerm_Kind_isRegular(uint8_t); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_concat_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; lean_object* l_Lean_Elab_Term_Do_pullExitPoints(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2818,7 +2818,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_11 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_10); +x_11 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; uint8_t x_14; diff --git a/stage0/stdlib/Lean/Meta/DiscrTree.c b/stage0/stdlib/Lean/Meta/DiscrTree.c index 038e6e92f3..e9e4012ec1 100644 --- a/stage0/stdlib/Lean/Meta/DiscrTree.c +++ b/stage0/stdlib/Lean/Meta/DiscrTree.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Meta.DiscrTree -// Imports: Init Lean.Meta.Basic Lean.Meta.FunInfo Lean.Meta.InferType +// Imports: Init Lean.Meta.Basic Lean.Meta.FunInfo Lean.Meta.InferType Lean.Meta.WHNF #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -25,6 +25,7 @@ lean_object* l_Lean_Meta_DiscrTree_getMatch_process_match__1___rarg(lean_object* lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_DiscrTree_getUnify___spec__16___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Format_join(lean_object*); uint8_t l_Lean_Expr_isNatLit(lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey_match__1(lean_object*); lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_DiscrTree_insertCore___spec__9(lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getMatch___spec__13___rarg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isNumeral___closed__10; @@ -89,6 +90,7 @@ lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_DiscrTree_getUnify__ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_DiscrTree_format_match__1(lean_object*); lean_object* l_Lean_annotation_x3f(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getMatchKeyArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__7___rarg___boxed(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_DiscrTree_getMatch___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getMatch___spec__7___rarg___boxed(lean_object*, lean_object*); @@ -108,9 +110,12 @@ lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___sp lean_object* l_Lean_Meta_DiscrTree_Key_ctorIdx___boxed(lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_DiscrTree_getMatch___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__4(lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_DiscrTree_getUnify_process_match__1(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_DiscrTree_getMatch___spec__2(lean_object*); lean_object* l_Array_binSearchAux___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_findKey___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfDT(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_DiscrTree_getUnify___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_DiscrTree_Trie_format(lean_object*); static lean_object* l_Lean_Meta_DiscrTree_Trie_format___rarg___closed__5; @@ -131,6 +136,7 @@ lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getUnify_process___sp lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getUnify_process___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_DiscrTree_insertCore___spec__6___rarg(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfUntilBadKey(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Meta_DiscrTree_Key_format___spec__1(lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_DiscrTree_getUnify___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_DiscrTree_insertCore___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -206,7 +212,7 @@ lean_object* l_List_format___rarg(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_insertCore___spec__1(lean_object*); lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getMatchKeyArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getMatchKeyArgs(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__7(lean_object*); lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_pushArgs(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isOffset___closed__3; @@ -330,6 +336,7 @@ lean_object* l_Lean_Meta_DiscrTree_getMatch_process___rarg(lean_object*, lean_ob static lean_object* l_Lean_Meta_DiscrTree_insertCore___rarg___closed__2; lean_object* l_Lean_Meta_DiscrTree_getUnify___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getUnify_process___spec__6(lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfDT___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getUnify_process___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getUnify_process___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(lean_object*); @@ -337,9 +344,11 @@ extern lean_object* l_Lean_Meta_DiscrTree_instInhabitedKey; lean_object* l_Lean_Meta_DiscrTree_insertCore___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_DiscrTree_getMatch___spec__12(lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getUnifyKeyArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_DiscrTree_getUnify___spec__15___rarg(lean_object*, size_t, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getUnify_process___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult_match__1(lean_object*, lean_object*); static lean_object* l_Lean_Meta_DiscrTree_Trie_format___rarg___closed__2; @@ -357,7 +366,7 @@ lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Meta_DiscrTree_format__ lean_object* l_Lean_Meta_DiscrTree_instToFormatTrie___rarg(lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_DiscrTree_getMatch___spec__3(lean_object*); lean_object* l_Lean_Meta_DiscrTree_Trie_format___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_DiscrTree_empty___closed__1; lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_DiscrTree_getUnify___spec__19___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_DiscrTree_insertCore___spec__4(lean_object*); @@ -423,9 +432,11 @@ lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_DiscrTree_getUnify static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isNumeral___closed__3; lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_DiscrTree_getMatch___spec__11(lean_object*); lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getUnifyKeyArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getUnifyKeyArgs(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Meta_DiscrTree_getUnify___spec__11___rarg___closed__1; lean_object* l_Lean_Meta_DiscrTree_Trie_format_match__2(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey___boxed(lean_object*); +uint8_t l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey(lean_object*); lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__4(lean_object*); static lean_object* l_List_map___at_Lean_Meta_DiscrTree_Trie_format___spec__2___rarg___closed__5; lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_DiscrTree_getMatch___spec__9(lean_object*); @@ -442,6 +453,7 @@ lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_DiscrTree_insertCore_ lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at_Lean_Meta_DiscrTree_Trie_format___spec__2___rarg___closed__3; lean_object* l_Lean_Meta_DiscrTree_insertCore(lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfUntilBadKey_step(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_DiscrTree_getMatch___spec__6(lean_object*); lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_Meta_DiscrTree_mkPathAux_match__1___rarg(lean_object*, lean_object*); @@ -490,7 +502,7 @@ lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_o lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_Meta_DiscrTree_getUnify___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___spec__3(lean_object*); lean_object* l_Lean_Meta_DiscrTree_Key_ctorIdx_match__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) { _start: @@ -2618,141 +2630,6 @@ lean_dec(x_1); return x_10; } } -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfEta_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfEta_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfEta_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfEta(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_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_7 = l_Lean_Meta_whnf(x_1, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_7) == 0) -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -x_11 = l_Lean_Expr_etaExpandedStrict_x3f(x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -else -{ -lean_object* x_12; -lean_free_object(x_7); -lean_dec(x_9); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec(x_11); -x_1 = x_12; -x_6 = x_10; -goto _start; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_7); -lean_inc(x_14); -x_16 = l_Lean_Expr_etaExpandedStrict_x3f(x_14); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -else -{ -lean_object* x_18; -lean_dec(x_14); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_1 = x_18; -x_6 = x_15; -goto _start; -} -} -} -else -{ -uint8_t x_20; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_20 = !lean_is_exclusive(x_7); -if (x_20 == 0) -{ -return x_7; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_7, 0); -x_22 = lean_ctor_get(x_7, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_7); -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_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isNumeral___closed__1() { _start: { @@ -3601,6 +3478,589 @@ x_3 = lean_box(x_2); return x_3; } } +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfEta_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfEta_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfEta_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfEta(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_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_7 = l_Lean_Meta_whnf(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +x_11 = l_Lean_Expr_etaExpandedStrict_x3f(x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +else +{ +lean_object* x_12; +lean_free_object(x_7); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +x_1 = x_12; +x_6 = x_10; +goto _start; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +lean_inc(x_14); +x_16 = l_Lean_Expr_etaExpandedStrict_x3f(x_14); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; +lean_dec(x_14); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_1 = x_18; +x_6 = x_15; +goto _start; +} +} +} +else +{ +uint8_t x_20; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_7); +if (x_20 == 0) +{ +return x_7; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_7, 0); +x_22 = lean_ctor_get(x_7, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_7); +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_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey_match__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) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_9 = lean_box_uint64(x_8); +x_10 = lean_apply_2(x_4, x_7, x_9); +return x_10; +} +case 4: +{ +lean_object* x_11; lean_object* x_12; uint64_t x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +x_13 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_14 = lean_box_uint64(x_13); +x_15 = lean_apply_3(x_3, x_11, x_12, x_14); +return x_15; +} +case 7: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint64_t x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_16 = lean_ctor_get(x_1, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 2); +lean_inc(x_18); +x_19 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_20 = lean_box_uint64(x_19); +x_21 = lean_apply_4(x_5, x_16, x_17, x_18, x_20); +return x_21; +} +case 9: +{ +lean_object* x_22; uint64_t x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_22 = lean_ctor_get(x_1, 0); +lean_inc(x_22); +x_23 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_24 = lean_box_uint64(x_23); +x_25 = lean_apply_2(x_2, x_22, x_24); +return x_25; +} +default: +{ +lean_object* x_26; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_26 = lean_apply_1(x_6, x_1); +return x_26; +} +} +} +} +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey_match__1___rarg), 6, 0); +return x_2; +} +} +uint8_t l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +uint8_t x_2; +x_2 = 0; +return x_2; +} +case 4: +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +case 7: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_1, 2); +x_5 = l_Lean_Expr_hasLooseBVars(x_4); +return x_5; +} +case 9: +{ +uint8_t x_6; +x_6 = 0; +return x_6; +} +default: +{ +uint8_t x_7; +x_7 = 1; +return x_7; +} +} +} +} +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfUntilBadKey_step(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_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_7 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_8); +x_10 = l_Lean_Meta_unfoldDefinition_x3f(x_8, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +lean_ctor_set(x_10, 0, x_8); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_10); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_ctor_get(x_10, 1); +x_18 = lean_ctor_get(x_10, 0); +lean_dec(x_18); +x_19 = lean_ctor_get(x_11, 0); +lean_inc(x_19); +lean_dec(x_11); +x_20 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey(x_19); +if (x_20 == 0) +{ +lean_free_object(x_10); +lean_dec(x_8); +x_1 = x_19; +x_6 = x_17; +goto _start; +} +else +{ +lean_dec(x_19); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_ctor_set(x_10, 0, x_8); +return x_10; +} +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_dec(x_10); +x_23 = lean_ctor_get(x_11, 0); +lean_inc(x_23); +lean_dec(x_11); +x_24 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isBadKey(x_23); +if (x_24 == 0) +{ +lean_dec(x_8); +x_1 = x_23; +x_6 = x_22; +goto _start; +} +else +{ +lean_object* x_26; +lean_dec(x_23); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_8); +lean_ctor_set(x_26, 1, x_22); +return x_26; +} +} +} +} +else +{ +uint8_t x_27; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_27 = !lean_is_exclusive(x_10); +if (x_27 == 0) +{ +return x_10; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_10, 0); +x_29 = lean_ctor_get(x_10, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_10); +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_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_31 = !lean_is_exclusive(x_7); +if (x_31 == 0) +{ +return x_7; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_7, 0); +x_33 = lean_ctor_get(x_7, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_7); +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_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfUntilBadKey(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_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_7 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfUntilBadKey_step(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +x_11 = l_Lean_Expr_etaExpandedStrict_x3f(x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +else +{ +lean_object* x_12; +lean_free_object(x_7); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +x_1 = x_12; +x_6 = x_10; +goto _start; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +lean_inc(x_14); +x_16 = l_Lean_Expr_etaExpandedStrict_x3f(x_14); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; +lean_dec(x_14); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_1 = x_18; +x_6 = x_15; +goto _start; +} +} +} +else +{ +uint8_t x_20; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_7); +if (x_20 == 0) +{ +return x_7; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_7, 0); +x_22 = lean_ctor_get(x_7, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_7); +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_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfDT(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) { +_start: +{ +if (x_2 == 0) +{ +lean_object* x_8; +x_8 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfEta(x_1, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +else +{ +lean_object* x_9; +x_9 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfUntilBadKey(x_1, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +} +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfDT___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +lean_dec(x_2); +x_9 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfDT(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_pushArgs_match__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) { _start: { @@ -3844,7 +4304,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_10 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfEta(x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfDT(x_3, x_1, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_10) == 0) { uint8_t x_11; @@ -7222,7 +7682,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_DiscrTree_insertCore___rarg___closed__2; x_2 = l_Lean_Meta_DiscrTree_insertCore___rarg___closed__3; -x_3 = lean_unsigned_to_nat(310u); +x_3 = lean_unsigned_to_nat(345u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Meta_DiscrTree_insertCore___rarg___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -7474,608 +7934,630 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(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* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_8; +lean_object* x_9; +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_8 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfEta(x_1, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_8) == 0) +x_9 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_whnfDT(x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) { -uint8_t x_9; -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_8, 1); -x_12 = l_Lean_Expr_getAppFn(x_10); -switch (lean_obj_tag(x_12)) { +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +x_13 = l_Lean_Expr_getAppFn(x_11); +switch (lean_obj_tag(x_13)) { case 1: { -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_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_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_unsigned_to_nat(0u); -x_15 = l_Lean_Expr_getAppNumArgsAux(x_10, x_14); -lean_inc(x_15); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_13); -lean_ctor_set(x_16, 1, x_15); -x_17 = lean_mk_empty_array_with_capacity(x_15); -lean_dec(x_15); -x_18 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_10, x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_16); -lean_ctor_set(x_19, 1, x_18); -lean_ctor_set(x_8, 0, x_19); -return x_8; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Lean_Expr_getAppNumArgsAux(x_11, x_15); +lean_inc(x_16); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_mk_empty_array_with_capacity(x_16); +lean_dec(x_16); +x_19 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_11, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set(x_9, 0, x_20); +return x_9; } case 2: { -lean_dec(x_10); +lean_dec(x_11); if (x_2 == 0) { -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_3, 0); -lean_inc(x_20); -x_21 = lean_ctor_get_uint8(x_20, 4); -lean_dec(x_20); -if (x_21 == 0) +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_4, 0); +lean_inc(x_21); +x_22 = lean_ctor_get_uint8(x_21, 4); +lean_dec(x_21); +if (x_22 == 0) { -lean_object* x_22; lean_object* x_23; -lean_free_object(x_8); -x_22 = lean_ctor_get(x_12, 0); -lean_inc(x_22); -lean_dec(x_12); -x_23 = l_Lean_Meta_isReadOnlyOrSyntheticOpaqueExprMVar(x_22, x_3, x_4, x_5, x_6, x_11); +lean_object* x_23; lean_object* x_24; +lean_free_object(x_9); +x_23 = lean_ctor_get(x_13, 0); +lean_inc(x_23); +lean_dec(x_13); +x_24 = l_Lean_Meta_isReadOnlyOrSyntheticOpaqueExprMVar(x_23, x_4, x_5, x_6, x_7, x_12); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -if (lean_obj_tag(x_23) == 0) +if (lean_obj_tag(x_24) == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -uint8_t x_26; -x_26 = !lean_is_exclusive(x_23); +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); if (x_26 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_23, 0); -lean_dec(x_27); -x_28 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__2; -lean_ctor_set(x_23, 0, x_28); -return x_23; +uint8_t x_27; +x_27 = !lean_is_exclusive(x_24); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_24, 0); +lean_dec(x_28); +x_29 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__2; +lean_ctor_set(x_24, 0, x_29); +return x_24; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_23, 1); -lean_inc(x_29); -lean_dec(x_23); -x_30 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__2; -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; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_dec(x_24); +x_31 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__2; +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; } } else { -uint8_t x_32; -x_32 = !lean_is_exclusive(x_23); -if (x_32 == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_24); +if (x_33 == 0) { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_23, 0); -lean_dec(x_33); -x_34 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; -lean_ctor_set(x_23, 0, x_34); -return x_23; +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_24, 0); +lean_dec(x_34); +x_35 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; +lean_ctor_set(x_24, 0, x_35); +return x_24; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_23, 1); -lean_inc(x_35); -lean_dec(x_23); -x_36 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___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); -return x_37; +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_24, 1); +lean_inc(x_36); +lean_dec(x_24); +x_37 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; +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 { -uint8_t x_38; -x_38 = !lean_is_exclusive(x_23); -if (x_38 == 0) +uint8_t x_39; +x_39 = !lean_is_exclusive(x_24); +if (x_39 == 0) { -return x_23; +return x_24; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_23, 0); -x_40 = lean_ctor_get(x_23, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_24, 0); +x_41 = lean_ctor_get(x_24, 1); +lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_23); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_dec(x_24); +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_42; -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_42 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__2; -lean_ctor_set(x_8, 0, x_42); -return x_8; -} -} -else -{ lean_object* x_43; -lean_dec(x_12); +lean_dec(x_13); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_43 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; -lean_ctor_set(x_8, 0, x_43); -return x_8; +x_43 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__2; +lean_ctor_set(x_9, 0, x_43); +return x_9; +} +} +else +{ +lean_object* x_44; +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_44 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; +lean_ctor_set(x_9, 0, x_44); +return x_9; } } case 4: { -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_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_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_44 = lean_ctor_get(x_12, 0); -lean_inc(x_44); -lean_dec(x_12); -x_45 = lean_unsigned_to_nat(0u); -x_46 = l_Lean_Expr_getAppNumArgsAux(x_10, x_45); -lean_inc(x_46); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_44); -lean_ctor_set(x_47, 1, x_46); -x_48 = lean_mk_empty_array_with_capacity(x_46); -lean_dec(x_46); -x_49 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_10, x_48); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_47); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set(x_8, 0, x_50); -return x_8; +x_45 = lean_ctor_get(x_13, 0); +lean_inc(x_45); +lean_dec(x_13); +x_46 = lean_unsigned_to_nat(0u); +x_47 = l_Lean_Expr_getAppNumArgsAux(x_11, x_46); +lean_inc(x_47); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_mk_empty_array_with_capacity(x_47); +lean_dec(x_47); +x_50 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_11, x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_50); +lean_ctor_set(x_9, 0, x_51); +return x_9; } case 7: { -lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_10); +lean_object* x_52; lean_object* x_53; uint8_t x_54; +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_51 = lean_ctor_get(x_12, 1); -lean_inc(x_51); -x_52 = lean_ctor_get(x_12, 2); +x_52 = lean_ctor_get(x_13, 1); lean_inc(x_52); -lean_dec(x_12); -x_53 = l_Lean_Expr_hasLooseBVars(x_52); -if (x_53 == 0) +x_53 = lean_ctor_get(x_13, 2); +lean_inc(x_53); +lean_dec(x_13); +x_54 = l_Lean_Expr_hasLooseBVars(x_53); +if (x_54 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_54 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__3; -x_55 = lean_array_push(x_54, x_51); +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__3; x_56 = lean_array_push(x_55, x_52); -x_57 = lean_box(5); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_8, 0, x_58); -return x_8; +x_57 = lean_array_push(x_56, x_53); +x_58 = lean_box(5); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +lean_ctor_set(x_9, 0, x_59); +return x_9; } else { -lean_object* x_59; +lean_object* x_60; +lean_dec(x_53); lean_dec(x_52); -lean_dec(x_51); -x_59 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; -lean_ctor_set(x_8, 0, x_59); -return x_8; +x_60 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; +lean_ctor_set(x_9, 0, x_60); +return x_9; } } case 9: { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -lean_dec(x_10); +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +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_60 = lean_ctor_get(x_12, 0); -lean_inc(x_60); -lean_dec(x_12); -x_61 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_62 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -lean_ctor_set(x_8, 0, x_63); -return x_8; +x_61 = lean_ctor_get(x_13, 0); +lean_inc(x_61); +lean_dec(x_13); +x_62 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_63 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_9, 0, x_64); +return x_9; } default: { -lean_object* x_64; -lean_dec(x_12); -lean_dec(x_10); +lean_object* x_65; +lean_dec(x_13); +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_64 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; -lean_ctor_set(x_8, 0, x_64); -return x_8; +x_65 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; +lean_ctor_set(x_9, 0, x_65); +return x_9; } } } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_8, 0); -x_66 = lean_ctor_get(x_8, 1); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_9, 0); +x_67 = lean_ctor_get(x_9, 1); +lean_inc(x_67); lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_8); -x_67 = l_Lean_Expr_getAppFn(x_65); -switch (lean_obj_tag(x_67)) { +lean_dec(x_9); +x_68 = l_Lean_Expr_getAppFn(x_66); +switch (lean_obj_tag(x_68)) { case 1: { -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_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_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_unsigned_to_nat(0u); -x_70 = l_Lean_Expr_getAppNumArgsAux(x_65, x_69); -lean_inc(x_70); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_mk_empty_array_with_capacity(x_70); -lean_dec(x_70); -x_73 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_65, x_72); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_71); -lean_ctor_set(x_74, 1, x_73); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +lean_dec(x_68); +x_70 = lean_unsigned_to_nat(0u); +x_71 = l_Lean_Expr_getAppNumArgsAux(x_66, x_70); +lean_inc(x_71); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_mk_empty_array_with_capacity(x_71); +lean_dec(x_71); +x_74 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_66, x_73); x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_66); -return x_75; +lean_ctor_set(x_75, 0, x_72); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_67); +return x_76; } case 2: { -lean_dec(x_65); +lean_dec(x_66); if (x_2 == 0) { -lean_object* x_76; uint8_t x_77; -x_76 = lean_ctor_get(x_3, 0); -lean_inc(x_76); -x_77 = lean_ctor_get_uint8(x_76, 4); -lean_dec(x_76); -if (x_77 == 0) +lean_object* x_77; uint8_t x_78; +x_77 = lean_ctor_get(x_4, 0); +lean_inc(x_77); +x_78 = lean_ctor_get_uint8(x_77, 4); +lean_dec(x_77); +if (x_78 == 0) { -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_67, 0); -lean_inc(x_78); -lean_dec(x_67); -x_79 = l_Lean_Meta_isReadOnlyOrSyntheticOpaqueExprMVar(x_78, x_3, x_4, x_5, x_6, x_66); +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_68, 0); +lean_inc(x_79); +lean_dec(x_68); +x_80 = l_Lean_Meta_isReadOnlyOrSyntheticOpaqueExprMVar(x_79, x_4, x_5, x_6, x_7, x_67); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -if (lean_obj_tag(x_79) == 0) +if (lean_obj_tag(x_80) == 0) { -lean_object* x_80; uint8_t x_81; -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_unbox(x_80); -lean_dec(x_80); -if (x_81 == 0) +lean_object* x_81; uint8_t x_82; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +lean_dec(x_81); +if (x_82 == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_82 = lean_ctor_get(x_79, 1); -lean_inc(x_82); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_83 = x_79; +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_84 = x_80; } else { - lean_dec_ref(x_79); - x_83 = lean_box(0); + lean_dec_ref(x_80); + x_84 = lean_box(0); } -x_84 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__2; -if (lean_is_scalar(x_83)) { - x_85 = lean_alloc_ctor(0, 2, 0); +x_85 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__2; +if (lean_is_scalar(x_84)) { + x_86 = lean_alloc_ctor(0, 2, 0); } else { - x_85 = x_83; + x_86 = x_84; } -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_82); -return x_85; +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_83); +return x_86; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_86 = lean_ctor_get(x_79, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_87 = x_79; +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_87 = lean_ctor_get(x_80, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_88 = x_80; } else { - lean_dec_ref(x_79); - x_87 = lean_box(0); + lean_dec_ref(x_80); + x_88 = lean_box(0); } -x_88 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; -if (lean_is_scalar(x_87)) { - x_89 = lean_alloc_ctor(0, 2, 0); +x_89 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; +if (lean_is_scalar(x_88)) { + x_90 = lean_alloc_ctor(0, 2, 0); } else { - x_89 = x_87; + x_90 = x_88; } -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_86); -return x_89; +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_87); +return x_90; } } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_90 = lean_ctor_get(x_79, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_79, 1); +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_91 = lean_ctor_get(x_80, 0); lean_inc(x_91); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_92 = x_79; +x_92 = lean_ctor_get(x_80, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_93 = x_80; } else { - lean_dec_ref(x_79); - x_92 = lean_box(0); + lean_dec_ref(x_80); + x_93 = lean_box(0); } -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(1, 2, 0); } else { - x_93 = x_92; + x_94 = x_93; } -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_91); -return x_93; +lean_ctor_set(x_94, 0, x_91); +lean_ctor_set(x_94, 1, x_92); +return x_94; } } else { -lean_object* x_94; lean_object* x_95; -lean_dec(x_67); +lean_object* x_95; lean_object* x_96; +lean_dec(x_68); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_94 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__2; -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_66); -return x_95; +x_95 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__2; +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_67); +return x_96; } } else { -lean_object* x_96; lean_object* x_97; -lean_dec(x_67); +lean_object* x_97; lean_object* x_98; +lean_dec(x_68); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_96 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_66); -return x_97; +x_97 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_67); +return x_98; } } case 4: { -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_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_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_98 = lean_ctor_get(x_67, 0); -lean_inc(x_98); -lean_dec(x_67); -x_99 = lean_unsigned_to_nat(0u); -x_100 = l_Lean_Expr_getAppNumArgsAux(x_65, x_99); -lean_inc(x_100); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_98); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_mk_empty_array_with_capacity(x_100); -lean_dec(x_100); -x_103 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_65, x_102); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_101); -lean_ctor_set(x_104, 1, x_103); +x_99 = lean_ctor_get(x_68, 0); +lean_inc(x_99); +lean_dec(x_68); +x_100 = lean_unsigned_to_nat(0u); +x_101 = l_Lean_Expr_getAppNumArgsAux(x_66, x_100); +lean_inc(x_101); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_99); +lean_ctor_set(x_102, 1, x_101); +x_103 = lean_mk_empty_array_with_capacity(x_101); +lean_dec(x_101); +x_104 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_66, x_103); x_105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_66); -return x_105; +lean_ctor_set(x_105, 0, x_102); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_67); +return x_106; } case 7: { -lean_object* x_106; lean_object* x_107; uint8_t x_108; -lean_dec(x_65); +lean_object* x_107; lean_object* x_108; uint8_t x_109; +lean_dec(x_66); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_106 = lean_ctor_get(x_67, 1); -lean_inc(x_106); -x_107 = lean_ctor_get(x_67, 2); +x_107 = lean_ctor_get(x_68, 1); lean_inc(x_107); -lean_dec(x_67); -x_108 = l_Lean_Expr_hasLooseBVars(x_107); -if (x_108 == 0) +x_108 = lean_ctor_get(x_68, 2); +lean_inc(x_108); +lean_dec(x_68); +x_109 = l_Lean_Expr_hasLooseBVars(x_108); +if (x_109 == 0) { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_109 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__3; -x_110 = lean_array_push(x_109, x_106); +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_110 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__3; x_111 = lean_array_push(x_110, x_107); -x_112 = lean_box(5); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_111); +x_112 = lean_array_push(x_111, x_108); +x_113 = lean_box(5); x_114 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_66); -return x_114; +lean_ctor_set(x_114, 1, x_112); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_67); +return x_115; } else { -lean_object* x_115; lean_object* x_116; +lean_object* x_116; lean_object* x_117; +lean_dec(x_108); lean_dec(x_107); -lean_dec(x_106); -x_115 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_66); -return x_116; +x_116 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_67); +return x_117; } } case 9: { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -lean_dec(x_65); +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +lean_dec(x_66); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_117 = lean_ctor_get(x_67, 0); -lean_inc(x_117); -lean_dec(x_67); -x_118 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_119 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); +x_118 = lean_ctor_get(x_68, 0); +lean_inc(x_118); +lean_dec(x_68); +x_119 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_119, 0, x_118); +x_120 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_66); -return x_121; +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_67); +return x_122; } default: { -lean_object* x_122; lean_object* x_123; -lean_dec(x_67); -lean_dec(x_65); +lean_object* x_123; lean_object* x_124; +lean_dec(x_68); +lean_dec(x_66); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_122 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_66); -return x_123; +x_123 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___closed__1; +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_67); +return x_124; } } } } else { -uint8_t x_124; +uint8_t x_125; +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_124 = !lean_is_exclusive(x_8); -if (x_124 == 0) +x_125 = !lean_is_exclusive(x_9); +if (x_125 == 0) { -return x_8; +return x_9; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_8, 0); -x_126 = lean_ctor_get(x_8, 1); +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_9, 0); +x_127 = lean_ctor_get(x_9, 1); +lean_inc(x_127); lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_8); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -return x_127; +lean_dec(x_9); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; } } } } -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___boxed(lean_object* x_1, lean_object* x_2, 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; uint8_t x_10; lean_object* x_11; +x_9 = lean_unbox(x_2); +lean_dec(x_2); +x_10 = lean_unbox(x_3); +lean_dec(x_3); +x_11 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_1, x_9, x_10, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getMatchKeyArgs(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) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = 1; +x_9 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_1, x_8, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getMatchKeyArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_2); lean_dec(x_2); -x_9 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +x_9 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getMatchKeyArgs(x_1, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getMatchKeyArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getUnifyKeyArgs(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) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = 1; -x_8 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_1, x_7, x_2, x_3, x_4, x_5, x_6); -return x_8; +uint8_t x_8; lean_object* x_9; +x_8 = 0; +x_9 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_1, x_8, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; } } -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getUnifyKeyArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getUnifyKeyArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = 0; -x_8 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_1, x_7, x_2, x_3, x_4, x_5, x_6); -return x_8; +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +lean_dec(x_2); +x_9 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getUnifyKeyArgs(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +return x_9; } } lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -9148,612 +9630,611 @@ lean_dec(x_9); x_12 = l_Array_isEmpty___rarg(x_10); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; x_13 = l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___spec__1(x_1); x_14 = lean_array_pop(x_1); x_15 = l_Array_back___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___spec__2___rarg___closed__2; x_16 = lean_unsigned_to_nat(0u); x_17 = lean_array_get(x_15, x_10, x_16); x_18 = 1; +x_19 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_19 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_13, x_18, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_19) == 0) +x_20 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_13, x_18, x_19, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - x_22 = x_19; -} else { - lean_dec_ref(x_19); - x_22 = lean_box(0); -} -x_23 = lean_ctor_get(x_20, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); if (lean_is_exclusive(x_20)) { lean_ctor_release(x_20, 0); lean_ctor_release(x_20, 1); - x_25 = x_20; + x_23 = x_20; } else { lean_dec_ref(x_20); - x_25 = lean_box(0); + x_23 = lean_box(0); } -x_26 = lean_ctor_get(x_17, 0); -lean_inc(x_26); -x_27 = lean_box(3); -x_28 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_68_(x_26, x_27); -lean_dec(x_26); -if (x_28 == 0) -{ -uint8_t x_131; -x_131 = 0; -x_29 = x_131; -goto block_130; +x_24 = lean_ctor_get(x_21, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + x_26 = x_21; +} else { + lean_dec_ref(x_21); + x_26 = lean_box(0); } -else -{ -x_29 = x_18; -goto block_130; -} -block_130: -{ -lean_object* x_30; lean_object* x_31; +x_27 = lean_ctor_get(x_17, 0); +lean_inc(x_27); +x_28 = lean_box(3); +x_29 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_68_(x_27, x_28); +lean_dec(x_27); if (x_29 == 0) { -lean_dec(x_17); -x_30 = x_3; -x_31 = x_21; -goto block_121; +x_30 = x_19; +goto block_131; } else { -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_17, 1); -lean_inc(x_122); +x_30 = x_18; +goto block_131; +} +block_131: +{ +lean_object* x_31; lean_object* x_32; +if (x_30 == 0) +{ +lean_dec(x_17); +x_31 = x_3; +x_32 = x_22; +goto block_122; +} +else +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_17, 1); +lean_inc(x_123); lean_dec(x_17); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_14); -x_123 = l_Lean_Meta_DiscrTree_getMatch_process___rarg(x_14, x_122, x_3, x_4, x_5, x_6, x_7, x_21); -if (lean_obj_tag(x_123) == 0) +x_124 = l_Lean_Meta_DiscrTree_getMatch_process___rarg(x_14, x_123, x_3, x_4, x_5, x_6, x_7, x_22); +if (lean_obj_tag(x_124) == 0) { -lean_object* x_124; lean_object* x_125; -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); +lean_object* x_125; lean_object* x_126; +x_125 = lean_ctor_get(x_124, 0); lean_inc(x_125); -lean_dec(x_123); -x_30 = x_124; +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); x_31 = x_125; -goto block_121; +x_32 = x_126; +goto block_122; } else { -uint8_t x_126; +uint8_t x_127; +lean_dec(x_26); lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); lean_dec(x_14); lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_126 = !lean_is_exclusive(x_123); -if (x_126 == 0) +x_127 = !lean_is_exclusive(x_124); +if (x_127 == 0) { -return x_123; +return x_124; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_ctor_get(x_123, 0); -x_128 = lean_ctor_get(x_123, 1); +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_124, 0); +x_129 = lean_ctor_get(x_124, 1); +lean_inc(x_129); lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_123); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -return x_129; +lean_dec(x_124); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_128); +lean_ctor_set(x_130, 1, x_129); +return x_130; } } } -block_121: +block_122: { -lean_object* x_32; -switch (lean_obj_tag(x_23)) { +lean_object* x_33; +switch (lean_obj_tag(x_24)) { case 0: { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -lean_dec(x_22); -x_60 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__2; -if (lean_is_scalar(x_25)) { - x_61 = lean_alloc_ctor(0, 2, 0); +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +lean_dec(x_23); +x_61 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__2; +if (lean_is_scalar(x_26)) { + x_62 = lean_alloc_ctor(0, 2, 0); } else { - x_61 = x_25; + x_62 = x_26; } -lean_ctor_set(x_61, 0, x_23); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_array_get_size(x_10); -x_63 = lean_unsigned_to_nat(1u); -x_64 = lean_nat_sub(x_62, x_63); -x_65 = lean_nat_dec_lt(x_16, x_62); -lean_dec(x_62); -if (x_65 == 0) -{ -lean_object* x_66; -lean_dec(x_64); -lean_dec(x_61); -lean_dec(x_24); -lean_dec(x_14); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_30); -lean_ctor_set(x_66, 1, x_31); -return x_66; -} -else +lean_ctor_set(x_62, 0, x_24); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_array_get_size(x_10); +x_64 = lean_unsigned_to_nat(1u); +x_65 = lean_nat_sub(x_63, x_64); +x_66 = lean_nat_dec_lt(x_16, x_63); +lean_dec(x_63); +if (x_66 == 0) { lean_object* x_67; -x_67 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__2___rarg(x_10, x_61, x_16, x_64); -lean_dec(x_61); +lean_dec(x_65); +lean_dec(x_62); +lean_dec(x_25); +lean_dec(x_14); lean_dec(x_10); -if (lean_obj_tag(x_67) == 0) +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_31); +lean_ctor_set(x_67, 1, x_32); +return x_67; +} +else { lean_object* x_68; -lean_dec(x_24); +x_68 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__2___rarg(x_10, x_62, x_16, x_65); +lean_dec(x_62); +lean_dec(x_10); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; +lean_dec(x_25); lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_30); -lean_ctor_set(x_68, 1, x_31); -return x_68; +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_31); +lean_ctor_set(x_69, 1, x_32); +return x_69; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_67, 0); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l_Array_append___rarg(x_14, x_24); -lean_dec(x_24); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_1 = x_70; -x_2 = x_71; -x_3 = x_30; -x_8 = x_31; +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_68, 0); +lean_inc(x_70); +lean_dec(x_68); +x_71 = l_Array_append___rarg(x_14, x_25); +lean_dec(x_25); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_1 = x_71; +x_2 = x_72; +x_3 = x_31; +x_8 = x_32; goto _start; } } } case 1: { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -lean_dec(x_22); -x_73 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__2; -if (lean_is_scalar(x_25)) { - x_74 = lean_alloc_ctor(0, 2, 0); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +lean_dec(x_23); +x_74 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__2; +if (lean_is_scalar(x_26)) { + x_75 = lean_alloc_ctor(0, 2, 0); } else { - x_74 = x_25; + x_75 = x_26; } -lean_ctor_set(x_74, 0, x_23); -lean_ctor_set(x_74, 1, x_73); -x_75 = lean_array_get_size(x_10); -x_76 = lean_unsigned_to_nat(1u); -x_77 = lean_nat_sub(x_75, x_76); -x_78 = lean_nat_dec_lt(x_16, x_75); -lean_dec(x_75); -if (x_78 == 0) -{ -lean_object* x_79; -lean_dec(x_77); -lean_dec(x_74); -lean_dec(x_24); -lean_dec(x_14); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_30); -lean_ctor_set(x_79, 1, x_31); -return x_79; -} -else +lean_ctor_set(x_75, 0, x_24); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_array_get_size(x_10); +x_77 = lean_unsigned_to_nat(1u); +x_78 = lean_nat_sub(x_76, x_77); +x_79 = lean_nat_dec_lt(x_16, x_76); +lean_dec(x_76); +if (x_79 == 0) { lean_object* x_80; -x_80 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__3___rarg(x_10, x_74, x_16, x_77); -lean_dec(x_74); +lean_dec(x_78); +lean_dec(x_75); +lean_dec(x_25); +lean_dec(x_14); lean_dec(x_10); -if (lean_obj_tag(x_80) == 0) +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_31); +lean_ctor_set(x_80, 1, x_32); +return x_80; +} +else { lean_object* x_81; -lean_dec(x_24); +x_81 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__3___rarg(x_10, x_75, x_16, x_78); +lean_dec(x_75); +lean_dec(x_10); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; +lean_dec(x_25); lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_30); -lean_ctor_set(x_81, 1, x_31); -return x_81; +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_31); +lean_ctor_set(x_82, 1, x_32); +return x_82; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_80, 0); -lean_inc(x_82); -lean_dec(x_80); -x_83 = l_Array_append___rarg(x_14, x_24); -lean_dec(x_24); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_1 = x_83; -x_2 = x_84; -x_3 = x_30; -x_8 = x_31; +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_81, 0); +lean_inc(x_83); +lean_dec(x_81); +x_84 = l_Array_append___rarg(x_14, x_25); +lean_dec(x_25); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_1 = x_84; +x_2 = x_85; +x_3 = x_31; +x_8 = x_32; goto _start; } } } case 2: { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -lean_dec(x_22); -x_86 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__2; -if (lean_is_scalar(x_25)) { - x_87 = lean_alloc_ctor(0, 2, 0); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +lean_dec(x_23); +x_87 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__2; +if (lean_is_scalar(x_26)) { + x_88 = lean_alloc_ctor(0, 2, 0); } else { - x_87 = x_25; + x_88 = x_26; } -lean_ctor_set(x_87, 0, x_23); -lean_ctor_set(x_87, 1, x_86); -x_88 = lean_array_get_size(x_10); -x_89 = lean_unsigned_to_nat(1u); -x_90 = lean_nat_sub(x_88, x_89); -x_91 = lean_nat_dec_lt(x_16, x_88); -lean_dec(x_88); -if (x_91 == 0) -{ -lean_object* x_92; -lean_dec(x_90); -lean_dec(x_87); -lean_dec(x_24); -lean_dec(x_14); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_30); -lean_ctor_set(x_92, 1, x_31); -return x_92; -} -else +lean_ctor_set(x_88, 0, x_24); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_array_get_size(x_10); +x_90 = lean_unsigned_to_nat(1u); +x_91 = lean_nat_sub(x_89, x_90); +x_92 = lean_nat_dec_lt(x_16, x_89); +lean_dec(x_89); +if (x_92 == 0) { lean_object* x_93; -x_93 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__4___rarg(x_10, x_87, x_16, x_90); -lean_dec(x_87); +lean_dec(x_91); +lean_dec(x_88); +lean_dec(x_25); +lean_dec(x_14); lean_dec(x_10); -if (lean_obj_tag(x_93) == 0) +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_31); +lean_ctor_set(x_93, 1, x_32); +return x_93; +} +else { lean_object* x_94; -lean_dec(x_24); +x_94 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__4___rarg(x_10, x_88, x_16, x_91); +lean_dec(x_88); +lean_dec(x_10); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; +lean_dec(x_25); lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_30); -lean_ctor_set(x_94, 1, x_31); -return x_94; +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_31); +lean_ctor_set(x_95, 1, x_32); +return x_95; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_93, 0); -lean_inc(x_95); -lean_dec(x_93); -x_96 = l_Array_append___rarg(x_14, x_24); -lean_dec(x_24); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_1 = x_96; -x_2 = x_97; -x_3 = x_30; -x_8 = x_31; +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_94, 0); +lean_inc(x_96); +lean_dec(x_94); +x_97 = l_Array_append___rarg(x_14, x_25); +lean_dec(x_25); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_1 = x_97; +x_2 = x_98; +x_3 = x_31; +x_8 = x_32; goto _start; } } } case 3: { -lean_object* x_99; +lean_object* x_100; +lean_dec(x_26); lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_22); +lean_dec(x_23); lean_dec(x_14); lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_30); -lean_ctor_set(x_99, 1, x_31); -return x_99; +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_31); +lean_ctor_set(x_100, 1, x_32); +return x_100; } case 4: { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; -lean_dec(x_22); -x_100 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__2; -if (lean_is_scalar(x_25)) { - x_101 = lean_alloc_ctor(0, 2, 0); +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +lean_dec(x_23); +x_101 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__2; +if (lean_is_scalar(x_26)) { + x_102 = lean_alloc_ctor(0, 2, 0); } else { - x_101 = x_25; + x_102 = x_26; } -lean_ctor_set(x_101, 0, x_23); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_array_get_size(x_10); -x_103 = lean_unsigned_to_nat(1u); -x_104 = lean_nat_sub(x_102, x_103); -x_105 = lean_nat_dec_lt(x_16, x_102); -lean_dec(x_102); -if (x_105 == 0) -{ -lean_object* x_106; -lean_dec(x_104); -lean_dec(x_101); -lean_dec(x_24); -lean_dec(x_14); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_30); -lean_ctor_set(x_106, 1, x_31); -return x_106; -} -else +lean_ctor_set(x_102, 0, x_24); +lean_ctor_set(x_102, 1, x_101); +x_103 = lean_array_get_size(x_10); +x_104 = lean_unsigned_to_nat(1u); +x_105 = lean_nat_sub(x_103, x_104); +x_106 = lean_nat_dec_lt(x_16, x_103); +lean_dec(x_103); +if (x_106 == 0) { lean_object* x_107; -x_107 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__5___rarg(x_10, x_101, x_16, x_104); -lean_dec(x_101); +lean_dec(x_105); +lean_dec(x_102); +lean_dec(x_25); +lean_dec(x_14); lean_dec(x_10); -if (lean_obj_tag(x_107) == 0) +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_31); +lean_ctor_set(x_107, 1, x_32); +return x_107; +} +else { lean_object* x_108; -lean_dec(x_24); +x_108 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__5___rarg(x_10, x_102, x_16, x_105); +lean_dec(x_102); +lean_dec(x_10); +if (lean_obj_tag(x_108) == 0) +{ +lean_object* x_109; +lean_dec(x_25); lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_30); -lean_ctor_set(x_108, 1, x_31); -return x_108; +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_31); +lean_ctor_set(x_109, 1, x_32); +return x_109; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_107, 0); -lean_inc(x_109); -lean_dec(x_107); -x_110 = l_Array_append___rarg(x_14, x_24); -lean_dec(x_24); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_1 = x_110; -x_2 = x_111; -x_3 = x_30; -x_8 = x_31; +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +lean_dec(x_108); +x_111 = l_Array_append___rarg(x_14, x_25); +lean_dec(x_25); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_1 = x_111; +x_2 = x_112; +x_3 = x_31; +x_8 = x_32; goto _start; } } } default: { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_113 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__2; -if (lean_is_scalar(x_25)) { - x_114 = lean_alloc_ctor(0, 2, 0); +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_114 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__2; +if (lean_is_scalar(x_26)) { + x_115 = lean_alloc_ctor(0, 2, 0); } else { - x_114 = x_25; + x_115 = x_26; } -lean_ctor_set(x_114, 0, x_23); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_array_get_size(x_10); -x_116 = lean_unsigned_to_nat(1u); -x_117 = lean_nat_sub(x_115, x_116); -x_118 = lean_nat_dec_lt(x_16, x_115); -lean_dec(x_115); -if (x_118 == 0) -{ -lean_object* x_119; -lean_dec(x_117); -lean_dec(x_114); -x_119 = lean_box(0); -x_32 = x_119; -goto block_59; -} -else +lean_ctor_set(x_115, 0, x_24); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_array_get_size(x_10); +x_117 = lean_unsigned_to_nat(1u); +x_118 = lean_nat_sub(x_116, x_117); +x_119 = lean_nat_dec_lt(x_16, x_116); +lean_dec(x_116); +if (x_119 == 0) { lean_object* x_120; -x_120 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__6___rarg(x_10, x_114, x_16, x_117); -lean_dec(x_114); -x_32 = x_120; -goto block_59; -} -} -} -block_59: -{ -lean_object* x_33; lean_object* x_34; -if (lean_obj_tag(x_32) == 0) -{ -lean_dec(x_24); -x_33 = x_30; -x_34 = x_31; -goto block_48; +lean_dec(x_118); +lean_dec(x_115); +x_120 = lean_box(0); +x_33 = x_120; +goto block_60; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_32, 0); -lean_inc(x_49); -lean_dec(x_32); +lean_object* x_121; +x_121 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__6___rarg(x_10, x_115, x_16, x_118); +lean_dec(x_115); +x_33 = x_121; +goto block_60; +} +} +} +block_60: +{ +lean_object* x_34; lean_object* x_35; +if (lean_obj_tag(x_33) == 0) +{ +lean_dec(x_25); +x_34 = x_31; +x_35 = x_32; +goto block_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_50 = lean_ctor_get(x_33, 0); +lean_inc(x_50); +lean_dec(x_33); lean_inc(x_14); -x_50 = l_Array_append___rarg(x_14, x_24); -lean_dec(x_24); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); +x_51 = l_Array_append___rarg(x_14, x_25); +lean_dec(x_25); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_52 = l_Lean_Meta_DiscrTree_getMatch_process___rarg(x_50, x_51, x_30, x_4, x_5, x_6, x_7, x_31); -if (lean_obj_tag(x_52) == 0) +x_53 = l_Lean_Meta_DiscrTree_getMatch_process___rarg(x_51, x_52, x_31, x_4, x_5, x_6, x_7, x_32); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); -lean_dec(x_52); -x_33 = x_53; +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); x_34 = x_54; -goto block_48; +x_35 = x_55; +goto block_49; } else { -uint8_t x_55; -lean_dec(x_22); +uint8_t x_56; +lean_dec(x_23); lean_dec(x_14); lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_55 = !lean_is_exclusive(x_52); -if (x_55 == 0) +x_56 = !lean_is_exclusive(x_53); +if (x_56 == 0) { -return x_52; +return x_53; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_52, 0); -x_57 = lean_ctor_get(x_52, 1); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_53, 0); +x_58 = lean_ctor_get(x_53, 1); +lean_inc(x_58); lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_52); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_dec(x_53); +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; } } } -block_48: +block_49: { -lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_35 = lean_array_get_size(x_10); -x_36 = lean_unsigned_to_nat(1u); -x_37 = lean_nat_sub(x_35, x_36); -x_38 = lean_nat_dec_lt(x_16, x_35); -lean_dec(x_35); -if (x_38 == 0) +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_array_get_size(x_10); +x_37 = lean_unsigned_to_nat(1u); +x_38 = lean_nat_sub(x_36, x_37); +x_39 = lean_nat_dec_lt(x_16, x_36); +lean_dec(x_36); +if (x_39 == 0) { -lean_object* x_39; -lean_dec(x_37); +lean_object* x_40; +lean_dec(x_38); lean_dec(x_14); lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_22)) { - x_39 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_23)) { + x_40 = lean_alloc_ctor(0, 2, 0); } else { - x_39 = x_22; + x_40 = x_23; } -lean_ctor_set(x_39, 0, x_33); -lean_ctor_set(x_39, 1, x_34); -return x_39; +lean_ctor_set(x_40, 0, x_34); +lean_ctor_set(x_40, 1, x_35); +return x_40; } else { -lean_object* x_40; lean_object* x_41; -x_40 = l_Lean_Meta_DiscrTree_getMatch_process___rarg___closed__1; -x_41 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__1___rarg(x_10, x_40, x_16, x_37); +lean_object* x_41; lean_object* x_42; +x_41 = l_Lean_Meta_DiscrTree_getMatch_process___rarg___closed__1; +x_42 = l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getMatch_process___spec__1___rarg(x_10, x_41, x_16, x_38); lean_dec(x_10); -if (lean_obj_tag(x_41) == 0) +if (lean_obj_tag(x_42) == 0) { -lean_object* x_42; +lean_object* x_43; lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_22)) { - x_42 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_23)) { + x_43 = lean_alloc_ctor(0, 2, 0); } else { - x_42 = x_22; + x_43 = x_23; } -lean_ctor_set(x_42, 0, x_33); -lean_ctor_set(x_42, 1, x_34); -return x_42; +lean_ctor_set(x_43, 0, x_34); +lean_ctor_set(x_43, 1, x_35); +return x_43; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_22); -x_43 = lean_ctor_get(x_41, 0); -lean_inc(x_43); -lean_dec(x_41); -x_44 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; -x_45 = l_Array_append___rarg(x_14, x_44); -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); -lean_dec(x_43); -x_1 = x_45; -x_2 = x_46; -x_3 = x_33; -x_8 = x_34; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_23); +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; +x_46 = l_Array_append___rarg(x_14, x_45); +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +lean_dec(x_44); +x_1 = x_46; +x_2 = x_47; +x_3 = x_34; +x_8 = x_35; goto _start; } } @@ -9773,19 +10254,19 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_132 = !lean_is_exclusive(x_19); +x_132 = !lean_is_exclusive(x_20); if (x_132 == 0) { -return x_19; +return x_20; } else { lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = lean_ctor_get(x_19, 0); -x_134 = lean_ctor_get(x_19, 1); +x_133 = lean_ctor_get(x_20, 0); +x_134 = lean_ctor_get(x_20, 1); lean_inc(x_134); lean_inc(x_133); -lean_dec(x_19); +lean_dec(x_20); x_135 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_135, 0, x_133); lean_ctor_set(x_135, 1, x_134); @@ -10701,7 +11182,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_14 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_13, x_3, x_4, x_5, x_6, x_7); +x_14 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_13, x_13, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; @@ -11605,7 +12086,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_183 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_182, x_3, x_4, x_5, x_6, x_7); +x_183 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_182, x_182, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_183) == 0) { lean_object* x_184; lean_object* x_185; @@ -12194,7 +12675,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_285); -x_287 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_286, x_285, x_4, x_5, x_6, x_7); +x_287 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_286, x_286, x_285, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_287) == 0) { lean_object* x_288; lean_object* x_289; @@ -13766,7 +14247,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_32 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_29, x_31, x_5, x_6, x_7, x_8, x_9); +x_32 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_29, x_31, x_31, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_32) == 0) { lean_object* x_33; lean_object* x_34; @@ -16235,905 +16716,906 @@ x_9 = lean_ctor_get(x_3, 0); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) { -uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; x_11 = 2; lean_ctor_set_uint8(x_9, 5, x_11); x_12 = 0; +x_13 = 1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_13 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_12, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_13) == 0) +x_14 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_12, x_13, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); +lean_object* x_15; lean_object* x_16; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -switch (lean_obj_tag(x_15)) { +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +switch (lean_obj_tag(x_16)) { case 0: { -uint8_t x_16; -x_16 = !lean_is_exclusive(x_13); -if (x_16 == 0) -{ -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_13, 1); -x_18 = lean_ctor_get(x_13, 0); -lean_dec(x_18); -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_dec(x_14); -lean_inc(x_1); -x_20 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_21 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_15); -lean_dec(x_15); -if (lean_obj_tag(x_21) == 0) +uint8_t x_17; +x_17 = !lean_is_exclusive(x_14); +if (x_17 == 0) { +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_14, 1); +x_19 = lean_ctor_get(x_14, 0); lean_dec(x_19); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_dec(x_15); +lean_inc(x_1); +x_21 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_22 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_16); +lean_dec(x_16); +if (lean_obj_tag(x_22) == 0) +{ +lean_dec(x_20); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_ctor_set(x_13, 0, x_20); -return x_13; +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_free_object(x_13); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_unsigned_to_nat(0u); -x_24 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_23, x_19, x_22, x_20, x_3, x_4, x_5, x_6, x_17); -if (lean_obj_tag(x_24) == 0) +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_free_object(x_14); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_unsigned_to_nat(0u); +x_25 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_24, x_20, x_23, x_21, x_3, x_4, x_5, x_6, x_18); +if (lean_obj_tag(x_25) == 0) { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) { -return x_24; +return x_25; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_ctor_get(x_24, 1); +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_inc(x_26); -lean_dec(x_24); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_dec(x_25); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } else { -uint8_t x_29; -x_29 = !lean_is_exclusive(x_24); -if (x_29 == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_25); +if (x_30 == 0) { -return x_24; +return x_25; } 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_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_25, 0); +x_32 = lean_ctor_get(x_25, 1); +lean_inc(x_32); 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; +lean_dec(x_25); +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 { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_13, 1); -lean_inc(x_33); -lean_dec(x_13); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_34 = lean_ctor_get(x_14, 1); lean_inc(x_34); lean_dec(x_14); -lean_inc(x_1); -x_35 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_36 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_15); +x_35 = lean_ctor_get(x_15, 1); +lean_inc(x_35); lean_dec(x_15); -if (lean_obj_tag(x_36) == 0) +lean_inc(x_1); +x_36 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_37 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_16); +lean_dec(x_16); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_37; -lean_dec(x_34); +lean_object* x_38; +lean_dec(x_35); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_33); -return x_37; +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_34); +return x_38; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_36, 0); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_unsigned_to_nat(0u); -x_40 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_39, x_34, x_38, x_35, x_3, x_4, x_5, x_6, x_33); -if (lean_obj_tag(x_40) == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_unsigned_to_nat(0u); +x_41 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_40, x_35, x_39, x_36, x_3, x_4, x_5, x_6, x_34); +if (lean_obj_tag(x_41) == 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_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_43 = x_40; +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_44 = x_41; } else { - lean_dec_ref(x_40); - x_43 = lean_box(0); + lean_dec_ref(x_41); + x_44 = lean_box(0); } -if (lean_is_scalar(x_43)) { - x_44 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(0, 2, 0); } else { - x_44 = x_43; + x_45 = x_44; } -lean_ctor_set(x_44, 0, x_41); -lean_ctor_set(x_44, 1, x_42); -return x_44; +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_43); +return x_45; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_40, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_40, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_41, 0); lean_inc(x_46); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_47 = x_40; +x_47 = lean_ctor_get(x_41, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_48 = x_41; } else { - lean_dec_ref(x_40); - x_47 = lean_box(0); + lean_dec_ref(x_41); + x_48 = lean_box(0); } -if (lean_is_scalar(x_47)) { - x_48 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_48)) { + x_49 = lean_alloc_ctor(1, 2, 0); } else { - x_48 = x_47; + x_49 = x_48; } -lean_ctor_set(x_48, 0, x_45); -lean_ctor_set(x_48, 1, x_46); -return x_48; +lean_ctor_set(x_49, 0, x_46); +lean_ctor_set(x_49, 1, x_47); +return x_49; } } } } case 1: { -uint8_t x_49; -x_49 = !lean_is_exclusive(x_13); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_50 = lean_ctor_get(x_13, 1); -x_51 = lean_ctor_get(x_13, 0); -lean_dec(x_51); -x_52 = lean_ctor_get(x_14, 1); -lean_inc(x_52); -lean_dec(x_14); -lean_inc(x_1); -x_53 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_54 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_15); -lean_dec(x_15); -if (lean_obj_tag(x_54) == 0) +uint8_t x_50; +x_50 = !lean_is_exclusive(x_14); +if (x_50 == 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_14, 1); +x_52 = lean_ctor_get(x_14, 0); lean_dec(x_52); +x_53 = lean_ctor_get(x_15, 1); +lean_inc(x_53); +lean_dec(x_15); +lean_inc(x_1); +x_54 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_55 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_16); +lean_dec(x_16); +if (lean_obj_tag(x_55) == 0) +{ +lean_dec(x_53); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_ctor_set(x_13, 0, x_53); -return x_13; +lean_ctor_set(x_14, 0, x_54); +return x_14; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -lean_free_object(x_13); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -lean_dec(x_54); -x_56 = lean_unsigned_to_nat(0u); -x_57 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_56, x_52, x_55, x_53, x_3, x_4, x_5, x_6, x_50); -if (lean_obj_tag(x_57) == 0) +lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_free_object(x_14); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_unsigned_to_nat(0u); +x_58 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_57, x_53, x_56, x_54, x_3, x_4, x_5, x_6, x_51); +if (lean_obj_tag(x_58) == 0) { -uint8_t x_58; -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) +uint8_t x_59; +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) { -return x_57; +return x_58; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_57, 0); -x_60 = lean_ctor_get(x_57, 1); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_58, 0); +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_57); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_dec(x_58); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } else { -uint8_t x_62; -x_62 = !lean_is_exclusive(x_57); -if (x_62 == 0) +uint8_t x_63; +x_63 = !lean_is_exclusive(x_58); +if (x_63 == 0) { -return x_57; +return x_58; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_57, 0); -x_64 = lean_ctor_get(x_57, 1); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_58, 0); +x_65 = lean_ctor_get(x_58, 1); +lean_inc(x_65); lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_57); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; +lean_dec(x_58); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_66 = lean_ctor_get(x_13, 1); -lean_inc(x_66); -lean_dec(x_13); +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; x_67 = lean_ctor_get(x_14, 1); lean_inc(x_67); lean_dec(x_14); -lean_inc(x_1); -x_68 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_69 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_15); +x_68 = lean_ctor_get(x_15, 1); +lean_inc(x_68); lean_dec(x_15); -if (lean_obj_tag(x_69) == 0) +lean_inc(x_1); +x_69 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_70 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_16); +lean_dec(x_16); +if (lean_obj_tag(x_70) == 0) { -lean_object* x_70; -lean_dec(x_67); +lean_object* x_71; +lean_dec(x_68); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_66); -return x_70; +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_67); +return x_71; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_69, 0); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_unsigned_to_nat(0u); -x_73 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_72, x_67, x_71, x_68, x_3, x_4, x_5, x_6, x_66); -if (lean_obj_tag(x_73) == 0) +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_70, 0); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_unsigned_to_nat(0u); +x_74 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_73, x_68, x_72, x_69, x_3, x_4, x_5, x_6, x_67); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_74, 0); 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; +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_77 = x_74; } else { - lean_dec_ref(x_73); - x_76 = lean_box(0); + lean_dec_ref(x_74); + x_77 = lean_box(0); } -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_77)) { + x_78 = lean_alloc_ctor(0, 2, 0); } else { - x_77 = x_76; + x_78 = x_77; } -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set(x_77, 1, x_75); -return x_77; +lean_ctor_set(x_78, 0, x_75); +lean_ctor_set(x_78, 1, x_76); +return x_78; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_78 = lean_ctor_get(x_73, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_73, 1); +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_79 = lean_ctor_get(x_74, 0); lean_inc(x_79); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - x_80 = x_73; +x_80 = lean_ctor_get(x_74, 1); +lean_inc(x_80); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_81 = x_74; } else { - lean_dec_ref(x_73); - x_80 = lean_box(0); + lean_dec_ref(x_74); + x_81 = lean_box(0); } -if (lean_is_scalar(x_80)) { - x_81 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_81)) { + x_82 = lean_alloc_ctor(1, 2, 0); } else { - x_81 = x_80; + x_82 = x_81; } -lean_ctor_set(x_81, 0, x_78); -lean_ctor_set(x_81, 1, x_79); -return x_81; +lean_ctor_set(x_82, 0, x_79); +lean_ctor_set(x_82, 1, x_80); +return x_82; } } } } case 2: { -uint8_t x_82; -x_82 = !lean_is_exclusive(x_13); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_83 = lean_ctor_get(x_13, 1); -x_84 = lean_ctor_get(x_13, 0); -lean_dec(x_84); -x_85 = lean_ctor_get(x_14, 1); -lean_inc(x_85); -lean_dec(x_14); -lean_inc(x_1); -x_86 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_87 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__7___rarg(x_1, x_15); -lean_dec(x_15); -if (lean_obj_tag(x_87) == 0) +uint8_t x_83; +x_83 = !lean_is_exclusive(x_14); +if (x_83 == 0) { +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_84 = lean_ctor_get(x_14, 1); +x_85 = lean_ctor_get(x_14, 0); lean_dec(x_85); +x_86 = lean_ctor_get(x_15, 1); +lean_inc(x_86); +lean_dec(x_15); +lean_inc(x_1); +x_87 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_88 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__7___rarg(x_1, x_16); +lean_dec(x_16); +if (lean_obj_tag(x_88) == 0) +{ +lean_dec(x_86); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_ctor_set(x_13, 0, x_86); -return x_13; +lean_ctor_set(x_14, 0, x_87); +return x_14; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_free_object(x_13); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -lean_dec(x_87); -x_89 = lean_unsigned_to_nat(0u); -x_90 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_89, x_85, x_88, x_86, x_3, x_4, x_5, x_6, x_83); -if (lean_obj_tag(x_90) == 0) +lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_free_object(x_14); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +lean_dec(x_88); +x_90 = lean_unsigned_to_nat(0u); +x_91 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_90, x_86, x_89, x_87, x_3, x_4, x_5, x_6, x_84); +if (lean_obj_tag(x_91) == 0) { -uint8_t x_91; -x_91 = !lean_is_exclusive(x_90); -if (x_91 == 0) +uint8_t x_92; +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) { -return x_90; +return x_91; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_90, 0); -x_93 = lean_ctor_get(x_90, 1); +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_91, 0); +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_90); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; +lean_dec(x_91); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +return x_95; } } else { -uint8_t x_95; -x_95 = !lean_is_exclusive(x_90); -if (x_95 == 0) +uint8_t x_96; +x_96 = !lean_is_exclusive(x_91); +if (x_96 == 0) { -return x_90; +return x_91; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_90, 0); -x_97 = lean_ctor_get(x_90, 1); +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_91, 0); +x_98 = lean_ctor_get(x_91, 1); +lean_inc(x_98); lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_90); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; +lean_dec(x_91); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; } } } } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_99 = lean_ctor_get(x_13, 1); -lean_inc(x_99); -lean_dec(x_13); +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; x_100 = lean_ctor_get(x_14, 1); lean_inc(x_100); lean_dec(x_14); -lean_inc(x_1); -x_101 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_102 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__7___rarg(x_1, x_15); +x_101 = lean_ctor_get(x_15, 1); +lean_inc(x_101); lean_dec(x_15); -if (lean_obj_tag(x_102) == 0) +lean_inc(x_1); +x_102 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_103 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__7___rarg(x_1, x_16); +lean_dec(x_16); +if (lean_obj_tag(x_103) == 0) { -lean_object* x_103; -lean_dec(x_100); +lean_object* x_104; +lean_dec(x_101); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_99); -return x_103; +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_100); +return x_104; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_102, 0); -lean_inc(x_104); -lean_dec(x_102); -x_105 = lean_unsigned_to_nat(0u); -x_106 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_105, x_100, x_104, x_101, x_3, x_4, x_5, x_6, x_99); -if (lean_obj_tag(x_106) == 0) +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_103, 0); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_unsigned_to_nat(0u); +x_107 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_106, x_101, x_105, x_102, x_3, x_4, x_5, x_6, x_100); +if (lean_obj_tag(x_107) == 0) { -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_106, 1); +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_108 = lean_ctor_get(x_107, 0); lean_inc(x_108); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_109 = x_106; +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +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_106); - x_109 = lean_box(0); + lean_dec_ref(x_107); + x_110 = lean_box(0); } -if (lean_is_scalar(x_109)) { - x_110 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(0, 2, 0); } else { - x_110 = x_109; + x_111 = x_110; } -lean_ctor_set(x_110, 0, x_107); -lean_ctor_set(x_110, 1, x_108); -return x_110; +lean_ctor_set(x_111, 0, x_108); +lean_ctor_set(x_111, 1, x_109); +return x_111; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_111 = lean_ctor_get(x_106, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_106, 1); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_112 = lean_ctor_get(x_107, 0); lean_inc(x_112); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_113 = x_106; +x_113 = lean_ctor_get(x_107, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_107)) { + lean_ctor_release(x_107, 0); + lean_ctor_release(x_107, 1); + x_114 = x_107; } else { - lean_dec_ref(x_106); - x_113 = lean_box(0); + lean_dec_ref(x_107); + x_114 = lean_box(0); } -if (lean_is_scalar(x_113)) { - x_114 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); } else { - x_114 = x_113; + x_115 = x_114; } -lean_ctor_set(x_114, 0, x_111); -lean_ctor_set(x_114, 1, x_112); -return x_114; +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +return x_115; } } } } case 3: { -lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_15); +x_116 = lean_ctor_get(x_14, 1); +lean_inc(x_116); lean_dec(x_14); -x_115 = lean_ctor_get(x_13, 1); -lean_inc(x_115); -lean_dec(x_13); -x_116 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; -x_117 = l_Std_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__10___rarg(x_1, x_116, x_3, x_4, x_5, x_6, x_115); +x_117 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; +x_118 = l_Std_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__10___rarg(x_1, x_117, x_3, x_4, x_5, x_6, x_116); lean_dec(x_1); -if (lean_obj_tag(x_117) == 0) +if (lean_obj_tag(x_118) == 0) { -uint8_t x_118; -x_118 = !lean_is_exclusive(x_117); -if (x_118 == 0) +uint8_t x_119; +x_119 = !lean_is_exclusive(x_118); +if (x_119 == 0) { -return x_117; +return x_118; } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_117, 0); -x_120 = lean_ctor_get(x_117, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_118, 0); +x_121 = lean_ctor_get(x_118, 1); +lean_inc(x_121); lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_117); -x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; +lean_dec(x_118); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; } } else { -uint8_t x_122; -x_122 = !lean_is_exclusive(x_117); -if (x_122 == 0) +uint8_t x_123; +x_123 = !lean_is_exclusive(x_118); +if (x_123 == 0) { -return x_117; +return x_118; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_117, 0); -x_124 = lean_ctor_get(x_117, 1); +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_118, 0); +x_125 = lean_ctor_get(x_118, 1); +lean_inc(x_125); lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_117); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; +lean_dec(x_118); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; } } } case 4: { -uint8_t x_126; -x_126 = !lean_is_exclusive(x_13); -if (x_126 == 0) -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_127 = lean_ctor_get(x_13, 1); -x_128 = lean_ctor_get(x_13, 0); -lean_dec(x_128); -x_129 = lean_ctor_get(x_14, 1); -lean_inc(x_129); -lean_dec(x_14); -lean_inc(x_1); -x_130 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_131 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__14___rarg(x_1, x_15); -if (lean_obj_tag(x_131) == 0) +uint8_t x_127; +x_127 = !lean_is_exclusive(x_14); +if (x_127 == 0) { +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_128 = lean_ctor_get(x_14, 1); +x_129 = lean_ctor_get(x_14, 0); lean_dec(x_129); +x_130 = lean_ctor_get(x_15, 1); +lean_inc(x_130); +lean_dec(x_15); +lean_inc(x_1); +x_131 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_132 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__14___rarg(x_1, x_16); +if (lean_obj_tag(x_132) == 0) +{ +lean_dec(x_130); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_ctor_set(x_13, 0, x_130); -return x_13; +lean_ctor_set(x_14, 0, x_131); +return x_14; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; -lean_free_object(x_13); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -lean_dec(x_131); -x_133 = lean_unsigned_to_nat(0u); -x_134 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_133, x_129, x_132, x_130, x_3, x_4, x_5, x_6, x_127); -if (lean_obj_tag(x_134) == 0) +lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_free_object(x_14); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +lean_dec(x_132); +x_134 = lean_unsigned_to_nat(0u); +x_135 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_134, x_130, x_133, x_131, x_3, x_4, x_5, x_6, x_128); +if (lean_obj_tag(x_135) == 0) { -uint8_t x_135; -x_135 = !lean_is_exclusive(x_134); -if (x_135 == 0) +uint8_t x_136; +x_136 = !lean_is_exclusive(x_135); +if (x_136 == 0) { -return x_134; +return x_135; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_134, 0); -x_137 = lean_ctor_get(x_134, 1); +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_135, 0); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_134); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; +lean_dec(x_135); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +return x_139; } } else { -uint8_t x_139; -x_139 = !lean_is_exclusive(x_134); -if (x_139 == 0) +uint8_t x_140; +x_140 = !lean_is_exclusive(x_135); +if (x_140 == 0) { -return x_134; +return x_135; } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_134, 0); -x_141 = lean_ctor_get(x_134, 1); +lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_141 = lean_ctor_get(x_135, 0); +x_142 = lean_ctor_get(x_135, 1); +lean_inc(x_142); lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_134); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -return x_142; +lean_dec(x_135); +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_142); +return x_143; } } } } else { -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_143 = lean_ctor_get(x_13, 1); -lean_inc(x_143); -lean_dec(x_13); +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; x_144 = lean_ctor_get(x_14, 1); lean_inc(x_144); lean_dec(x_14); +x_145 = lean_ctor_get(x_15, 1); +lean_inc(x_145); +lean_dec(x_15); lean_inc(x_1); -x_145 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_146 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__14___rarg(x_1, x_15); -if (lean_obj_tag(x_146) == 0) +x_146 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_147 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__14___rarg(x_1, x_16); +if (lean_obj_tag(x_147) == 0) { -lean_object* x_147; -lean_dec(x_144); +lean_object* x_148; +lean_dec(x_145); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_147 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_147, 0, x_145); -lean_ctor_set(x_147, 1, x_143); -return x_147; +x_148 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_144); +return x_148; } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_148 = lean_ctor_get(x_146, 0); -lean_inc(x_148); -lean_dec(x_146); -x_149 = lean_unsigned_to_nat(0u); -x_150 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_149, x_144, x_148, x_145, x_3, x_4, x_5, x_6, x_143); -if (lean_obj_tag(x_150) == 0) +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = lean_ctor_get(x_147, 0); +lean_inc(x_149); +lean_dec(x_147); +x_150 = lean_unsigned_to_nat(0u); +x_151 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_150, x_145, x_149, x_146, x_3, x_4, x_5, x_6, x_144); +if (lean_obj_tag(x_151) == 0) { -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_151 = lean_ctor_get(x_150, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_150, 1); +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); -if (lean_is_exclusive(x_150)) { - lean_ctor_release(x_150, 0); - lean_ctor_release(x_150, 1); - x_153 = x_150; +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_154 = x_151; } else { - lean_dec_ref(x_150); - x_153 = lean_box(0); + lean_dec_ref(x_151); + x_154 = lean_box(0); } -if (lean_is_scalar(x_153)) { - x_154 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(0, 2, 0); } else { - x_154 = x_153; + x_155 = x_154; } -lean_ctor_set(x_154, 0, x_151); -lean_ctor_set(x_154, 1, x_152); -return x_154; +lean_ctor_set(x_155, 0, x_152); +lean_ctor_set(x_155, 1, x_153); +return x_155; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_155 = lean_ctor_get(x_150, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_150, 1); +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_156 = lean_ctor_get(x_151, 0); lean_inc(x_156); -if (lean_is_exclusive(x_150)) { - lean_ctor_release(x_150, 0); - lean_ctor_release(x_150, 1); - x_157 = x_150; +x_157 = lean_ctor_get(x_151, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_158 = x_151; } else { - lean_dec_ref(x_150); - x_157 = lean_box(0); + lean_dec_ref(x_151); + x_158 = lean_box(0); } -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_158)) { + x_159 = lean_alloc_ctor(1, 2, 0); } else { - x_158 = x_157; + x_159 = x_158; } -lean_ctor_set(x_158, 0, x_155); -lean_ctor_set(x_158, 1, x_156); -return x_158; +lean_ctor_set(x_159, 0, x_156); +lean_ctor_set(x_159, 1, x_157); +return x_159; } } } } default: { -uint8_t x_159; -x_159 = !lean_is_exclusive(x_13); -if (x_159 == 0) -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_160 = lean_ctor_get(x_13, 1); -x_161 = lean_ctor_get(x_13, 0); -lean_dec(x_161); -x_162 = lean_ctor_get(x_14, 1); -lean_inc(x_162); -lean_dec(x_14); -lean_inc(x_1); -x_163 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_164 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__17___rarg(x_1, x_15); -if (lean_obj_tag(x_164) == 0) +uint8_t x_160; +x_160 = !lean_is_exclusive(x_14); +if (x_160 == 0) { +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_161 = lean_ctor_get(x_14, 1); +x_162 = lean_ctor_get(x_14, 0); lean_dec(x_162); +x_163 = lean_ctor_get(x_15, 1); +lean_inc(x_163); +lean_dec(x_15); +lean_inc(x_1); +x_164 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_165 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__17___rarg(x_1, x_16); +if (lean_obj_tag(x_165) == 0) +{ +lean_dec(x_163); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_ctor_set(x_13, 0, x_163); -return x_13; +lean_ctor_set(x_14, 0, x_164); +return x_14; } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; -lean_free_object(x_13); -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -lean_dec(x_164); -x_166 = lean_unsigned_to_nat(0u); -x_167 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_166, x_162, x_165, x_163, x_3, x_4, x_5, x_6, x_160); -if (lean_obj_tag(x_167) == 0) +lean_object* x_166; lean_object* x_167; lean_object* x_168; +lean_free_object(x_14); +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +lean_dec(x_165); +x_167 = lean_unsigned_to_nat(0u); +x_168 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_167, x_163, x_166, x_164, x_3, x_4, x_5, x_6, x_161); +if (lean_obj_tag(x_168) == 0) { -uint8_t x_168; -x_168 = !lean_is_exclusive(x_167); -if (x_168 == 0) +uint8_t x_169; +x_169 = !lean_is_exclusive(x_168); +if (x_169 == 0) { -return x_167; +return x_168; } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_167, 0); -x_170 = lean_ctor_get(x_167, 1); +lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_170 = lean_ctor_get(x_168, 0); +x_171 = lean_ctor_get(x_168, 1); +lean_inc(x_171); lean_inc(x_170); -lean_inc(x_169); -lean_dec(x_167); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -return x_171; +lean_dec(x_168); +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +return x_172; } } else { -uint8_t x_172; -x_172 = !lean_is_exclusive(x_167); -if (x_172 == 0) +uint8_t x_173; +x_173 = !lean_is_exclusive(x_168); +if (x_173 == 0) { -return x_167; +return x_168; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_167, 0); -x_174 = lean_ctor_get(x_167, 1); +lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_174 = lean_ctor_get(x_168, 0); +x_175 = lean_ctor_get(x_168, 1); +lean_inc(x_175); lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_167); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -return x_175; +lean_dec(x_168); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_174); +lean_ctor_set(x_176, 1, x_175); +return x_176; } } } } else { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_176 = lean_ctor_get(x_13, 1); -lean_inc(x_176); -lean_dec(x_13); +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; x_177 = lean_ctor_get(x_14, 1); lean_inc(x_177); lean_dec(x_14); +x_178 = lean_ctor_get(x_15, 1); +lean_inc(x_178); +lean_dec(x_15); lean_inc(x_1); -x_178 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_179 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__17___rarg(x_1, x_15); -if (lean_obj_tag(x_179) == 0) +x_179 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_180 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__17___rarg(x_1, x_16); +if (lean_obj_tag(x_180) == 0) { -lean_object* x_180; -lean_dec(x_177); +lean_object* x_181; +lean_dec(x_178); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_178); -lean_ctor_set(x_180, 1, x_176); -return x_180; +x_181 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_177); +return x_181; } else { -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_179, 0); -lean_inc(x_181); -lean_dec(x_179); -x_182 = lean_unsigned_to_nat(0u); -x_183 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_182, x_177, x_181, x_178, x_3, x_4, x_5, x_6, x_176); -if (lean_obj_tag(x_183) == 0) +lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_182 = lean_ctor_get(x_180, 0); +lean_inc(x_182); +lean_dec(x_180); +x_183 = lean_unsigned_to_nat(0u); +x_184 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_183, x_178, x_182, x_179, x_3, x_4, x_5, x_6, x_177); +if (lean_obj_tag(x_184) == 0) { -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_184 = lean_ctor_get(x_183, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_183, 1); +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_185 = lean_ctor_get(x_184, 0); lean_inc(x_185); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - lean_ctor_release(x_183, 1); - x_186 = x_183; +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_187 = x_184; } else { - lean_dec_ref(x_183); - x_186 = lean_box(0); + lean_dec_ref(x_184); + x_187 = lean_box(0); } -if (lean_is_scalar(x_186)) { - x_187 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(0, 2, 0); } else { - x_187 = x_186; + x_188 = x_187; } -lean_ctor_set(x_187, 0, x_184); -lean_ctor_set(x_187, 1, x_185); -return x_187; +lean_ctor_set(x_188, 0, x_185); +lean_ctor_set(x_188, 1, x_186); +return x_188; } else { -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_188 = lean_ctor_get(x_183, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_183, 1); +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_189 = lean_ctor_get(x_184, 0); lean_inc(x_189); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - lean_ctor_release(x_183, 1); - x_190 = x_183; +x_190 = lean_ctor_get(x_184, 1); +lean_inc(x_190); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_191 = x_184; } else { - lean_dec_ref(x_183); - x_190 = lean_box(0); + lean_dec_ref(x_184); + x_191 = lean_box(0); } -if (lean_is_scalar(x_190)) { - x_191 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_191)) { + x_192 = lean_alloc_ctor(1, 2, 0); } else { - x_191 = x_190; + x_192 = x_191; } -lean_ctor_set(x_191, 0, x_188); -lean_ctor_set(x_191, 1, x_189); -return x_191; +lean_ctor_set(x_192, 0, x_189); +lean_ctor_set(x_192, 1, x_190); +return x_192; } } } @@ -17142,608 +17624,609 @@ return x_191; } else { -uint8_t x_192; +uint8_t x_193; lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_192 = !lean_is_exclusive(x_13); -if (x_192 == 0) +x_193 = !lean_is_exclusive(x_14); +if (x_193 == 0) { -return x_13; +return x_14; } else { -lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_193 = lean_ctor_get(x_13, 0); -x_194 = lean_ctor_get(x_13, 1); +lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_194 = lean_ctor_get(x_14, 0); +x_195 = lean_ctor_get(x_14, 1); +lean_inc(x_195); lean_inc(x_194); -lean_inc(x_193); -lean_dec(x_13); -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -return x_195; +lean_dec(x_14); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_195); +return x_196; } } } else { -uint8_t x_196; uint8_t x_197; uint8_t x_198; uint8_t x_199; uint8_t x_200; uint8_t x_201; uint8_t x_202; uint8_t x_203; uint8_t x_204; uint8_t x_205; uint8_t x_206; lean_object* x_207; uint8_t x_208; lean_object* x_209; -x_196 = lean_ctor_get_uint8(x_9, 0); -x_197 = lean_ctor_get_uint8(x_9, 1); -x_198 = lean_ctor_get_uint8(x_9, 2); -x_199 = lean_ctor_get_uint8(x_9, 3); -x_200 = lean_ctor_get_uint8(x_9, 4); -x_201 = lean_ctor_get_uint8(x_9, 6); -x_202 = lean_ctor_get_uint8(x_9, 7); -x_203 = lean_ctor_get_uint8(x_9, 8); -x_204 = lean_ctor_get_uint8(x_9, 9); -x_205 = lean_ctor_get_uint8(x_9, 10); +uint8_t x_197; uint8_t x_198; uint8_t x_199; uint8_t x_200; uint8_t x_201; uint8_t x_202; uint8_t x_203; uint8_t x_204; uint8_t x_205; uint8_t x_206; uint8_t x_207; lean_object* x_208; uint8_t x_209; uint8_t x_210; lean_object* x_211; +x_197 = lean_ctor_get_uint8(x_9, 0); +x_198 = lean_ctor_get_uint8(x_9, 1); +x_199 = lean_ctor_get_uint8(x_9, 2); +x_200 = lean_ctor_get_uint8(x_9, 3); +x_201 = lean_ctor_get_uint8(x_9, 4); +x_202 = lean_ctor_get_uint8(x_9, 6); +x_203 = lean_ctor_get_uint8(x_9, 7); +x_204 = lean_ctor_get_uint8(x_9, 8); +x_205 = lean_ctor_get_uint8(x_9, 9); +x_206 = lean_ctor_get_uint8(x_9, 10); lean_dec(x_9); -x_206 = 2; -x_207 = lean_alloc_ctor(0, 0, 11); -lean_ctor_set_uint8(x_207, 0, x_196); -lean_ctor_set_uint8(x_207, 1, x_197); -lean_ctor_set_uint8(x_207, 2, x_198); -lean_ctor_set_uint8(x_207, 3, x_199); -lean_ctor_set_uint8(x_207, 4, x_200); -lean_ctor_set_uint8(x_207, 5, x_206); -lean_ctor_set_uint8(x_207, 6, x_201); -lean_ctor_set_uint8(x_207, 7, x_202); -lean_ctor_set_uint8(x_207, 8, x_203); -lean_ctor_set_uint8(x_207, 9, x_204); -lean_ctor_set_uint8(x_207, 10, x_205); -lean_ctor_set(x_3, 0, x_207); -x_208 = 0; +x_207 = 2; +x_208 = lean_alloc_ctor(0, 0, 11); +lean_ctor_set_uint8(x_208, 0, x_197); +lean_ctor_set_uint8(x_208, 1, x_198); +lean_ctor_set_uint8(x_208, 2, x_199); +lean_ctor_set_uint8(x_208, 3, x_200); +lean_ctor_set_uint8(x_208, 4, x_201); +lean_ctor_set_uint8(x_208, 5, x_207); +lean_ctor_set_uint8(x_208, 6, x_202); +lean_ctor_set_uint8(x_208, 7, x_203); +lean_ctor_set_uint8(x_208, 8, x_204); +lean_ctor_set_uint8(x_208, 9, x_205); +lean_ctor_set_uint8(x_208, 10, x_206); +lean_ctor_set(x_3, 0, x_208); +x_209 = 0; +x_210 = 1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_209 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_208, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_209) == 0) +x_211 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_209, x_210, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_211) == 0) { -lean_object* x_210; lean_object* x_211; -x_210 = lean_ctor_get(x_209, 0); -lean_inc(x_210); -x_211 = lean_ctor_get(x_210, 0); -lean_inc(x_211); -switch (lean_obj_tag(x_211)) { +lean_object* x_212; lean_object* x_213; +x_212 = lean_ctor_get(x_211, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +switch (lean_obj_tag(x_213)) { case 0: { -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_212 = lean_ctor_get(x_209, 1); -lean_inc(x_212); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_213 = x_209; -} else { - lean_dec_ref(x_209); - x_213 = lean_box(0); -} -x_214 = lean_ctor_get(x_210, 1); +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_214 = lean_ctor_get(x_211, 1); lean_inc(x_214); -lean_dec(x_210); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + lean_ctor_release(x_211, 1); + x_215 = x_211; +} else { + lean_dec_ref(x_211); + x_215 = lean_box(0); +} +x_216 = lean_ctor_get(x_212, 1); +lean_inc(x_216); +lean_dec(x_212); lean_inc(x_1); -x_215 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_216 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_211); -lean_dec(x_211); -if (lean_obj_tag(x_216) == 0) +x_217 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_218 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_213); +lean_dec(x_213); +if (lean_obj_tag(x_218) == 0) { -lean_object* x_217; -lean_dec(x_214); +lean_object* x_219; +lean_dec(x_216); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_213)) { - x_217 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_215)) { + x_219 = lean_alloc_ctor(0, 2, 0); } else { - x_217 = x_213; + x_219 = x_215; } -lean_ctor_set(x_217, 0, x_215); -lean_ctor_set(x_217, 1, x_212); -return x_217; +lean_ctor_set(x_219, 0, x_217); +lean_ctor_set(x_219, 1, x_214); +return x_219; } else { -lean_object* x_218; lean_object* x_219; lean_object* x_220; -lean_dec(x_213); -x_218 = lean_ctor_get(x_216, 0); -lean_inc(x_218); -lean_dec(x_216); -x_219 = lean_unsigned_to_nat(0u); -x_220 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_219, x_214, x_218, x_215, x_3, x_4, x_5, x_6, x_212); -if (lean_obj_tag(x_220) == 0) +lean_object* x_220; lean_object* x_221; lean_object* x_222; +lean_dec(x_215); +x_220 = lean_ctor_get(x_218, 0); +lean_inc(x_220); +lean_dec(x_218); +x_221 = lean_unsigned_to_nat(0u); +x_222 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_221, x_216, x_220, x_217, x_3, x_4, x_5, x_6, x_214); +if (lean_obj_tag(x_222) == 0) { -lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); -lean_inc(x_222); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - lean_ctor_release(x_220, 1); - x_223 = x_220; +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_223 = lean_ctor_get(x_222, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_222, 1); +lean_inc(x_224); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + x_225 = x_222; } else { - lean_dec_ref(x_220); - x_223 = lean_box(0); + lean_dec_ref(x_222); + x_225 = lean_box(0); } -if (lean_is_scalar(x_223)) { - x_224 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_225)) { + x_226 = lean_alloc_ctor(0, 2, 0); } else { - x_224 = x_223; + x_226 = x_225; } -lean_ctor_set(x_224, 0, x_221); -lean_ctor_set(x_224, 1, x_222); -return x_224; +lean_ctor_set(x_226, 0, x_223); +lean_ctor_set(x_226, 1, x_224); +return x_226; } else { -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_225 = lean_ctor_get(x_220, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_220, 1); -lean_inc(x_226); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - lean_ctor_release(x_220, 1); - x_227 = x_220; +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_227 = lean_ctor_get(x_222, 0); +lean_inc(x_227); +x_228 = lean_ctor_get(x_222, 1); +lean_inc(x_228); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + x_229 = x_222; } else { - lean_dec_ref(x_220); - x_227 = lean_box(0); + lean_dec_ref(x_222); + x_229 = lean_box(0); } -if (lean_is_scalar(x_227)) { - x_228 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_229)) { + x_230 = lean_alloc_ctor(1, 2, 0); } else { - x_228 = x_227; + x_230 = x_229; } -lean_ctor_set(x_228, 0, x_225); -lean_ctor_set(x_228, 1, x_226); -return x_228; +lean_ctor_set(x_230, 0, x_227); +lean_ctor_set(x_230, 1, x_228); +return x_230; } } } case 1: { -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; -x_229 = lean_ctor_get(x_209, 1); -lean_inc(x_229); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_230 = x_209; -} else { - lean_dec_ref(x_209); - x_230 = lean_box(0); -} -x_231 = lean_ctor_get(x_210, 1); +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_231 = lean_ctor_get(x_211, 1); lean_inc(x_231); -lean_dec(x_210); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + lean_ctor_release(x_211, 1); + x_232 = x_211; +} else { + lean_dec_ref(x_211); + x_232 = lean_box(0); +} +x_233 = lean_ctor_get(x_212, 1); +lean_inc(x_233); +lean_dec(x_212); lean_inc(x_1); -x_232 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_233 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_211); -lean_dec(x_211); -if (lean_obj_tag(x_233) == 0) +x_234 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_235 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_213); +lean_dec(x_213); +if (lean_obj_tag(x_235) == 0) { -lean_object* x_234; -lean_dec(x_231); +lean_object* x_236; +lean_dec(x_233); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_230)) { - x_234 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_232)) { + x_236 = lean_alloc_ctor(0, 2, 0); } else { - x_234 = x_230; + x_236 = x_232; } -lean_ctor_set(x_234, 0, x_232); -lean_ctor_set(x_234, 1, x_229); -return x_234; +lean_ctor_set(x_236, 0, x_234); +lean_ctor_set(x_236, 1, x_231); +return x_236; } else { -lean_object* x_235; lean_object* x_236; lean_object* x_237; -lean_dec(x_230); -x_235 = lean_ctor_get(x_233, 0); -lean_inc(x_235); -lean_dec(x_233); -x_236 = lean_unsigned_to_nat(0u); -x_237 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_236, x_231, x_235, x_232, x_3, x_4, x_5, x_6, x_229); -if (lean_obj_tag(x_237) == 0) +lean_object* x_237; lean_object* x_238; lean_object* x_239; +lean_dec(x_232); +x_237 = lean_ctor_get(x_235, 0); +lean_inc(x_237); +lean_dec(x_235); +x_238 = lean_unsigned_to_nat(0u); +x_239 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_238, x_233, x_237, x_234, x_3, x_4, x_5, x_6, x_231); +if (lean_obj_tag(x_239) == 0) { -lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; -x_238 = lean_ctor_get(x_237, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_237, 1); -lean_inc(x_239); -if (lean_is_exclusive(x_237)) { - lean_ctor_release(x_237, 0); - lean_ctor_release(x_237, 1); - x_240 = x_237; +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_240 = lean_ctor_get(x_239, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_239, 1); +lean_inc(x_241); +if (lean_is_exclusive(x_239)) { + lean_ctor_release(x_239, 0); + lean_ctor_release(x_239, 1); + x_242 = x_239; } else { - lean_dec_ref(x_237); - x_240 = lean_box(0); + lean_dec_ref(x_239); + x_242 = lean_box(0); } -if (lean_is_scalar(x_240)) { - x_241 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_242)) { + x_243 = lean_alloc_ctor(0, 2, 0); } else { - x_241 = x_240; + x_243 = x_242; } -lean_ctor_set(x_241, 0, x_238); -lean_ctor_set(x_241, 1, x_239); -return x_241; +lean_ctor_set(x_243, 0, x_240); +lean_ctor_set(x_243, 1, x_241); +return x_243; } else { -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_242 = lean_ctor_get(x_237, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_237, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_237)) { - lean_ctor_release(x_237, 0); - lean_ctor_release(x_237, 1); - x_244 = x_237; +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; +x_244 = lean_ctor_get(x_239, 0); +lean_inc(x_244); +x_245 = lean_ctor_get(x_239, 1); +lean_inc(x_245); +if (lean_is_exclusive(x_239)) { + lean_ctor_release(x_239, 0); + lean_ctor_release(x_239, 1); + x_246 = x_239; } else { - lean_dec_ref(x_237); - x_244 = lean_box(0); + lean_dec_ref(x_239); + x_246 = lean_box(0); } -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_246)) { + x_247 = lean_alloc_ctor(1, 2, 0); } else { - x_245 = x_244; + x_247 = x_246; } -lean_ctor_set(x_245, 0, x_242); -lean_ctor_set(x_245, 1, x_243); -return x_245; +lean_ctor_set(x_247, 0, x_244); +lean_ctor_set(x_247, 1, x_245); +return x_247; } } } case 2: { -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; -x_246 = lean_ctor_get(x_209, 1); -lean_inc(x_246); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_247 = x_209; -} else { - lean_dec_ref(x_209); - x_247 = lean_box(0); -} -x_248 = lean_ctor_get(x_210, 1); +lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +x_248 = lean_ctor_get(x_211, 1); lean_inc(x_248); -lean_dec(x_210); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + lean_ctor_release(x_211, 1); + x_249 = x_211; +} else { + lean_dec_ref(x_211); + x_249 = lean_box(0); +} +x_250 = lean_ctor_get(x_212, 1); +lean_inc(x_250); +lean_dec(x_212); lean_inc(x_1); -x_249 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_250 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__7___rarg(x_1, x_211); -lean_dec(x_211); -if (lean_obj_tag(x_250) == 0) +x_251 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_252 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__7___rarg(x_1, x_213); +lean_dec(x_213); +if (lean_obj_tag(x_252) == 0) { -lean_object* x_251; -lean_dec(x_248); +lean_object* x_253; +lean_dec(x_250); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_247)) { - x_251 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_249)) { + x_253 = lean_alloc_ctor(0, 2, 0); } else { - x_251 = x_247; + x_253 = x_249; } -lean_ctor_set(x_251, 0, x_249); -lean_ctor_set(x_251, 1, x_246); -return x_251; +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set(x_253, 1, x_248); +return x_253; } else { -lean_object* x_252; lean_object* x_253; lean_object* x_254; -lean_dec(x_247); -x_252 = lean_ctor_get(x_250, 0); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_unsigned_to_nat(0u); -x_254 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_253, x_248, x_252, x_249, x_3, x_4, x_5, x_6, x_246); -if (lean_obj_tag(x_254) == 0) +lean_object* x_254; lean_object* x_255; lean_object* x_256; +lean_dec(x_249); +x_254 = lean_ctor_get(x_252, 0); +lean_inc(x_254); +lean_dec(x_252); +x_255 = lean_unsigned_to_nat(0u); +x_256 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_255, x_250, x_254, x_251, x_3, x_4, x_5, x_6, x_248); +if (lean_obj_tag(x_256) == 0) { -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -if (lean_is_exclusive(x_254)) { - lean_ctor_release(x_254, 0); - lean_ctor_release(x_254, 1); - x_257 = x_254; +lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_257 = lean_ctor_get(x_256, 0); +lean_inc(x_257); +x_258 = lean_ctor_get(x_256, 1); +lean_inc(x_258); +if (lean_is_exclusive(x_256)) { + lean_ctor_release(x_256, 0); + lean_ctor_release(x_256, 1); + x_259 = x_256; } else { - lean_dec_ref(x_254); - x_257 = lean_box(0); + lean_dec_ref(x_256); + x_259 = lean_box(0); } -if (lean_is_scalar(x_257)) { - x_258 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_259)) { + x_260 = lean_alloc_ctor(0, 2, 0); } else { - x_258 = x_257; + x_260 = x_259; } -lean_ctor_set(x_258, 0, x_255); -lean_ctor_set(x_258, 1, x_256); -return x_258; +lean_ctor_set(x_260, 0, x_257); +lean_ctor_set(x_260, 1, x_258); +return x_260; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_259 = lean_ctor_get(x_254, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_254, 1); -lean_inc(x_260); -if (lean_is_exclusive(x_254)) { - lean_ctor_release(x_254, 0); - lean_ctor_release(x_254, 1); - x_261 = x_254; +lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_261 = lean_ctor_get(x_256, 0); +lean_inc(x_261); +x_262 = lean_ctor_get(x_256, 1); +lean_inc(x_262); +if (lean_is_exclusive(x_256)) { + lean_ctor_release(x_256, 0); + lean_ctor_release(x_256, 1); + x_263 = x_256; } else { - lean_dec_ref(x_254); - x_261 = lean_box(0); + lean_dec_ref(x_256); + x_263 = lean_box(0); } -if (lean_is_scalar(x_261)) { - x_262 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_263)) { + x_264 = lean_alloc_ctor(1, 2, 0); } else { - x_262 = x_261; + x_264 = x_263; } -lean_ctor_set(x_262, 0, x_259); -lean_ctor_set(x_262, 1, x_260); -return x_262; +lean_ctor_set(x_264, 0, x_261); +lean_ctor_set(x_264, 1, x_262); +return x_264; } } } case 3: { -lean_object* x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_210); -x_263 = lean_ctor_get(x_209, 1); -lean_inc(x_263); -lean_dec(x_209); -x_264 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; -x_265 = l_Std_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__10___rarg(x_1, x_264, x_3, x_4, x_5, x_6, x_263); +lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_dec(x_212); +x_265 = lean_ctor_get(x_211, 1); +lean_inc(x_265); +lean_dec(x_211); +x_266 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; +x_267 = l_Std_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__10___rarg(x_1, x_266, x_3, x_4, x_5, x_6, x_265); lean_dec(x_1); -if (lean_obj_tag(x_265) == 0) +if (lean_obj_tag(x_267) == 0) { -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 1); -lean_inc(x_267); -if (lean_is_exclusive(x_265)) { - lean_ctor_release(x_265, 0); - lean_ctor_release(x_265, 1); - x_268 = x_265; +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; +x_268 = lean_ctor_get(x_267, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_267, 1); +lean_inc(x_269); +if (lean_is_exclusive(x_267)) { + lean_ctor_release(x_267, 0); + lean_ctor_release(x_267, 1); + x_270 = x_267; } else { - lean_dec_ref(x_265); - x_268 = lean_box(0); + lean_dec_ref(x_267); + x_270 = lean_box(0); } -if (lean_is_scalar(x_268)) { - x_269 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_270)) { + x_271 = lean_alloc_ctor(0, 2, 0); } else { - x_269 = x_268; + x_271 = x_270; } -lean_ctor_set(x_269, 0, x_266); -lean_ctor_set(x_269, 1, x_267); -return x_269; +lean_ctor_set(x_271, 0, x_268); +lean_ctor_set(x_271, 1, x_269); +return x_271; } else { -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; -x_270 = lean_ctor_get(x_265, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_265, 1); -lean_inc(x_271); -if (lean_is_exclusive(x_265)) { - lean_ctor_release(x_265, 0); - lean_ctor_release(x_265, 1); - x_272 = x_265; +lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; +x_272 = lean_ctor_get(x_267, 0); +lean_inc(x_272); +x_273 = lean_ctor_get(x_267, 1); +lean_inc(x_273); +if (lean_is_exclusive(x_267)) { + lean_ctor_release(x_267, 0); + lean_ctor_release(x_267, 1); + x_274 = x_267; } else { - lean_dec_ref(x_265); - x_272 = lean_box(0); + lean_dec_ref(x_267); + x_274 = lean_box(0); } -if (lean_is_scalar(x_272)) { - x_273 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_274)) { + x_275 = lean_alloc_ctor(1, 2, 0); } else { - x_273 = x_272; + x_275 = x_274; } -lean_ctor_set(x_273, 0, x_270); -lean_ctor_set(x_273, 1, x_271); -return x_273; +lean_ctor_set(x_275, 0, x_272); +lean_ctor_set(x_275, 1, x_273); +return x_275; } } case 4: { -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_274 = lean_ctor_get(x_209, 1); -lean_inc(x_274); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_275 = x_209; -} else { - lean_dec_ref(x_209); - x_275 = lean_box(0); -} -x_276 = lean_ctor_get(x_210, 1); +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; +x_276 = lean_ctor_get(x_211, 1); lean_inc(x_276); -lean_dec(x_210); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + lean_ctor_release(x_211, 1); + x_277 = x_211; +} else { + lean_dec_ref(x_211); + x_277 = lean_box(0); +} +x_278 = lean_ctor_get(x_212, 1); +lean_inc(x_278); +lean_dec(x_212); lean_inc(x_1); -x_277 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_278 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__14___rarg(x_1, x_211); -if (lean_obj_tag(x_278) == 0) +x_279 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_280 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__14___rarg(x_1, x_213); +if (lean_obj_tag(x_280) == 0) { -lean_object* x_279; -lean_dec(x_276); +lean_object* x_281; +lean_dec(x_278); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_275)) { - x_279 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_277)) { + x_281 = lean_alloc_ctor(0, 2, 0); } else { - x_279 = x_275; + x_281 = x_277; } -lean_ctor_set(x_279, 0, x_277); -lean_ctor_set(x_279, 1, x_274); -return x_279; +lean_ctor_set(x_281, 0, x_279); +lean_ctor_set(x_281, 1, x_276); +return x_281; } else { -lean_object* x_280; lean_object* x_281; lean_object* x_282; -lean_dec(x_275); -x_280 = lean_ctor_get(x_278, 0); -lean_inc(x_280); -lean_dec(x_278); -x_281 = lean_unsigned_to_nat(0u); -x_282 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_281, x_276, x_280, x_277, x_3, x_4, x_5, x_6, x_274); -if (lean_obj_tag(x_282) == 0) +lean_object* x_282; lean_object* x_283; lean_object* x_284; +lean_dec(x_277); +x_282 = lean_ctor_get(x_280, 0); +lean_inc(x_282); +lean_dec(x_280); +x_283 = lean_unsigned_to_nat(0u); +x_284 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_283, x_278, x_282, x_279, x_3, x_4, x_5, x_6, x_276); +if (lean_obj_tag(x_284) == 0) { -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; -x_283 = lean_ctor_get(x_282, 0); -lean_inc(x_283); -x_284 = lean_ctor_get(x_282, 1); -lean_inc(x_284); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_285 = x_282; +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; +x_285 = lean_ctor_get(x_284, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_284, 1); +lean_inc(x_286); +if (lean_is_exclusive(x_284)) { + lean_ctor_release(x_284, 0); + lean_ctor_release(x_284, 1); + x_287 = x_284; } else { - lean_dec_ref(x_282); - x_285 = lean_box(0); + lean_dec_ref(x_284); + x_287 = lean_box(0); } -if (lean_is_scalar(x_285)) { - x_286 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_287)) { + x_288 = lean_alloc_ctor(0, 2, 0); } else { - x_286 = x_285; + x_288 = x_287; } -lean_ctor_set(x_286, 0, x_283); -lean_ctor_set(x_286, 1, x_284); -return x_286; +lean_ctor_set(x_288, 0, x_285); +lean_ctor_set(x_288, 1, x_286); +return x_288; } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; -x_287 = lean_ctor_get(x_282, 0); -lean_inc(x_287); -x_288 = lean_ctor_get(x_282, 1); -lean_inc(x_288); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_289 = x_282; +lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +x_289 = lean_ctor_get(x_284, 0); +lean_inc(x_289); +x_290 = lean_ctor_get(x_284, 1); +lean_inc(x_290); +if (lean_is_exclusive(x_284)) { + lean_ctor_release(x_284, 0); + lean_ctor_release(x_284, 1); + x_291 = x_284; } else { - lean_dec_ref(x_282); - x_289 = lean_box(0); + lean_dec_ref(x_284); + x_291 = lean_box(0); } -if (lean_is_scalar(x_289)) { - x_290 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_291)) { + x_292 = lean_alloc_ctor(1, 2, 0); } else { - x_290 = x_289; + x_292 = x_291; } -lean_ctor_set(x_290, 0, x_287); -lean_ctor_set(x_290, 1, x_288); -return x_290; +lean_ctor_set(x_292, 0, x_289); +lean_ctor_set(x_292, 1, x_290); +return x_292; } } } default: { -lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; -x_291 = lean_ctor_get(x_209, 1); -lean_inc(x_291); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_292 = x_209; -} else { - lean_dec_ref(x_209); - x_292 = lean_box(0); -} -x_293 = lean_ctor_get(x_210, 1); +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; +x_293 = lean_ctor_get(x_211, 1); lean_inc(x_293); -lean_dec(x_210); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + lean_ctor_release(x_211, 1); + x_294 = x_211; +} else { + lean_dec_ref(x_211); + x_294 = lean_box(0); +} +x_295 = lean_ctor_get(x_212, 1); +lean_inc(x_295); +lean_dec(x_212); lean_inc(x_1); -x_294 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_295 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__17___rarg(x_1, x_211); -if (lean_obj_tag(x_295) == 0) +x_296 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_297 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__17___rarg(x_1, x_213); +if (lean_obj_tag(x_297) == 0) { -lean_object* x_296; -lean_dec(x_293); +lean_object* x_298; +lean_dec(x_295); lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_292)) { - x_296 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_294)) { + x_298 = lean_alloc_ctor(0, 2, 0); } else { - x_296 = x_292; + x_298 = x_294; } -lean_ctor_set(x_296, 0, x_294); -lean_ctor_set(x_296, 1, x_291); -return x_296; +lean_ctor_set(x_298, 0, x_296); +lean_ctor_set(x_298, 1, x_293); +return x_298; } else { -lean_object* x_297; lean_object* x_298; lean_object* x_299; -lean_dec(x_292); -x_297 = lean_ctor_get(x_295, 0); -lean_inc(x_297); -lean_dec(x_295); -x_298 = lean_unsigned_to_nat(0u); -x_299 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_298, x_293, x_297, x_294, x_3, x_4, x_5, x_6, x_291); -if (lean_obj_tag(x_299) == 0) +lean_object* x_299; lean_object* x_300; lean_object* x_301; +lean_dec(x_294); +x_299 = lean_ctor_get(x_297, 0); +lean_inc(x_299); +lean_dec(x_297); +x_300 = lean_unsigned_to_nat(0u); +x_301 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_300, x_295, x_299, x_296, x_3, x_4, x_5, x_6, x_293); +if (lean_obj_tag(x_301) == 0) { -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; -x_300 = lean_ctor_get(x_299, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_299, 1); -lean_inc(x_301); -if (lean_is_exclusive(x_299)) { - lean_ctor_release(x_299, 0); - lean_ctor_release(x_299, 1); - x_302 = x_299; +lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; +x_302 = lean_ctor_get(x_301, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_301, 1); +lean_inc(x_303); +if (lean_is_exclusive(x_301)) { + lean_ctor_release(x_301, 0); + lean_ctor_release(x_301, 1); + x_304 = x_301; } else { - lean_dec_ref(x_299); - x_302 = lean_box(0); + lean_dec_ref(x_301); + x_304 = lean_box(0); } -if (lean_is_scalar(x_302)) { - x_303 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_304)) { + x_305 = lean_alloc_ctor(0, 2, 0); } else { - x_303 = x_302; + x_305 = x_304; } -lean_ctor_set(x_303, 0, x_300); -lean_ctor_set(x_303, 1, x_301); -return x_303; +lean_ctor_set(x_305, 0, x_302); +lean_ctor_set(x_305, 1, x_303); +return x_305; } else { -lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_304 = lean_ctor_get(x_299, 0); -lean_inc(x_304); -x_305 = lean_ctor_get(x_299, 1); -lean_inc(x_305); -if (lean_is_exclusive(x_299)) { - lean_ctor_release(x_299, 0); - lean_ctor_release(x_299, 1); - x_306 = x_299; +lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; +x_306 = lean_ctor_get(x_301, 0); +lean_inc(x_306); +x_307 = lean_ctor_get(x_301, 1); +lean_inc(x_307); +if (lean_is_exclusive(x_301)) { + lean_ctor_release(x_301, 0); + lean_ctor_release(x_301, 1); + x_308 = x_301; } else { - lean_dec_ref(x_299); - x_306 = lean_box(0); + lean_dec_ref(x_301); + x_308 = lean_box(0); } -if (lean_is_scalar(x_306)) { - x_307 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_308)) { + x_309 = lean_alloc_ctor(1, 2, 0); } else { - x_307 = x_306; + x_309 = x_308; } -lean_ctor_set(x_307, 0, x_304); -lean_ctor_set(x_307, 1, x_305); -return x_307; +lean_ctor_set(x_309, 0, x_306); +lean_ctor_set(x_309, 1, x_307); +return x_309; } } } @@ -17751,633 +18234,634 @@ return x_307; } else { -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_308 = lean_ctor_get(x_209, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_209, 1); -lean_inc(x_309); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_310 = x_209; +x_310 = lean_ctor_get(x_211, 0); +lean_inc(x_310); +x_311 = lean_ctor_get(x_211, 1); +lean_inc(x_311); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + lean_ctor_release(x_211, 1); + x_312 = x_211; } else { - lean_dec_ref(x_209); - x_310 = lean_box(0); + lean_dec_ref(x_211); + x_312 = lean_box(0); } -if (lean_is_scalar(x_310)) { - x_311 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_312)) { + x_313 = lean_alloc_ctor(1, 2, 0); } else { - x_311 = x_310; + x_313 = x_312; } -lean_ctor_set(x_311, 0, x_308); -lean_ctor_set(x_311, 1, x_309); -return x_311; +lean_ctor_set(x_313, 0, x_310); +lean_ctor_set(x_313, 1, x_311); +return x_313; } } } else { -lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; uint8_t x_316; uint8_t x_317; uint8_t x_318; uint8_t x_319; uint8_t x_320; uint8_t x_321; uint8_t x_322; uint8_t x_323; uint8_t x_324; uint8_t x_325; lean_object* x_326; uint8_t x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; lean_object* x_331; -x_312 = lean_ctor_get(x_3, 0); -x_313 = lean_ctor_get(x_3, 1); -x_314 = lean_ctor_get(x_3, 2); -x_315 = lean_ctor_get(x_3, 3); +lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; uint8_t x_319; uint8_t x_320; uint8_t x_321; uint8_t x_322; uint8_t x_323; uint8_t x_324; uint8_t x_325; uint8_t x_326; uint8_t x_327; lean_object* x_328; uint8_t x_329; lean_object* x_330; lean_object* x_331; uint8_t x_332; uint8_t x_333; lean_object* x_334; +x_314 = lean_ctor_get(x_3, 0); +x_315 = lean_ctor_get(x_3, 1); +x_316 = lean_ctor_get(x_3, 2); +x_317 = lean_ctor_get(x_3, 3); +lean_inc(x_317); +lean_inc(x_316); lean_inc(x_315); lean_inc(x_314); -lean_inc(x_313); -lean_inc(x_312); lean_dec(x_3); -x_316 = lean_ctor_get_uint8(x_312, 0); -x_317 = lean_ctor_get_uint8(x_312, 1); -x_318 = lean_ctor_get_uint8(x_312, 2); -x_319 = lean_ctor_get_uint8(x_312, 3); -x_320 = lean_ctor_get_uint8(x_312, 4); -x_321 = lean_ctor_get_uint8(x_312, 6); -x_322 = lean_ctor_get_uint8(x_312, 7); -x_323 = lean_ctor_get_uint8(x_312, 8); -x_324 = lean_ctor_get_uint8(x_312, 9); -x_325 = lean_ctor_get_uint8(x_312, 10); -if (lean_is_exclusive(x_312)) { - x_326 = x_312; +x_318 = lean_ctor_get_uint8(x_314, 0); +x_319 = lean_ctor_get_uint8(x_314, 1); +x_320 = lean_ctor_get_uint8(x_314, 2); +x_321 = lean_ctor_get_uint8(x_314, 3); +x_322 = lean_ctor_get_uint8(x_314, 4); +x_323 = lean_ctor_get_uint8(x_314, 6); +x_324 = lean_ctor_get_uint8(x_314, 7); +x_325 = lean_ctor_get_uint8(x_314, 8); +x_326 = lean_ctor_get_uint8(x_314, 9); +x_327 = lean_ctor_get_uint8(x_314, 10); +if (lean_is_exclusive(x_314)) { + x_328 = x_314; } else { - lean_dec_ref(x_312); - x_326 = lean_box(0); + lean_dec_ref(x_314); + x_328 = lean_box(0); } -x_327 = 2; -if (lean_is_scalar(x_326)) { - x_328 = lean_alloc_ctor(0, 0, 11); +x_329 = 2; +if (lean_is_scalar(x_328)) { + x_330 = lean_alloc_ctor(0, 0, 11); } else { - x_328 = x_326; + x_330 = x_328; } -lean_ctor_set_uint8(x_328, 0, x_316); -lean_ctor_set_uint8(x_328, 1, x_317); -lean_ctor_set_uint8(x_328, 2, x_318); -lean_ctor_set_uint8(x_328, 3, x_319); -lean_ctor_set_uint8(x_328, 4, x_320); -lean_ctor_set_uint8(x_328, 5, x_327); -lean_ctor_set_uint8(x_328, 6, x_321); -lean_ctor_set_uint8(x_328, 7, x_322); -lean_ctor_set_uint8(x_328, 8, x_323); -lean_ctor_set_uint8(x_328, 9, x_324); -lean_ctor_set_uint8(x_328, 10, x_325); -x_329 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_313); -lean_ctor_set(x_329, 2, x_314); -lean_ctor_set(x_329, 3, x_315); -x_330 = 0; +lean_ctor_set_uint8(x_330, 0, x_318); +lean_ctor_set_uint8(x_330, 1, x_319); +lean_ctor_set_uint8(x_330, 2, x_320); +lean_ctor_set_uint8(x_330, 3, x_321); +lean_ctor_set_uint8(x_330, 4, x_322); +lean_ctor_set_uint8(x_330, 5, x_329); +lean_ctor_set_uint8(x_330, 6, x_323); +lean_ctor_set_uint8(x_330, 7, x_324); +lean_ctor_set_uint8(x_330, 8, x_325); +lean_ctor_set_uint8(x_330, 9, x_326); +lean_ctor_set_uint8(x_330, 10, x_327); +x_331 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_315); +lean_ctor_set(x_331, 2, x_316); +lean_ctor_set(x_331, 3, x_317); +x_332 = 0; +x_333 = 1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_329); -x_331 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_330, x_329, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_331) == 0) +lean_inc(x_331); +x_334 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs(x_2, x_332, x_333, x_331, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_334) == 0) { -lean_object* x_332; lean_object* x_333; -x_332 = lean_ctor_get(x_331, 0); -lean_inc(x_332); -x_333 = lean_ctor_get(x_332, 0); -lean_inc(x_333); -switch (lean_obj_tag(x_333)) { +lean_object* x_335; lean_object* x_336; +x_335 = lean_ctor_get(x_334, 0); +lean_inc(x_335); +x_336 = lean_ctor_get(x_335, 0); +lean_inc(x_336); +switch (lean_obj_tag(x_336)) { case 0: { -lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; -x_334 = lean_ctor_get(x_331, 1); -lean_inc(x_334); -if (lean_is_exclusive(x_331)) { - lean_ctor_release(x_331, 0); - lean_ctor_release(x_331, 1); - x_335 = x_331; +lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; +x_337 = lean_ctor_get(x_334, 1); +lean_inc(x_337); +if (lean_is_exclusive(x_334)) { + lean_ctor_release(x_334, 0); + lean_ctor_release(x_334, 1); + x_338 = x_334; } else { - lean_dec_ref(x_331); - x_335 = lean_box(0); + lean_dec_ref(x_334); + x_338 = lean_box(0); } -x_336 = lean_ctor_get(x_332, 1); -lean_inc(x_336); -lean_dec(x_332); +x_339 = lean_ctor_get(x_335, 1); +lean_inc(x_339); +lean_dec(x_335); lean_inc(x_1); -x_337 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_338 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_333); -lean_dec(x_333); -if (lean_obj_tag(x_338) == 0) -{ -lean_object* x_339; +x_340 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_341 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_336); lean_dec(x_336); -lean_dec(x_329); +if (lean_obj_tag(x_341) == 0) +{ +lean_object* x_342; +lean_dec(x_339); +lean_dec(x_331); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_335)) { - x_339 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_338)) { + x_342 = lean_alloc_ctor(0, 2, 0); } else { - x_339 = x_335; + x_342 = x_338; } -lean_ctor_set(x_339, 0, x_337); -lean_ctor_set(x_339, 1, x_334); -return x_339; +lean_ctor_set(x_342, 0, x_340); +lean_ctor_set(x_342, 1, x_337); +return x_342; } else { -lean_object* x_340; lean_object* x_341; lean_object* x_342; -lean_dec(x_335); -x_340 = lean_ctor_get(x_338, 0); -lean_inc(x_340); +lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_dec(x_338); -x_341 = lean_unsigned_to_nat(0u); -x_342 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_341, x_336, x_340, x_337, x_329, x_4, x_5, x_6, x_334); -if (lean_obj_tag(x_342) == 0) -{ -lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; -x_343 = lean_ctor_get(x_342, 0); +x_343 = lean_ctor_get(x_341, 0); lean_inc(x_343); -x_344 = lean_ctor_get(x_342, 1); -lean_inc(x_344); -if (lean_is_exclusive(x_342)) { - lean_ctor_release(x_342, 0); - lean_ctor_release(x_342, 1); - x_345 = x_342; +lean_dec(x_341); +x_344 = lean_unsigned_to_nat(0u); +x_345 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_344, x_339, x_343, x_340, x_331, x_4, x_5, x_6, x_337); +if (lean_obj_tag(x_345) == 0) +{ +lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; +x_346 = lean_ctor_get(x_345, 0); +lean_inc(x_346); +x_347 = lean_ctor_get(x_345, 1); +lean_inc(x_347); +if (lean_is_exclusive(x_345)) { + lean_ctor_release(x_345, 0); + lean_ctor_release(x_345, 1); + x_348 = x_345; } else { - lean_dec_ref(x_342); - x_345 = lean_box(0); + lean_dec_ref(x_345); + x_348 = lean_box(0); } -if (lean_is_scalar(x_345)) { - x_346 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_348)) { + x_349 = lean_alloc_ctor(0, 2, 0); } else { - x_346 = x_345; + x_349 = x_348; } -lean_ctor_set(x_346, 0, x_343); -lean_ctor_set(x_346, 1, x_344); -return x_346; +lean_ctor_set(x_349, 0, x_346); +lean_ctor_set(x_349, 1, x_347); +return x_349; } else { -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; -x_347 = lean_ctor_get(x_342, 0); -lean_inc(x_347); -x_348 = lean_ctor_get(x_342, 1); -lean_inc(x_348); -if (lean_is_exclusive(x_342)) { - lean_ctor_release(x_342, 0); - lean_ctor_release(x_342, 1); - x_349 = x_342; +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +x_350 = lean_ctor_get(x_345, 0); +lean_inc(x_350); +x_351 = lean_ctor_get(x_345, 1); +lean_inc(x_351); +if (lean_is_exclusive(x_345)) { + lean_ctor_release(x_345, 0); + lean_ctor_release(x_345, 1); + x_352 = x_345; } else { - lean_dec_ref(x_342); - x_349 = lean_box(0); + lean_dec_ref(x_345); + x_352 = lean_box(0); } -if (lean_is_scalar(x_349)) { - x_350 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_352)) { + x_353 = lean_alloc_ctor(1, 2, 0); } else { - x_350 = x_349; + x_353 = x_352; } -lean_ctor_set(x_350, 0, x_347); -lean_ctor_set(x_350, 1, x_348); -return x_350; +lean_ctor_set(x_353, 0, x_350); +lean_ctor_set(x_353, 1, x_351); +return x_353; } } } case 1: { -lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; -x_351 = lean_ctor_get(x_331, 1); -lean_inc(x_351); -if (lean_is_exclusive(x_331)) { - lean_ctor_release(x_331, 0); - lean_ctor_release(x_331, 1); - x_352 = x_331; +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; +x_354 = lean_ctor_get(x_334, 1); +lean_inc(x_354); +if (lean_is_exclusive(x_334)) { + lean_ctor_release(x_334, 0); + lean_ctor_release(x_334, 1); + x_355 = x_334; } else { - lean_dec_ref(x_331); - x_352 = lean_box(0); + lean_dec_ref(x_334); + x_355 = lean_box(0); } -x_353 = lean_ctor_get(x_332, 1); -lean_inc(x_353); -lean_dec(x_332); +x_356 = lean_ctor_get(x_335, 1); +lean_inc(x_356); +lean_dec(x_335); lean_inc(x_1); -x_354 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_355 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_333); -lean_dec(x_333); -if (lean_obj_tag(x_355) == 0) +x_357 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_358 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_336); +lean_dec(x_336); +if (lean_obj_tag(x_358) == 0) { -lean_object* x_356; -lean_dec(x_353); -lean_dec(x_329); +lean_object* x_359; +lean_dec(x_356); +lean_dec(x_331); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_352)) { - x_356 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_355)) { + x_359 = lean_alloc_ctor(0, 2, 0); } else { - x_356 = x_352; + x_359 = x_355; } -lean_ctor_set(x_356, 0, x_354); -lean_ctor_set(x_356, 1, x_351); -return x_356; +lean_ctor_set(x_359, 0, x_357); +lean_ctor_set(x_359, 1, x_354); +return x_359; } else { -lean_object* x_357; lean_object* x_358; lean_object* x_359; -lean_dec(x_352); -x_357 = lean_ctor_get(x_355, 0); -lean_inc(x_357); +lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_dec(x_355); -x_358 = lean_unsigned_to_nat(0u); -x_359 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_358, x_353, x_357, x_354, x_329, x_4, x_5, x_6, x_351); -if (lean_obj_tag(x_359) == 0) -{ -lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; -x_360 = lean_ctor_get(x_359, 0); +x_360 = lean_ctor_get(x_358, 0); lean_inc(x_360); -x_361 = lean_ctor_get(x_359, 1); -lean_inc(x_361); -if (lean_is_exclusive(x_359)) { - lean_ctor_release(x_359, 0); - lean_ctor_release(x_359, 1); - x_362 = x_359; +lean_dec(x_358); +x_361 = lean_unsigned_to_nat(0u); +x_362 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_361, x_356, x_360, x_357, x_331, x_4, x_5, x_6, x_354); +if (lean_obj_tag(x_362) == 0) +{ +lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; +x_363 = lean_ctor_get(x_362, 0); +lean_inc(x_363); +x_364 = lean_ctor_get(x_362, 1); +lean_inc(x_364); +if (lean_is_exclusive(x_362)) { + lean_ctor_release(x_362, 0); + lean_ctor_release(x_362, 1); + x_365 = x_362; } else { - lean_dec_ref(x_359); - x_362 = lean_box(0); + lean_dec_ref(x_362); + x_365 = lean_box(0); } -if (lean_is_scalar(x_362)) { - x_363 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_365)) { + x_366 = lean_alloc_ctor(0, 2, 0); } else { - x_363 = x_362; + x_366 = x_365; } -lean_ctor_set(x_363, 0, x_360); -lean_ctor_set(x_363, 1, x_361); -return x_363; +lean_ctor_set(x_366, 0, x_363); +lean_ctor_set(x_366, 1, x_364); +return x_366; } else { -lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; -x_364 = lean_ctor_get(x_359, 0); -lean_inc(x_364); -x_365 = lean_ctor_get(x_359, 1); -lean_inc(x_365); -if (lean_is_exclusive(x_359)) { - lean_ctor_release(x_359, 0); - lean_ctor_release(x_359, 1); - x_366 = x_359; +lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; +x_367 = lean_ctor_get(x_362, 0); +lean_inc(x_367); +x_368 = lean_ctor_get(x_362, 1); +lean_inc(x_368); +if (lean_is_exclusive(x_362)) { + lean_ctor_release(x_362, 0); + lean_ctor_release(x_362, 1); + x_369 = x_362; } else { - lean_dec_ref(x_359); - x_366 = lean_box(0); + lean_dec_ref(x_362); + x_369 = lean_box(0); } -if (lean_is_scalar(x_366)) { - x_367 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_369)) { + x_370 = lean_alloc_ctor(1, 2, 0); } else { - x_367 = x_366; + x_370 = x_369; } -lean_ctor_set(x_367, 0, x_364); -lean_ctor_set(x_367, 1, x_365); -return x_367; +lean_ctor_set(x_370, 0, x_367); +lean_ctor_set(x_370, 1, x_368); +return x_370; } } } case 2: { -lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; -x_368 = lean_ctor_get(x_331, 1); -lean_inc(x_368); -if (lean_is_exclusive(x_331)) { - lean_ctor_release(x_331, 0); - lean_ctor_release(x_331, 1); - x_369 = x_331; +lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; +x_371 = lean_ctor_get(x_334, 1); +lean_inc(x_371); +if (lean_is_exclusive(x_334)) { + lean_ctor_release(x_334, 0); + lean_ctor_release(x_334, 1); + x_372 = x_334; } else { - lean_dec_ref(x_331); - x_369 = lean_box(0); + lean_dec_ref(x_334); + x_372 = lean_box(0); } -x_370 = lean_ctor_get(x_332, 1); -lean_inc(x_370); -lean_dec(x_332); +x_373 = lean_ctor_get(x_335, 1); +lean_inc(x_373); +lean_dec(x_335); lean_inc(x_1); -x_371 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_372 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__7___rarg(x_1, x_333); -lean_dec(x_333); -if (lean_obj_tag(x_372) == 0) +x_374 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_375 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__7___rarg(x_1, x_336); +lean_dec(x_336); +if (lean_obj_tag(x_375) == 0) { -lean_object* x_373; -lean_dec(x_370); -lean_dec(x_329); +lean_object* x_376; +lean_dec(x_373); +lean_dec(x_331); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_369)) { - x_373 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_372)) { + x_376 = lean_alloc_ctor(0, 2, 0); } else { - x_373 = x_369; + x_376 = x_372; } -lean_ctor_set(x_373, 0, x_371); -lean_ctor_set(x_373, 1, x_368); -return x_373; +lean_ctor_set(x_376, 0, x_374); +lean_ctor_set(x_376, 1, x_371); +return x_376; } else { -lean_object* x_374; lean_object* x_375; lean_object* x_376; -lean_dec(x_369); -x_374 = lean_ctor_get(x_372, 0); -lean_inc(x_374); +lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_dec(x_372); -x_375 = lean_unsigned_to_nat(0u); -x_376 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_375, x_370, x_374, x_371, x_329, x_4, x_5, x_6, x_368); -if (lean_obj_tag(x_376) == 0) -{ -lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; -x_377 = lean_ctor_get(x_376, 0); +x_377 = lean_ctor_get(x_375, 0); lean_inc(x_377); -x_378 = lean_ctor_get(x_376, 1); -lean_inc(x_378); -if (lean_is_exclusive(x_376)) { - lean_ctor_release(x_376, 0); - lean_ctor_release(x_376, 1); - x_379 = x_376; +lean_dec(x_375); +x_378 = lean_unsigned_to_nat(0u); +x_379 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_378, x_373, x_377, x_374, x_331, x_4, x_5, x_6, x_371); +if (lean_obj_tag(x_379) == 0) +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; +x_380 = lean_ctor_get(x_379, 0); +lean_inc(x_380); +x_381 = lean_ctor_get(x_379, 1); +lean_inc(x_381); +if (lean_is_exclusive(x_379)) { + lean_ctor_release(x_379, 0); + lean_ctor_release(x_379, 1); + x_382 = x_379; } else { - lean_dec_ref(x_376); - x_379 = lean_box(0); + lean_dec_ref(x_379); + x_382 = lean_box(0); } -if (lean_is_scalar(x_379)) { - x_380 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_382)) { + x_383 = lean_alloc_ctor(0, 2, 0); } else { - x_380 = x_379; + x_383 = x_382; } -lean_ctor_set(x_380, 0, x_377); -lean_ctor_set(x_380, 1, x_378); -return x_380; +lean_ctor_set(x_383, 0, x_380); +lean_ctor_set(x_383, 1, x_381); +return x_383; } else { -lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; -x_381 = lean_ctor_get(x_376, 0); -lean_inc(x_381); -x_382 = lean_ctor_get(x_376, 1); -lean_inc(x_382); -if (lean_is_exclusive(x_376)) { - lean_ctor_release(x_376, 0); - lean_ctor_release(x_376, 1); - x_383 = x_376; +lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; +x_384 = lean_ctor_get(x_379, 0); +lean_inc(x_384); +x_385 = lean_ctor_get(x_379, 1); +lean_inc(x_385); +if (lean_is_exclusive(x_379)) { + lean_ctor_release(x_379, 0); + lean_ctor_release(x_379, 1); + x_386 = x_379; } else { - lean_dec_ref(x_376); - x_383 = lean_box(0); + lean_dec_ref(x_379); + x_386 = lean_box(0); } -if (lean_is_scalar(x_383)) { - x_384 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_386)) { + x_387 = lean_alloc_ctor(1, 2, 0); } else { - x_384 = x_383; + x_387 = x_386; } -lean_ctor_set(x_384, 0, x_381); -lean_ctor_set(x_384, 1, x_382); -return x_384; +lean_ctor_set(x_387, 0, x_384); +lean_ctor_set(x_387, 1, x_385); +return x_387; } } } case 3: { -lean_object* x_385; lean_object* x_386; lean_object* x_387; -lean_dec(x_332); -x_385 = lean_ctor_get(x_331, 1); -lean_inc(x_385); -lean_dec(x_331); -x_386 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; -x_387 = l_Std_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__10___rarg(x_1, x_386, x_329, x_4, x_5, x_6, x_385); -lean_dec(x_1); -if (lean_obj_tag(x_387) == 0) -{ -lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; -x_388 = lean_ctor_get(x_387, 0); +lean_object* x_388; lean_object* x_389; lean_object* x_390; +lean_dec(x_335); +x_388 = lean_ctor_get(x_334, 1); lean_inc(x_388); -x_389 = lean_ctor_get(x_387, 1); -lean_inc(x_389); -if (lean_is_exclusive(x_387)) { - lean_ctor_release(x_387, 0); - lean_ctor_release(x_387, 1); - x_390 = x_387; +lean_dec(x_334); +x_389 = l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; +x_390 = l_Std_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__10___rarg(x_1, x_389, x_331, x_4, x_5, x_6, x_388); +lean_dec(x_1); +if (lean_obj_tag(x_390) == 0) +{ +lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; +x_391 = lean_ctor_get(x_390, 0); +lean_inc(x_391); +x_392 = lean_ctor_get(x_390, 1); +lean_inc(x_392); +if (lean_is_exclusive(x_390)) { + lean_ctor_release(x_390, 0); + lean_ctor_release(x_390, 1); + x_393 = x_390; } else { - lean_dec_ref(x_387); - x_390 = lean_box(0); + lean_dec_ref(x_390); + x_393 = lean_box(0); } -if (lean_is_scalar(x_390)) { - x_391 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_393)) { + x_394 = lean_alloc_ctor(0, 2, 0); } else { - x_391 = x_390; + x_394 = x_393; } -lean_ctor_set(x_391, 0, x_388); -lean_ctor_set(x_391, 1, x_389); -return x_391; +lean_ctor_set(x_394, 0, x_391); +lean_ctor_set(x_394, 1, x_392); +return x_394; } else { -lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; -x_392 = lean_ctor_get(x_387, 0); -lean_inc(x_392); -x_393 = lean_ctor_get(x_387, 1); -lean_inc(x_393); -if (lean_is_exclusive(x_387)) { - lean_ctor_release(x_387, 0); - lean_ctor_release(x_387, 1); - x_394 = x_387; +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; +x_395 = lean_ctor_get(x_390, 0); +lean_inc(x_395); +x_396 = lean_ctor_get(x_390, 1); +lean_inc(x_396); +if (lean_is_exclusive(x_390)) { + lean_ctor_release(x_390, 0); + lean_ctor_release(x_390, 1); + x_397 = x_390; } else { - lean_dec_ref(x_387); - x_394 = lean_box(0); + lean_dec_ref(x_390); + x_397 = lean_box(0); } -if (lean_is_scalar(x_394)) { - x_395 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_397)) { + x_398 = lean_alloc_ctor(1, 2, 0); } else { - x_395 = x_394; + x_398 = x_397; } -lean_ctor_set(x_395, 0, x_392); -lean_ctor_set(x_395, 1, x_393); -return x_395; +lean_ctor_set(x_398, 0, x_395); +lean_ctor_set(x_398, 1, x_396); +return x_398; } } case 4: { -lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; -x_396 = lean_ctor_get(x_331, 1); -lean_inc(x_396); -if (lean_is_exclusive(x_331)) { - lean_ctor_release(x_331, 0); - lean_ctor_release(x_331, 1); - x_397 = x_331; +lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; +x_399 = lean_ctor_get(x_334, 1); +lean_inc(x_399); +if (lean_is_exclusive(x_334)) { + lean_ctor_release(x_334, 0); + lean_ctor_release(x_334, 1); + x_400 = x_334; } else { - lean_dec_ref(x_331); - x_397 = lean_box(0); + lean_dec_ref(x_334); + x_400 = lean_box(0); } -x_398 = lean_ctor_get(x_332, 1); -lean_inc(x_398); -lean_dec(x_332); +x_401 = lean_ctor_get(x_335, 1); +lean_inc(x_401); +lean_dec(x_335); lean_inc(x_1); -x_399 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_400 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__14___rarg(x_1, x_333); -if (lean_obj_tag(x_400) == 0) +x_402 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_403 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__14___rarg(x_1, x_336); +if (lean_obj_tag(x_403) == 0) { -lean_object* x_401; -lean_dec(x_398); -lean_dec(x_329); +lean_object* x_404; +lean_dec(x_401); +lean_dec(x_331); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_397)) { - x_401 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_400)) { + x_404 = lean_alloc_ctor(0, 2, 0); } else { - x_401 = x_397; + x_404 = x_400; } -lean_ctor_set(x_401, 0, x_399); -lean_ctor_set(x_401, 1, x_396); -return x_401; +lean_ctor_set(x_404, 0, x_402); +lean_ctor_set(x_404, 1, x_399); +return x_404; } else { -lean_object* x_402; lean_object* x_403; lean_object* x_404; -lean_dec(x_397); -x_402 = lean_ctor_get(x_400, 0); -lean_inc(x_402); +lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_dec(x_400); -x_403 = lean_unsigned_to_nat(0u); -x_404 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_403, x_398, x_402, x_399, x_329, x_4, x_5, x_6, x_396); -if (lean_obj_tag(x_404) == 0) -{ -lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; -x_405 = lean_ctor_get(x_404, 0); +x_405 = lean_ctor_get(x_403, 0); lean_inc(x_405); -x_406 = lean_ctor_get(x_404, 1); -lean_inc(x_406); -if (lean_is_exclusive(x_404)) { - lean_ctor_release(x_404, 0); - lean_ctor_release(x_404, 1); - x_407 = x_404; +lean_dec(x_403); +x_406 = lean_unsigned_to_nat(0u); +x_407 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_406, x_401, x_405, x_402, x_331, x_4, x_5, x_6, x_399); +if (lean_obj_tag(x_407) == 0) +{ +lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; +x_408 = lean_ctor_get(x_407, 0); +lean_inc(x_408); +x_409 = lean_ctor_get(x_407, 1); +lean_inc(x_409); +if (lean_is_exclusive(x_407)) { + lean_ctor_release(x_407, 0); + lean_ctor_release(x_407, 1); + x_410 = x_407; } else { - lean_dec_ref(x_404); - x_407 = lean_box(0); + lean_dec_ref(x_407); + x_410 = lean_box(0); } -if (lean_is_scalar(x_407)) { - x_408 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_410)) { + x_411 = lean_alloc_ctor(0, 2, 0); } else { - x_408 = x_407; + x_411 = x_410; } -lean_ctor_set(x_408, 0, x_405); -lean_ctor_set(x_408, 1, x_406); -return x_408; +lean_ctor_set(x_411, 0, x_408); +lean_ctor_set(x_411, 1, x_409); +return x_411; } else { -lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; -x_409 = lean_ctor_get(x_404, 0); -lean_inc(x_409); -x_410 = lean_ctor_get(x_404, 1); -lean_inc(x_410); -if (lean_is_exclusive(x_404)) { - lean_ctor_release(x_404, 0); - lean_ctor_release(x_404, 1); - x_411 = x_404; +lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; +x_412 = lean_ctor_get(x_407, 0); +lean_inc(x_412); +x_413 = lean_ctor_get(x_407, 1); +lean_inc(x_413); +if (lean_is_exclusive(x_407)) { + lean_ctor_release(x_407, 0); + lean_ctor_release(x_407, 1); + x_414 = x_407; } else { - lean_dec_ref(x_404); - x_411 = lean_box(0); + lean_dec_ref(x_407); + x_414 = lean_box(0); } -if (lean_is_scalar(x_411)) { - x_412 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_414)) { + x_415 = lean_alloc_ctor(1, 2, 0); } else { - x_412 = x_411; + x_415 = x_414; } -lean_ctor_set(x_412, 0, x_409); -lean_ctor_set(x_412, 1, x_410); -return x_412; +lean_ctor_set(x_415, 0, x_412); +lean_ctor_set(x_415, 1, x_413); +return x_415; } } } default: { -lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; -x_413 = lean_ctor_get(x_331, 1); -lean_inc(x_413); -if (lean_is_exclusive(x_331)) { - lean_ctor_release(x_331, 0); - lean_ctor_release(x_331, 1); - x_414 = x_331; +lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; +x_416 = lean_ctor_get(x_334, 1); +lean_inc(x_416); +if (lean_is_exclusive(x_334)) { + lean_ctor_release(x_334, 0); + lean_ctor_release(x_334, 1); + x_417 = x_334; } else { - lean_dec_ref(x_331); - x_414 = lean_box(0); + lean_dec_ref(x_334); + x_417 = lean_box(0); } -x_415 = lean_ctor_get(x_332, 1); -lean_inc(x_415); -lean_dec(x_332); +x_418 = lean_ctor_get(x_335, 1); +lean_inc(x_418); +lean_dec(x_335); lean_inc(x_1); -x_416 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); -x_417 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__17___rarg(x_1, x_333); -if (lean_obj_tag(x_417) == 0) +x_419 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getStarResult___rarg(x_1); +x_420 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_DiscrTree_getUnify___spec__17___rarg(x_1, x_336); +if (lean_obj_tag(x_420) == 0) { -lean_object* x_418; -lean_dec(x_415); -lean_dec(x_329); +lean_object* x_421; +lean_dec(x_418); +lean_dec(x_331); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_is_scalar(x_414)) { - x_418 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_417)) { + x_421 = lean_alloc_ctor(0, 2, 0); } else { - x_418 = x_414; + x_421 = x_417; } -lean_ctor_set(x_418, 0, x_416); -lean_ctor_set(x_418, 1, x_413); -return x_418; +lean_ctor_set(x_421, 0, x_419); +lean_ctor_set(x_421, 1, x_416); +return x_421; } else { -lean_object* x_419; lean_object* x_420; lean_object* x_421; -lean_dec(x_414); -x_419 = lean_ctor_get(x_417, 0); -lean_inc(x_419); +lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_dec(x_417); -x_420 = lean_unsigned_to_nat(0u); -x_421 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_420, x_415, x_419, x_416, x_329, x_4, x_5, x_6, x_413); -if (lean_obj_tag(x_421) == 0) -{ -lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; -x_422 = lean_ctor_get(x_421, 0); +x_422 = lean_ctor_get(x_420, 0); lean_inc(x_422); -x_423 = lean_ctor_get(x_421, 1); -lean_inc(x_423); -if (lean_is_exclusive(x_421)) { - lean_ctor_release(x_421, 0); - lean_ctor_release(x_421, 1); - x_424 = x_421; -} else { - lean_dec_ref(x_421); - x_424 = lean_box(0); -} -if (lean_is_scalar(x_424)) { - x_425 = lean_alloc_ctor(0, 2, 0); -} else { - x_425 = x_424; -} -lean_ctor_set(x_425, 0, x_422); -lean_ctor_set(x_425, 1, x_423); -return x_425; -} -else +lean_dec(x_420); +x_423 = lean_unsigned_to_nat(0u); +x_424 = l_Lean_Meta_DiscrTree_getUnify_process___rarg(x_423, x_418, x_422, x_419, x_331, x_4, x_5, x_6, x_416); +if (lean_obj_tag(x_424) == 0) { -lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; -x_426 = lean_ctor_get(x_421, 0); +lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; +x_425 = lean_ctor_get(x_424, 0); +lean_inc(x_425); +x_426 = lean_ctor_get(x_424, 1); lean_inc(x_426); -x_427 = lean_ctor_get(x_421, 1); -lean_inc(x_427); -if (lean_is_exclusive(x_421)) { - lean_ctor_release(x_421, 0); - lean_ctor_release(x_421, 1); - x_428 = x_421; +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + x_427 = x_424; } else { - lean_dec_ref(x_421); - x_428 = lean_box(0); + lean_dec_ref(x_424); + x_427 = lean_box(0); } -if (lean_is_scalar(x_428)) { - x_429 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_427)) { + x_428 = lean_alloc_ctor(0, 2, 0); } else { - x_429 = x_428; + x_428 = x_427; } -lean_ctor_set(x_429, 0, x_426); -lean_ctor_set(x_429, 1, x_427); -return x_429; +lean_ctor_set(x_428, 0, x_425); +lean_ctor_set(x_428, 1, x_426); +return x_428; +} +else +{ +lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; +x_429 = lean_ctor_get(x_424, 0); +lean_inc(x_429); +x_430 = lean_ctor_get(x_424, 1); +lean_inc(x_430); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + x_431 = x_424; +} else { + lean_dec_ref(x_424); + x_431 = lean_box(0); +} +if (lean_is_scalar(x_431)) { + x_432 = lean_alloc_ctor(1, 2, 0); +} else { + x_432 = x_431; +} +lean_ctor_set(x_432, 0, x_429); +lean_ctor_set(x_432, 1, x_430); +return x_432; } } } @@ -18385,32 +18869,32 @@ return x_429; } else { -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; -lean_dec(x_329); +lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; +lean_dec(x_331); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_430 = lean_ctor_get(x_331, 0); -lean_inc(x_430); -x_431 = lean_ctor_get(x_331, 1); -lean_inc(x_431); -if (lean_is_exclusive(x_331)) { - lean_ctor_release(x_331, 0); - lean_ctor_release(x_331, 1); - x_432 = x_331; +x_433 = lean_ctor_get(x_334, 0); +lean_inc(x_433); +x_434 = lean_ctor_get(x_334, 1); +lean_inc(x_434); +if (lean_is_exclusive(x_334)) { + lean_ctor_release(x_334, 0); + lean_ctor_release(x_334, 1); + x_435 = x_334; } else { - lean_dec_ref(x_331); - x_432 = lean_box(0); + lean_dec_ref(x_334); + x_435 = lean_box(0); } -if (lean_is_scalar(x_432)) { - x_433 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_435)) { + x_436 = lean_alloc_ctor(1, 2, 0); } else { - x_433 = x_432; + x_436 = x_435; } -lean_ctor_set(x_433, 0, x_430); -lean_ctor_set(x_433, 1, x_431); -return x_433; +lean_ctor_set(x_436, 0, x_433); +lean_ctor_set(x_436, 1, x_434); +return x_436; } } } @@ -18632,6 +19116,7 @@ lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Meta_Basic(lean_object*); lean_object* initialize_Lean_Meta_FunInfo(lean_object*); lean_object* initialize_Lean_Meta_InferType(lean_object*); +lean_object* initialize_Lean_Meta_WHNF(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Meta_DiscrTree(lean_object* w) { lean_object * res; @@ -18649,6 +19134,9 @@ lean_dec_ref(res); res = initialize_Lean_Meta_InferType(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_WHNF(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Meta_DiscrTree_instLTKey = _init_l_Lean_Meta_DiscrTree_instLTKey(); lean_mark_persistent(l_Lean_Meta_DiscrTree_instLTKey); l_Lean_Meta_DiscrTree_Key_format___closed__1 = _init_l_Lean_Meta_DiscrTree_Key_format___closed__1(); diff --git a/stage0/stdlib/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index e7e9707d1e..2713d13ec9 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -316,7 +316,6 @@ static size_t l_Std_PersistentHashMap_containsAux___at___private_Lean_Meta_ExprD lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__2; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__7; -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__15(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Meta_CheckAssignment_assignToConstFun___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -554,6 +553,7 @@ lean_object* l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVa lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignmentQuick_check_visit_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__47___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -64508,7 +64508,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_63 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_4, x_5, x_6, x_7, x_62); +x_63 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_4, x_5, x_6, x_7, x_62); if (lean_obj_tag(x_63) == 0) { lean_object* x_64; lean_object* x_65; lean_object* x_66; @@ -64522,7 +64522,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_66 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_4, x_5, x_6, x_7, x_65); +x_66 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_4, x_5, x_6, x_7, x_65); if (lean_obj_tag(x_66) == 0) { lean_object* x_67; lean_object* x_68; uint8_t x_69; @@ -65125,7 +65125,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_181 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_4, x_5, x_6, x_7, x_180); +x_181 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_4, x_5, x_6, x_7, x_180); if (lean_obj_tag(x_181) == 0) { lean_object* x_182; lean_object* x_183; lean_object* x_184; @@ -65139,7 +65139,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_184 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_4, x_5, x_6, x_7, x_183); +x_184 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_4, x_5, x_6, x_7, x_183); if (lean_obj_tag(x_184) == 0) { lean_object* x_185; lean_object* x_186; uint8_t x_187; @@ -65759,7 +65759,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_304 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_4, x_5, x_6, x_7, x_303); +x_304 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_4, x_5, x_6, x_7, x_303); if (lean_obj_tag(x_304) == 0) { lean_object* x_305; lean_object* x_306; lean_object* x_307; @@ -65773,7 +65773,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_307 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_4, x_5, x_6, x_7, x_306); +x_307 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_4, x_5, x_6, x_7, x_306); if (lean_obj_tag(x_307) == 0) { lean_object* x_308; lean_object* x_309; uint8_t x_310; diff --git a/stage0/stdlib/Lean/Meta/Instances.c b/stage0/stdlib/Lean/Meta/Instances.c index 83f4bed1de..aa7ba4617d 100644 --- a/stage0/stdlib/Lean/Meta/Instances.c +++ b/stage0/stdlib/Lean/Meta/Instances.c @@ -1880,7 +1880,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_DiscrTree_insertCore___at_Lean_Meta_addInstanceEntry___spec__1___closed__2; x_2 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addInstanceEntry___spec__1___closed__3; -x_3 = lean_unsigned_to_nat(310u); +x_3 = lean_unsigned_to_nat(345u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addInstanceEntry___spec__1___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c index ff458703a3..5fb6f1b9e7 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c @@ -2218,7 +2218,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_DiscrTree_insertCore___at_Lean_Meta_addSimpLemmaEntry___spec__1___closed__2; x_2 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpLemmaEntry___spec__1___closed__3; -x_3 = lean_unsigned_to_nat(310u); +x_3 = lean_unsigned_to_nat(345u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpLemmaEntry___spec__1___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/UnificationHint.c b/stage0/stdlib/Lean/Meta/UnificationHint.c index c3a7cfe5ea..2529d78a17 100644 --- a/stage0/stdlib/Lean/Meta/UnificationHint.c +++ b/stage0/stdlib/Lean/Meta/UnificationHint.c @@ -2650,7 +2650,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_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__2; x_2 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__3; -x_3 = lean_unsigned_to_nat(310u); +x_3 = lean_unsigned_to_nat(345u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/WHNF.c b/stage0/stdlib/Lean/Meta/WHNF.c index 615f8b3424..41beb185e4 100644 --- a/stage0/stdlib/Lean/Meta/WHNF.c +++ b/stage0/stdlib/Lean/Meta/WHNF.c @@ -38,8 +38,8 @@ lean_object* l_Lean_Meta_getStuckMVar_x3f_match__2(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkSort(lean_object*); lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__2(lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__3; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__16; lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -47,6 +47,7 @@ lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__1(lean_object*, lean_object uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__6; +lean_object* l_Lean_Meta_whnfEasyCases_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNatValue(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -67,7 +68,6 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition(lean_ob static lean_object* l_Lean_Meta_toCtorIfLit___closed__13; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___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_WHNF_0__Lean_Meta_deltaBetaDefinition___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; static lean_object* l_Lean_Meta_toCtorIfLit___closed__23; lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__7; @@ -79,6 +79,7 @@ static lean_object* l_Lean_Meta_toCtorIfLit___closed__5; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_getConstNoEx_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNatValue___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_whnfEasyCases___closed__5; lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceBinNatPred(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -89,7 +90,6 @@ uint8_t l_Lean_Expr_isApp(lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__20; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_useWHNFCache_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isQuotRecStuck_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceRecMatcher_x3f___closed__2; static lean_object* l_Lean_Meta_toCtorIfLit___closed__10; @@ -98,29 +98,28 @@ uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_unfoldDefinition_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__5; -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_setWHNFRef___closed__1; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNat_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2; -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__1(lean_object*); +static lean_object* l_Lean_Meta_whnfEasyCases___closed__3; lean_object* l_Lean_List_toExprAux___at_Lean_Meta_toCtorIfLit___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__13; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec(lean_object*); lean_object* l_Lean_Meta_getConst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceMatcher_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ofExcept___at_Lean_Meta_reduceBoolNativeUnsafe___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfUntil___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__14; lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNatNative___rarg(lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__16; -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__6; @@ -134,8 +133,10 @@ lean_object* l_Lean_Meta_toCtorIfLit_match__1(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_13____closed__4; lean_object* l_Lean_Meta_reduceNatNative___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceBoolNative___rarg___closed__1; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_smartUnfoldingSuffix; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cache(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -147,10 +148,8 @@ lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean lean_object* l_Lean_Meta_isAuxDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec_match__3(lean_object*); lean_object* l_Lean_Meta_reduceBoolNative___rarg(lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); lean_object* l_Lean_Meta_getStuckMVar_x3f_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__7; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isRecStuck_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); @@ -176,12 +175,12 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_useWHNFCache(lean_object*, lean_object* l_Lean_Meta_reduceRecMatcher_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___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_Meta_toCtorIfLit___closed__3; -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_headBeta(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isRecStuck_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfHeadPred___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases_match__2(lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__20; lean_object* l_Lean_List_toExprAux___at_Lean_Meta_toCtorIfLit___spec__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); @@ -189,17 +188,16 @@ static lean_object* l_Lean_List_toExprAux___at_Lean_Meta_toCtorIfLit___spec__1__ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__10; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__10; +static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2; lean_object* l_Lean_getProjectionFnInfo_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldProjInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__2; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__11; -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4; lean_object* l_Lean_Meta_unfoldDefinition_x3f_match__1(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isQuotRecStuck_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); lean_object* l_Lean_Meta_reduceBinNatOp___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_49____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getStuckMVar_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_toCtorIfLit(lean_object*); @@ -210,36 +208,34 @@ lean_object* l_Lean_Meta_reduceUnaryNatOp(lean_object*, lean_object*, lean_objec uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ofExcept___at_Lean_Meta_reduceBoolNativeUnsafe___spec__2(lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_13____closed__1; lean_object* l_Lean_Meta_getDelayedAssignment_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__19; -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec_match__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2(lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_project_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__12; lean_object* l_Nat_mod___boxed(lean_object*, lean_object*); uint8_t l_Lean_ConstantInfo_hasValue(lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_List_toExprAux___at_Lean_Meta_toCtorIfLit___spec__1___closed__4; lean_object* l_Lean_Meta_whnfCore_match__2(lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__3; static lean_object* l_Lean_Meta_reduceBinNatOp___closed__7; -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases_match__1(lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceBoolNativeUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_Meta_reduceBinNatOp___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_List_toExprAux___at_Lean_Meta_toCtorIfLit___spec__1___closed__3; -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__3; static lean_object* l_Lean_Meta_toCtorIfLit___closed__9; static lean_object* l_Lean_Meta_smartUnfoldingSuffix___closed__1; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux(lean_object*); lean_object* l_Lean_Meta_reduceBinNatOp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -247,8 +243,6 @@ uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_13____closed__2; static lean_object* l_Lean_Meta_unfoldDefinition___closed__1; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__3(lean_object*); lean_object* l_Lean_Core_checkMaxHeartbeats(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getStuckMVar_x3f_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -268,17 +262,18 @@ static lean_object* l_Lean_Meta_reduceNative_x3f___closed__12; uint8_t l_Lean_Expr_isLambda(lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__8; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getFirstCtor_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2; +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__17; lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec__1(lean_object*); extern lean_object* l_Lean_projectionFnInfoExt; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_5643_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_13_(lean_object*); +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*); lean_object* l_Lean_Meta_reduceRecMatcher_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfUntilIdRhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RecursorVal_getInduct(lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__11; @@ -293,27 +288,28 @@ static lean_object* l_Lean_Meta_smartUnfolding___closed__1; lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNat_x3f___lambda__1(lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__21; -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f_match__1(lean_object*); lean_object* lean_instantiate_value_lparams(lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Lean_Meta_getStuckMVar_x3f_match__4(lean_object*); lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec_match__1(lean_object*); lean_object* l_Lean_Meta_getExprMVarAssignment_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux_match__1(lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceProj_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__2; static lean_object* l_Lean_Meta_toCtorIfLit___closed__8; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec(lean_object*); @@ -327,9 +323,9 @@ lean_object* l_Lean_Meta_toCtorIfLit_match__1___rarg(lean_object*, lean_object*, static lean_object* l_Lean_Meta_reduceNat_x3f___closed__13; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNatNativeUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_unfoldDefinition(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp(lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_unfoldDefinition_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__11; @@ -337,6 +333,7 @@ static lean_object* l_Lean_Meta_toCtorIfLit___closed__4; lean_object* l_Nat_mul___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_whnfRef; lean_object* l_Lean_Meta_synthPending(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3; lean_object* l_Lean_Meta_reduceBoolNative___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceMatcher_x3f___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_Meta_WHNF_0__Lean_Meta_cache___closed__2; @@ -346,6 +343,7 @@ lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__1___boxed(lean_object*, lea lean_object* l_Array_ofSubarray___rarg(lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__17; +static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; lean_object* l_Lean_Meta_reduceBinNatOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__11; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); @@ -362,10 +360,11 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec_match__1(lean lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_useWHNFCache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_unfoldDefinition_x3f_match__2(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getFirstCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_whnfEasyCases___closed__4; lean_object* l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__9; +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getTransparency(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__5; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceRecMatcher_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -378,6 +377,7 @@ lean_object* l_Lean_Meta_reduceNat_x3f___lambda__1___boxed(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldProjInst_match__1(lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__8; lean_object* l_Lean_Meta_reduceBinNatOp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfUntilIdRhs_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNative_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -395,15 +395,14 @@ static lean_object* l_Lean_Meta_toCtorIfLit___closed__19; lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_13____closed__5; uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK___spec__1(lean_object*, size_t, size_t); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2; lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__2; static lean_object* l_Lean_Meta_toCtorIfLit___closed__6; +lean_object* l_Lean_Meta_whnfEasyCases___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNatValue_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__15; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__18; lean_object* l_Lean_Meta_getStuckMVar_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux_match__2(lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_isAuxDef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -416,14 +415,12 @@ lean_object* l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instant lean_object* l_Lean_Meta_reduceBoolNativeUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__1; -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSmartUnfoldingNameFor(lean_object*); lean_object* l_Lean_indentExpr(lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1; +lean_object* l_Lean_Meta_whnfEasyCases_match__3(lean_object*); lean_object* l_Lean_Meta_reduceBoolNative(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasFVar(lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceRecMatcher_x3f_match__1(lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__5; static lean_object* l_Lean_Meta_toCtorIfLit___closed__22; @@ -435,7 +432,6 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK(lean_object*, l lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldProjInst_match__2(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_uint32_to_nat(uint32_t); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceBinNatOp___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNatNativeUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -449,6 +445,8 @@ lean_object* l_Lean_Meta_whnfCore_match__3___rarg(lean_object*, lean_object*, le static lean_object* l_Lean_Meta_reduceNative_x3f___closed__13; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__3; lean_object* l_Lean_Meta_reduceMatcher_x3f_match__1(lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_whnfEasyCases___closed__1; static lean_object* l_Lean_Meta_toCtorIfLit___closed__25; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getFirstCtor_match__1(lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -457,9 +455,11 @@ static lean_object* l_Lean_Meta_reduceBinNatOp___closed__9; lean_object* l_Lean_Meta_whnfUntil(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__6; lean_object* l_Lean_getProjectionFnInfo_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldProjInst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2; +static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1; +static lean_object* l_Lean_Meta_whnfEasyCases___closed__2; uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; static lean_object* l_Lean_Meta_unfoldDefinition___closed__3; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_13____closed__3; static lean_object* _init_l_Lean_Meta_smartUnfoldingSuffix___closed__1() { @@ -4676,7 +4676,7 @@ lean_dec(x_1); return x_9; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Meta_whnfEasyCases_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -4719,15 +4719,15 @@ return x_18; } } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__1(lean_object* x_1) { +lean_object* l_Lean_Meta_whnfEasyCases_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_whnfEasyCases_match__1___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Meta_whnfEasyCases_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -4750,15 +4750,15 @@ return x_7; } } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__2(lean_object* x_1) { +lean_object* l_Lean_Meta_whnfEasyCases_match__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__2___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_whnfEasyCases_match__2___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Lean_Meta_whnfEasyCases_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { switch (lean_obj_tag(x_1)) { @@ -5053,23 +5053,23 @@ return x_73; } } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__3(lean_object* x_1) { +lean_object* l_Lean_Meta_whnfEasyCases_match__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__3___rarg), 13, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_whnfEasyCases_match__3___rarg), 13, 0); return x_2; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_whnfEasyCases___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___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases(x_1, x_2, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_whnfEasyCases(x_1, x_2, x_4, x_5, x_6, x_7, x_8); return x_9; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___closed__1() { _start: { lean_object* x_1; @@ -5078,7 +5078,7 @@ lean_closure_set(x_1, 0, lean_box(0)); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___closed__2() { _start: { lean_object* x_1; @@ -5086,15 +5086,15 @@ x_1 = lean_mk_string("Lean.Meta.WHNF"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__3() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("_private.Lean.Meta.WHNF.0.Lean.Meta.whnfEasyCases"); +x_1 = lean_mk_string("Lean.Meta.whnfEasyCases"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___closed__4() { _start: { lean_object* x_1; @@ -5102,20 +5102,20 @@ x_1 = lean_mk_string("unreachable code has been reached"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__5() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___closed__5() { _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_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2; -x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__3; +x_1 = l_Lean_Meta_whnfEasyCases___closed__2; +x_2 = l_Lean_Meta_whnfEasyCases___closed__3; x_3 = lean_unsigned_to_nat(209u); x_4 = lean_unsigned_to_nat(26u); -x_5 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4; +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); return x_6; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Meta_whnfEasyCases(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -5124,8 +5124,8 @@ case 0: lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_dec(x_2); lean_dec(x_1); -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_9 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__5; +x_8 = l_Lean_Meta_whnfEasyCases___closed__1; +x_9 = l_Lean_Meta_whnfEasyCases___closed__5; x_10 = lean_panic_fn(x_8, x_9); x_11 = lean_apply_5(x_10, x_3, x_4, x_5, x_6, x_7); return x_11; @@ -5543,11 +5543,11 @@ return x_101; } } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_whnfEasyCases___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_whnfEasyCases___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); return x_9; } @@ -8135,20 +8135,20 @@ x_16 = lean_instantiate_value_lparams(x_2, x_3); x_17 = l_Lean_Expr_betaRev(x_16, x_4); lean_dec(x_16); x_18 = l___private_Lean_Meta_WHNF_0__Lean_Meta_extractIdRhs(x_17); -x_19 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_18, x_5, x_6, x_7, x_8, x_9); +x_19 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_18, x_5, x_6, x_7, x_8, x_9); return x_19; } } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___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* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___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) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_3, x_4, x_5, x_6, x_7); return x_8; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___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* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___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) { _start: { lean_object* x_8; @@ -8158,7 +8158,7 @@ lean_ctor_set(x_8, 1, x_7); return x_8; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -8166,20 +8166,20 @@ x_1 = lean_mk_string("Lean.Meta.whnfCore"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2; -x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1; +x_1 = l_Lean_Meta_whnfEasyCases___closed__2; +x_2 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1; x_3 = lean_unsigned_to_nat(373u); x_4 = lean_unsigned_to_nat(11u); -x_5 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4; +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); return x_6; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3() { _start: { lean_object* x_1; @@ -8187,7 +8187,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_whnfCore), 6, 0); return x_1; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___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* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___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) { _start: { switch (lean_obj_tag(x_1)) { @@ -8215,7 +8215,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_10); -x_11 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_10, x_3, x_4, x_5, x_6, x_7); +x_11 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_10, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -8269,7 +8269,7 @@ lean_dec(x_1); x_95 = lean_ctor_get(x_16, 0); lean_inc(x_95); lean_dec(x_16); -x_96 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_95, x_3, x_4, x_5, x_6, x_17); +x_96 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_95, x_3, x_4, x_5, x_6, x_17); return x_96; } block_92: @@ -8298,7 +8298,7 @@ lean_dec(x_19); x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); lean_dec(x_20); -x_23 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_22, x_3, x_4, x_5, x_6, x_21); +x_23 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_22, x_3, x_4, x_5, x_6, x_21); return x_23; } case 2: @@ -8315,7 +8315,7 @@ x_26 = lean_ctor_get(x_12, 1); lean_inc(x_26); lean_dec(x_12); lean_inc(x_18); -x_27 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2___boxed), 7, 1); +x_27 = lean_alloc_closure((void*)(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2___boxed), 7, 1); lean_closure_set(x_27, 0, x_18); x_28 = l_Lean_Meta_getConst_x3f(x_25, x_3, x_4, x_5, x_6, x_24); if (lean_obj_tag(x_28) == 0) @@ -8441,7 +8441,7 @@ x_56 = lean_unsigned_to_nat(1u); x_57 = lean_nat_sub(x_53, x_56); lean_dec(x_53); x_58 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_18, x_55, x_57); -x_59 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3; +x_59 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3; x_60 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_51, x_26, x_58, x_27, x_59, x_3, x_4, x_5, x_6, x_50); lean_dec(x_58); lean_dec(x_26); @@ -8466,7 +8466,7 @@ x_67 = lean_unsigned_to_nat(1u); x_68 = lean_nat_sub(x_64, x_67); lean_dec(x_64); x_69 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_18, x_66, x_68); -x_70 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3; +x_70 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3; x_71 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_62, x_26, x_69, x_27, x_70, x_3, x_4, x_5, x_6, x_61); lean_dec(x_69); lean_dec(x_26); @@ -8670,7 +8670,7 @@ x_104 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_103); x_105 = l_Lean_Expr_betaRev(x_12, x_104); lean_dec(x_104); lean_dec(x_12); -x_106 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_105, x_3, x_4, x_5, x_6, x_13); +x_106 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_105, x_3, x_4, x_5, x_6, x_13); return x_106; } } @@ -8714,7 +8714,7 @@ lean_dec(x_1); x_113 = lean_expr_instantiate1(x_112, x_111); lean_dec(x_111); lean_dec(x_112); -x_114 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_113, x_3, x_4, x_5, x_6, x_7); +x_114 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_113, x_3, x_4, x_5, x_6, x_7); return x_114; } case 11: @@ -8769,7 +8769,7 @@ lean_dec(x_115); x_122 = lean_ctor_get(x_116, 0); lean_inc(x_122); lean_dec(x_116); -x_123 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_122, x_3, x_4, x_5, x_6, x_121); +x_123 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_122, x_3, x_4, x_5, x_6, x_121); return x_123; } } @@ -8805,8 +8805,8 @@ default: { lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_dec(x_1); -x_128 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_129 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2; +x_128 = l_Lean_Meta_whnfEasyCases___closed__1; +x_129 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2; x_130 = lean_panic_fn(x_128, x_129); x_131 = lean_apply_5(x_130, x_3, x_4, x_5, x_6, x_7); return x_131; @@ -8814,7 +8814,7 @@ return x_131; } } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1() { _start: { lean_object* x_1; @@ -8822,17 +8822,17 @@ x_1 = lean_mk_string("Meta"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___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_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1; +x_2 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3() { _start: { lean_object* x_1; @@ -8840,17 +8840,17 @@ x_1 = lean_mk_string("whnf"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2; -x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; +x_1 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2; +x_2 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___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: { switch (lean_obj_tag(x_1)) { @@ -8858,8 +8858,8 @@ case 0: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_dec(x_1); -x_7 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__5; +x_7 = l_Lean_Meta_whnfEasyCases___closed__1; +x_8 = l_Lean_Meta_whnfEasyCases___closed__5; x_9 = lean_panic_fn(x_7, x_8); x_10 = lean_apply_5(x_9, x_2, x_3, x_4, x_5, x_6); return x_10; @@ -9226,7 +9226,7 @@ goto _start; case 4: { lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_94 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; +x_94 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; x_105 = lean_st_ref_get(x_5, x_6); x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); @@ -9270,7 +9270,7 @@ if (x_95 == 0) { lean_object* x_97; lean_object* x_98; x_97 = lean_box(0); -x_98 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_97, x_2, x_3, x_4, x_5, x_96); +x_98 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_97, x_2, x_3, x_4, x_5, x_96); return x_98; } else @@ -9285,7 +9285,7 @@ lean_inc(x_101); x_102 = lean_ctor_get(x_100, 1); lean_inc(x_102); lean_dec(x_100); -x_103 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_101, x_2, x_3, x_4, x_5, x_102); +x_103 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_101, x_2, x_3, x_4, x_5, x_102); lean_dec(x_101); return x_103; } @@ -9294,7 +9294,7 @@ return x_103; case 5: { lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; -x_116 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; +x_116 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; x_127 = lean_st_ref_get(x_5, x_6); x_128 = lean_ctor_get(x_127, 0); lean_inc(x_128); @@ -9338,7 +9338,7 @@ if (x_117 == 0) { lean_object* x_119; lean_object* x_120; x_119 = lean_box(0); -x_120 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_119, x_2, x_3, x_4, x_5, x_118); +x_120 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_119, x_2, x_3, x_4, x_5, x_118); return x_120; } else @@ -9353,7 +9353,7 @@ lean_inc(x_123); x_124 = lean_ctor_get(x_122, 1); lean_inc(x_124); lean_dec(x_122); -x_125 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_123, x_2, x_3, x_4, x_5, x_124); +x_125 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_123, x_2, x_3, x_4, x_5, x_124); lean_dec(x_123); return x_125; } @@ -9362,7 +9362,7 @@ return x_125; case 8: { lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; -x_138 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; +x_138 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; x_149 = lean_st_ref_get(x_5, x_6); x_150 = lean_ctor_get(x_149, 0); lean_inc(x_150); @@ -9406,7 +9406,7 @@ if (x_139 == 0) { lean_object* x_141; lean_object* x_142; x_141 = lean_box(0); -x_142 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_141, x_2, x_3, x_4, x_5, x_140); +x_142 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_141, x_2, x_3, x_4, x_5, x_140); return x_142; } else @@ -9421,7 +9421,7 @@ lean_inc(x_145); x_146 = lean_ctor_get(x_144, 1); lean_inc(x_146); lean_dec(x_144); -x_147 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_145, x_2, x_3, x_4, x_5, x_146); +x_147 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_145, x_2, x_3, x_4, x_5, x_146); lean_dec(x_145); return x_147; } @@ -9439,7 +9439,7 @@ goto _start; case 11: { lean_object* x_162; uint8_t x_163; lean_object* x_164; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_162 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; +x_162 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; x_173 = lean_st_ref_get(x_5, x_6); x_174 = lean_ctor_get(x_173, 0); lean_inc(x_174); @@ -9483,7 +9483,7 @@ if (x_163 == 0) { lean_object* x_165; lean_object* x_166; x_165 = lean_box(0); -x_166 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_165, x_2, x_3, x_4, x_5, x_164); +x_166 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_165, x_2, x_3, x_4, x_5, x_164); return x_166; } else @@ -9498,7 +9498,7 @@ lean_inc(x_169); x_170 = lean_ctor_get(x_168, 1); lean_inc(x_170); lean_dec(x_168); -x_171 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_169, x_2, x_3, x_4, x_5, x_170); +x_171 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_169, x_2, x_3, x_4, x_5, x_170); lean_dec(x_169); return x_171; } @@ -9523,7 +9523,7 @@ lean_object* l_Lean_Meta_whnfCore(lean_object* x_1, lean_object* x_2, lean_objec _start: { lean_object* x_7; -x_7 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; } } @@ -9538,20 +9538,20 @@ lean_dec(x_2); return x_10; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___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* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___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) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); return x_8; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___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* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___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) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -9560,11 +9560,11 @@ lean_dec(x_2); return x_8; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___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* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___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) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); return x_8; } @@ -9785,7 +9785,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_7 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_7) == 0) { lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -12434,7 +12434,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -12640,19 +12640,19 @@ _start: lean_object* x_8; lean_object* x_9; x_8 = lean_alloc_closure((void*)(l_Lean_Meta_whnfHeadPred___lambda__1), 7, 1); lean_closure_set(x_8, 0, x_2); -x_9 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Meta_whnfEasyCases(x_1, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___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* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___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) { _start: { lean_object* x_9; -x_9 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(x_1, x_2, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(x_1, x_2, x_4, x_5, x_6, x_7, x_8); return x_9; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { switch (lean_obj_tag(x_2)) { @@ -12660,8 +12660,8 @@ case 0: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_dec(x_2); -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_9 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__5; +x_8 = l_Lean_Meta_whnfEasyCases___closed__1; +x_9 = l_Lean_Meta_whnfEasyCases___closed__5; x_10 = lean_panic_fn(x_8, x_9); x_11 = lean_apply_5(x_10, x_3, x_4, x_5, x_6, x_7); return x_11; @@ -13032,7 +13032,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_95 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_7); +x_95 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_95) == 0) { uint8_t x_96; @@ -13280,7 +13280,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_133 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_7); +x_133 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_133) == 0) { uint8_t x_134; @@ -13528,7 +13528,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_171 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_7); +x_171 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_171) == 0) { uint8_t x_172; @@ -13785,7 +13785,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_211 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_7); +x_211 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_211) == 0) { uint8_t x_212; @@ -14045,7 +14045,7 @@ lean_object* l_Lean_Meta_whnfHeadPred___at_Lean_Meta_whnfUntil___spec__1(lean_ob _start: { lean_object* x_8; -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_8; } } @@ -14053,7 +14053,7 @@ lean_object* l_Lean_Meta_whnfUntil(lean_object* x_1, lean_object* x_2, lean_obje _start: { lean_object* x_8; -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(x_2, x_1, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(x_2, x_1, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { uint8_t x_9; @@ -14135,21 +14135,21 @@ return x_24; } } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___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* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___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) { _start: { lean_object* x_9; -x_9 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); lean_dec(x_1); return x_9; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); return x_8; } @@ -16782,7 +16782,7 @@ static lean_object* _init_l_Lean_Meta_reduceBinNatOp___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2; +x_1 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2; x_2 = l_Lean_Meta_reduceBinNatOp___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -16793,7 +16793,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_reduceBinNatOp___closed__2; -x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; +x_2 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -21242,11 +21242,11 @@ static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___c _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_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2; +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(569u); x_4 = lean_unsigned_to_nat(34u); -x_5 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4; +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); return x_6; } @@ -21386,7 +21386,7 @@ lean_dec(x_13); x_44 = lean_ctor_get(x_10, 1); lean_inc(x_44); lean_dec(x_10); -x_45 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_45 = l_Lean_Meta_whnfEasyCases___closed__1; x_46 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__2; x_47 = lean_panic_fn(x_45, x_46); x_48 = lean_apply_5(x_47, x_3, x_4, x_5, x_6, x_44); @@ -21419,11 +21419,11 @@ static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed _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_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2; +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(578u); x_4 = lean_unsigned_to_nat(34u); -x_5 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4; +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); return x_6; } @@ -21836,7 +21836,7 @@ lean_dec(x_2); x_110 = lean_ctor_get(x_10, 1); lean_inc(x_110); lean_dec(x_10); -x_111 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_111 = l_Lean_Meta_whnfEasyCases___closed__1; x_112 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__2; x_113 = lean_panic_fn(x_111, x_112); x_114 = lean_apply_5(x_113, x_4, x_5, x_6, x_7, x_110); @@ -21902,15 +21902,15 @@ x_10 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cache(x_9, x_2, x_3, x_4, x_5, x_ return x_10; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___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* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___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) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1(x_1, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1(x_1, x_3, x_4, x_5, x_6, x_7); return x_8; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___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: { switch (lean_obj_tag(x_1)) { @@ -21918,8 +21918,8 @@ case 0: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_dec(x_1); -x_7 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__5; +x_7 = l_Lean_Meta_whnfEasyCases___closed__1; +x_8 = l_Lean_Meta_whnfEasyCases___closed__5; x_9 = lean_panic_fn(x_7, x_8); x_10 = lean_apply_5(x_9, x_2, x_3, x_4, x_5, x_6); return x_10; @@ -22286,7 +22286,7 @@ goto _start; case 4: { lean_object* x_94; lean_object* x_95; -x_94 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; +x_94 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; x_95 = l_Lean_Core_checkMaxHeartbeats(x_94, x_4, x_5, x_6); if (lean_obj_tag(x_95) == 0) { @@ -22451,7 +22451,7 @@ lean_dec(x_147); x_166 = lean_ctor_get(x_144, 1); lean_inc(x_166); lean_dec(x_144); -x_167 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_167 = l_Lean_Meta_whnfEasyCases___closed__1; x_168 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__2; x_169 = lean_panic_fn(x_167, x_168); lean_inc(x_5); @@ -22513,7 +22513,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_102 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_101); +x_102 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_101); if (lean_obj_tag(x_102) == 0) { lean_object* x_103; lean_object* x_104; lean_object* x_105; @@ -22785,7 +22785,7 @@ return x_195; case 5: { lean_object* x_196; lean_object* x_197; -x_196 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; +x_196 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; x_197 = l_Lean_Core_checkMaxHeartbeats(x_196, x_4, x_5, x_6); if (lean_obj_tag(x_197) == 0) { @@ -22950,7 +22950,7 @@ lean_dec(x_249); x_268 = lean_ctor_get(x_246, 1); lean_inc(x_268); lean_dec(x_246); -x_269 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_269 = l_Lean_Meta_whnfEasyCases___closed__1; x_270 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__2; x_271 = lean_panic_fn(x_269, x_270); lean_inc(x_5); @@ -23012,7 +23012,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_204 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_203); +x_204 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_203); if (lean_obj_tag(x_204) == 0) { lean_object* x_205; lean_object* x_206; lean_object* x_207; @@ -23284,7 +23284,7 @@ return x_297; case 8: { lean_object* x_298; lean_object* x_299; -x_298 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; +x_298 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; x_299 = l_Lean_Core_checkMaxHeartbeats(x_298, x_4, x_5, x_6); if (lean_obj_tag(x_299) == 0) { @@ -23449,7 +23449,7 @@ lean_dec(x_351); x_370 = lean_ctor_get(x_348, 1); lean_inc(x_370); lean_dec(x_348); -x_371 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_371 = l_Lean_Meta_whnfEasyCases___closed__1; x_372 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__2; x_373 = lean_panic_fn(x_371, x_372); lean_inc(x_5); @@ -23511,7 +23511,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_306 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_305); +x_306 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_305); if (lean_obj_tag(x_306) == 0) { lean_object* x_307; lean_object* x_308; lean_object* x_309; @@ -23792,7 +23792,7 @@ goto _start; case 11: { lean_object* x_402; lean_object* x_403; -x_402 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; +x_402 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3; x_403 = l_Lean_Core_checkMaxHeartbeats(x_402, x_4, x_5, x_6); if (lean_obj_tag(x_403) == 0) { @@ -23957,7 +23957,7 @@ lean_dec(x_455); x_474 = lean_ctor_get(x_452, 1); lean_inc(x_474); lean_dec(x_452); -x_475 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_475 = l_Lean_Meta_whnfEasyCases___closed__1; x_476 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__2; x_477 = lean_panic_fn(x_475, x_476); lean_inc(x_5); @@ -24019,7 +24019,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_410 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_409); +x_410 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_409); if (lean_obj_tag(x_410) == 0) { lean_object* x_411; lean_object* x_412; lean_object* x_413; @@ -24307,15 +24307,15 @@ lean_object* l_Lean_Meta_whnfImp(lean_object* x_1, lean_object* x_2, lean_object _start: { lean_object* x_7; -x_7 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___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* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___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) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); return x_8; } @@ -24359,7 +24359,7 @@ lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_5643_(lean_object* x _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; +x_2 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -24484,34 +24484,34 @@ l_Lean_Meta_toCtorIfLit___closed__24 = _init_l_Lean_Meta_toCtorIfLit___closed__2 lean_mark_persistent(l_Lean_Meta_toCtorIfLit___closed__24); l_Lean_Meta_toCtorIfLit___closed__25 = _init_l_Lean_Meta_toCtorIfLit___closed__25(); lean_mark_persistent(l_Lean_Meta_toCtorIfLit___closed__25); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__3 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__3); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__5 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__5(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__5); +l_Lean_Meta_whnfEasyCases___closed__1 = _init_l_Lean_Meta_whnfEasyCases___closed__1(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___closed__1); +l_Lean_Meta_whnfEasyCases___closed__2 = _init_l_Lean_Meta_whnfEasyCases___closed__2(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___closed__2); +l_Lean_Meta_whnfEasyCases___closed__3 = _init_l_Lean_Meta_whnfEasyCases___closed__3(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___closed__3); +l_Lean_Meta_whnfEasyCases___closed__4 = _init_l_Lean_Meta_whnfEasyCases___closed__4(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___closed__4); +l_Lean_Meta_whnfEasyCases___closed__5 = _init_l_Lean_Meta_whnfEasyCases___closed__5(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___closed__5); l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__1 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__1(); lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__1); l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__2 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__2(); lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__2); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4); +l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1); +l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2); +l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3); +l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1); +l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2); +l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3); +l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4); l_Lean_Meta_unfoldDefinition___closed__1 = _init_l_Lean_Meta_unfoldDefinition___closed__1(); lean_mark_persistent(l_Lean_Meta_unfoldDefinition___closed__1); l_Lean_Meta_unfoldDefinition___closed__2 = _init_l_Lean_Meta_unfoldDefinition___closed__2(); diff --git a/stage0/stdlib/Lean/ParserCompiler.c b/stage0/stdlib/Lean/ParserCompiler.c index 4fea18e593..8da4888423 100644 --- a/stage0/stdlib/Lean/ParserCompiler.c +++ b/stage0/stdlib/Lean/ParserCompiler.c @@ -187,7 +187,6 @@ lean_object* l_Lean_ParserCompiler_CombinatorAttribute_setDeclFor(lean_object*, lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__28(lean_object*); static lean_object* l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__29; -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); static lean_object* l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__13; lean_object* l_Lean_ParserCompiler_compileParserExpr_match__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -303,6 +302,7 @@ lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__7(lean_obj lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__28___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*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__45(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__23(lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__48(lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -20621,7 +20621,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_9 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; diff --git a/stage0/stdlib/Std/Data/RBMap.c b/stage0/stdlib/Std/Data/RBMap.c index 7fdf82b87e..1faefe018a 100644 --- a/stage0/stdlib/Std/Data/RBMap.c +++ b/stage0/stdlib/Std/Data/RBMap.c @@ -83,6 +83,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Std_RBMap_max_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBMap_instReprRBMap___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_RBMap_find_x21___rarg___closed__3; +lean_object* l_Std_RBMap_max_x21_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_balRight_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_balance2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_revFold___rarg(lean_object*, lean_object*, lean_object*); @@ -278,6 +279,7 @@ lean_object* l_Std_RBMap_foldM(lean_object*, lean_object*, lean_object*, lean_ob lean_object* l_Std_RBNode_fold___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBMap_isEmpty(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_lowerBound_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_RBMap_max_x21_match__1(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_fold(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBMap_max___rarg(lean_object*); lean_object* l_Std_RBNode_foldM___at_Std_RBMap_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -21876,6 +21878,37 @@ lean_dec(x_3); return x_4; } } +lean_object* l_Std_RBMap_max_x21_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Std_RBMap_max_x21_match__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_RBMap_max_x21_match__1___rarg), 3, 0); +return x_4; +} +} static lean_object* _init_l_Std_RBMap_max_x21___rarg___closed__1() { _start: {