From 5c20467600cb89305f760e83bbffdd3da9b50fea Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Wed, 25 Nov 2020 08:32:22 -0800 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Prelude.lean | 404 +- stage0/src/Lean/Delaborator.lean | 72 +- stage0/src/Lean/Elab/DefView.lean | 2 +- stage0/src/Lean/Meta/Instances.lean | 30 +- stage0/stdlib/CMakeLists.txt | 2 +- stage0/stdlib/Init/Prelude.c | 38 +- stage0/stdlib/Lean/CoreM.c | 139 +- stage0/stdlib/Lean/Delaborator.c | 2335 ++- stage0/stdlib/Lean/Elab/App.c | 4 +- stage0/stdlib/Lean/Elab/Command.c | 114 +- stage0/stdlib/Lean/Elab/DefView.c | 71 +- stage0/stdlib/Lean/Elab/Do.c | 12133 ++++++++-------- stage0/stdlib/Lean/Elab/Inductive.c | 6 +- stage0/stdlib/Lean/Elab/Level.c | 86 +- stage0/stdlib/Lean/Elab/MutualDef.c | 8 +- stage0/stdlib/Lean/Elab/PreDefinition/Main.c | 12 +- .../Lean/Elab/PreDefinition/Structural.c | 4 +- stage0/stdlib/Lean/Elab/SyntheticMVars.c | 236 +- stage0/stdlib/Lean/Elab/Tactic/Basic.c | 1668 ++- stage0/stdlib/Lean/Elab/Tactic/Generalize.c | 1330 +- stage0/stdlib/Lean/Elab/Tactic/Induction.c | 932 +- stage0/stdlib/Lean/Elab/Tactic/Injection.c | 728 +- stage0/stdlib/Lean/Elab/Tactic/Rewrite.c | 4 +- stage0/stdlib/Lean/Elab/Term.c | 540 +- stage0/stdlib/Lean/Meta/AppBuilder.c | 4 +- stage0/stdlib/Lean/Meta/Basic.c | 930 +- stage0/stdlib/Lean/Meta/Closure.c | 114 +- stage0/stdlib/Lean/Meta/ExprDefEq.c | 22 +- stage0/stdlib/Lean/Meta/LevelDefEq.c | 16 +- stage0/stdlib/Lean/Meta/Match/CaseValues.c | 4 +- stage0/stdlib/Lean/Meta/Match/Match.c | 8 +- stage0/stdlib/Lean/Meta/SynthInstance.c | 299 +- stage0/stdlib/Lean/Meta/Tactic/Intro.c | 10 +- stage0/stdlib/Lean/Meta/Transform.c | 192 +- stage0/stdlib/Lean/Meta/WHNF.c | 6 +- stage0/stdlib/Lean/MetavarContext.c | 57 +- stage0/stdlib/Lean/Parser/Command.c | 16 +- stage0/stdlib/Lean/Parser/Do.c | 158 +- stage0/stdlib/Lean/Parser/Extra.c | 905 +- stage0/stdlib/Lean/Parser/Module.c | 20 +- stage0/stdlib/Lean/Parser/Syntax.c | 12 +- stage0/stdlib/Lean/Parser/Term.c | 56 +- stage0/stdlib/Lean/Parser/Transform.c | 1588 ++ stage0/stdlib/Lean/ParserCompiler.c | 341 +- stage0/stdlib/Lean/PrettyPrinter/Formatter.c | 159 +- .../stdlib/Lean/PrettyPrinter/Parenthesizer.c | 159 +- stage0/stdlib/Lean/Server/ServerBin.c | 330 + 47 files changed, 15062 insertions(+), 11242 deletions(-) create mode 100644 stage0/stdlib/Lean/Parser/Transform.c create mode 100644 stage0/stdlib/Lean/Server/ServerBin.c diff --git a/stage0/src/Init/Prelude.lean b/stage0/src/Init/Prelude.lean index aee2842854..3a3028457c 100644 --- a/stage0/src/Init/Prelude.lean +++ b/stage0/src/Init/Prelude.lean @@ -54,12 +54,12 @@ unsafe axiom lcProof {α : Prop} : α /-- Auxiliary unsafe constant used by the Compiler to mark unreachable code. -/ unsafe axiom lcUnreachable {α : Sort u} : α -inductive True : Prop := +inductive True : Prop where | intro : True -inductive False : Prop := +inductive False : Prop -inductive Empty : Type := +inductive Empty : Type def Not (a : Prop) : Prop := a → False @@ -69,7 +69,7 @@ def Not (a : Prop) : Prop := a → False @[macroInline] def absurd {a : Prop} {b : Sort v} (h₁ : a) (h₂ : Not a) : b := False.elim (h₂ h₁) -inductive Eq {α : Sort u} (a : α) : α → Prop := +inductive Eq {α : Sort u} (a : α) : α → Prop where | refl {} : Eq a a abbrev Eq.ndrec.{u1, u2} {α : Sort u2} {a : α} {motive : α → Sort u1} (m : motive a) {b : α} (h : Eq a b) : motive b := @@ -104,7 +104,7 @@ constant Quot.ind {α : Sort u} {r : α → α → Prop} {β : Quot r → Prop} -/ init_quot -inductive HEq {α : Sort u} (a : α) : {β : Sort u} → β → Prop := +inductive HEq {α : Sort u} (a : α) : {β : Sort u} → β → Prop where | refl {} : HEq a a @[matchPattern] def HEq.rfl {α : Sort u} {a : α} : HEq a a := @@ -118,28 +118,31 @@ theorem eqOfHEq {α : Sort u} {a a' : α} (h : HEq a a') : Eq a a' := h₁ this α α a a' h rfl -structure Prod (α : Type u) (β : Type v) := - (fst : α) (snd : β) +structure Prod (α : Type u) (β : Type v) where + fst : α + snd : β attribute [unbox] Prod /-- Similar to `Prod`, but `α` and `β` can be propositions. We use this Type internally to automatically generate the brecOn recursor. -/ -structure PProd (α : Sort u) (β : Sort v) := - (fst : α) (snd : β) +structure PProd (α : Sort u) (β : Sort v) where + fst : α + snd : β /-- Similar to `Prod`, but `α` and `β` are in the same universe. -/ -structure MProd (α β : Type u) := - (fst : α) (snd : β) +structure MProd (α β : Type u) where + fst : α + snd : β -structure And (a b : Prop) : Prop := +structure And (a b : Prop) : Prop where intro :: (left : a) (right : b) -inductive Or (a b : Prop) : Prop := +inductive Or (a b : Prop) : Prop where | inl (h : a) : Or a b | inr (h : b) : Or a b -inductive Bool : Type := +inductive Bool : Type where | false : Bool | true : Bool @@ -180,7 +183,7 @@ theorem neTrueOfEqFalse : {b : Bool} → Eq b false → Not (Eq b true) | true, h => Bool.noConfusion h | false, _ => fun h => Bool.noConfusion h -class Inhabited (α : Sort u) := +class Inhabited (α : Sort u) where mk {} :: (default : α) constant arbitrary (α : Sort u) [s : Inhabited α] : α := @@ -196,7 +199,7 @@ instance (α : Sort u) {β : α → Sort v} [(a : α) → Inhabited (β a)] : In default := fun a => arbitrary (β a) /-- Universe lifting operation from Sort to Type -/ -structure PLift (α : Sort u) : Type u := +structure PLift (α : Sort u) : Type u where up :: (down : α) /- Bijection between α and PLift α -/ @@ -207,7 +210,7 @@ theorem PLift.downUp {α : Sort u} (a : α) : Eq (down (up a)) a := rfl /- Pointed types -/ -structure PointedType := +structure PointedType where (type : Type u) (val : type) @@ -215,7 +218,7 @@ instance : Inhabited PointedType.{u} where default := { type := PUnit.{u+1}, val := ⟨⟩ } /-- Universe lifting operation -/ -structure ULift.{r, s} (α : Type s) : Type (max s r) := +structure ULift.{r, s} (α : Type s) : Type (max s r) where up :: (down : α) /- Bijection between α and ULift.{v} α -/ @@ -225,7 +228,7 @@ theorem ULift.upDown {α : Type u} : ∀ (b : ULift.{v} α), Eq (up (down b)) b theorem ULift.downUp {α : Type u} (a : α) : Eq (down (up.{v} a)) a := rfl -class inductive Decidable (p : Prop) := +class inductive Decidable (p : Prop) where | isFalse (h : Not p) : Decidable p | isTrue (h : p) : Decidable p @@ -271,7 +274,8 @@ theorem ofDecideEqFalse {p : Prop} [s : Decidable p] : Eq (decide p) false → N | true, false => isFalse (fun h => Bool.noConfusion h) | true, true => isTrue rfl -class BEq (α : Type u) := (beq : α → α → Bool) +class BEq (α : Type u) where + beq : α → α → Bool open BEq (beq) @@ -331,13 +335,13 @@ instance {p} [dp : Decidable p] : Decidable (Not p) := | true => false | false => true -inductive Nat := +inductive Nat where | zero : Nat | succ (n : Nat) : Nat /- For numeric literals notation -/ -class OfNat (α : Type u) := - (ofNat : Nat → α) +class OfNat (α : Type u) where + ofNat : Nat → α export OfNat (ofNat) @@ -348,23 +352,23 @@ instance : OfNat Nat where instance : Inhabited Nat where default := 0 -class HasLessEq (α : Type u) := (LessEq : α → α → Prop) -class HasLess (α : Type u) := (Less : α → α → Prop) +class HasLessEq (α : Type u) where LessEq : α → α → Prop +class HasLess (α : Type u) where Less : α → α → Prop export HasLess (Less) export HasLessEq (LessEq) -class Add (α : Type u) := (add : α → α → α) -class Mul (α : Type u) := (mul : α → α → α) -class Neg (α : Type u) := (neg : α → α) -class Sub (α : Type u) := (sub : α → α → α) -class Div (α : Type u) := (div : α → α → α) -class Mod (α : Type u) := (mod : α → α → α) -class ModN (α : Type u) := (modn : α → Nat → α) -class Pow (α : Type u) (β : Type v) := (pow : α → β → α) -class Append (α : Type u) := (append : α → α → α) -class OrElse (α : Type u) := (orElse : α → α → α) -class AndThen (α : Type u) := (andThen : α → α → α) +class Add (α : Type u) where add : α → α → α +class Mul (α : Type u) where mul : α → α → α +class Neg (α : Type u) where neg : α → α +class Sub (α : Type u) where sub : α → α → α +class Div (α : Type u) where div : α → α → α +class Mod (α : Type u) where mod : α → α → α +class ModN (α : Type u) where modn : α → Nat → α +class Pow (α : Type u) (β : Type v) where pow : α → β → α +class Append (α : Type u) where append : α → α → α +class OrElse (α : Type u) where orElse : α → α → α +class AndThen (α : Type u) where andThen : α → α → α open Add (add) open Mul (mul) @@ -449,12 +453,14 @@ def Nat.ble : Nat → Nat → Bool protected def Nat.le (n m : Nat) : Prop := Eq (ble n m) true -instance : HasLessEq Nat := ⟨Nat.le⟩ +instance : HasLessEq Nat where + LessEq := Nat.le protected def Nat.lt (n m : Nat) : Prop := Nat.le (succ n) m -instance : HasLess Nat := ⟨Nat.lt⟩ +instance : HasLess Nat where + Less := Nat.lt theorem Nat.notSuccLeZero : ∀ (n : Nat), LessEq (succ n) 0 → False | 0, h => nomatch h @@ -584,9 +590,9 @@ def System.Platform.numBits : Nat := theorem System.Platform.numBitsEq : Or (Eq numBits 32) (Eq numBits 64) := (getNumBits ()).property -structure Fin (n : Nat) := - (val : Nat) - (isLt : Less val n) +structure Fin (n : Nat) where + val : Nat + isLt : Less val n theorem Fin.eqOfVeq {n} : ∀ {i j : Fin n}, Eq i.val j.val → Eq i j | ⟨v, h⟩, ⟨_, _⟩, rfl => rfl @@ -603,18 +609,18 @@ instance (n : Nat) : DecidableEq (Fin n) := | isTrue h => isTrue (Fin.eqOfVeq h) | isFalse h => isFalse (Fin.neOfVne h) -protected def Fin.lt {n} (a b : Fin n) : Prop := Less a.val b.val -protected def Fin.le {n} (a b : Fin n) : Prop := LessEq a.val b.val +instance {n} : HasLess (Fin n) where + Less a b := Less a.val b.val -instance {n} : HasLess (Fin n) := ⟨Fin.lt⟩ -instance {n} : HasLessEq (Fin n) := ⟨Fin.le⟩ +instance {n} : HasLessEq (Fin n) where + LessEq a b := LessEq a.val b.val instance Fin.decLt {n} (a b : Fin n) : Decidable (Less a b) := Nat.decLt .. instance Fin.decLe {n} (a b : Fin n) : Decidable (LessEq a b) := Nat.decLe .. def UInt8.size : Nat := 256 -structure UInt8 := - (val : Fin UInt8.size) +structure UInt8 where + val : Fin UInt8.size attribute [extern "lean_uint8_of_nat"] UInt8.mk attribute [extern "lean_uint8_to_nat"] UInt8.val @@ -637,8 +643,8 @@ instance : Inhabited UInt8 where default := UInt8.ofNatCore 0 decide! def UInt16.size : Nat := 65536 -structure UInt16 := - (val : Fin UInt16.size) +structure UInt16 where + val : Fin UInt16.size attribute [extern "lean_uint16_of_nat"] UInt16.mk attribute [extern "lean_uint16_to_nat"] UInt16.val @@ -661,8 +667,8 @@ instance : Inhabited UInt16 where default := UInt16.ofNatCore 0 decide! def UInt32.size : Nat := 4294967296 -structure UInt32 := - (val : Fin UInt32.size) +structure UInt32 where + val : Fin UInt32.size attribute [extern "lean_uint32_of_nat"] UInt32.mk attribute [extern "lean_uint32_to_nat"] UInt32.val @@ -687,11 +693,11 @@ instance : DecidableEq UInt32 := UInt32.decEq instance : Inhabited UInt32 where default := UInt32.ofNatCore 0 decide! -def UInt32.lt (a b : UInt32) : Prop := Less a.val b.val -def UInt32.le (a b : UInt32) : Prop := LessEq a.val b.val +instance : HasLess UInt32 where + Less a b := Less a.val b.val -instance : HasLess UInt32 := ⟨UInt32.lt⟩ -instance : HasLessEq UInt32 := ⟨UInt32.le⟩ +instance : HasLessEq UInt32 where + LessEq a b := LessEq a.val b.val set_option bootstrap.gen_matcher_code false in @[extern c inline "#1 < #2"] @@ -709,8 +715,8 @@ instance (a b : UInt32) : Decidable (Less a b) := UInt32.decLt a b instance (a b : UInt32) : Decidable (LessEq a b) := UInt32.decLe a b def UInt64.size : Nat := 18446744073709551616 -structure UInt64 := - (val : Fin UInt64.size) +structure UInt64 where + val : Fin UInt64.size attribute [extern "lean_uint64_of_nat"] UInt64.mk attribute [extern "lean_uint64_to_nat"] UInt64.val @@ -740,8 +746,8 @@ theorem usizeSzEq : Or (Eq USize.size 4294967296) (Eq USize.size 184467440737095 | _, Or.inl rfl => Or.inl (decide! : (Eq (pow 2 32) (4294967296:Nat))) | _, Or.inr rfl => Or.inr (decide! : (Eq (pow 2 64) (18446744073709551616:Nat))) -structure USize := - (val : Fin USize.size) +structure USize where + val : Fin USize.size attribute [extern "lean_usize_of_nat"] USize.mk attribute [extern "lean_usize_to_nat"] USize.val @@ -783,9 +789,9 @@ abbrev UInt32.isValidChar (n : UInt32) : Prop := /-- The `Char` Type represents an unicode scalar value. See http://www.unicode.org/glossary/#unicode_scalar_value). -/ -structure Char := - (val : UInt32) - (valid : val.isValidChar) +structure Char where + val : UInt32 + valid : val.isValidChar private theorem validCharIsUInt32 {n : Nat} (h : n.isValidChar) : Less n UInt32.size := match h with @@ -830,7 +836,7 @@ def Char.utf8Size (c : Char) : UInt32 := (UInt32.ofNatCore 3 decide!) (UInt32.ofNatCore 4 decide!))) -inductive Option (α : Type u) := +inductive Option (α : Type u) where | none : Option α | some (val : α) : Option α @@ -841,7 +847,7 @@ export Option (none some) instance {α} : Inhabited (Option α) where default := none -inductive List (α : Type u) := +inductive List (α : Type u) where | nil : List α | cons (head : α) (tail : List α) : List α @@ -892,8 +898,8 @@ def List.get {α : Type u} : (as : List α) → (i : Nat) → Less i as.length have Less i.succ as.length.succ from lengthConsEq .. ▸ h get as i (Nat.leOfSuccLeSucc this) -structure String := - (data : List Char) +structure String where + data : List Char attribute [extern "lean_string_mk"] String.mk attribute [extern "lean_string_data"] String.data @@ -913,10 +919,10 @@ Indexing a `String` by a byte position is constant-time, while codepoint positions need to be translated internally to byte positions in linear-time. -/ abbrev String.Pos := Nat -structure Substring := - (str : String) - (startPos : String.Pos) - (stopPos : String.Pos) +structure Substring where + str : String + startPos : String.Pos + stopPos : String.Pos def String.csize (c : Char) : Nat := c.utf8Size.toNat @@ -949,8 +955,8 @@ constant panic {α : Type u} [Inhabited α] (msg : String) : α The Compiler has special support for arrays. They are implemented using dynamic arrays: https://en.wikipedia.org/wiki/Dynamic_array -/ -structure Array (α : Type u) := - (data : List α) +structure Array (α : Type u) where + data : List α attribute [extern "lean_array_to_list"] Array.data attribute [extern "lean_list_to_array"] Array.mk @@ -996,56 +1002,58 @@ protected def Array.appendCore {α : Type u} (as : Array α) (bs : Array α) : (fun _ => as) loop bs.size 0 as -class Bind (m : Type u → Type v) := - (bind : {α β : Type u} → m α → (α → m β) → m β) +class Bind (m : Type u → Type v) where + bind : {α β : Type u} → m α → (α → m β) → m β export Bind (bind) -class Pure (f : Type u → Type v) := - (pure {α : Type u} : α → f α) +class Pure (f : Type u → Type v) where + pure {α : Type u} : α → f α export Pure (pure) -class Functor (f : Type u → Type v) : Type (max (u+1) v) := - (map : {α β : Type u} → (α → β) → f α → f β) - (mapConst : {α β : Type u} → α → f β → f α := Function.comp map (Function.const _)) +class Functor (f : Type u → Type v) : Type (max (u+1) v) where + map : {α β : Type u} → (α → β) → f α → f β + mapConst : {α β : Type u} → α → f β → f α := Function.comp map (Function.const _) -class Seq (f : Type u → Type v) : Type (max (u+1) v) := - (seq : {α β : Type u} → f (α → β) → f α → f β) +class Seq (f : Type u → Type v) : Type (max (u+1) v) where + seq : {α β : Type u} → f (α → β) → f α → f β -class SeqLeft (f : Type u → Type v) : Type (max (u+1) v) := - (seqLeft : {α : Type u} → f α → f PUnit → f α) +class SeqLeft (f : Type u → Type v) : Type (max (u+1) v) where + seqLeft : {α : Type u} → f α → f PUnit → f α -class SeqRight (f : Type u → Type v) : Type (max (u+1) v) := - (seqRight : {β : Type u} → f PUnit → f β → f β) +class SeqRight (f : Type u → Type v) : Type (max (u+1) v) where + seqRight : {β : Type u} → f PUnit → f β → f β -class Applicative (f : Type u → Type v) extends Functor f, Pure f, Seq f, SeqLeft f, SeqRight f := - (map := fun x y => Seq.seq (pure x) y) - (seqLeft := fun a b => Seq.seq (Functor.map (Function.const _) a) b) - (seqRight := fun a b => Seq.seq (Functor.map (Function.const _ id) a) b) +class Applicative (f : Type u → Type v) extends Functor f, Pure f, Seq f, SeqLeft f, SeqRight f where + map := fun x y => Seq.seq (pure x) y + seqLeft := fun a b => Seq.seq (Functor.map (Function.const _) a) b + seqRight := fun a b => Seq.seq (Functor.map (Function.const _ id) a) b -class Monad (m : Type u → Type v) extends Applicative m, Bind m : Type (max (u+1) v) := - (map := fun f x => bind x (Function.comp pure f)) - (seq := fun f x => bind f (fun y => Functor.map y x)) - (seqLeft := fun x y => bind x (fun a => bind y (fun _ => pure a))) - (seqRight := fun x y => bind x (fun _ => y)) +class Monad (m : Type u → Type v) extends Applicative m, Bind m : Type (max (u+1) v) where + map := fun f x => bind x (Function.comp pure f) + seq := fun f x => bind f fun y => Functor.map y x + seqLeft := fun x y => bind x fun a => bind y (fun _ => pure a) + seqRight := fun x y => bind x fun _ => y -instance {α : Type u} {m : Type u → Type v} [Monad m] : Inhabited (α → m α) := ⟨pure⟩ +instance {α : Type u} {m : Type u → Type v} [Monad m] : Inhabited (α → m α) where + default := pure -instance {α : Type u} {m : Type u → Type v} [Monad m] [Inhabited α] : Inhabited (m α) := ⟨pure (arbitrary _)⟩ +instance {α : Type u} {m : Type u → Type v} [Monad m] [Inhabited α] : Inhabited (m α) where + default := pure (arbitrary _) /-- A Function for lifting a computation from an inner Monad to an outer Monad. Like [MonadTrans](https://hackage.haskell.org/package/transformers-0.5.5.0/docs/Control-Monad-Trans-Class.html), but `n` does not have to be a monad transformer. Alternatively, an implementation of [MonadLayer](https://hackage.haskell.org/package/layers-0.1/docs/Control-Monad-Layer.html#t:MonadLayer) without `layerInvmap` (so far). -/ -class MonadLift (m : Type u → Type v) (n : Type u → Type w) := - (monadLift : {α : Type u} → m α → n α) +class MonadLift (m : Type u → Type v) (n : Type u → Type w) where + monadLift : {α : Type u} → m α → n α /-- The reflexive-transitive closure of `MonadLift`. `monadLift` is used to transitively lift monadic computations such as `StateT.get` or `StateT.put s`. Corresponds to [MonadLift](https://hackage.haskell.org/package/layers-0.1/docs/Control-Monad-Layer.html#t:MonadLift). -/ -class MonadLiftT (m : Type u → Type v) (n : Type u → Type w) := - (monadLift : {α : Type u} → m α → n α) +class MonadLiftT (m : Type u → Type v) (n : Type u → Type w) where + monadLift : {α : Type u} → m α → n α export MonadLiftT (monadLift) @@ -1061,13 +1069,13 @@ instance (m) : MonadLiftT m m where Based on pipes' [MFunctor](https://hackage.haskell.org/package/pipes-2.4.0/docs/Control-MFunctor.html), but not restricted to monad transformers. Alternatively, an implementation of [MonadTransFunctor](http://duairc.netsoc.ie/layers-docs/Control-Monad-Layer.html#t:MonadTransFunctor). -/ -class MonadFunctor (m : Type u → Type v) (n : Type u → Type w) := - (monadMap {α : Type u} : (∀ {β}, m β → m β) → n α → n α) +class MonadFunctor (m : Type u → Type v) (n : Type u → Type w) where + monadMap {α : Type u} : (∀ {β}, m β → m β) → n α → n α /-- The reflexive-transitive closure of `MonadFunctor`. `monadMap` is used to transitively lift Monad morphisms -/ -class MonadFunctorT (m : Type u → Type v) (n : Type u → Type w) := - (monadMap {α : Type u} : (∀ {β}, m β → m β) → n α → n α) +class MonadFunctorT (m : Type u → Type v) (n : Type u → Type w) where + monadMap {α : Type u} : (∀ {β}, m β → m β) → n α → n α export MonadFunctorT (monadMap) @@ -1077,19 +1085,19 @@ instance (m n o) [MonadFunctorT m n] [MonadFunctor n o] : MonadFunctorT m o wher instance monadFunctorRefl (m) : MonadFunctorT m m where monadMap f := f -inductive Except (ε : Type u) (α : Type v) := +inductive Except (ε : Type u) (α : Type v) where | error : ε → Except ε α | ok : α → Except ε α attribute [unbox] Except -instance {ε : Type u} {α : Type v} [Inhabited ε] : Inhabited (Except ε α) := - ⟨Except.error (arbitrary ε)⟩ +instance {ε : Type u} {α : Type v} [Inhabited ε] : Inhabited (Except ε α) where + default := Except.error (arbitrary ε) /-- An implementation of [MonadError](https://hackage.haskell.org/package/mtl-2.2.2/docs/Control-Monad-Except.html#t:MonadError) -/ -class MonadExceptOf (ε : Type u) (m : Type v → Type w) := - (throw {α : Type v} : ε → m α) - (tryCatch {α : Type v} : m α → (ε → m α) → m α) +class MonadExceptOf (ε : Type u) (m : Type v → Type w) where + throw {α : Type v} : ε → m α + tryCatch {α : Type v} : m α → (ε → m α) → m α abbrev throwThe (ε : Type u) {m : Type v → Type w} [MonadExceptOf ε m] {α : Type v} (e : ε) : m α := MonadExceptOf.throw e @@ -1098,9 +1106,9 @@ abbrev tryCatchThe (ε : Type u) {m : Type v → Type w} [MonadExceptOf ε m] { MonadExceptOf.tryCatch x handle /-- Similar to `MonadExceptOf`, but `ε` is an outParam for convenience -/ -class MonadExcept (ε : outParam (Type u)) (m : Type v → Type w) := - (throw {α : Type v} : ε → m α) - (tryCatch {α : Type v} : m α → (ε → m α) → m α) +class MonadExcept (ε : outParam (Type u)) (m : Type v → Type w) where + throw {α : Type v} : ε → m α + tryCatch {α : Type v} : m α → (ε → m α) → m α export MonadExcept (throw tryCatch) @@ -1114,7 +1122,8 @@ variables {ε : Type u} {m : Type v → Type w} @[inline] protected def orelse [MonadExcept ε m] {α : Type v} (t₁ t₂ : m α) : m α := tryCatch t₁ fun _ => t₂ -instance [MonadExcept ε m] {α : Type v} : OrElse (m α) := ⟨MonadExcept.orelse⟩ +instance [MonadExcept ε m] {α : Type v} : OrElse (m α) where + orElse := MonadExcept.orelse end MonadExcept @@ -1122,8 +1131,8 @@ end MonadExcept def ReaderT (ρ : Type u) (m : Type u → Type v) (α : Type u) : Type (max u v) := ρ → m α -instance (ρ : Type u) (m : Type u → Type v) (α : Type u) [Inhabited (m α)] : Inhabited (ReaderT ρ m α) := - ⟨fun _ => arbitrary _⟩ +instance (ρ : Type u) (m : Type u → Type v) (α : Type u) [Inhabited (m α)] : Inhabited (ReaderT ρ m α) where + default := fun _ => arbitrary _ @[inline] def ReaderT.run {ρ : Type u} {m : Type u → Type v} {α : Type u} (x : ReaderT ρ m α) (r : ρ) : m α := x r @@ -1135,13 +1144,11 @@ namespace ReaderT section variables {ρ : Type u} {m : Type u → Type v} {α : Type u} -@[inline] protected def lift (a : m α) : ReaderT ρ m α := - fun r => a - -instance : MonadLift m (ReaderT ρ m) := ⟨ReaderT.lift⟩ +instance : MonadLift m (ReaderT ρ m) where + monadLift x := fun _ => x instance (ε) [MonadExceptOf ε m] : MonadExceptOf ε (ReaderT ρ m) where - throw := Function.comp ReaderT.lift (throwThe ε) + throw e := liftM (m := m) (throw e) tryCatch := fun x c r => tryCatchThe ε (x r) (fun e => (c e) r) end @@ -1166,7 +1173,8 @@ instance : Monad (ReaderT ρ m) where bind := ReaderT.bind map := ReaderT.map -instance (ρ m) [Monad m] : MonadFunctor m (ReaderT ρ m) := ⟨fun f x r => f (x r)⟩ +instance (ρ m) [Monad m] : MonadFunctor m (ReaderT ρ m) where + monadMap f x := fun ctx => f (x ctx) @[inline] protected def adapt {ρ' : Type u} [Monad m] {α : Type u} (f : ρ' → ρ) : ReaderT ρ m α → ReaderT ρ' m α := fun x r => x (f r) @@ -1184,59 +1192,60 @@ end ReaderT (lift {α : Type u} : (∀ {m : Type u → Type u} [Monad m], ReaderT ρ m α) → n α) ``` -/ -class MonadReaderOf (ρ : Type u) (m : Type u → Type v) := - (read : m ρ) +class MonadReaderOf (ρ : Type u) (m : Type u → Type v) where + read : m ρ @[inline] def readThe (ρ : Type u) {m : Type u → Type v} [MonadReaderOf ρ m] : m ρ := MonadReaderOf.read /-- Similar to `MonadReaderOf`, but `ρ` is an outParam for convenience -/ -class MonadReader (ρ : outParam (Type u)) (m : Type u → Type v) := - (read : m ρ) +class MonadReader (ρ : outParam (Type u)) (m : Type u → Type v) where + read : m ρ export MonadReader (read) -instance (ρ : Type u) (m : Type u → Type v) [MonadReaderOf ρ m] : MonadReader ρ m := - ⟨readThe ρ⟩ +instance (ρ : Type u) (m : Type u → Type v) [MonadReaderOf ρ m] : MonadReader ρ m where + read := readThe ρ -instance {ρ : Type u} {m : Type u → Type v} {n : Type u → Type w} [MonadReaderOf ρ m] [MonadLift m n] : MonadReaderOf ρ n := - ⟨monadLift (MonadReader.read : m ρ)⟩ +instance {ρ : Type u} {m : Type u → Type v} {n : Type u → Type w} [MonadReaderOf ρ m] [MonadLift m n] : MonadReaderOf ρ n where + read := liftM (m := m) read -instance {ρ : Type u} {m : Type u → Type v} [Monad m] : MonadReaderOf ρ (ReaderT ρ m) := - ⟨ReaderT.read⟩ +instance {ρ : Type u} {m : Type u → Type v} [Monad m] : MonadReaderOf ρ (ReaderT ρ m) where + read := ReaderT.read -class MonadWithReaderOf (ρ : Type u) (m : Type u → Type v) := - (withReader {α : Type u} : (ρ → ρ) → m α → m α) +class MonadWithReaderOf (ρ : Type u) (m : Type u → Type v) where + withReader {α : Type u} : (ρ → ρ) → m α → m α @[inline] def withTheReader (ρ : Type u) {m : Type u → Type v} [MonadWithReaderOf ρ m] {α : Type u} (f : ρ → ρ) (x : m α) : m α := MonadWithReaderOf.withReader f x -class MonadWithReader (ρ : outParam (Type u)) (m : Type u → Type v) := - (withReader {α : Type u} : (ρ → ρ) → m α → m α) +class MonadWithReader (ρ : outParam (Type u)) (m : Type u → Type v) where + withReader {α : Type u} : (ρ → ρ) → m α → m α export MonadWithReader (withReader) -instance (ρ : Type u) (m : Type u → Type v) [MonadWithReaderOf ρ m] : MonadWithReader ρ m := ⟨withTheReader ρ⟩ +instance (ρ : Type u) (m : Type u → Type v) [MonadWithReaderOf ρ m] : MonadWithReader ρ m where + withReader := withTheReader ρ -instance {ρ : Type u} {m : Type u → Type v} {n : Type u → Type v} [MonadWithReaderOf ρ m] [MonadFunctor m n] : MonadWithReaderOf ρ n := - ⟨fun f => monadMap (m := m) (withTheReader ρ f)⟩ +instance {ρ : Type u} {m : Type u → Type v} {n : Type u → Type v} [MonadWithReaderOf ρ m] [MonadFunctor m n] : MonadWithReaderOf ρ n where + withReader f := monadMap (m := m) (withTheReader ρ f) -instance {ρ : Type u} {m : Type u → Type v} [Monad m] : MonadWithReaderOf ρ (ReaderT ρ m) := - ⟨fun f x ctx => x (f ctx)⟩ +instance {ρ : Type u} {m : Type u → Type v} [Monad m] : MonadWithReaderOf ρ (ReaderT ρ m) where + withReader f x := fun ctx => x (f ctx) /-- An implementation of [MonadState](https://hackage.haskell.org/package/mtl-2.2.2/docs/Control-Monad-State-Class.html). In contrast to the Haskell implementation, we use overlapping instances to derive instances automatically from `monadLift`. -/ -class MonadStateOf (σ : Type u) (m : Type u → Type v) := +class MonadStateOf (σ : Type u) (m : Type u → Type v) where /- Obtain the top-most State of a Monad stack. -/ - (get : m σ) + get : m σ /- Set the top-most State of a Monad stack. -/ - (set : σ → m PUnit) + set : σ → m PUnit /- Map the top-most State of a Monad stack. Note: `modifyGet f` may be preferable to `do s <- get; let (a, s) := f s; put s; pure a` because the latter does not use the State linearly (without sufficient inlining). -/ - (modifyGet {α : Type u} : (σ → Prod α σ) → m α) + modifyGet {α : Type u} : (σ → Prod α σ) → m α export MonadStateOf (set) @@ -1250,10 +1259,10 @@ abbrev getThe (σ : Type u) {m : Type u → Type v} [MonadStateOf σ m] : m σ : MonadStateOf.modifyGet f /-- Similar to `MonadStateOf`, but `σ` is an outParam for convenience -/ -class MonadState (σ : outParam (Type u)) (m : Type u → Type v) := - (get : m σ) - (set : σ → m PUnit) - (modifyGet {α : Type u} : (σ → Prod α σ) → m α) +class MonadState (σ : outParam (Type u)) (m : Type u → Type v) where + get : m σ + set : σ → m PUnit + modifyGet {α : Type u} : (σ → Prod α σ) → m α export MonadState (get modifyGet) @@ -1277,13 +1286,14 @@ instance {σ : Type u} {m : Type u → Type v} {n : Type u → Type w} [MonadSta namespace EStateM -inductive Result (ε σ α : Type u) := +inductive Result (ε σ α : Type u) where | ok : α → σ → Result ε σ α | error : ε → σ → Result ε σ α variables {ε σ α : Type u} -instance [Inhabited ε] [Inhabited σ] : Inhabited (Result ε σ α) := ⟨Result.error (arbitrary _) (arbitrary _)⟩ +instance [Inhabited ε] [Inhabited σ] : Inhabited (Result ε σ α) where + default := Result.error (arbitrary _) (arbitrary _) end EStateM @@ -1314,9 +1324,9 @@ instance [Inhabited ε] : Inhabited (EStateM ε σ α) := ⟨fun s => Result.error e s /-- Auxiliary instance for saving/restoring the "backtrackable" part of the state. -/ -class Backtrackable (δ : outParam (Type u)) (σ : Type u) := - (save : σ → δ) - (restore : σ → δ → σ) +class Backtrackable (δ : outParam (Type u)) (σ : Type u) where + save : σ → δ + restore : σ → δ → σ @[inline] protected def tryCatch {δ} [Backtrackable δ σ] {α} (x : EStateM ε σ α) (handle : ε → EStateM ε σ α) : EStateM ε σ α := fun s => let d := Backtrackable.save s @@ -1387,8 +1397,8 @@ instance nonBacktrackable : Backtrackable PUnit σ where end EStateM -class Hashable (α : Type u) := - (hash : α → USize) +class Hashable (α : Type u) where + hash : α → USize export Hashable (hash) @@ -1398,24 +1408,27 @@ constant mixHash (u₁ u₂ : USize) : USize @[extern "lean_string_hash"] protected constant String.hash (s : @& String) : USize -instance : Hashable String := ⟨String.hash⟩ +instance : Hashable String where + hash := String.hash namespace Lean /- Hierarchical names -/ -inductive Name := +inductive Name where | anonymous : Name | str : Name → String → USize → Name | num : Name → Nat → USize → Name -instance : Inhabited Name := ⟨Name.anonymous⟩ +instance : Inhabited Name where + default := Name.anonymous protected def Name.hash : Name → USize | Name.anonymous => USize.ofNat32 1723 decide! | Name.str p s h => h | Name.num p v h => h -instance : Hashable Name := ⟨Name.hash⟩ +instance : Hashable Name where + hash := Name.hash namespace Name @@ -1437,14 +1450,16 @@ protected def beq : (@& Name) → (@& Name) → Bool | num p₁ n₁ _, num p₂ n₂ _ => and (BEq.beq n₁ n₂) (Name.beq p₁ p₂) | _, _ => false -instance : BEq Name := ⟨Name.beq⟩ +instance : BEq Name where + beq := Name.beq protected def append : Name → Name → Name | n, anonymous => n | n, str p s _ => Name.mkStr (Name.append n p) s | n, num p d _ => Name.mkNum (Name.append n p) d -instance : Append Name := ⟨Name.append⟩ +instance : Append Name where + append := Name.append end Name @@ -1455,12 +1470,12 @@ end Name syntax quotations, but syntax transformations might want to invalidate only one side to make the pretty printer reformat it. In the special case of the delaborator, we also use purely synthetic position information without whitespace information. -/ -structure SourceInfo := +structure SourceInfo where /- Will be inferred after parsing by `Syntax.updateLeading`. During parsing, it is not at all clear what the preceding token was, especially with backtracking. -/ - (leading : Option Substring := none) - (pos : Option String.Pos := none) - (trailing : Option Substring := none) + leading : Option Substring := none + pos : Option String.Pos := none + trailing : Option Substring := none instance : Inhabited SourceInfo := ⟨{}⟩ @@ -1468,13 +1483,14 @@ abbrev SyntaxNodeKind := Name /- Syntax AST -/ -inductive Syntax := +inductive Syntax where | missing : Syntax | node (kind : SyntaxNodeKind) (args : Array Syntax) : Syntax | atom (info : SourceInfo) (val : String) : Syntax | ident (info : SourceInfo) (rawVal : Substring) (val : Name) (preresolved : List (Prod Name (List String))) : Syntax -instance : Inhabited Syntax := ⟨Syntax.missing⟩ +instance : Inhabited Syntax where + default := Syntax.missing /- Builtin kinds -/ def choiceKind : SyntaxNodeKind := `choice @@ -1545,7 +1561,7 @@ end Syntax /- Parser descriptions -/ -inductive ParserDescr := +inductive ParserDescr where | const (name : Name) | unary (name : Name) (p : ParserDescr) | binary (name : Name) (p₁ p₂ : ParserDescr) @@ -1557,7 +1573,9 @@ inductive ParserDescr := | parser (declName : Name) | nodeWithAntiquot (name : String) (kind : SyntaxNodeKind) (p : ParserDescr) -instance : Inhabited ParserDescr := ⟨ParserDescr.symbol ""⟩ +instance : Inhabited ParserDescr where + default := ParserDescr.symbol "" + abbrev TrailingParserDescr := ParserDescr /- @@ -1578,10 +1596,10 @@ def firstFrontendMacroScope := add reservedMacroScope 1 (independent of whether this identifier turns out to be a reference to an existing declaration, or an actually fresh binding during further elaboration). -/ -class MonadQuotation (m : Type → Type) := +class MonadQuotation (m : Type → Type) where -- Get the fresh scope of the current macro invocation - (getCurrMacroScope : m MacroScope) - (getMainModule : m Name) + getCurrMacroScope : m MacroScope + getMainModule : m Name /- Execute action in a new macro invocation context. This transformer should be used at all places that morally qualify as the beginning of a "macro call", e.g. `elabCommand` and `elabTerm` in the case of the elaborator. However, it @@ -1593,7 +1611,7 @@ class MonadQuotation (m : Type → Type) := restricted to passing a single syntax tree. Modelling this helper as a transformer and not just a monadic action ensures that the current macro scope before the recursive call is restored after it, as expected. -/ - (withFreshMacroScope {α : Type} : m α → m α) + withFreshMacroScope {α : Type} : m α → m α export MonadQuotation (getCurrMacroScope getMainModule withFreshMacroScope) @@ -1652,13 +1670,14 @@ def Name.simpMacroScopes (n : Name) : Name := | true => simpMacroScopesAux n | false => n -structure MacroScopesView := - (name : Name) - (imported : Name) - (mainModule : Name) - (scopes : List MacroScope) +structure MacroScopesView where + name : Name + imported : Name + mainModule : Name + scopes : List MacroScope -instance : Inhabited MacroScopesView := ⟨⟨arbitrary _, arbitrary _, arbitrary _, arbitrary _⟩⟩ +instance : Inhabited MacroScopesView where + default := ⟨arbitrary _, arbitrary _, arbitrary _, arbitrary _⟩ def MacroScopesView.review (view : MacroScopesView) : Name := match view.scopes with @@ -1728,9 +1747,9 @@ def defaultMaxRecDepth := 512 def maxRecDepthErrorMessage : String := "maximum recursion depth has been reached (use `set_option maxRecDepth ` to increase limit)" -class MonadRef (m : Type → Type) := - (getRef : m Syntax) - (withRef {α} : Syntax → m α → m α) +class MonadRef (m : Type → Type) where + getRef : m Syntax + withRef {α} : Syntax → m α → m α export MonadRef (getRef) @@ -1754,17 +1773,18 @@ namespace Macro constant MacroEnvPointed : PointedType.{0} def MacroEnv : Type := MacroEnvPointed.type -instance : Inhabited MacroEnv := ⟨MacroEnvPointed.val⟩ +instance : Inhabited MacroEnv where + default := MacroEnvPointed.val -structure Context := - (macroEnv : MacroEnv) - (mainModule : Name) - (currMacroScope : MacroScope) - (currRecDepth : Nat := 0) - (maxRecDepth : Nat := defaultMaxRecDepth) - (ref : Syntax) +structure Context where + macroEnv : MacroEnv + mainModule : Name + currMacroScope : MacroScope + currRecDepth : Nat := 0 + maxRecDepth : Nat := defaultMaxRecDepth + ref : Syntax -inductive Exception := +inductive Exception where | error : Syntax → String → Exception | unsupportedSyntax : Exception diff --git a/stage0/src/Lean/Delaborator.lean b/stage0/src/Lean/Delaborator.lean index a8c596be41..9652626c3f 100644 --- a/stage0/src/Lean/Delaborator.lean +++ b/stage0/src/Lean/Delaborator.lean @@ -231,6 +231,17 @@ def annotateCurPos (stx : Syntax) : Delab := do let ctx ← read pure $ annotatePos ctx.pos stx +def getUnusedName (suggestion : Name) : DelabM Name := do + -- Use a nicer binder name than `[anonymous]`. We probably shouldn't do this in all LocalContext use cases, so do it here. + let suggestion := if suggestion.isAnonymous then `a else suggestion; + let lctx ← getLCtx + pure $ lctx.getUnusedName suggestion + +def withBindingBodyUnusedName {α} (d : Syntax → DelabM α) : DelabM α := do + let n ← getUnusedName (← getExpr).bindingName! + let stxN ← annotateCurPos (mkIdent n) + withBindingBody n $ d stxN + @[inline] def liftMetaM {α} (x : MetaM α) : DelabM α := liftM x @@ -373,12 +384,6 @@ def delabAppImplicit : Delab := whenNotPPOption getPPExplicit do pure (fnStx, paramKinds.tailD [], argStxs.push argStx)) Syntax.mkApp fnStx argStxs -private def getUnusedName (suggestion : Name) : DelabM Name := do - -- Use a nicer binder name than `[anonymous]`. We probably shouldn't do this in all LocalContext use cases, so do it here. - let suggestion := if suggestion.isAnonymous then `a else suggestion; - let lctx ← getLCtx - pure $ lctx.getUnusedName suggestion - /-- State for `delabAppMatch` and helpers. -/ structure AppMatchState := (info : MatcherInfo) @@ -393,10 +398,8 @@ structure AppMatchState := /-- Skip `numParams` binders. -/ private def skippingBinders {α} : (numParams : Nat) → (x : DelabM α) → DelabM α | 0, x => x - | numParams+1, x => do - let e ← getExpr - let n ← getUnusedName e.bindingName! - withBindingBody n $ + | numParams+1, x => + withBindingBodyUnusedName fun _ => skippingBinders numParams x /-- @@ -516,16 +519,13 @@ private partial def delabBinders (delabGroup : Array Syntax → Syntax → Delab -- binder group `(d e ...)` as determined by `shouldGroupWithNext`. We cannot do grouping -- inside-out, on the Syntax level, because it depends on comparing the Expr binder types. | curNames => do - let e ← getExpr - let n ← getUnusedName e.bindingName! - let stxN ← annotateCurPos (mkIdent n) - let curNames := curNames.push stxN if (← shouldGroupWithNext) then -- group with nested binder => recurse immediately - withBindingBody n $ delabBinders delabGroup curNames + withBindingBodyUnusedName fun stxN => delabBinders delabGroup (curNames.push stxN) else -- don't group => delab body and prepend current binder group - withBindingBody n delab >>= delabGroup curNames + let (stx, stxN) ← withBindingBodyUnusedName fun stxN => do (← delab, stxN) + delabGroup (curNames.push stxN) stx @[builtinDelab lam] def delabLam : Delab := @@ -801,13 +801,53 @@ def delabNamedPattern : Delab := do guard x.isIdent `($x:ident@$p:term) +partial def delabDoElems : DelabM (List Syntax) := do + let e ← getExpr + if e.isAppOfArity `Bind.bind 6 then + -- Bind.bind.{u, v} : {m : Type u → Type v} → [self : Bind m] → {α β : Type u} → m α → (α → m β) → m β + let ma ← withAppFn $ withAppArg delab + withAppArg do + match (← getExpr) with + | Expr.lam _ _ body _ => + withBindingBodyUnusedName fun n => do + if body.hasLooseBVars then + prependAndRec `(doElem|let $n:term ← $ma) + else + prependAndRec `(doElem|$ma:term) + | _ => delabAndRet + else if e.isLet then + let Expr.letE n t v b _ ← getExpr | unreachable! + let n ← getUnusedName n + let stxT ← descend t 0 delab + let stxV ← descend v 1 delab + withLetDecl n t v fun fvar => + let b := b.instantiate1 fvar + descend b 2 $ + prependAndRec `(doElem|let $(mkIdent n) : $stxT := $stxV) + else + delabAndRet + where + prependAndRec x : DelabM _ := List.cons <$> x <*> delabDoElems + delabAndRet : DelabM _ := do let stx ← delab; [←`(doElem|$stx:term)] + +@[builtinDelab app.Bind.bind] +def delabDo : Delab := whenPPOption getPPNotation do + unless (← getExpr).isAppOfArity `Bind.bind 6 do + failure + let elems ← delabDoElems + let items := elems.toArray.map (mkNode `Lean.Parser.Term.doSeqItem #[·, mkNullNode]) + `(do $items:doSeqItem*) + end Delaborator /-- "Delaborate" the given term into surface-level syntax using the default and given subterm-specific options. -/ def delab (currNamespace : Name) (openDecls : List OpenDecl) (e : Expr) (optionsPerPos : OptionsPerPos := {}) : MetaM Syntax := do + trace[PrettyPrinter.delab.input]! "{fmt e}" let opts ← MonadOptions.getOptions catchInternalId Delaborator.delabFailureId (Delaborator.delab.run { expr := e, defaultOptions := opts, optionsPerPos := optionsPerPos, currNamespace := currNamespace, openDecls := openDecls }) (fun _ => unreachable!) +builtin_initialize registerTraceClass `PrettyPrinter.delab + end Lean diff --git a/stage0/src/Lean/Elab/DefView.lean b/stage0/src/Lean/Elab/DefView.lean index 408cb90171..a504fa5db4 100644 --- a/stage0/src/Lean/Elab/DefView.lean +++ b/stage0/src/Lean/Elab/DefView.lean @@ -138,7 +138,7 @@ def mkDefViewOfConstant (modifiers : Modifiers) (stx : Syntax) : CommandElabM De let val ← match (stx.getArg 3).getOptional? with | some val => pure val | none => - let val ← `(arbitrary _) + let val ← `(arbitrary) pure $ Syntax.node `Lean.Parser.Command.declValSimple #[ mkAtomFrom stx ":=", val ] return { ref := stx, kind := DefKind.opaque, modifiers := modifiers, diff --git a/stage0/src/Lean/Meta/Instances.lean b/stage0/src/Lean/Meta/Instances.lean index 3a4bb8ac16..e521d6ddc5 100644 --- a/stage0/src/Lean/Meta/Instances.lean +++ b/stage0/src/Lean/Meta/Instances.lean @@ -7,18 +7,17 @@ import Lean.Meta.DiscrTree namespace Lean.Meta -structure InstanceEntry := - (keys : Array DiscrTree.Key) - (val : Expr) - (globalName? : Option Name := none) +structure InstanceEntry where + keys : Array DiscrTree.Key + val : Expr + globalName? : Option Name := none -structure Instances := - (discrTree : DiscrTree Expr := DiscrTree.empty ) - (globalInstances : NameSet := {}) +structure Instances where + discrTree : DiscrTree Expr := DiscrTree.empty + globalInstances : NameSet := {} -instance : Inhabited Instances := { +instance : Inhabited Instances where default := {} -} def addInstanceEntry (d : Instances) (e : InstanceEntry) : Instances := { d with @@ -74,16 +73,15 @@ def getGlobalInstancesIndex : MetaM (DiscrTree Expr) := /- Default instance support -/ -structure DefaultInstanceEntry := - (className : Name) - (instanceName : Name) +structure DefaultInstanceEntry where + className : Name + instanceName : Name -structure DefaultInstances := - (defaultInstances : NameMap (List Name) := {}) +structure DefaultInstances where + defaultInstances : NameMap (List Name) := {} -instance : Inhabited DefaultInstances := { +instance : Inhabited DefaultInstances where default := {} -} def addDefaultInstanceEntry (d : DefaultInstances) (e : DefaultInstanceEntry) : DefaultInstances := match d.defaultInstances.find? e.className with diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index 5b18f52853..49810268e5 100644 --- a/stage0/stdlib/CMakeLists.txt +++ b/stage0/stdlib/CMakeLists.txt @@ -1 +1 @@ -add_library (stage0 OBJECT ./Init.c ./Init/Classical.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Basic.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Id.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Control/StateRef.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/QSort.c ./Init/Data/Array/Subarray.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/Hashable.c ./Init/Data/Int.c ./Init/Data/Int/Basic.c ./Init/Data/List.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Util.c ./Init/WF.c ./Lean.c ./Lean/Attributes.c ./Lean/AuxRecursor.c ./Lean/Class.c ./Lean/Compiler.c ./Lean/Compiler/BorrowedAnnotation.c ./Lean/Compiler/ClosedTermCache.c ./Lean/Compiler/ConstFolding.c ./Lean/Compiler/ExportAttr.c ./Lean/Compiler/ExternAttr.c ./Lean/Compiler/IR.c ./Lean/Compiler/IR/Basic.c ./Lean/Compiler/IR/Borrow.c ./Lean/Compiler/IR/Boxing.c ./Lean/Compiler/IR/Checker.c ./Lean/Compiler/IR/CompilerM.c ./Lean/Compiler/IR/CtorLayout.c ./Lean/Compiler/IR/ElimDeadBranches.c ./Lean/Compiler/IR/ElimDeadVars.c ./Lean/Compiler/IR/EmitC.c ./Lean/Compiler/IR/EmitUtil.c ./Lean/Compiler/IR/ExpandResetReuse.c ./Lean/Compiler/IR/Format.c ./Lean/Compiler/IR/FreeVars.c ./Lean/Compiler/IR/LiveVars.c ./Lean/Compiler/IR/NormIds.c ./Lean/Compiler/IR/PushProj.c ./Lean/Compiler/IR/RC.c ./Lean/Compiler/IR/ResetReuse.c ./Lean/Compiler/IR/SimpCase.c ./Lean/Compiler/IR/UnboxResult.c ./Lean/Compiler/ImplementedByAttr.c ./Lean/Compiler/InitAttr.c ./Lean/Compiler/InlineAttrs.c ./Lean/Compiler/NameMangling.c ./Lean/Compiler/NeverExtractAttr.c ./Lean/Compiler/Specialize.c ./Lean/Compiler/Util.c ./Lean/CoreM.c ./Lean/Data.c ./Lean/Data/Format.c ./Lean/Data/FormatMacro.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Hover.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/Delaborator.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DefView.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.c ./Lean/Meta/Match/Basic.c ./Lean/Meta/Match/CaseArraySizes.c ./Lean/Meta/Match/CaseValues.c ./Lean/Meta/Match/MVarRenaming.c ./Lean/Meta/Match/Match.c ./Lean/Meta/Match/MatchPatternAttr.c ./Lean/Meta/Match/MatcherInfo.c ./Lean/Meta/MatchUtil.c ./Lean/Meta/Offset.c ./Lean/Meta/RecursorInfo.c ./Lean/Meta/Reduce.c ./Lean/Meta/ReduceEval.c ./Lean/Meta/SynthInstance.c ./Lean/Meta/Tactic.c ./Lean/Meta/Tactic/Apply.c ./Lean/Meta/Tactic/Assert.c ./Lean/Meta/Tactic/Assumption.c ./Lean/Meta/Tactic/Cases.c ./Lean/Meta/Tactic/Clear.c ./Lean/Meta/Tactic/Constructor.c ./Lean/Meta/Tactic/Delta.c ./Lean/Meta/Tactic/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/Transform.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.c ./Lean/Parser/Basic.c ./Lean/Parser/Command.c ./Lean/Parser/Do.c ./Lean/Parser/Extension.c ./Lean/Parser/Extra.c ./Lean/Parser/Level.c ./Lean/Parser/Module.c ./Lean/Parser/StrInterpolation.c ./Lean/Parser/Syntax.c ./Lean/Parser/Tactic.c ./Lean/Parser/Term.c ./Lean/ParserCompiler.c ./Lean/ParserCompiler/Attribute.c ./Lean/PrettyPrinter.c ./Lean/PrettyPrinter/Basic.c ./Lean/PrettyPrinter/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/Server.c ./Lean/Server/Snapshots.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/PPGoal.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) +add_library (stage0 OBJECT ./Init.c ./Init/Classical.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Basic.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Id.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Control/StateRef.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/QSort.c ./Init/Data/Array/Subarray.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/Hashable.c ./Init/Data/Int.c ./Init/Data/Int/Basic.c ./Init/Data/List.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Util.c ./Init/WF.c ./Lean.c ./Lean/Attributes.c ./Lean/AuxRecursor.c ./Lean/Class.c ./Lean/Compiler.c ./Lean/Compiler/BorrowedAnnotation.c ./Lean/Compiler/ClosedTermCache.c ./Lean/Compiler/ConstFolding.c ./Lean/Compiler/ExportAttr.c ./Lean/Compiler/ExternAttr.c ./Lean/Compiler/IR.c ./Lean/Compiler/IR/Basic.c ./Lean/Compiler/IR/Borrow.c ./Lean/Compiler/IR/Boxing.c ./Lean/Compiler/IR/Checker.c ./Lean/Compiler/IR/CompilerM.c ./Lean/Compiler/IR/CtorLayout.c ./Lean/Compiler/IR/ElimDeadBranches.c ./Lean/Compiler/IR/ElimDeadVars.c ./Lean/Compiler/IR/EmitC.c ./Lean/Compiler/IR/EmitUtil.c ./Lean/Compiler/IR/ExpandResetReuse.c ./Lean/Compiler/IR/Format.c ./Lean/Compiler/IR/FreeVars.c ./Lean/Compiler/IR/LiveVars.c ./Lean/Compiler/IR/NormIds.c ./Lean/Compiler/IR/PushProj.c ./Lean/Compiler/IR/RC.c ./Lean/Compiler/IR/ResetReuse.c ./Lean/Compiler/IR/SimpCase.c ./Lean/Compiler/IR/UnboxResult.c ./Lean/Compiler/ImplementedByAttr.c ./Lean/Compiler/InitAttr.c ./Lean/Compiler/InlineAttrs.c ./Lean/Compiler/NameMangling.c ./Lean/Compiler/NeverExtractAttr.c ./Lean/Compiler/Specialize.c ./Lean/Compiler/Util.c ./Lean/CoreM.c ./Lean/Data.c ./Lean/Data/Format.c ./Lean/Data/FormatMacro.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Hover.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/Delaborator.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DefView.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.c ./Lean/Meta/Match/Basic.c ./Lean/Meta/Match/CaseArraySizes.c ./Lean/Meta/Match/CaseValues.c ./Lean/Meta/Match/MVarRenaming.c ./Lean/Meta/Match/Match.c ./Lean/Meta/Match/MatchPatternAttr.c ./Lean/Meta/Match/MatcherInfo.c ./Lean/Meta/MatchUtil.c ./Lean/Meta/Offset.c ./Lean/Meta/RecursorInfo.c ./Lean/Meta/Reduce.c ./Lean/Meta/ReduceEval.c ./Lean/Meta/SynthInstance.c ./Lean/Meta/Tactic.c ./Lean/Meta/Tactic/Apply.c ./Lean/Meta/Tactic/Assert.c ./Lean/Meta/Tactic/Assumption.c ./Lean/Meta/Tactic/Cases.c ./Lean/Meta/Tactic/Clear.c ./Lean/Meta/Tactic/Constructor.c ./Lean/Meta/Tactic/Delta.c ./Lean/Meta/Tactic/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/Transform.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.c ./Lean/Parser/Basic.c ./Lean/Parser/Command.c ./Lean/Parser/Do.c ./Lean/Parser/Extension.c ./Lean/Parser/Extra.c ./Lean/Parser/Level.c ./Lean/Parser/Module.c ./Lean/Parser/StrInterpolation.c ./Lean/Parser/Syntax.c ./Lean/Parser/Tactic.c ./Lean/Parser/Term.c ./Lean/Parser/Transform.c ./Lean/ParserCompiler.c ./Lean/ParserCompiler/Attribute.c ./Lean/PrettyPrinter.c ./Lean/PrettyPrinter/Basic.c ./Lean/PrettyPrinter/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/Server.c ./Lean/Server/ServerBin.c ./Lean/Server/Snapshots.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/PPGoal.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) diff --git a/stage0/stdlib/Init/Prelude.c b/stage0/stdlib/Init/Prelude.c index cdaa04f61f..ddf81099f7 100644 --- a/stage0/stdlib/Init/Prelude.c +++ b/stage0/stdlib/Init/Prelude.c @@ -58,7 +58,6 @@ lean_object* l_List_lengthAux_match__1(lean_object*, lean_object*); lean_object* l_EStateM_instMonadStateOfEStateM___closed__2; lean_object* l_Fin_decLt___rarg___boxed(lean_object*, lean_object*); lean_object* l_List_hasDecEq_match__2___rarg(uint8_t, lean_object*, lean_object*); -lean_object* l_ReaderT_lift(lean_object*, lean_object*, lean_object*); uint8_t l_UInt8_decEq(uint8_t, uint8_t); lean_object* l_Lean_Macro_throwUnsupported___boxed(lean_object*, lean_object*); lean_object* l_instDecidableEqUInt32___boxed(lean_object*, lean_object*); @@ -151,7 +150,6 @@ lean_object* l_EStateM_instMonadStateOfEStateM___closed__4; uint8_t l_instInhabitedUInt8; lean_object* l_USize_size___closed__1; lean_object* l_instInhabitedNat; -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_instInhabitedMacroScopesView; lean_object* l_Lean_instHashableName___closed__1; lean_object* l_Lean_instInhabitedParserDescr___closed__2; @@ -237,7 +235,7 @@ lean_object* l_instInhabitedArrow__1___rarg(lean_object*); lean_object* l_instMonadExcept(lean_object*, lean_object*); lean_object* l_Lean_addMacroScope_match__2___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind___closed__1; -lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*); +lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_throwErrorAt___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_monadFunctorRefl___rarg(lean_object*, lean_object*); lean_object* l_or_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -246,6 +244,7 @@ lean_object* l_Function_const___rarg(lean_object*, lean_object*); uint64_t l_instInhabitedUInt64; lean_object* l_EStateM_adaptExcept_match__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_idDelta(lean_object*); +lean_object* l_ReaderT_instMonadLiftReaderT___rarg___boxed(lean_object*, lean_object*); lean_object* l_instDecidableEqUInt16___boxed(lean_object*, lean_object*); lean_object* l_Lean_instMonadRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instDecidableOr_match__2(lean_object*, lean_object*); @@ -298,7 +297,6 @@ lean_object* l_not___boxed(lean_object*); lean_object* l_Lean_Macro_expandMacroNotAvailable_x3f___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Prelude_0__Lean_extractImported_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_ReaderT_instMonadLiftReaderT___closed__1; lean_object* l_Lean_Name_instAppendName; lean_object* l_Lean_Macro_mkMacroEnvSimple___closed__1; lean_object* l_Lean_choiceKind___closed__2; @@ -464,6 +462,7 @@ lean_object* l_instMonadWithReaderOf___rarg___lambda__1(lean_object*, lean_objec lean_object* l_Array_size___boxed(lean_object*, lean_object*); lean_object* l_List_length(lean_object*); uint32_t l_instInhabitedUInt32___closed__1; +lean_object* l_ReaderT_instMonadLiftReaderT___rarg(lean_object*, lean_object*); lean_object* l_instMonadFunctorT___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ite___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_namedPattern___boxed(lean_object*, lean_object*); @@ -760,7 +759,6 @@ lean_object* lean_uint16_to_nat(uint16_t); lean_object* l_List_get_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHeadInfo_loop___boxed(lean_object*, lean_object*); uint16_t lean_uint16_of_nat(lean_object*); -lean_object* l_ReaderT_lift___rarg(lean_object*, lean_object*); lean_object* l_instInhabitedDepArrow(lean_object*, lean_object*); lean_object* l_Lean_Macro_instMonadQuotationMacroM___closed__2; lean_object* l_instInhabitedArrow(lean_object*, lean_object*); @@ -4967,49 +4965,31 @@ x_4 = lean_alloc_closure((void*)(l_ReaderT_run___rarg), 2, 0); return x_4; } } -lean_object* l_ReaderT_lift___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_ReaderT_instMonadLiftReaderT___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_inc(x_1); return x_1; } } -lean_object* l_ReaderT_lift(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_ReaderT_instMonadLiftReaderT(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 0); +x_4 = lean_alloc_closure((void*)(l_ReaderT_instMonadLiftReaderT___rarg___boxed), 2, 0); return x_4; } } -lean_object* l_ReaderT_lift___rarg___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_ReaderT_instMonadLiftReaderT___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_ReaderT_lift___rarg(x_1, x_2); +x_3 = l_ReaderT_instMonadLiftReaderT___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -static lean_object* _init_l_ReaderT_instMonadLiftReaderT___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_ReaderT_lift), 3, 2); -lean_closure_set(x_1, 0, lean_box(0)); -lean_closure_set(x_1, 1, lean_box(0)); -return x_1; -} -} -lean_object* l_ReaderT_instMonadLiftReaderT(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_ReaderT_instMonadLiftReaderT___closed__1; -return x_3; -} -} lean_object* l_ReaderT_instMonadExceptOfReaderT___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -11084,8 +11064,6 @@ l_Applicative_seqRight___default___rarg___closed__1 = _init_l_Applicative_seqRig lean_mark_persistent(l_Applicative_seqRight___default___rarg___closed__1); l_Applicative_seqRight___default___rarg___closed__2 = _init_l_Applicative_seqRight___default___rarg___closed__2(); lean_mark_persistent(l_Applicative_seqRight___default___rarg___closed__2); -l_ReaderT_instMonadLiftReaderT___closed__1 = _init_l_ReaderT_instMonadLiftReaderT___closed__1(); -lean_mark_persistent(l_ReaderT_instMonadLiftReaderT___closed__1); l_EStateM_instMonadEStateM___closed__1 = _init_l_EStateM_instMonadEStateM___closed__1(); lean_mark_persistent(l_EStateM_instMonadEStateM___closed__1); l_EStateM_instMonadEStateM___closed__2 = _init_l_EStateM_instMonadEStateM___closed__2(); diff --git a/stage0/stdlib/Lean/CoreM.c b/stage0/stdlib/Lean/CoreM.c index 0a7a5d8d97..69a91723c9 100644 --- a/stage0/stdlib/Lean/CoreM.c +++ b/stage0/stdlib/Lean/CoreM.c @@ -32,8 +32,9 @@ extern lean_object* l_Lean_InternalExceptionId_toString___closed__1; lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_io_error_to_string(lean_object*); lean_object* l_Lean_MessageData_format(lean_object*, lean_object*); +lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_instMonadOptionsCoreM; -lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Core_withIncRecDepth___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -41,11 +42,9 @@ lean_object* l_Lean_Core_instMonadNameGeneratorCoreM___lambda__1___boxed(lean_ob lean_object* l_Lean_Core_instMetaEvalCoreM_match__1(lean_object*, lean_object*); lean_object* l_Lean_Core_Context_options___default; lean_object* l_Lean_Core_instMonadTraceCoreM___closed__4; -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Core_instMonadRecDepthCoreM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_instMonadEnvCoreM___closed__1; lean_object* lean_array_get_size(lean_object*); -lean_object* l_StateRefT_x27_get___at_Lean_Core_instMonadEnvCoreM___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Core_instMonadRefCoreM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Core_instMetaEvalCoreM___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -87,7 +86,6 @@ lean_object* l_Lean_Core_instMonadRefCoreM; lean_object* l_Lean_Core_instMonadRecDepthCoreM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_withIncRecDepth(lean_object*); lean_object* l_Lean_Core_Context_ref___default; -lean_object* l_Lean_Core_instMonadEnvCoreM___closed__6; lean_object* l_Lean_Core_instInhabitedCoreM(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_instMetaEvalCoreM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_CoreM_run_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -132,7 +130,6 @@ lean_object* l_Lean_Core_instMonadNameGeneratorCoreM___closed__4; lean_object* l_Lean_Core_instAddMessageContextCoreM___closed__1; lean_object* l_Lean_Core_instMonadNameGeneratorCoreM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_CoreM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_StateRefT_x27_get___at_Lean_Core_instMonadEnvCoreM___spec__1(lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); lean_object* l_IO_println___at_Lean_printTraces___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Core_withIncRecDepth___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -147,6 +144,7 @@ lean_object* l_Lean_Core_State_traceState___default; lean_object* l_Lean_Core_instMonadEnvCoreM___closed__3; lean_object* l_Lean_Core_instMonadOptionsCoreM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_CoreM_toIO(lean_object*); +lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_instMonadNameGeneratorCoreM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_instMonadRecDepthCoreM___closed__5; @@ -154,7 +152,7 @@ lean_object* l_Lean_catchInternalId(lean_object*, lean_object*); lean_object* l_Lean_catchInternalId___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_instMonadNameGeneratorCoreM___closed__1; extern lean_object* l_Std_HashMap_instInhabitedHashMap___closed__1; -lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_instInhabitedState___closed__1; lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_Context_currRecDepth___default; @@ -493,32 +491,32 @@ lean_dec(x_1); return x_5; } } -lean_object* l_StateRefT_x27_get___at_Lean_Core_instMonadEnvCoreM___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_3; uint8_t x_4; -x_3 = lean_st_ref_get(x_1, x_2); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) +lean_object* x_4; uint8_t x_5; +x_4 = lean_st_ref_get(x_2, x_3); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) { -return x_3; +return x_4; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_3); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -return x_7; +lean_dec(x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; } } } -lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; @@ -530,7 +528,7 @@ lean_ctor_set(x_6, 1, x_4); return x_6; } } -lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -616,54 +614,44 @@ static lean_object* _init_l_Lean_Core_instMonadEnvCoreM___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_StateRefT_x27_get___at_Lean_Core_instMonadEnvCoreM___spec__1___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Core_instMonadEnvCoreM___lambda__1___boxed), 3, 0); return x_1; } } static lean_object* _init_l_Lean_Core_instMonadEnvCoreM___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Core_instMonadEnvCoreM___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Core_instMonadEnvCoreM___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Core_instMonadEnvCoreM___lambda__1___boxed), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Core_instMonadEnvCoreM___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Core_instMonadEnvCoreM___closed__2; -x_2 = l_Lean_Core_instMonadEnvCoreM___closed__3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Core_instMonadRefCoreM___spec__2___rarg), 5, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Core_instMonadEnvCoreM___closed__5() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Core_instMonadEnvCoreM___lambda__2___boxed), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Core_instMonadEnvCoreM___closed__6() { +static lean_object* _init_l_Lean_Core_instMonadEnvCoreM___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Core_instMonadEnvCoreM___closed__4; -x_2 = l_Lean_Core_instMonadEnvCoreM___closed__5; +x_1 = l_Lean_Core_instMonadEnvCoreM___closed__1; +x_2 = l_Lean_Core_instMonadEnvCoreM___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Core_instMonadRefCoreM___spec__2___rarg), 5, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Core_instMonadEnvCoreM___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Core_instMonadEnvCoreM___lambda__3___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Core_instMonadEnvCoreM___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Core_instMonadEnvCoreM___closed__3; +x_2 = l_Lean_Core_instMonadEnvCoreM___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -674,28 +662,18 @@ static lean_object* _init_l_Lean_Core_instMonadEnvCoreM() { _start: { lean_object* x_1; -x_1 = l_Lean_Core_instMonadEnvCoreM___closed__6; +x_1 = l_Lean_Core_instMonadEnvCoreM___closed__5; return x_1; } } -lean_object* l_StateRefT_x27_get___at_Lean_Core_instMonadEnvCoreM___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_3; -x_3 = l_StateRefT_x27_get___at_Lean_Core_instMonadEnvCoreM___spec__1(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Core_instMonadEnvCoreM___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); +lean_object* x_4; +x_4 = l_Lean_Core_instMonadEnvCoreM___lambda__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); -return x_5; +return x_4; } } lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -705,6 +683,17 @@ lean_object* x_5; x_5 = l_Lean_Core_instMonadEnvCoreM___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Core_instMonadEnvCoreM___lambda__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); return x_5; } } @@ -946,7 +935,7 @@ static lean_object* _init_l_Lean_Core_instMonadNameGeneratorCoreM___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Core_instMonadEnvCoreM___closed__2; +x_1 = l_Lean_Core_instMonadEnvCoreM___closed__1; x_2 = l_Lean_Core_instMonadNameGeneratorCoreM___closed__1; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Core_instMonadRefCoreM___spec__2___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); @@ -1441,7 +1430,7 @@ static lean_object* _init_l_Lean_Core_instMonadTraceCoreM___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Core_instMonadEnvCoreM___closed__2; +x_1 = l_Lean_Core_instMonadEnvCoreM___closed__1; x_2 = l_Lean_Core_instMonadTraceCoreM___closed__1; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Core_instMonadRefCoreM___spec__2___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); @@ -3324,8 +3313,6 @@ l_Lean_Core_instMonadEnvCoreM___closed__4 = _init_l_Lean_Core_instMonadEnvCoreM_ lean_mark_persistent(l_Lean_Core_instMonadEnvCoreM___closed__4); l_Lean_Core_instMonadEnvCoreM___closed__5 = _init_l_Lean_Core_instMonadEnvCoreM___closed__5(); lean_mark_persistent(l_Lean_Core_instMonadEnvCoreM___closed__5); -l_Lean_Core_instMonadEnvCoreM___closed__6 = _init_l_Lean_Core_instMonadEnvCoreM___closed__6(); -lean_mark_persistent(l_Lean_Core_instMonadEnvCoreM___closed__6); l_Lean_Core_instMonadEnvCoreM = _init_l_Lean_Core_instMonadEnvCoreM(); lean_mark_persistent(l_Lean_Core_instMonadEnvCoreM); l_Lean_Core_instMonadOptionsCoreM___closed__1 = _init_l_Lean_Core_instMonadOptionsCoreM___closed__1(); diff --git a/stage0/stdlib/Lean/Delaborator.c b/stage0/stdlib/Lean/Delaborator.c index 88aa97749b..5536a801f6 100644 --- a/stage0/stdlib/Lean/Delaborator.c +++ b/stage0/stdlib/Lean/Delaborator.c @@ -23,11 +23,14 @@ extern lean_object* l_Lean_Expr_ctorName___closed__7; extern lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__1; lean_object* l_Lean_Delaborator_delabseqRight___closed__1; extern lean_object* l_Lean_Name_toString___closed__1; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__3; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabEq(lean_object*); lean_object* l_Lean_Delaborator_withAppFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabOfNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabseq___lambda__1___closed__1; +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_withProj(lean_object*); lean_object* l_Lean_Delaborator_delabBind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_quote___closed__6; @@ -37,12 +40,14 @@ extern lean_object* l_Lean_fieldIdxKind; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabBind___closed__2; lean_object* l_Lean_Delaborator_delabFComp___lambda__1___closed__2; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__1; lean_object* l_Lean_Delaborator_delabMapRev___closed__1; lean_object* l_Lean_Delaborator_delabseqRight___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabOrElse___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabProjectionApp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Delaborator_delabFor___spec__3(lean_object*, size_t, lean_object*); extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; +lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabMData_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabseq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabMul___closed__3; @@ -72,7 +77,6 @@ lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNex lean_object* l_Lean_Delaborator_delabLE___lambda__1___closed__4; lean_object* l___regBuiltin_Lean_Delaborator_delabConsList___closed__1; extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -extern lean_object* l_Lean_Meta_setInlineAttribute___rarg___closed__2; lean_object* l_Lean_Delaborator_delabSort_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l_Lean_Delaborator_delabFComp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -89,6 +93,7 @@ lean_object* l_Lean_Delaborator_getExpr___boxed(lean_object*, lean_object*, lean lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_getExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabNe___closed__1; lean_object* l_Lean_Delaborator_delabAppend___closed__1; lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); @@ -123,6 +128,7 @@ lean_object* l_Lean_Delaborator_delab___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabCoeFun(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__1; lean_object* l_Lean_Delaborator_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1; extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3338____closed__7; lean_object* l_Lean_Delaborator_delabDiv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppExplicit_match__2___rarg(lean_object*, lean_object*); @@ -149,21 +155,21 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabStructureInstance___closed__1; lean_object* l_Lean_Delaborator_delabOrElse___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight___closed__1; lean_object* l_Lean_Delaborator_delabInfixOp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1___closed__1; +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6; lean_object* l_Lean_Delaborator_delabseq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabMData___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Delaborator_withProj___rarg___closed__2; -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__6; lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabseqRight___lambda__1___closed__1; lean_object* l_Lean_Delaborator_delabLam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_whenNotPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabStructureInstance_match__3(lean_object*); lean_object* l_Lean_Delaborator_getExprKind___closed__1; lean_object* l_Lean_Delaborator_getExprKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__1; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__2; lean_object* l_Lean_getPPStructureProjections___closed__1; lean_object* l_Lean_Delaborator_withAppFn(lean_object*); uint8_t l_Lean_getPPExplicit(lean_object*); @@ -171,7 +177,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__19; lean_object* l_Lean_Delaborator_delabBNe___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabOrElse___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__12; -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_6336____closed__4; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__1; @@ -185,6 +191,7 @@ lean_object* l_Lean_Delaborator_delabListToArray___closed__2; lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__2; extern lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__4; @@ -198,6 +205,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabTuple(lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_getPPNotation___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4; lean_object* l_Lean_Delaborator_delabNot___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabOr___lambda__1___closed__4; lean_object* l_Lean_Delaborator_delabAppImplicit_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -215,6 +223,7 @@ lean_object* l_Lean_Delaborator_withAppFn___rarg___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabGT(lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems___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* l___regBuiltin_Lean_Delaborator_delabLE___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabAppend___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__6; @@ -226,6 +235,7 @@ extern lean_object* l_Lean_Parser_Tactic_matchAlts___closed__1; lean_object* l_Lean_Delaborator_descend___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_tailD___rarg(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabFComp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabBAnd___lambda__1___closed__1; lean_object* l_Lean_Delaborator_delabMod___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabConsList___closed__2; @@ -258,7 +268,6 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabDiv___closed__2; extern lean_object* l_instInhabitedNat; uint8_t l_Lean_Delaborator_hasIdent(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabCoe___closed__1; -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_withMDataExpr___rarg___closed__2; lean_object* l_Lean_Delaborator_delabEquiv___closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__1; @@ -289,6 +298,8 @@ lean_object* l_Lean_Delaborator_delabPow(lean_object*, lean_object*, lean_object extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__11; lean_object* l_Lean_Delaborator_getExprKind___closed__8; lean_object* l_Lean_Level_quote___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1; lean_object* l_Lean_Delaborator_delabAndM___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabseqLeft___lambda__1___closed__1; @@ -327,6 +338,7 @@ lean_object* l_Lean_Delaborator_annotateCurPos___boxed(lean_object*, lean_object lean_object* l___regBuiltin_Lean_Delaborator_delabCons___closed__2; lean_object* l___regBuiltin_Lean_Delaborator_delabAdd___closed__3; size_t l_USize_shiftRight(size_t, size_t); +lean_object* l_Lean_Delaborator_delabDoElems_match__1(lean_object*); lean_object* l_Lean_Level_quote___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getPPFullNames___boxed(lean_object*); lean_object* l_Lean_Delaborator_delabLam_match__1(lean_object*); @@ -340,6 +352,7 @@ lean_object* l_Lean_Delaborator_delabAppMatch_match__1___rarg(lean_object*, lean lean_object* l___regBuiltin_Lean_Delaborator_delabLetE___closed__1; lean_object* l_Lean_Delaborator_delabAdd___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabOfNat(lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__4; lean_object* l___regBuiltin_Lean_Delaborator_delabBEq___closed__1; lean_object* l_Lean_Delaborator_delabBAnd___lambda__1___closed__2; lean_object* l_Lean_Delaborator_withProj_match__1(lean_object*); @@ -373,6 +386,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__6; lean_object* l_Lean_Delaborator_delabAppExplicit_match__2(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabAppend___closed__2; lean_object* l_Lean_Level_quote___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2; lean_object* l_Lean_Delaborator_delabAppImplicit_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAnd___lambda__1___closed__3; lean_object* l_Lean_Delaborator_delabCoe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -391,9 +405,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabCoe___closed__1; lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_getPPUniverses(lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_getUnusedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabHEq(lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__4; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* lean_get_projection_info(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabMVar___closed__3; @@ -401,9 +413,11 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__6; lean_object* l___regBuiltin_Lean_Delaborator_delabNil(lean_object*); lean_object* l_Lean_Delaborator_annotatePos_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabLE(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems___lambda__1___closed__2; extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__1; lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__4; extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__2; +lean_object* l_Lean_delab___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__1; lean_object* l_Lean_Level_quote___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppMatch___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -413,19 +427,25 @@ lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_getPPBinderTypes(lean_object*); lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabBNe___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabGE___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabOfNat_match__1(lean_object*); lean_object* l_Lean_Delaborator_delabAppImplicit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__3; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__1; +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabMData_match__1___rarg(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__6; lean_object* l_Lean_Delaborator_getExprKind___closed__10; +lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__1; lean_object* l_Lean_Delaborator_delabSort___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__2; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__1___closed__1; lean_object* l_Lean_Delaborator_getExprKind_match__1(lean_object*); lean_object* l_Lean_Delaborator_delabLT___closed__1; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_getPPFullNames(lean_object*); lean_object* l_Lean_Delaborator_delabAppend___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_instQuoteLevel___closed__1; @@ -437,7 +457,9 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__7; lean_object* l___regBuiltin_Lean_Delaborator_delabAppend(lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabMData___closed__1; +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3; extern lean_object* l___kind_term____x40_Init_Core___hyg_680____closed__1; +lean_object* l_Lean_Delaborator_getUnusedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabForall_match__1(lean_object*); lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabSort___closed__7; @@ -457,6 +479,8 @@ lean_object* l_Lean_Delaborator_Context_pos___default; lean_object* l_Lean_Delaborator_delabDiv___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabAppMatch___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_fmt___at_Lean_delab___spec__1___boxed(lean_object*); +lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__4; lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabHEq___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabEq___closed__1; @@ -467,12 +491,12 @@ lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__7; extern lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__1; lean_object* l_Lean_Delaborator_delabConst___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabListToArray___closed__2; +lean_object* l_Lean_Delaborator_delabDoElems(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabForall___lambda__1___closed__4; lean_object* l_Lean_Delaborator_delabAppExplicit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabMod___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__3; -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__2; lean_object* l_Lean_Delaborator_delabDiv___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__4; lean_object* l_Lean_Delaborator_delabFVar_match__1(lean_object*); @@ -480,6 +504,7 @@ lean_object* l_Lean_Delaborator_getExprKind_match__3(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7; lean_object* l_Lean_Delaborator_delabOrM___lambda__1___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabBAnd___closed__1; +lean_object* l___regBuiltin_Lean_Delaborator_delabDo(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabOr___closed__2; extern lean_object* l_myMacro____x40_Init_Control_Basic___hyg_566____closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabCoe___closed__2; @@ -497,8 +522,10 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabEq___closed__2; lean_object* l_Lean_Delaborator_delabStructureInstance___closed__3; lean_object* l_Lean_Delaborator_delabTuple___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabNamedPattern___closed__1; +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7; lean_object* l_Lean_Delaborator_getExprKind_match__2(lean_object*); extern lean_object* l_myMacro____x40_Init_Coe___hyg_176____closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Delaborator_delabForall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabMul___closed__2; @@ -510,9 +537,12 @@ lean_object* l_Lean_Delaborator_delabAppImplicit___closed__7; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1(lean_object*); lean_object* l_Lean_Delaborator_delabMData_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delab___closed__1; +lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_getUnusedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabAndThen(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3(size_t, size_t, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__1; +lean_object* l_Lean_delab___closed__7; lean_object* l___regBuiltin_Lean_Delaborator_delabBOr___closed__2; lean_object* l_Lean_Delaborator_delabTuple___lambda__1___closed__1; extern lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__1; @@ -523,6 +553,7 @@ lean_object* l_Lean_Level_quote___lambda__9___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabOr___closed__1; lean_object* l_Lean_Delaborator_delabAppMatch___closed__4; lean_object* l_Lean_Level_quote___lambda__9___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__2; lean_object* l_Lean_getPPUnicode___boxed(lean_object*); lean_object* l_Lean_getPPUnicode___closed__1; lean_object* l_Lean_Delaborator_withAppFnArgs_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -537,8 +568,10 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabAndM(lean_object*); lean_object* l_Lean_Delaborator_delabAppImplicit___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabMod___closed__3; extern lean_object* l_Lean_Level_LevelToFormat_Result_format___closed__2; +lean_object* l_Lean_Delaborator_withBindingBodyUnusedName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabCons(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__4; +lean_object* l_Lean_Delaborator_delabDo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_instMonadQuotationDelabM___closed__1; lean_object* l_Lean_Delaborator_delabseq___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__18; @@ -581,12 +614,14 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__4; lean_object* l_Lean_Delaborator_delabSort___closed__5; lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabDiv___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabProjectionApp___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabMod___closed__2; extern lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedKeyedDeclsAttribute___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabSub___closed__2; lean_object* l___regBuiltin_Lean_Delaborator_delabBNe(lean_object*); +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__4; lean_object* l_Lean_Delaborator_instOrElseDelabM(lean_object*); lean_object* l_Lean_Delaborator_getExprKind___closed__11; @@ -618,14 +653,17 @@ lean_object* l_Lean_Delaborator_delabOr___closed__1; lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Delaborator_delabFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppImplicit___closed__5; lean_object* l_Lean_Delaborator_delabConsList___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20; size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_Delaborator_delab___closed__4; extern lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__1; uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabForall___spec__3(lean_object*, lean_object*, size_t, size_t); +lean_object* l___regBuiltin_Lean_Delaborator_delabDo___closed__1; lean_object* l_Lean_Delaborator_delabAdd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__1; +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAdd___closed__1; lean_object* l_Lean_Delaborator_delabMul(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabNamedPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -700,6 +738,7 @@ lean_object* l_Lean_Delaborator_delabPrefixOp(lean_object*, lean_object*, lean_o extern lean_object* l_Lean_Expr_isCharLit___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5; lean_object* l_Lean_Delaborator_failure___rarg___closed__1; +lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_11471_(lean_object*); lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574_(lean_object*); lean_object* l_Lean_Delaborator_withAppFn_match__1(lean_object*); lean_object* l_Lean_Delaborator_delabProd___lambda__1___closed__1; @@ -713,12 +752,15 @@ lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_withBindingBody___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__1; lean_object* l_Lean_Delaborator_delabEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_expr_dbg_to_string(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabOrElse___closed__1; lean_object* l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabLam___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__4; extern lean_object* l_Lean_Parser_Tactic_intro___closed__7; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1; lean_object* l_Lean_getRevAliases(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabOrElse___closed__2; lean_object* l_Lean_Delaborator_getParamKinds___lambda__1___boxed__const__1; @@ -740,11 +782,14 @@ uint8_t l_Lean_getPPPrivateNames(lean_object*); size_t lean_usize_modn(size_t, lean_object*); extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; lean_object* l_Lean_Delaborator_delabProjectionApp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkSimpleThunk___closed__1; lean_object* l_Lean_Delaborator_delabLam___lambda__3___closed__4; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__6; uint8_t l_Lean_Expr_isConst(lean_object*); +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__4; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; lean_object* l___regBuiltin_Lean_Delaborator_delabMapRev___closed__1; @@ -785,7 +830,9 @@ extern lean_object* l___kind_term____x40_Init_Control_Basic___hyg_754____closed_ lean_object* l_Lean_Delaborator_delabOrM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabGE___lambda__1___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__3; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabFComp___closed__1; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabMData(lean_object*); lean_object* l_Lean_Delaborator_delabAndM___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabModN___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -803,6 +850,7 @@ lean_object* l_Lean_Delaborator_delabAppMatch___closed__6; lean_object* l_Lean_getPPCoercions___closed__2; lean_object* l___regBuiltin_Lean_Delaborator_delabseq___closed__2; size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Delaborator_delabDo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabProjectionApp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__7; lean_object* l_Lean_Delaborator_delabseqLeft___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -814,12 +862,14 @@ lean_object* l_Lean_Delaborator_liftMetaM___rarg___boxed(lean_object*, lean_obje lean_object* l_Lean_Delaborator_delabTuple___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__2; uint8_t l_Lean_Expr_isAutoParam(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2; lean_object* l_Lean_Level_quote_match__2(lean_object*); lean_object* l_Lean_Delaborator_hasIdent___boxed(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_instInhabitedDelabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__6; extern lean_object* l_Lean_NameGenerator_namePrefix___default___closed__2; lean_object* l_Lean_Delaborator_delabNot___closed__1; +lean_object* l_Lean_Delaborator_withBindingBodyUnusedName(lean_object*); extern lean_object* l_Lean_Level_LevelToFormat_Result_format___closed__4; lean_object* l_Lean_getPPCoercions___closed__1; lean_object* l_Lean_Delaborator_delabConst_match__1(lean_object*); @@ -833,6 +883,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__ extern lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__6; lean_object* l_Lean_Delaborator_delabOfNat___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; +lean_object* l_Lean_Delaborator_delabDo___closed__2; extern lean_object* l_Lean_Elab_Level_elabLevel___closed__8; lean_object* l_Std_RBNode_find___at_Lean_Delaborator_getPPOption___spec__1___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit___closed__3; @@ -873,6 +924,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabLT___closed__1; lean_object* l_Std_RBNode_insert___at_Lean_Delaborator_delabMData___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__1; lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__2; +lean_object* l_Lean_delab___closed__6; lean_object* l_Lean_Delaborator_delabTuple___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAndThen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -883,6 +935,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__6; uint8_t l_Lean_getPPNotation(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabAdd___closed__2; lean_object* l_Lean_Delaborator_failure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDo___closed__1; lean_object* l_Lean_Delaborator_delabStructureInstance_match__2(lean_object*); extern lean_object* l_Lean_Parser_Tactic_match___closed__1; lean_object* l_Std_RBNode_find___at_Lean_Delaborator_getPPOption___spec__1(lean_object*, lean_object*); @@ -933,6 +986,8 @@ lean_object* l_Lean_Delaborator_getPPOption_match__1___rarg(lean_object*, lean_o lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__2; lean_object* l_Lean_Delaborator_delabLetE(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Meta_getFVarLocalDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__5; lean_object* l_Lean_Expr_bindingName_x21(lean_object*); extern lean_object* l_Lean_Expr_ctorName___closed__10; lean_object* l_Std_AssocList_find_x3f___at_Lean_Delaborator_delabFor___spec__6___boxed(lean_object*, lean_object*); @@ -947,12 +1002,14 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabNe(lean_object*); lean_object* l_Lean_Delaborator_delabNe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__6; lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__1; +lean_object* l_Lean_Delaborator_delabStructureInstance___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* l_Lean_Delaborator_descend(lean_object*); lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1; lean_object* l_Lean_Level_quote___lambda__4___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__1; lean_object* l_Lean_Delaborator_delabForall___lambda__1___closed__2; lean_object* l_Lean_Level_instQuoteLevel; +lean_object* l_Lean_Delaborator_delabDo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabNe___lambda__1___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabBNot___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -973,12 +1030,12 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Meta_throwUnknownFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_instAlternativeDelabM; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_getUnusedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__1; lean_object* l_Lean_Delaborator_delabBVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Lean_Delaborator_instMonadQuotationDelabM___closed__4; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__2___closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__1; extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__1; lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__2; @@ -988,8 +1045,10 @@ lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delabor lean_object* l_Lean_Delaborator_delabAppImplicit_match__3(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabBEq(lean_object*); lean_object* l_Lean_Delaborator_delabAppExplicit_match__3(lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems___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* l_Lean_Delaborator_delabMVar___closed__1; extern lean_object* l_Lean_getSanitizeNames___closed__2; +lean_object* l_Lean_Delaborator_delabDo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__2; lean_object* l_Lean_Delaborator_delabSort___closed__13; lean_object* l_Lean_Delaborator_delabConst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -999,6 +1058,7 @@ lean_object* l_Lean_Delaborator_delabIff___lambda__1___closed__3; lean_object* l_Lean_Delaborator_delabMVar___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__6; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_fmt___at_Lean_delab___spec__1(lean_object*); lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2; lean_object* lean_panic_fn(lean_object*, lean_object*); extern lean_object* l_Lean_setOptionFromString___closed__1; @@ -1018,6 +1078,7 @@ lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__6; lean_object* l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__1; lean_object* l_Lean_Delaborator_delabNe___lambda__1___closed__2; +lean_object* l_Lean_delab___closed__5; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__22; extern lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__1; extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2; @@ -1064,9 +1125,11 @@ lean_object* l_Lean_getPPStructureInstances___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabOrM(lean_object*); extern lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__1; lean_object* l_Lean_Delaborator_delabMData(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDo___lambda__2___closed__1; lean_object* l_Lean_Delaborator_delabFailureId; lean_object* l_Array_ofSubarray___rarg(lean_object*); lean_object* l_Lean_Delaborator_delabOfNat___closed__3; +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabConst___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabseq___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__1; @@ -1075,6 +1138,7 @@ lean_object* l_Lean_Delaborator_delabSort_match__3___rarg(lean_object*, lean_obj lean_object* l_Lean_Meta_setMCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabNil___closed__2; lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabDiv___closed__3; lean_object* l_Lean_delab___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__6; @@ -1093,6 +1157,7 @@ lean_object* l_Lean_Delaborator_delabMap___closed__1; lean_object* l_Lean_Delaborator_delabHEq___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_getExprKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabBNot(lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__5; lean_object* l___regBuiltin_Lean_Delaborator_delabProd___closed__1; lean_object* l_Lean_Delaborator_delabCons___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1110,6 +1175,7 @@ lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___ lean_object* l_Lean_getPPPrivateNames___closed__2; lean_object* l_Lean_Delaborator_delabLT___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +lean_object* l_Lean_Delaborator_delabDoElems___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__4; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabCoe(lean_object*); @@ -1153,6 +1219,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__4; extern lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__1; lean_object* l_Lean_Delaborator_delabLT___lambda__1___closed__1; lean_object* l_Lean_Delaborator_getExprKind___closed__6; +lean_object* l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2; lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__12; lean_object* l___regBuiltin_Lean_Delaborator_delabSub___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabEquiv___closed__2; @@ -1163,7 +1230,8 @@ lean_object* l_Lean_Delaborator_delabAttribute; uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabConst___closed__2; extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems___closed__2; +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_binderInfo(lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); @@ -1171,12 +1239,14 @@ lean_object* l_Lean_Delaborator_delabLit_match__1(lean_object*); lean_object* l_Lean_Delaborator_withAppArg___rarg___closed__1; lean_object* l_Lean_Delaborator_delabFor_match__2(lean_object*); extern lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; +lean_object* l_Lean_Delaborator_delabDoElems_match__2(lean_object*); lean_object* l_Lean_Delaborator_delabAppImplicit___closed__4; lean_object* l___regBuiltin_Lean_Delaborator_delabLam(lean_object*); lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6; extern lean_object* l_Lean_Expr_ctorName___closed__6; lean_object* l_Lean_Delaborator_delabSort___closed__8; lean_object* l_Lean_Delaborator_delabAndThen___lambda__1___closed__1; +lean_object* l_Lean_delab___closed__4; lean_object* l_Lean_Level_quote___closed__5; lean_object* l_Lean_Delaborator_delabProj___closed__4; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1193,6 +1263,7 @@ lean_object* l_Lean_Delaborator_instInhabitedDelabM(lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1022____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabBVar___closed__1; lean_object* l_Lean_Delaborator_delabModN(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__3; lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4(lean_object*); lean_object* l_Lean_Delaborator_delabPow___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Delaborator_delabFor___spec__5___boxed(lean_object*, lean_object*); @@ -1201,7 +1272,6 @@ lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___lamb lean_object* l_Lean_Delaborator_delabBNot___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabProj(lean_object*); lean_object* l_Lean_Delaborator_delabBNot___lambda__1___closed__4; -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__7; lean_object* lean_mk_syntax_ident(lean_object*); lean_object* l_Lean_Delaborator_delabSort___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabLetE(lean_object*); @@ -1259,6 +1329,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight___closed__3; lean_object* l_Lean_Delaborator_delabAppend___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabGE___lambda__1___closed__4; lean_object* l_Lean_Delaborator_delabMapRev___lambda__1___closed__2; +lean_object* l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1; lean_object* l_Lean_Delaborator_delabOrElse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__4; @@ -1268,7 +1339,6 @@ uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Delaborator_delabNil___lambda__1___closed__3; lean_object* l_Lean_getPPBinderTypes___closed__2; lean_object* l_Lean_Delaborator_liftMetaM(lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__5; lean_object* l_Lean_Delaborator_delabseq___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppExplicit___closed__2; lean_object* lean_local_ctx_find(lean_object*, lean_object*); @@ -1296,6 +1366,7 @@ lean_object* l_Lean_Name_getRoot(lean_object*); lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__3; lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__3; lean_object* l_Lean_Delaborator_delabMapRev(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_rwRule___closed__3; lean_object* l_Lean_Delaborator_delabBNot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_getPPAll(lean_object*); lean_object* l_Lean_Delaborator_getExprKind___closed__3; @@ -1303,6 +1374,7 @@ lean_object* l_Lean_Level_quote___closed__1; lean_object* l_Lean_Delaborator_delabFComp___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabOfNat___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__7; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAndThen___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626_(lean_object*); @@ -1314,7 +1386,6 @@ lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabNot___closed__1; lean_object* l_Lean_Delaborator_annotatePos___closed__1; lean_object* l_Lean_Delaborator_delabPow___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabAdd___closed__1; lean_object* l_Lean_Delaborator_delabIff___closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_1343____closed__1; @@ -1324,6 +1395,7 @@ lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabCons___closed__1; lean_object* l_Lean_Delaborator_delabPow___closed__1; lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__13; +lean_object* l_Lean_Delaborator_delabDoElems_delabAndRet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabSort___closed__11; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; lean_object* l_Lean_getPPPrivateNames___closed__1; @@ -1343,14 +1415,17 @@ lean_object* l_Lean_Delaborator_delabNil___lambda__1___boxed(lean_object*, lean_ lean_object* l_Lean_Level_quote(lean_object*); lean_object* l_Lean_Delaborator_instAlternativeDelabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_quote___closed__4; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabConst_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__1; extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; +lean_object* l_Lean_Delaborator_delabDoElems___lambda__1___closed__3; lean_object* l_Lean_Delaborator_delabConst___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabForall(lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__1; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDoElems_prependAndRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace_match__1(lean_object*); lean_object* l_Lean_Delaborator_delabBOr___closed__1; extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__3; @@ -1391,11 +1466,13 @@ extern lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed lean_object* l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabLam___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__6; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__8; lean_object* l_Lean_Delaborator_hasIdent_match__1(lean_object*); lean_object* l_Lean_Delaborator_delabLetE___closed__1; lean_object* l_Lean_getPPBinderTypes___closed__1; lean_object* l_Lean_Delaborator_delabLam_match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isLet(lean_object*); uint8_t l_Lean_isStructure(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabLE___lambda__1___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabProj___closed__1; @@ -10133,6 +10210,92 @@ lean_dec(x_3); return x_8; } } +lean_object* l_Lean_Delaborator_getUnusedName(lean_object* x_1, 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; +x_8 = l_Lean_Name_isAnonymous(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +lean_dec(x_3); +x_10 = lean_local_ctx_get_unused_name(x_9, x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_7); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_1); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_14 = lean_local_ctx_get_unused_name(x_12, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_7); +return x_15; +} +} +} +lean_object* l_Lean_Delaborator_getUnusedName___boxed(lean_object* x_1, 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_Lean_Delaborator_getUnusedName(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_Delaborator_withBindingBodyUnusedName___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: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_8 = l_Lean_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_Expr_bindingName_x21(x_9); +lean_dec(x_9); +lean_inc(x_3); +x_12 = l_Lean_Delaborator_getUnusedName(x_11, x_2, x_3, x_4, x_5, x_6, x_10); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +lean_inc(x_13); +x_15 = lean_mk_syntax_ident(x_13); +lean_inc(x_2); +x_16 = l_Lean_Delaborator_annotateCurPos(x_15, x_2, x_3, x_4, x_5, x_6, x_14); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_apply_1(x_1, x_17); +x_20 = l_Lean_Delaborator_withBindingBody___rarg(x_13, x_19, x_2, x_3, x_4, x_5, x_6, x_18); +return x_20; +} +} +lean_object* l_Lean_Delaborator_withBindingBodyUnusedName(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withBindingBodyUnusedName___rarg), 7, 0); +return x_2; +} +} lean_object* l_Lean_Delaborator_liftMetaM___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: { @@ -11170,7 +11333,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_Delaborator_withAppFn___rarg___closed__2; x_2 = l_Lean_Delaborator_delabFVar___closed__1; -x_3 = lean_unsigned_to_nat(253u); +x_3 = lean_unsigned_to_nat(264u); x_4 = lean_unsigned_to_nat(31u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11351,7 +11514,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_Delaborator_withAppFn___rarg___closed__2; x_2 = l_Lean_Delaborator_delabBVar___closed__1; -x_3 = lean_unsigned_to_nat(264u); +x_3 = lean_unsigned_to_nat(275u); x_4 = lean_unsigned_to_nat(34u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11494,7 +11657,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_Delaborator_withAppFn___rarg___closed__2; x_2 = l_Lean_Delaborator_delabMVar___closed__1; -x_3 = lean_unsigned_to_nat(269u); +x_3 = lean_unsigned_to_nat(280u); x_4 = lean_unsigned_to_nat(32u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11776,7 +11939,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_Delaborator_withAppFn___rarg___closed__2; x_2 = l_Lean_Delaborator_delabSort___closed__1; -x_3 = lean_unsigned_to_nat(275u); +x_3 = lean_unsigned_to_nat(286u); x_4 = lean_unsigned_to_nat(32u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -13405,7 +13568,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_Delaborator_withAppFn___rarg___closed__2; x_2 = l_Lean_Delaborator_delabConst___closed__1; -x_3 = lean_unsigned_to_nat(307u); +x_3 = lean_unsigned_to_nat(318u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -15657,51 +15820,6 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_getUnusedName(lean_object* x_1, 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; -x_8 = l_Lean_Name_isAnonymous(x_1); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -lean_dec(x_3); -x_10 = lean_local_ctx_get_unused_name(x_9, x_1); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_7); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_1); -x_12 = lean_ctor_get(x_3, 1); -lean_inc(x_12); -lean_dec(x_3); -x_13 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; -x_14 = lean_local_ctx_get_unused_name(x_12, x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_7); -return x_15; -} -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_getUnusedName___boxed(lean_object* x_1, 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_Delaborator_0__Lean_Delaborator_getUnusedName(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_8; -} -} static lean_object* _init_l_Lean_Delaborator_AppMatchState_params___default() { _start: { @@ -15783,6 +15901,14 @@ lean_dec(x_1); return x_5; } } +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -15791,35 +15917,20 @@ x_9 = lean_unsigned_to_nat(0u); x_10 = lean_nat_dec_eq(x_1, x_9); if (x_10 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_unsigned_to_nat(1u); x_12 = lean_nat_sub(x_1, x_11); -x_13 = l_Lean_Delaborator_getExpr(x_3, x_4, x_5, x_6, x_7, x_8); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l_Lean_Expr_bindingName_x21(x_14); -lean_dec(x_14); -lean_inc(x_4); -x_17 = l___private_Lean_Delaborator_0__Lean_Delaborator_getUnusedName(x_16, x_3, x_4, x_5, x_6, x_7, x_15); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___boxed), 8, 2); -lean_closure_set(x_20, 0, x_12); -lean_closure_set(x_20, 1, x_2); -x_21 = l_Lean_Delaborator_withBindingBody___rarg(x_18, x_20, x_3, x_4, x_5, x_6, x_7, x_19); -return x_21; +x_13 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1___boxed), 9, 2); +lean_closure_set(x_13, 0, x_12); +lean_closure_set(x_13, 1, x_2); +x_14 = l_Lean_Delaborator_withBindingBodyUnusedName___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; } else { -lean_object* x_22; -x_22 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_22; +lean_object* x_15; +x_15 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_15; } } } @@ -15831,6 +15942,16 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborato return x_2; } } +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -21036,7 +21157,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_Delaborator_withAppFn___rarg___closed__2; x_2 = l_Lean_Delaborator_delabMData___closed__1; -x_3 = lean_unsigned_to_nat(464u); +x_3 = lean_unsigned_to_nat(467u); x_4 = lean_unsigned_to_nat(35u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -22284,9 +22405,14 @@ return x_137; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; -x_3 = lean_apply_1(x_2, x_1); -return x_3; +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; } } lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__1(lean_object* x_1) { @@ -22297,143 +22423,217 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborato return x_2; } } +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_apply_1(x_2, x_1); +return x_3; +} +} +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2___rarg), 2, 0); +return x_2; +} +} +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___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_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else +{ +uint8_t x_16; +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) +{ +return x_8; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_8); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_array_push(x_1, x_3); +x_11 = l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders(x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +static lean_object* _init_l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__1), 7, 0); +return x_1; +} +} lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_9 = l_Lean_Delaborator_getExpr(x_3, x_4, x_5, x_6, x_7, 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_9 = l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext(x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; uint8_t x_11; x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Expr_bindingName_x21(x_10); +x_11 = lean_unbox(x_10); lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); -x_13 = l___private_Lean_Delaborator_0__Lean_Delaborator_getUnusedName(x_12, x_3, x_4, x_5, x_6, x_7, x_11); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_3); +x_14 = l_Lean_Delaborator_withBindingBodyUnusedName___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); -lean_inc(x_14); -x_16 = lean_mk_syntax_ident(x_14); -lean_inc(x_3); -x_17 = l_Lean_Delaborator_annotateCurPos(x_16, x_3, x_4, x_5, x_6, x_7, x_15); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_array_push(x_2, x_18); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_21 = l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext(x_3, x_4, x_5, x_6, x_7, x_19); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; uint8_t x_23; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_unbox(x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_26 = l_Lean_Delaborator_withBindingBody___rarg(x_14, x_25, x_3, x_4, x_5, x_6, x_7, x_24); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_apply_8(x_1, x_20, x_27, x_3, x_4, x_5, x_6, x_7, x_28); -return x_29; -} -else -{ -uint8_t x_30; -lean_dec(x_20); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_30 = !lean_is_exclusive(x_26); -if (x_30 == 0) -{ -return x_26; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_26, 0); -x_32 = lean_ctor_get(x_26, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_26); -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_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_21, 1); -lean_inc(x_34); -lean_dec(x_21); -x_35 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders), 8, 2); -lean_closure_set(x_35, 0, x_1); -lean_closure_set(x_35, 1, x_20); -x_36 = l_Lean_Delaborator_withBindingBody___rarg(x_14, x_35, x_3, x_4, x_5, x_6, x_7, x_34); -return x_36; -} -} -else -{ -uint8_t x_37; -lean_dec(x_20); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_array_push(x_2, x_18); +x_20 = lean_apply_8(x_1, x_19, x_17, x_3, x_4, x_5, x_6, x_7, x_16); +return x_20; +} +else +{ +uint8_t x_21; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_21); -if (x_37 == 0) +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) { -return x_21; +return x_14; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_21, 0); -x_39 = lean_ctor_get(x_21, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_21); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_9, 1); +lean_inc(x_25); +lean_dec(x_9); +x_26 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__2), 9, 2); +lean_closure_set(x_26, 0, x_2); +lean_closure_set(x_26, 1, x_1); +x_27 = l_Lean_Delaborator_withBindingBodyUnusedName___rarg(x_26, x_3, x_4, x_5, x_6, x_7, x_25); +return x_27; +} +} +else +{ +uint8_t x_28; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_9); +if (x_28 == 0) +{ +return x_9; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_9, 0); +x_30 = lean_ctor_get(x_9, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_9); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } @@ -24925,7 +25125,7 @@ x_13 = lean_ctor_get(x_8, 3); lean_inc(x_13); lean_dec(x_8); lean_inc(x_2); -x_14 = l___private_Lean_Delaborator_0__Lean_Delaborator_getUnusedName(x_10, x_1, x_2, x_3, x_4, x_5, x_9); +x_14 = l_Lean_Delaborator_getUnusedName(x_10, x_1, x_2, x_3, x_4, x_5, x_9); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -26626,7 +26826,41 @@ return x_7; } } } -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__1___closed__1() { +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +lean_ctor_set(x_7, 0, x_10); +return x_7; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_7, 0); +x_12 = lean_ctor_get(x_7, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_7); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +} +} +static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -26635,7 +26869,7 @@ x_2 = l_Lean_mkAtom(x_1); return x_2; } } -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -26670,7 +26904,7 @@ lean_ctor_set(x_23, 1, x_3); x_24 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; x_25 = lean_array_push(x_24, x_21); x_26 = lean_array_push(x_25, x_23); -x_27 = l_Lean_Delaborator_delabStructureInstance___lambda__1___closed__1; +x_27 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1; x_28 = lean_array_push(x_26, x_27); x_29 = lean_array_push(x_28, x_17); x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; @@ -26706,7 +26940,7 @@ lean_ctor_set(x_42, 1, x_3); x_43 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; x_44 = lean_array_push(x_43, x_40); x_45 = lean_array_push(x_44, x_42); -x_46 = l_Lean_Delaborator_delabStructureInstance___lambda__1___closed__1; +x_46 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1; x_47 = lean_array_push(x_45, x_46); x_48 = lean_array_push(x_47, x_35); x_49 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; @@ -26811,7 +27045,7 @@ lean_ctor_set(x_74, 1, x_3); x_75 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; x_76 = lean_array_push(x_75, x_72); x_77 = lean_array_push(x_76, x_74); -x_78 = l_Lean_Delaborator_delabStructureInstance___lambda__1___closed__1; +x_78 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1; x_79 = lean_array_push(x_77, x_78); x_80 = lean_array_push(x_79, x_66); x_81 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; @@ -26885,7 +27119,7 @@ return x_95; } } } -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -26897,17 +27131,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1; +x_1 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3() { _start: { lean_object* x_1; @@ -26915,7 +27149,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_getPPStructureInstanceType___boxed), 1, return x_1; } } -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__4() { +static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -26924,7 +27158,7 @@ x_2 = l_Lean_mkAtom(x_1); return x_2; } } -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__5() { +static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -26933,27 +27167,27 @@ x_2 = l_Lean_mkAtom(x_1); return x_2; } } -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__6() { +static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__6; -x_2 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__4; +x_2 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__7() { +static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__6; +x_1 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6; x_2 = l_Lean_mkOptionalNode___closed__1; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* l_Lean_Delaborator_delabStructureInstance___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_Delaborator_delabStructureInstance___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: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -27090,11 +27324,11 @@ block_121: lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; x_27 = l_Lean_getStructureFields(x_1, x_14); x_28 = l_Array_empty___closed__1; -x_29 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance___lambda__1___boxed), 10, 3); +x_29 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance___lambda__2___boxed), 10, 3); lean_closure_set(x_29, 0, x_25); lean_closure_set(x_29, 1, x_27); lean_closure_set(x_29, 2, x_28); -x_30 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__2; +x_30 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); @@ -27117,7 +27351,7 @@ x_36 = lean_mk_empty_array_with_capacity(x_35); x_37 = lean_unsigned_to_nat(0u); x_38 = l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__2(x_28, x_34, x_34, x_35, x_37, lean_box(0), x_36); lean_dec(x_34); -x_39 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__3; +x_39 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3; lean_inc(x_2); x_40 = l_Lean_Delaborator_getPPOption(x_39, x_2, x_3, x_4, x_5, x_6, x_33); x_41 = lean_ctor_get(x_40, 0); @@ -27143,12 +27377,12 @@ x_45 = l_Lean_nullKind; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_38); -x_47 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__7; +x_47 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7; x_48 = lean_array_push(x_47, x_46); x_49 = l_Lean_mkOptionalNode___closed__1; x_50 = lean_array_push(x_48, x_49); x_51 = lean_array_push(x_50, x_49); -x_52 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__5; +x_52 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5; x_53 = lean_array_push(x_51, x_52); x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_55 = lean_alloc_ctor(1, 2, 0); @@ -27167,12 +27401,12 @@ x_57 = l_Lean_nullKind; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_38); -x_59 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__7; +x_59 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7; x_60 = lean_array_push(x_59, x_58); x_61 = l_Lean_mkOptionalNode___closed__1; x_62 = lean_array_push(x_60, x_61); x_63 = lean_array_push(x_62, x_61); -x_64 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__5; +x_64 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5; x_65 = lean_array_push(x_63, x_64); x_66 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_67 = lean_alloc_ctor(1, 2, 0); @@ -27223,12 +27457,12 @@ x_81 = lean_array_push(x_80, x_77); x_82 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_82, 0, x_78); lean_ctor_set(x_82, 1, x_81); -x_83 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__7; +x_83 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7; x_84 = lean_array_push(x_83, x_79); x_85 = l_Lean_mkOptionalNode___closed__1; x_86 = lean_array_push(x_84, x_85); x_87 = lean_array_push(x_86, x_82); -x_88 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__5; +x_88 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5; x_89 = lean_array_push(x_87, x_88); x_90 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_91 = lean_alloc_ctor(1, 2, 0); @@ -27254,12 +27488,12 @@ x_97 = lean_array_push(x_96, x_92); x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_94); lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__7; +x_99 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7; x_100 = lean_array_push(x_99, x_95); x_101 = l_Lean_mkOptionalNode___closed__1; x_102 = lean_array_push(x_100, x_101); x_103 = lean_array_push(x_102, x_98); -x_104 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__5; +x_104 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5; x_105 = lean_array_push(x_103, x_104); x_106 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_107 = lean_alloc_ctor(1, 2, 0); @@ -27361,18 +27595,16 @@ return x_120; static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_setInlineAttribute___rarg___closed__2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance___lambda__1___boxed), 6, 0); +return x_1; } } static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance___lambda__2), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance___lambda__3), 7, 0); return x_1; } } @@ -27426,11 +27658,24 @@ lean_dec(x_2); return x_8; } } -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Delaborator_delabStructureInstance___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Delaborator_delabStructureInstance___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Delaborator_delabStructureInstance___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_2); lean_dec(x_1); return x_11; @@ -34166,6 +34411,1207 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* l_Lean_Delaborator_delabDoElems_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 6) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 2); +lean_inc(x_6); +x_7 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_8 = lean_box_uint64(x_7); +x_9 = lean_apply_4(x_2, x_4, x_5, x_6, x_8); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_2); +x_10 = lean_apply_1(x_3, x_1); +return x_10; +} +} +} +lean_object* l_Lean_Delaborator_delabDoElems_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Delaborator_delabDoElems_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 8) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 2); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 3); +lean_inc(x_7); +x_8 = lean_ctor_get_uint64(x_1, sizeof(void*)*4); +lean_dec(x_1); +x_9 = lean_box_uint64(x_8); +x_10 = lean_apply_5(x_2, x_4, x_5, x_6, x_7, x_9); +return x_10; +} +else +{ +lean_object* x_11; +lean_dec(x_2); +x_11 = lean_apply_1(x_3, x_1); +return x_11; +} +} +} +lean_object* l_Lean_Delaborator_delabDoElems_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems_match__2___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doExpr"); +return x_1; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Delaborator_delabDoElems_delabAndRet(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Delaborator_delab(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; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_9 = lean_ctor_get(x_7, 0); +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_9); +x_12 = l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2; +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_7, 0, x_15); +return x_7; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_16 = lean_ctor_get(x_7, 0); +x_17 = lean_ctor_get(x_7, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_7); +x_18 = l_Array_empty___closed__1; +x_19 = lean_array_push(x_18, x_16); +x_20 = l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_17); +return x_24; +} +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_7); +if (x_25 == 0) +{ +return x_7; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_7, 0); +x_27 = lean_ctor_get(x_7, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_7); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +} +lean_object* l_Lean_Delaborator_delabDoElems_prependAndRec(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_8 = lean_apply_6(x_1, 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; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_Delaborator_delabDoElems(x_2, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_9); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_9); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +else +{ +uint8_t x_19; +lean_dec(x_9); +x_19 = !lean_is_exclusive(x_11); +if (x_19 == 0) +{ +return x_11; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_11, 0); +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_11); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +else +{ +uint8_t x_23; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = !lean_is_exclusive(x_8); +if (x_23 == 0) +{ +return x_8; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_8, 0); +x_25 = lean_ctor_get(x_8, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_8); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doLet"); +return x_1; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Delaborator_delabDoElems___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Delaborator_delabDoElems___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_11 = lean_mk_syntax_ident(x_1); +x_12 = l_Array_empty___closed__1; +x_13 = lean_array_push(x_12, x_11); +x_14 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_15 = lean_array_push(x_13, x_14); +x_16 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_17 = lean_array_push(x_16, x_2); +x_18 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_array_push(x_12, x_19); +x_21 = l_Lean_nullKind___closed__2; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_array_push(x_15, x_22); +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_25 = lean_array_push(x_23, x_24); +x_26 = lean_array_push(x_25, x_3); +x_27 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_array_push(x_12, x_28); +x_30 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_Delaborator_delabDoElems___lambda__1___closed__3; +x_33 = lean_array_push(x_32, x_31); +x_34 = l_Lean_Delaborator_delabDoElems___lambda__1___closed__2; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_10); +return x_36; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Delaborator_delabDoElems___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_expr_instantiate1(x_1, x_5); +x_13 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__1___boxed), 10, 3); +lean_closure_set(x_13, 0, x_2); +lean_closure_set(x_13, 1, x_3); +lean_closure_set(x_13, 2, x_4); +x_14 = l_Lean_Delaborator_delabDoElems___lambda__2___closed__1; +x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_15, 0, x_14); +lean_closure_set(x_15, 1, x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems_prependAndRec), 7, 1); +lean_closure_set(x_16, 0, x_15); +x_17 = lean_unsigned_to_nat(2u); +x_18 = l_Lean_Delaborator_descend___rarg(x_12, x_17, x_16, x_6, x_7, x_8, x_9, x_10, x_11); +return x_18; +} +} +lean_object* l_Lean_Delaborator_delabDoElems___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = l_Array_empty___closed__1; +x_10 = lean_array_push(x_9, x_1); +x_11 = l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_8); +return x_13; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doLetArrow"); +return x_1; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Delaborator_delabDoElems___lambda__4___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doPatDecl"); +return x_1; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Delaborator_delabDoElems___lambda__4___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Parser_Tactic_rwRule___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Delaborator_delabDoElems___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_1); +x_12 = l_Lean_Delaborator_delabDoElems___lambda__4___closed__5; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_2); +x_15 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_16 = lean_array_push(x_14, x_15); +x_17 = l_Lean_Delaborator_delabDoElems___lambda__4___closed__4; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_Delaborator_delabDoElems___lambda__1___closed__3; +x_20 = lean_array_push(x_19, x_18); +x_21 = l_Lean_Delaborator_delabDoElems___lambda__4___closed__2; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_9); +return x_23; +} +} +lean_object* l_Lean_Delaborator_delabDoElems___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = l_Lean_Expr_hasLooseBVars(x_1); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_3); +x_11 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__3___boxed), 8, 1); +lean_closure_set(x_11, 0, x_2); +x_12 = l_Lean_Delaborator_delabDoElems___lambda__2___closed__1; +x_13 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_13, 0, x_12); +lean_closure_set(x_13, 1, x_11); +x_14 = l_Lean_Delaborator_delabDoElems_prependAndRec(x_13, x_4, x_5, x_6, x_7, x_8, x_9); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__4___boxed), 9, 2); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, x_2); +x_16 = l_Lean_Delaborator_delabDoElems___lambda__2___closed__1; +x_17 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_17, 0, x_16); +lean_closure_set(x_17, 1, x_15); +x_18 = l_Lean_Delaborator_delabDoElems_prependAndRec(x_17, x_4, x_5, x_6, x_7, x_8, x_9); +return x_18; +} +} +} +lean_object* l_Lean_Delaborator_delabDoElems___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_2) == 6) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_2, 2); +lean_inc(x_9); +lean_dec(x_2); +x_10 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__5___boxed), 9, 2); +lean_closure_set(x_10, 0, x_9); +lean_closure_set(x_10, 1, x_1); +x_11 = l_Lean_Delaborator_withBindingBodyUnusedName___rarg(x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +else +{ +lean_object* x_12; +lean_dec(x_2); +lean_dec(x_1); +x_12 = l_Lean_Delaborator_delabDoElems_delabAndRet(x_3, x_4, x_5, x_6, x_7, x_8); +return x_12; +} +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Delaborator.delabDoElems"); +return x_1; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDoElems___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_Lean_Delaborator_withAppFn___rarg___closed__2; +x_2 = l_Lean_Delaborator_delabDoElems___closed__1; +x_3 = lean_unsigned_to_nat(819u); +x_4 = lean_unsigned_to_nat(40u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_Delaborator_delabDoElems(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +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); +x_10 = l_myMacro____x40_Init_Notation___hyg_4868____closed__7; +x_11 = lean_unsigned_to_nat(6u); +x_12 = l_Lean_Expr_isAppOfArity(x_8, x_10, x_11); +if (x_12 == 0) +{ +uint8_t x_13; +x_13 = l_Lean_Expr_isLet(x_8); +lean_dec(x_8); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = l_Lean_Delaborator_delabDoElems_delabAndRet(x_1, x_2, x_3, x_4, x_5, x_9); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_9); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 8) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_16, 2); +lean_inc(x_20); +x_21 = lean_ctor_get(x_16, 3); +lean_inc(x_21); +lean_dec(x_16); +lean_inc(x_2); +x_22 = l_Lean_Delaborator_getUnusedName(x_18, x_1, x_2, x_3, x_4, x_5, x_17); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_unsigned_to_nat(0u); +x_26 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +lean_inc(x_19); +x_27 = l_Lean_Delaborator_descend___rarg(x_19, x_25, x_26, x_1, x_2, x_3, x_4, x_5, x_24); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_unsigned_to_nat(1u); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +lean_inc(x_20); +x_31 = l_Lean_Delaborator_descend___rarg(x_20, x_30, x_26, x_1, x_2, x_3, x_4, x_5, x_29); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +lean_inc(x_23); +x_34 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__2___boxed), 11, 4); +lean_closure_set(x_34, 0, x_21); +lean_closure_set(x_34, 1, x_23); +lean_closure_set(x_34, 2, x_28); +lean_closure_set(x_34, 3, x_32); +x_35 = l_Lean_Meta_withLetDecl___at_Lean_Delaborator_delabLetE___spec__1___rarg(x_23, x_19, x_20, x_34, x_1, x_2, x_3, x_4, x_5, x_33); +return x_35; +} +else +{ +uint8_t x_36; +lean_dec(x_28); +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_36 = !lean_is_exclusive(x_31); +if (x_36 == 0) +{ +return x_31; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_31, 0); +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_31); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_27); +if (x_40 == 0) +{ +return x_27; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_27, 0); +x_42 = lean_ctor_get(x_27, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_27); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_16); +x_44 = lean_ctor_get(x_15, 1); +lean_inc(x_44); +lean_dec(x_15); +x_45 = l_Lean_Delaborator_withAppFn___rarg___closed__1; +x_46 = l_Lean_Delaborator_delabDoElems___closed__2; +x_47 = lean_panic_fn(x_45, x_46); +x_48 = lean_apply_6(x_47, x_1, x_2, x_3, x_4, x_5, x_44); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_8); +x_49 = l_Lean_Delaborator_delabTuple___lambda__1___closed__1; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_50 = l_Lean_Delaborator_withAppFn___rarg(x_49, x_1, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__6), 8, 1); +lean_closure_set(x_53, 0, x_51); +x_54 = l_Lean_Delaborator_delabAppExplicit___closed__1; +x_55 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_55, 0, x_54); +lean_closure_set(x_55, 1, x_53); +x_56 = l_Lean_Delaborator_withAppArg___rarg(x_55, x_1, x_2, x_3, x_4, x_5, x_52); +return x_56; +} +else +{ +uint8_t x_57; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_57 = !lean_is_exclusive(x_50); +if (x_57 == 0) +{ +return x_50; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_50, 0); +x_59 = lean_ctor_get(x_50, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_50); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +} +} +lean_object* l_Lean_Delaborator_delabDoElems___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Delaborator_delabDoElems___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +lean_object* l_Lean_Delaborator_delabDoElems___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Delaborator_delabDoElems___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_5); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Delaborator_delabDoElems___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Delaborator_delabDoElems___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Delaborator_delabDoElems___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +lean_object* l_Lean_Delaborator_delabDoElems___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Delaborator_delabDoElems___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doSeqItem"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = x_2 < x_1; +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = x_3; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = x_6; +x_10 = l_Lean_Syntax_mkApp___closed__1; +x_11 = lean_array_push(x_10, x_9); +x_12 = l_Lean_mkOptionalNode___closed__1; +x_13 = lean_array_push(x_11, x_12); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = 1; +x_17 = x_2 + x_16; +x_18 = x_15; +x_19 = lean_array_uset(x_8, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("do"); +return x_1; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Delaborator_delabDo___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Delaborator_delabDo___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_Delaborator_delabDo___lambda__1___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doSeqIndent"); +return x_1; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Delaborator_delabDo___lambda__1___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Delaborator_delabDo___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_Lean_Delaborator_delabDoElems(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_List_redLength___rarg(x_10); +x_12 = lean_mk_empty_array_with_capacity(x_11); +lean_dec(x_11); +x_13 = l_List_toArrayAux___rarg(x_10, x_12); +x_14 = lean_array_get_size(x_13); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +x_17 = x_13; +x_18 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1(x_15, x_16, x_17); +x_19 = x_18; +x_20 = l_Array_empty___closed__1; +x_21 = l_Array_appendCore___rarg(x_20, x_19); +lean_dec(x_19); +x_22 = l_Lean_nullKind___closed__2; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_array_push(x_20, x_23); +x_25 = l_Lean_Delaborator_delabDo___lambda__1___closed__6; +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Lean_Delaborator_delabDo___lambda__1___closed__4; +x_28 = lean_array_push(x_27, x_26); +x_29 = l_Lean_Delaborator_delabDo___lambda__1___closed__2; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +lean_ctor_set(x_8, 0, x_30); +return x_8; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_31 = lean_ctor_get(x_8, 0); +x_32 = lean_ctor_get(x_8, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_8); +x_33 = l_List_redLength___rarg(x_31); +x_34 = lean_mk_empty_array_with_capacity(x_33); +lean_dec(x_33); +x_35 = l_List_toArrayAux___rarg(x_31, x_34); +x_36 = lean_array_get_size(x_35); +x_37 = lean_usize_of_nat(x_36); +lean_dec(x_36); +x_38 = 0; +x_39 = x_35; +x_40 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1(x_37, x_38, x_39); +x_41 = x_40; +x_42 = l_Array_empty___closed__1; +x_43 = l_Array_appendCore___rarg(x_42, x_41); +lean_dec(x_41); +x_44 = l_Lean_nullKind___closed__2; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = lean_array_push(x_42, x_45); +x_47 = l_Lean_Delaborator_delabDo___lambda__1___closed__6; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Lean_Delaborator_delabDo___lambda__1___closed__4; +x_50 = lean_array_push(x_49, x_48); +x_51 = l_Lean_Delaborator_delabDo___lambda__1___closed__2; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_32); +return x_53; +} +} +else +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_8); +if (x_54 == 0) +{ +return x_8; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_8, 0); +x_56 = lean_ctor_get(x_8, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_8); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDo___lambda__1___boxed), 7, 0); +return x_1; +} +} +lean_object* l_Lean_Delaborator_delabDo___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; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = l_Lean_Delaborator_delabDo___lambda__2___closed__1; +x_9 = l_myMacro____x40_Init_Notation___hyg_4868____closed__7; +x_10 = lean_unsigned_to_nat(6u); +x_11 = l_Lean_Expr_isAppOfArity(x_1, x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_12 = l_Lean_Delaborator_failure___rarg(x_7); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +x_18 = lean_apply_7(x_8, x_17, x_2, x_3, x_4, x_5, x_6, x_7); +return x_18; +} +} +} +static lean_object* _init_l_Lean_Delaborator_delabDo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDo___lambda__2___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Delaborator_delabDo___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_Delaborator_delabDo___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Delaborator_delabDo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_Delaborator_delabAppMatch___closed__7; +x_8 = l_Lean_Delaborator_delabDo___closed__2; +x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1(x_4, x_5, x_3); +return x_6; +} +} +lean_object* l_Lean_Delaborator_delabDo___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_Lean_Delaborator_delabDo___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Lean_Delaborator_delabDo___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_Lean_Delaborator_delabDo___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabDo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDo), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Delaborator_delabDo(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_Delaborator_delabBind___closed__2; +x_4 = l___regBuiltin_Lean_Delaborator_delabDo___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_fmt___at_Lean_delab___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_expr_dbg_to_string(x_1); +x_3 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_delab___closed__1() { _start: { @@ -34180,144 +35626,279 @@ _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_Delaborator_withAppFn___rarg___closed__2; x_2 = l_Lean_delab___closed__1; -x_3 = lean_unsigned_to_nat(811u); +x_3 = lean_unsigned_to_nat(849u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; 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_Lean_delab___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("PrettyPrinter"); +return x_1; +} +} +static lean_object* _init_l_Lean_delab___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_delab___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_delab___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_delab___closed__4; +x_2 = l_Lean_Delaborator_mkDelabAttribute___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_delab___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("input"); +return x_1; +} +} +static lean_object* _init_l_Lean_delab___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_delab___closed__5; +x_2 = l_Lean_delab___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} lean_object* l_Lean_delab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_7, 0); -lean_inc(x_10); -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_12, 0, x_3); -lean_ctor_set(x_12, 1, x_11); -lean_ctor_set(x_12, 2, x_10); -lean_ctor_set(x_12, 3, x_4); -lean_ctor_set(x_12, 4, x_1); -lean_ctor_set(x_12, 5, x_2); +lean_object* x_10; uint8_t x_40; lean_object* x_41; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_51 = lean_st_ref_get(x_8, x_9); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get_uint8(x_53, sizeof(void*)*1); +lean_dec(x_53); +if (x_54 == 0) +{ +lean_object* x_55; uint8_t x_56; +x_55 = lean_ctor_get(x_51, 1); +lean_inc(x_55); +lean_dec(x_51); +x_56 = 0; +x_40 = x_56; +x_41 = x_55; +goto block_50; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_57 = lean_ctor_get(x_51, 1); +lean_inc(x_57); +lean_dec(x_51); +x_58 = l_Lean_delab___closed__7; +x_59 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_58, x_5, x_6, x_7, x_8, x_57); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_unbox(x_60); +lean_dec(x_60); +x_40 = x_62; +x_41 = x_61; +goto block_50; +} +block_39: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set(x_13, 2, x_11); +lean_ctor_set(x_13, 3, x_4); +lean_ctor_set(x_13, 4, x_1); +lean_ctor_set(x_13, 5, x_2); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_13 = l_Lean_Delaborator_delab(x_12, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_13; -} -else -{ -lean_object* x_14; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); +x_14 = l_Lean_Delaborator_delab(x_13, x_5, x_6, x_7, x_8, x_10); if (lean_obj_tag(x_14) == 0) { -uint8_t x_15; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_15 = !lean_is_exclusive(x_13); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_13, 0); -lean_dec(x_16); -return x_13; +return x_14; } else { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_13, 1); -lean_inc(x_17); -lean_dec(x_13); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_14); -lean_ctor_set(x_18, 1, x_17); -return x_18; +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_14, 0); +lean_dec(x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } else { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_13); -if (x_19 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_20 = lean_ctor_get(x_13, 1); -x_21 = lean_ctor_get(x_13, 0); -lean_dec(x_21); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_ctor_get(x_14, 1); x_22 = lean_ctor_get(x_14, 0); -lean_inc(x_22); -x_23 = l_Lean_Delaborator_delabFailureId; -x_24 = lean_nat_dec_eq(x_23, x_22); lean_dec(x_22); -if (x_24 == 0) +x_23 = lean_ctor_get(x_15, 0); +lean_inc(x_23); +x_24 = l_Lean_Delaborator_delabFailureId; +x_25 = lean_nat_dec_eq(x_24, x_23); +lean_dec(x_23); +if (x_25 == 0) { lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_13; +return x_14; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_free_object(x_13); -lean_dec(x_14); -x_25 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_26 = l_Lean_delab___closed__2; -x_27 = lean_panic_fn(x_25, x_26); -x_28 = lean_apply_5(x_27, x_5, x_6, x_7, x_8, x_20); -return x_28; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_free_object(x_14); +lean_dec(x_15); +x_26 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_27 = l_Lean_delab___closed__2; +x_28 = lean_panic_fn(x_26, x_27); +x_29 = lean_apply_5(x_28, x_5, x_6, x_7, x_8, x_21); +return x_29; } } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_29 = lean_ctor_get(x_13, 1); -lean_inc(x_29); -lean_dec(x_13); -x_30 = lean_ctor_get(x_14, 0); +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_30 = lean_ctor_get(x_14, 1); lean_inc(x_30); -x_31 = l_Lean_Delaborator_delabFailureId; -x_32 = lean_nat_dec_eq(x_31, x_30); -lean_dec(x_30); -if (x_32 == 0) +lean_dec(x_14); +x_31 = lean_ctor_get(x_15, 0); +lean_inc(x_31); +x_32 = l_Lean_Delaborator_delabFailureId; +x_33 = lean_nat_dec_eq(x_32, x_31); +lean_dec(x_31); +if (x_33 == 0) { -lean_object* x_33; +lean_object* x_34; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_14); -lean_ctor_set(x_33, 1, x_29); -return x_33; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_15); +lean_ctor_set(x_34, 1, x_30); +return x_34; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_14); -x_34 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_35 = l_Lean_delab___closed__2; -x_36 = lean_panic_fn(x_34, x_35); -x_37 = lean_apply_5(x_36, x_5, x_6, x_7, x_8, x_29); -return x_37; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_15); +x_35 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_36 = l_Lean_delab___closed__2; +x_37 = lean_panic_fn(x_35, x_36); +x_38 = lean_apply_5(x_37, x_5, x_6, x_7, x_8, x_30); +return x_38; } } } } } +block_50: +{ +if (x_40 == 0) +{ +x_10 = x_41; +goto block_39; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_42 = l_Lean_fmt___at_Lean_delab___spec__1(x_3); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_44 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = l_Lean_delab___closed__7; +x_48 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_47, x_46, x_5, x_6, x_7, x_8, x_41); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_10 = x_49; +goto block_39; +} +} +} +} +lean_object* l_Lean_fmt___at_Lean_delab___spec__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_fmt___at_Lean_delab___spec__1(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_11471_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_delab___closed__5; +x_3 = l_Lean_registerTraceClass(x_2, x_1); +return x_3; +} } lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_KeyedDeclsAttribute(lean_object*); @@ -34780,6 +36361,8 @@ l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__1 lean_mark_persistent(l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__1); l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__2 = _init_l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__2(); lean_mark_persistent(l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__2); +l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1 = _init_l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1(); +lean_mark_persistent(l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1); l_Lean_Delaborator_delabLam___lambda__3___closed__1 = _init_l_Lean_Delaborator_delabLam___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Delaborator_delabLam___lambda__3___closed__1); l_Lean_Delaborator_delabLam___lambda__3___closed__2 = _init_l_Lean_Delaborator_delabLam___lambda__3___closed__2(); @@ -34879,22 +36462,22 @@ l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___clo lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__1); l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__2 = _init_l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__2(); lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__2); -l_Lean_Delaborator_delabStructureInstance___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__1___closed__1); l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1); -l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__2 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__2); -l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__3 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__3); -l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__4 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__4); -l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__5 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__5); -l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__6 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__6); -l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__7 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__7(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__7); +l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1); +l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2); +l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3); +l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4); +l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5); +l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6); +l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7); l_Lean_Delaborator_delabStructureInstance___closed__1 = _init_l_Lean_Delaborator_delabStructureInstance___closed__1(); lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___closed__1); l_Lean_Delaborator_delabStructureInstance___closed__2 = _init_l_Lean_Delaborator_delabStructureInstance___closed__2(); @@ -35545,10 +37128,76 @@ lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed_ res = l___regBuiltin_Lean_Delaborator_delabNamedPattern(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1 = _init_l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1); +l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2 = _init_l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2); +l_Lean_Delaborator_delabDoElems___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__1___closed__1); +l_Lean_Delaborator_delabDoElems___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__1___closed__2); +l_Lean_Delaborator_delabDoElems___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__1___closed__3); +l_Lean_Delaborator_delabDoElems___lambda__2___closed__1 = _init_l_Lean_Delaborator_delabDoElems___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__2___closed__1); +l_Lean_Delaborator_delabDoElems___lambda__4___closed__1 = _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__4___closed__1); +l_Lean_Delaborator_delabDoElems___lambda__4___closed__2 = _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__4___closed__2); +l_Lean_Delaborator_delabDoElems___lambda__4___closed__3 = _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__4___closed__3); +l_Lean_Delaborator_delabDoElems___lambda__4___closed__4 = _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__4___closed__4); +l_Lean_Delaborator_delabDoElems___lambda__4___closed__5 = _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__4___closed__5); +l_Lean_Delaborator_delabDoElems___closed__1 = _init_l_Lean_Delaborator_delabDoElems___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems___closed__1); +l_Lean_Delaborator_delabDoElems___closed__2 = _init_l_Lean_Delaborator_delabDoElems___closed__2(); +lean_mark_persistent(l_Lean_Delaborator_delabDoElems___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2); +l_Lean_Delaborator_delabDo___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__1); +l_Lean_Delaborator_delabDo___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__2); +l_Lean_Delaborator_delabDo___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__3); +l_Lean_Delaborator_delabDo___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__4); +l_Lean_Delaborator_delabDo___lambda__1___closed__5 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__5); +l_Lean_Delaborator_delabDo___lambda__1___closed__6 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__6); +l_Lean_Delaborator_delabDo___lambda__2___closed__1 = _init_l_Lean_Delaborator_delabDo___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__2___closed__1); +l_Lean_Delaborator_delabDo___closed__1 = _init_l_Lean_Delaborator_delabDo___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabDo___closed__1); +l_Lean_Delaborator_delabDo___closed__2 = _init_l_Lean_Delaborator_delabDo___closed__2(); +lean_mark_persistent(l_Lean_Delaborator_delabDo___closed__2); +l___regBuiltin_Lean_Delaborator_delabDo___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabDo___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabDo___closed__1); +res = l___regBuiltin_Lean_Delaborator_delabDo(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_delab___closed__1 = _init_l_Lean_delab___closed__1(); lean_mark_persistent(l_Lean_delab___closed__1); l_Lean_delab___closed__2 = _init_l_Lean_delab___closed__2(); lean_mark_persistent(l_Lean_delab___closed__2); +l_Lean_delab___closed__3 = _init_l_Lean_delab___closed__3(); +lean_mark_persistent(l_Lean_delab___closed__3); +l_Lean_delab___closed__4 = _init_l_Lean_delab___closed__4(); +lean_mark_persistent(l_Lean_delab___closed__4); +l_Lean_delab___closed__5 = _init_l_Lean_delab___closed__5(); +lean_mark_persistent(l_Lean_delab___closed__5); +l_Lean_delab___closed__6 = _init_l_Lean_delab___closed__6(); +lean_mark_persistent(l_Lean_delab___closed__6); +l_Lean_delab___closed__7 = _init_l_Lean_delab___closed__7(); +lean_mark_persistent(l_Lean_delab___closed__7); +res = l_Lean_initFn____x40_Lean_Delaborator___hyg_11471_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index cce1b82d28..f5a261375f 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -79,7 +79,6 @@ lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_findMethod_x3f_match__1(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__11; lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLVal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -632,6 +631,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoP lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__2; +extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3; uint8_t l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__5___lambda__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__8; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux___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*); @@ -13195,7 +13195,7 @@ lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean lean_inc(x_18); x_29 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_29, 0, x_18); -x_30 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4; +x_30 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3; x_31 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index a0493f0c5c..be9feaaac0 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -44,7 +44,6 @@ lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(lean_object*); extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___closed__2; extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__2; -lean_object* l_StateRefT_x27_get___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1(lean_object*, lean_object*); lean_object* l_ReaderT_read___at_Lean_Elab_Command_instMonadLogCommandElabM___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(lean_object*); lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1(lean_object*, lean_object*, lean_object*); @@ -57,7 +56,6 @@ lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(le extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Command_withNamespace(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__6; lean_object* l_Lean_Elab_Command_getScope___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__2___closed__2; @@ -77,7 +75,6 @@ lean_object* l_Lean_Elab_Command_elabSection___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabUniverses___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__7___closed__2; lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace___closed__1; -lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__5; lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___closed__4; lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -169,11 +166,11 @@ lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Elab_Command_elabCommand_ lean_object* l_Lean_Elab_Command_getCurrMacroScope___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_Scope_currNamespace___default; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftEIO(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_addLinter(lean_object*, lean_object*); +extern lean_object* l_Lean_Core_instMonadEnvCoreM___closed__1; lean_object* l_Lean_Meta_mkLambdaFVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes___closed__1; @@ -240,6 +237,7 @@ lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addNamespace___c lean_object* l_Lean_Elab_Command_elabSynth___closed__2; lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariables___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabUniverses___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1___boxed(lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -321,7 +319,6 @@ lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessa lean_object* l_Std_AssocList_find_x3f___at_Lean_Elab_Command_elabCommand___spec__6(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__2; -lean_object* l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedState___closed__1; lean_object* l_Lean_Elab_Command_elabEvalUnsafe(lean_object*, lean_object*, lean_object*, lean_object*); @@ -337,7 +334,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec lean_object* l_IO_mkRef___at_IO_FS_withIsolatedStreams___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withFreshMacroScope(lean_object*); lean_object* l_Lean_Elab_mkMessageCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -lean_object* l_StateRefT_x27_get___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabVariables___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandDeclId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -500,7 +496,6 @@ lean_object* l_Lean_Elab_Command_liftIO___rarg___boxed(lean_object*, lean_object lean_object* l_Lean_Elab_Command_State_scopes___default___closed__3; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5___closed__1; lean_object* l_Lean_Elab_Command_modifyScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkCoreContext___boxed(lean_object*, lean_object*); lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -708,6 +703,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabOpenRenaming__ lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isMonad_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_failIfSucceeds___closed__3; lean_object* l_Lean_Elab_Command_elabSynth___lambda__2___closed__1; +lean_object* l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabEval(lean_object*); lean_object* l_Lean_Elab_Command_mkCommandElabAttribute(lean_object*); lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__5; @@ -1156,32 +1152,7 @@ return x_12; } } } -lean_object* l_StateRefT_x27_get___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_st_ref_get(x_1, x_2); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_3); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -return x_7; -} -} -} -lean_object* l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -1226,11 +1197,11 @@ return x_13; } } } -lean_object* l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg), 5, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg), 5, 0); return x_3; } } @@ -1341,25 +1312,27 @@ static lean_object* _init_l_Lean_Elab_Command_instMonadEnvCommandElabM___closed_ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_StateRefT_x27_get___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__1___boxed), 4, 0); return x_1; } } static lean_object* _init_l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Core_instMonadEnvCoreM___closed__1; +x_2 = l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg), 5, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__2___boxed), 4, 0); return x_1; } } @@ -1369,26 +1342,6 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__2; x_2 = l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg), 5, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__2___boxed), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__4; -x_2 = l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -1399,19 +1352,10 @@ static lean_object* _init_l_Lean_Elab_Command_instMonadEnvCommandElabM() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__6; +x_1 = l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__4; return x_1; } } -lean_object* l_StateRefT_x27_get___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_StateRefT_x27_get___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -1480,9 +1424,9 @@ static lean_object* _init_l_Lean_Elab_Command_instMonadOptionsCommandElabM___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__2; +x_1 = l_Lean_Core_instMonadEnvCoreM___closed__1; x_2 = l_Lean_Elab_Command_instMonadOptionsCommandElabM___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg), 5, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -2663,7 +2607,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__1; x_2 = l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__2; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg), 5, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -2683,7 +2627,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__1; x_2 = l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__4; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg), 5, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -3004,7 +2948,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_instMonadLogCommandElabM___closed__1; x_2 = l_Lean_Elab_Command_instMonadLogCommandElabM___closed__2; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg), 5, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -3024,7 +2968,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_instMonadLogCommandElabM___closed__1; x_2 = l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg), 5, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -5177,9 +5121,9 @@ static lean_object* _init_l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__2; +x_1 = l_Lean_Core_instMonadEnvCoreM___closed__1; x_2 = l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg), 5, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -5317,7 +5261,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_instMonadLogCommandElabM___closed__1; x_2 = l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg), 5, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -5335,9 +5279,9 @@ static lean_object* _init_l_Lean_Elab_Command_instMonadRecDepthCommandElabM___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__2; +x_1 = l_Lean_Core_instMonadEnvCoreM___closed__1; x_2 = l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__2___rarg), 5, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Command_instMonadEnvCommandElabM___spec__1___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -23075,10 +23019,6 @@ l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__3 = _init_l_Lean_Elab_Com lean_mark_persistent(l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__3); l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__4 = _init_l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__4(); lean_mark_persistent(l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__4); -l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__5 = _init_l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__5); -l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__6 = _init_l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__6); l_Lean_Elab_Command_instMonadEnvCommandElabM = _init_l_Lean_Elab_Command_instMonadEnvCommandElabM(); lean_mark_persistent(l_Lean_Elab_Command_instMonadEnvCommandElabM); l_Lean_Elab_Command_instMonadOptionsCommandElabM___closed__1 = _init_l_Lean_Elab_Command_instMonadOptionsCommandElabM___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index 7a3a33bdc4..a3c26495e2 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -40,7 +40,6 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(lean_object*, l extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1; lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__2; -extern lean_object* l_Array_empty___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); @@ -88,6 +87,7 @@ lean_object* l_Lean_Elab_Command_MkInstanceName_append(lean_object*, lean_object lean_object* l_Lean_Elab_Command_isDefLike___closed__4; lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__3; lean_object* l_Lean_Elab_Command_isDefLike___closed__8; +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__1; lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__5; lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); lean_object* l_Lean_Elab_mkFreshInstanceName(lean_object*, lean_object*); @@ -127,7 +127,6 @@ lean_object* l_Lean_Elab_Command_isDefLike___closed__9; extern lean_object* l_Lean_Elab_Term_elabForall___closed__2; uint32_t lean_string_utf8_get(lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__16; lean_object* l_Lean_Elab_Command_MkInstanceName_append___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -138,6 +137,7 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(lean_object*, l lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_MkInstanceName_collect___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__2___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); @@ -160,7 +160,7 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__1(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__1; lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__2(lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018_(lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__10; lean_object* l_Lean_Elab_Command_isDefLike___closed__6; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); @@ -172,7 +172,6 @@ lean_object* l_Lean_Elab_expandDeclSig(lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev_match__1___rarg(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__2; -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); @@ -189,7 +188,6 @@ lean_object* l_Lean_Elab_Command_isDefLike___closed__5; lean_object* l_Lean_Elab_DefKind_isExample___boxed(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2; lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; lean_object* l_Lean_Elab_Command_mkDefView___closed__1; @@ -217,7 +215,6 @@ extern lean_object* l_Lean_Meta_mkArbitrary___rarg___closed__2; lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__14; uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfExample___closed__1; -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__1; lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -4812,7 +4809,7 @@ x_13 = l_Lean_Syntax_getOptional_x3f(x_12); lean_dec(x_12); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_14 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_5); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); @@ -4835,34 +4832,26 @@ lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_23); lean_ctor_set(x_25, 2, x_21); lean_ctor_set(x_25, 3, x_24); -x_26 = l_Array_empty___closed__1; -x_27 = lean_array_push(x_26, x_25); -x_28 = l_Lean_expandExplicitBindersAux_loop___closed__2; -x_29 = lean_array_push(x_27, x_28); -x_30 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; -x_33 = l_Lean_mkAtomFrom(x_2, x_32); -x_34 = l_Lean_Syntax_mkApp___closed__1; -x_35 = lean_array_push(x_34, x_33); -x_36 = lean_array_push(x_35, x_31); -x_37 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6; -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -x_39 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(x_2, x_10, x_1, x_9, x_38, x_3, x_4, x_19); -return x_39; +x_26 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; +x_27 = l_Lean_mkAtomFrom(x_2, x_26); +x_28 = l_Lean_Syntax_mkApp___closed__1; +x_29 = lean_array_push(x_28, x_27); +x_30 = lean_array_push(x_29, x_25); +x_31 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(x_2, x_10, x_1, x_9, x_32, x_3, x_4, x_19); +return x_33; } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_13, 0); -lean_inc(x_40); +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_13, 0); +lean_inc(x_34); lean_dec(x_13); -x_41 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(x_2, x_10, x_1, x_9, x_40, x_3, x_4, x_5); -return x_41; +x_35 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(x_2, x_10, x_1, x_9, x_34, x_3, x_4, x_5); +return x_35; } } } @@ -5502,7 +5491,7 @@ lean_dec(x_4); return x_6; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__1() { _start: { lean_object* x_1; @@ -5510,21 +5499,21 @@ x_1 = lean_mk_string("definition"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_841____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -5664,11 +5653,11 @@ l_Lean_Elab_Command_mkDefView___closed__2 = _init_l_Lean_Elab_Command_mkDefView_ lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__2); l_Lean_Elab_Command_mkDefView___closed__3 = _init_l_Lean_Elab_Command_mkDefView___closed__3(); lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 16bd320e0b..219528073d 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -570,6 +570,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkDoIfView(lean_objec lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___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_array_to_list(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__6; +lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__52; lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__17; lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__4; lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -659,6 +660,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__37; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor(lean_object*); lean_object* l_Array_anyMUnsafe_any___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t); size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__53; lean_object* l_Lean_Elab_Term_Do_concat___closed__3; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__6; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -733,7 +735,7 @@ lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__3(lean_object*, lea lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1___boxed(lean_object*); extern lean_object* l_Lean_Parser_Tactic_match___closed__1; -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_23879_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24287_(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS___closed__3; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__3; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__3; @@ -29389,19 +29391,37 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("doSeqItem"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = l_IO_Prim_fopenFlags___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_IO_Prim_fopenFlags___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; +x_3 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -29409,7 +29429,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -29419,29 +29439,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("doMatch"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12() { _start: { lean_object* x_1; -x_1 = lean_mk_string("doMatchAlts"); +x_1 = lean_mk_string("doMatch"); return x_1; } } @@ -29459,7 +29461,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("doMatchAlt"); +x_1 = lean_mk_string("doMatchAlts"); return x_1; } } @@ -29476,19 +29478,37 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("doMatchAlt"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Level_LevelToFormat_toResult___closed__2; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Level_LevelToFormat_toResult___closed__2; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; +x_3 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -29496,7 +29516,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20() { _start: { lean_object* x_1; @@ -29504,35 +29524,13 @@ x_1 = lean_mk_string("doBreak"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__6; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; -x_3 = lean_array_push(x_1, x_2); +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -29540,9 +29538,9 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; -x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__21; -x_3 = lean_alloc_ctor(1, 2, 0); +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__6; +x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; @@ -29562,9 +29560,11 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__23; -x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_3 = lean_array_push(x_1, x_2); +x_1 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__21; +x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__23; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } @@ -29572,15 +29572,35 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; +x_1 = l_Array_empty___closed__1; x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__24; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; +x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__28() { _start: { lean_object* x_1; @@ -29588,35 +29608,13 @@ x_1 = lean_mk_string("doContinue"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__15; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__28; -x_3 = lean_array_push(x_1, x_2); +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -29624,9 +29622,9 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; -x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__29; -x_3 = lean_alloc_ctor(1, 2, 0); +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__15; +x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; @@ -29646,9 +29644,11 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__31; -x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_3 = lean_array_push(x_1, x_2); +x_1 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__29; +x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__31; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } @@ -29656,29 +29656,29 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; +x_1 = l_Array_empty___closed__1; x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__32; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +x_3 = lean_array_push(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__34() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("2"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__33; +x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_1 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__34; -x_3 = lean_alloc_ctor(2, 2, 0); +x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; @@ -29687,20 +29687,18 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__36() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__35; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("2"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_fieldIdxKind___closed__2; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__36; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; @@ -29709,24 +29707,46 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__38() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("doReturn"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__37; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_1 = l_Lean_fieldIdxKind___closed__2; x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__38; -x_3 = lean_name_mk_string(x_1, x_2); +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__40() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("doReturn"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__40; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__42() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; x_2 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__27; @@ -29736,17 +29756,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__40; +x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__42; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__42() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__44() { _start: { lean_object* x_1; @@ -29754,35 +29774,13 @@ x_1 = lean_mk_string("1"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__42; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_fieldIdxKind___closed__2; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__44; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; @@ -29791,19 +29789,41 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__46() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__45; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_fieldIdxKind___closed__2; +x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__46; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__48() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Meta_mkPure___rarg___closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Meta_mkPure___rarg___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__46; +x_3 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__48; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -29811,7 +29831,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__48() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -29821,7 +29841,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__49() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__51() { _start: { lean_object* x_1; lean_object* x_2; @@ -29830,13 +29850,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__52() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_IO_Prim_fopenFlags___closed__4; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__49; +x_3 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__51; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -29844,7 +29864,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__51() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__53() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -29892,20 +29912,20 @@ uint8_t x_21; x_21 = !lean_is_exclusive(x_15); if (x_21 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; x_22 = lean_ctor_get(x_15, 0); x_23 = lean_ctor_get(x_7, 2); lean_inc(x_23); x_24 = lean_ctor_get(x_7, 1); lean_inc(x_24); lean_dec(x_7); -x_25 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +x_25 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; lean_inc(x_23); lean_inc(x_24); x_26 = l_Lean_addMacroScope(x_24, x_25, x_23); x_27 = lean_box(0); x_28 = l_Lean_instInhabitedSourceInfo___closed__1; -x_29 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_29 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; x_30 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); @@ -29937,7 +29957,7 @@ lean_ctor_set(x_46, 1, x_44); x_47 = lean_array_push(x_31, x_46); x_48 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; x_49 = lean_array_push(x_47, x_48); -x_50 = l_Lean_nullKind___closed__2; +x_50 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); @@ -29949,394 +29969,396 @@ x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); x_57 = lean_array_push(x_31, x_56); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_50); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_60 = lean_array_push(x_59, x_58); -x_61 = lean_array_push(x_60, x_33); -x_62 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -x_63 = lean_array_push(x_61, x_62); -x_64 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__7; +x_58 = l_Lean_nullKind___closed__2; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_61 = lean_array_push(x_60, x_59); +x_62 = lean_array_push(x_61, x_33); +x_63 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_64 = lean_array_push(x_62, x_63); +x_65 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__7; lean_inc(x_23); lean_inc(x_24); -x_65 = l_Lean_addMacroScope(x_24, x_64, x_23); -x_66 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__5; -x_67 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__9; -x_68 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_68, 0, x_28); -lean_ctor_set(x_68, 1, x_66); -lean_ctor_set(x_68, 2, x_65); -lean_ctor_set(x_68, 3, x_67); -x_69 = lean_array_push(x_31, x_68); -x_70 = l_Lean_Level_LevelToFormat_toResult___closed__3; +x_66 = l_Lean_addMacroScope(x_24, x_65, x_23); +x_67 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__5; +x_68 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__9; +x_69 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_69, 0, x_28); +lean_ctor_set(x_69, 1, x_67); +lean_ctor_set(x_69, 2, x_66); +lean_ctor_set(x_69, 3, x_68); +x_70 = lean_array_push(x_31, x_69); +x_71 = l_Lean_Level_LevelToFormat_toResult___closed__3; lean_inc(x_23); lean_inc(x_24); -x_71 = l_Lean_addMacroScope(x_24, x_70, x_23); -x_72 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; -x_73 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_73, 0, x_28); -lean_ctor_set(x_73, 1, x_72); -lean_ctor_set(x_73, 2, x_71); -lean_ctor_set(x_73, 3, x_27); -lean_inc(x_73); -x_74 = lean_array_push(x_31, x_73); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_50); -lean_ctor_set(x_75, 1, x_74); -lean_inc(x_75); -x_76 = lean_array_push(x_69, x_75); -x_77 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -x_79 = lean_array_push(x_31, x_78); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_50); -lean_ctor_set(x_80, 1, x_79); -x_81 = lean_array_push(x_31, x_80); -x_82 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_83 = lean_array_push(x_81, x_82); -x_84 = lean_array_push(x_31, x_22); -x_85 = lean_array_push(x_84, x_33); +x_72 = l_Lean_addMacroScope(x_24, x_71, x_23); +x_73 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_74 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_74, 0, x_28); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_72); +lean_ctor_set(x_74, 3, x_27); +lean_inc(x_74); +x_75 = lean_array_push(x_31, x_74); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_58); +lean_ctor_set(x_76, 1, x_75); +lean_inc(x_76); +x_77 = lean_array_push(x_70, x_76); +x_78 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = lean_array_push(x_31, x_79); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_58); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_array_push(x_31, x_81); +x_83 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_84 = lean_array_push(x_82, x_83); +x_85 = lean_array_push(x_31, x_22); x_86 = lean_array_push(x_85, x_33); -x_87 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_88 = lean_array_push(x_86, x_87); -x_89 = lean_array_push(x_88, x_73); -x_90 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = lean_array_push(x_31, x_91); -x_93 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_92); -x_95 = lean_array_push(x_31, x_94); -x_96 = lean_array_push(x_95, x_48); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_50); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_array_push(x_31, x_97); -x_99 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_98); -x_100 = lean_array_push(x_98, x_99); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_50); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_array_push(x_31, x_101); -x_103 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_105 = lean_array_push(x_83, x_104); -x_106 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_105); -x_108 = lean_array_push(x_31, x_107); -x_109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_110 = lean_array_push(x_108, x_109); -x_111 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__16; -x_112 = l_Lean_addMacroScope(x_24, x_111, x_23); -x_113 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__12; -x_114 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__18; -x_115 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_115, 0, x_28); -lean_ctor_set(x_115, 1, x_113); -lean_ctor_set(x_115, 2, x_112); -lean_ctor_set(x_115, 3, x_114); -x_116 = lean_array_push(x_31, x_115); -x_117 = lean_array_push(x_116, x_75); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_77); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_array_push(x_31, x_118); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_50); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_array_push(x_31, x_120); -x_122 = lean_array_push(x_121, x_82); -x_123 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__33; -x_124 = lean_array_push(x_98, x_123); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_50); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_array_push(x_31, x_125); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_103); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_122, x_127); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_106); -lean_ctor_set(x_129, 1, x_128); -x_130 = lean_array_push(x_110, x_129); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_50); -lean_ctor_set(x_131, 1, x_130); -x_132 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_133 = lean_array_push(x_132, x_131); -x_134 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -x_136 = lean_array_push(x_63, x_135); -x_137 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -x_139 = lean_array_push(x_31, x_138); -x_140 = lean_array_push(x_139, x_33); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_50); -lean_ctor_set(x_141, 1, x_140); -x_142 = lean_array_push(x_52, x_141); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_50); -lean_ctor_set(x_143, 1, x_142); -x_144 = lean_array_push(x_31, x_143); -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_103); -lean_ctor_set(x_145, 1, x_144); -x_146 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_147 = lean_array_push(x_146, x_145); -x_148 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_147); -x_150 = lean_unsigned_to_nat(1u); -x_151 = l_Lean_Syntax_getArg(x_149, x_150); -lean_dec(x_149); -x_152 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_151); -lean_ctor_set(x_15, 0, x_152); +x_87 = lean_array_push(x_86, x_33); +x_88 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_89 = lean_array_push(x_87, x_88); +x_90 = lean_array_push(x_89, x_74); +x_91 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +x_93 = lean_array_push(x_31, x_92); +x_94 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +x_96 = lean_array_push(x_31, x_95); +x_97 = lean_array_push(x_96, x_48); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_50); +lean_ctor_set(x_98, 1, x_97); +x_99 = lean_array_push(x_31, x_98); +x_100 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; +lean_inc(x_99); +x_101 = lean_array_push(x_99, x_100); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_58); +lean_ctor_set(x_102, 1, x_101); +x_103 = lean_array_push(x_31, x_102); +x_104 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_103); +x_106 = lean_array_push(x_84, x_105); +x_107 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_106); +x_109 = lean_array_push(x_31, x_108); +x_110 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_111 = lean_array_push(x_109, x_110); +x_112 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__16; +x_113 = l_Lean_addMacroScope(x_24, x_112, x_23); +x_114 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__12; +x_115 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__18; +x_116 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_116, 0, x_28); +lean_ctor_set(x_116, 1, x_114); +lean_ctor_set(x_116, 2, x_113); +lean_ctor_set(x_116, 3, x_115); +x_117 = lean_array_push(x_31, x_116); +x_118 = lean_array_push(x_117, x_76); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_78); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_array_push(x_31, x_119); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_58); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_array_push(x_31, x_121); +x_123 = lean_array_push(x_122, x_83); +x_124 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__35; +x_125 = lean_array_push(x_99, x_124); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_58); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_array_push(x_31, x_126); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_104); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_array_push(x_123, x_128); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_107); +lean_ctor_set(x_130, 1, x_129); +x_131 = lean_array_push(x_111, x_130); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_58); +lean_ctor_set(x_132, 1, x_131); +x_133 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_134 = lean_array_push(x_133, x_132); +x_135 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = lean_array_push(x_64, x_136); +x_138 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_137); +x_140 = lean_array_push(x_31, x_139); +x_141 = lean_array_push(x_140, x_33); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_50); +lean_ctor_set(x_142, 1, x_141); +x_143 = lean_array_push(x_52, x_142); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_58); +lean_ctor_set(x_144, 1, x_143); +x_145 = lean_array_push(x_31, x_144); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_104); +lean_ctor_set(x_146, 1, x_145); +x_147 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_148 = lean_array_push(x_147, x_146); +x_149 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_148); +x_151 = lean_unsigned_to_nat(1u); +x_152 = l_Lean_Syntax_getArg(x_150, x_151); +lean_dec(x_150); +x_153 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_152); +lean_ctor_set(x_15, 0, x_153); return x_15; } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_153 = lean_ctor_get(x_15, 0); -x_154 = lean_ctor_get(x_15, 1); +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; +x_154 = lean_ctor_get(x_15, 0); +x_155 = lean_ctor_get(x_15, 1); +lean_inc(x_155); lean_inc(x_154); -lean_inc(x_153); lean_dec(x_15); -x_155 = lean_ctor_get(x_7, 2); -lean_inc(x_155); -x_156 = lean_ctor_get(x_7, 1); +x_156 = lean_ctor_get(x_7, 2); lean_inc(x_156); +x_157 = lean_ctor_get(x_7, 1); +lean_inc(x_157); lean_dec(x_7); -x_157 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_155); +x_158 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; lean_inc(x_156); -x_158 = l_Lean_addMacroScope(x_156, x_157, x_155); -x_159 = lean_box(0); -x_160 = l_Lean_instInhabitedSourceInfo___closed__1; -x_161 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_162 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_162, 0, x_160); -lean_ctor_set(x_162, 1, x_161); -lean_ctor_set(x_162, 2, x_158); -lean_ctor_set(x_162, 3, x_159); -x_163 = l_Array_empty___closed__1; -lean_inc(x_162); -x_164 = lean_array_push(x_163, x_162); -x_165 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_166 = lean_array_push(x_164, x_165); -x_167 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_168 = lean_array_push(x_166, x_167); -x_169 = lean_array_push(x_163, x_2); -x_170 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -x_172 = lean_array_push(x_168, x_171); -x_173 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -x_175 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_176 = lean_array_push(x_175, x_174); -x_177 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_176); -x_179 = lean_array_push(x_163, x_178); -x_180 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_181 = lean_array_push(x_179, x_180); -x_182 = l_Lean_nullKind___closed__2; -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -x_184 = lean_array_push(x_163, x_183); -x_185 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_186 = lean_array_push(x_185, x_162); -x_187 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_186); -x_189 = lean_array_push(x_163, x_188); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_182); -lean_ctor_set(x_190, 1, x_189); -x_191 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_192 = lean_array_push(x_191, x_190); -x_193 = lean_array_push(x_192, x_165); -x_194 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -x_195 = lean_array_push(x_193, x_194); -x_196 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__7; -lean_inc(x_155); +lean_inc(x_157); +x_159 = l_Lean_addMacroScope(x_157, x_158, x_156); +x_160 = lean_box(0); +x_161 = l_Lean_instInhabitedSourceInfo___closed__1; +x_162 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_163 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_163, 0, x_161); +lean_ctor_set(x_163, 1, x_162); +lean_ctor_set(x_163, 2, x_159); +lean_ctor_set(x_163, 3, x_160); +x_164 = l_Array_empty___closed__1; +lean_inc(x_163); +x_165 = lean_array_push(x_164, x_163); +x_166 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_167 = lean_array_push(x_165, x_166); +x_168 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_169 = lean_array_push(x_167, x_168); +x_170 = lean_array_push(x_164, x_2); +x_171 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = lean_array_push(x_169, x_172); +x_174 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_173); +x_176 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_177 = lean_array_push(x_176, x_175); +x_178 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_177); +x_180 = lean_array_push(x_164, x_179); +x_181 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_182 = lean_array_push(x_180, x_181); +x_183 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_182); +x_185 = lean_array_push(x_164, x_184); +x_186 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_187 = lean_array_push(x_186, x_163); +x_188 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_187); +x_190 = lean_array_push(x_164, x_189); +x_191 = l_Lean_nullKind___closed__2; +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_190); +x_193 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_194 = lean_array_push(x_193, x_192); +x_195 = lean_array_push(x_194, x_166); +x_196 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_197 = lean_array_push(x_195, x_196); +x_198 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__7; lean_inc(x_156); -x_197 = l_Lean_addMacroScope(x_156, x_196, x_155); -x_198 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__5; -x_199 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__9; -x_200 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_200, 0, x_160); -lean_ctor_set(x_200, 1, x_198); -lean_ctor_set(x_200, 2, x_197); -lean_ctor_set(x_200, 3, x_199); -x_201 = lean_array_push(x_163, x_200); -x_202 = l_Lean_Level_LevelToFormat_toResult___closed__3; -lean_inc(x_155); +lean_inc(x_157); +x_199 = l_Lean_addMacroScope(x_157, x_198, x_156); +x_200 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__5; +x_201 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__9; +x_202 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_202, 0, x_161); +lean_ctor_set(x_202, 1, x_200); +lean_ctor_set(x_202, 2, x_199); +lean_ctor_set(x_202, 3, x_201); +x_203 = lean_array_push(x_164, x_202); +x_204 = l_Lean_Level_LevelToFormat_toResult___closed__3; lean_inc(x_156); -x_203 = l_Lean_addMacroScope(x_156, x_202, x_155); -x_204 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; -x_205 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_205, 0, x_160); -lean_ctor_set(x_205, 1, x_204); -lean_ctor_set(x_205, 2, x_203); -lean_ctor_set(x_205, 3, x_159); -lean_inc(x_205); -x_206 = lean_array_push(x_163, x_205); -x_207 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_207, 0, x_182); +lean_inc(x_157); +x_205 = l_Lean_addMacroScope(x_157, x_204, x_156); +x_206 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_207 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_207, 0, x_161); lean_ctor_set(x_207, 1, x_206); +lean_ctor_set(x_207, 2, x_205); +lean_ctor_set(x_207, 3, x_160); lean_inc(x_207); -x_208 = lean_array_push(x_201, x_207); -x_209 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_208); -x_211 = lean_array_push(x_163, x_210); +x_208 = lean_array_push(x_164, x_207); +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_191); +lean_ctor_set(x_209, 1, x_208); +lean_inc(x_209); +x_210 = lean_array_push(x_203, x_209); +x_211 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_182); -lean_ctor_set(x_212, 1, x_211); -x_213 = lean_array_push(x_163, x_212); -x_214 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_215 = lean_array_push(x_213, x_214); -x_216 = lean_array_push(x_163, x_153); -x_217 = lean_array_push(x_216, x_165); -x_218 = lean_array_push(x_217, x_165); -x_219 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_220 = lean_array_push(x_218, x_219); -x_221 = lean_array_push(x_220, x_205); -x_222 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_221); -x_224 = lean_array_push(x_163, x_223); -x_225 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_225); -lean_ctor_set(x_226, 1, x_224); -x_227 = lean_array_push(x_163, x_226); -x_228 = lean_array_push(x_227, x_180); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_182); -lean_ctor_set(x_229, 1, x_228); -x_230 = lean_array_push(x_163, x_229); -x_231 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_230); -x_232 = lean_array_push(x_230, x_231); -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_182); -lean_ctor_set(x_233, 1, x_232); -x_234 = lean_array_push(x_163, x_233); -x_235 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_234); -x_237 = lean_array_push(x_215, x_236); -x_238 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -x_239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_237); -x_240 = lean_array_push(x_163, x_239); -x_241 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_242 = lean_array_push(x_240, x_241); -x_243 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__16; -x_244 = l_Lean_addMacroScope(x_156, x_243, x_155); -x_245 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__12; -x_246 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__18; -x_247 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_247, 0, x_160); -lean_ctor_set(x_247, 1, x_245); -lean_ctor_set(x_247, 2, x_244); -lean_ctor_set(x_247, 3, x_246); -x_248 = lean_array_push(x_163, x_247); -x_249 = lean_array_push(x_248, x_207); -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_209); -lean_ctor_set(x_250, 1, x_249); -x_251 = lean_array_push(x_163, x_250); +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_210); +x_213 = lean_array_push(x_164, x_212); +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_191); +lean_ctor_set(x_214, 1, x_213); +x_215 = lean_array_push(x_164, x_214); +x_216 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_217 = lean_array_push(x_215, x_216); +x_218 = lean_array_push(x_164, x_154); +x_219 = lean_array_push(x_218, x_166); +x_220 = lean_array_push(x_219, x_166); +x_221 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_222 = lean_array_push(x_220, x_221); +x_223 = lean_array_push(x_222, x_207); +x_224 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_224); +lean_ctor_set(x_225, 1, x_223); +x_226 = lean_array_push(x_164, x_225); +x_227 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_226); +x_229 = lean_array_push(x_164, x_228); +x_230 = lean_array_push(x_229, x_181); +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_183); +lean_ctor_set(x_231, 1, x_230); +x_232 = lean_array_push(x_164, x_231); +x_233 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; +lean_inc(x_232); +x_234 = lean_array_push(x_232, x_233); +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_191); +lean_ctor_set(x_235, 1, x_234); +x_236 = lean_array_push(x_164, x_235); +x_237 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_237); +lean_ctor_set(x_238, 1, x_236); +x_239 = lean_array_push(x_217, x_238); +x_240 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_239); +x_242 = lean_array_push(x_164, x_241); +x_243 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_244 = lean_array_push(x_242, x_243); +x_245 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__16; +x_246 = l_Lean_addMacroScope(x_157, x_245, x_156); +x_247 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__12; +x_248 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__18; +x_249 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_249, 0, x_161); +lean_ctor_set(x_249, 1, x_247); +lean_ctor_set(x_249, 2, x_246); +lean_ctor_set(x_249, 3, x_248); +x_250 = lean_array_push(x_164, x_249); +x_251 = lean_array_push(x_250, x_209); x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_182); +lean_ctor_set(x_252, 0, x_211); lean_ctor_set(x_252, 1, x_251); -x_253 = lean_array_push(x_163, x_252); -x_254 = lean_array_push(x_253, x_214); -x_255 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__33; -x_256 = lean_array_push(x_230, x_255); -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_182); -lean_ctor_set(x_257, 1, x_256); -x_258 = lean_array_push(x_163, x_257); +x_253 = lean_array_push(x_164, x_252); +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_191); +lean_ctor_set(x_254, 1, x_253); +x_255 = lean_array_push(x_164, x_254); +x_256 = lean_array_push(x_255, x_216); +x_257 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__35; +x_258 = lean_array_push(x_232, x_257); x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_235); +lean_ctor_set(x_259, 0, x_191); lean_ctor_set(x_259, 1, x_258); -x_260 = lean_array_push(x_254, x_259); +x_260 = lean_array_push(x_164, x_259); x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_238); +lean_ctor_set(x_261, 0, x_237); lean_ctor_set(x_261, 1, x_260); -x_262 = lean_array_push(x_242, x_261); +x_262 = lean_array_push(x_256, x_261); x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_182); +lean_ctor_set(x_263, 0, x_240); lean_ctor_set(x_263, 1, x_262); -x_264 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_265 = lean_array_push(x_264, x_263); -x_266 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; -x_267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_267, 0, x_266); -lean_ctor_set(x_267, 1, x_265); -x_268 = lean_array_push(x_195, x_267); -x_269 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = lean_array_push(x_163, x_270); -x_272 = lean_array_push(x_271, x_165); -x_273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_273, 0, x_182); -lean_ctor_set(x_273, 1, x_272); -x_274 = lean_array_push(x_184, x_273); +x_264 = lean_array_push(x_244, x_263); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_191); +lean_ctor_set(x_265, 1, x_264); +x_266 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_267 = lean_array_push(x_266, x_265); +x_268 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +x_269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_269, 1, x_267); +x_270 = lean_array_push(x_197, x_269); +x_271 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_271); +lean_ctor_set(x_272, 1, x_270); +x_273 = lean_array_push(x_164, x_272); +x_274 = lean_array_push(x_273, x_166); x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_182); +lean_ctor_set(x_275, 0, x_183); lean_ctor_set(x_275, 1, x_274); -x_276 = lean_array_push(x_163, x_275); +x_276 = lean_array_push(x_185, x_275); x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_235); +lean_ctor_set(x_277, 0, x_191); lean_ctor_set(x_277, 1, x_276); -x_278 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_279 = lean_array_push(x_278, x_277); -x_280 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_279); -x_282 = lean_unsigned_to_nat(1u); -x_283 = l_Lean_Syntax_getArg(x_281, x_282); -lean_dec(x_281); -x_284 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_283); -x_285 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_285, 0, x_284); -lean_ctor_set(x_285, 1, x_154); -return x_285; +x_278 = lean_array_push(x_164, x_277); +x_279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_279, 0, x_237); +lean_ctor_set(x_279, 1, x_278); +x_280 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_281 = lean_array_push(x_280, x_279); +x_282 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_281); +x_284 = lean_unsigned_to_nat(1u); +x_285 = l_Lean_Syntax_getArg(x_283, x_284); +lean_dec(x_283); +x_286 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_285); +x_287 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_155); +return x_287; } } } @@ -30344,1033 +30366,1039 @@ else { if (x_6 == 0) { -uint8_t x_286; -x_286 = !lean_is_exclusive(x_15); -if (x_286 == 0) -{ -lean_object* x_287; uint8_t x_288; -x_287 = lean_ctor_get(x_15, 0); -x_288 = l_Array_isEmpty___rarg(x_3); -lean_dec(x_3); +uint8_t x_288; +x_288 = !lean_is_exclusive(x_15); if (x_288 == 0) { -lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; -x_289 = lean_ctor_get(x_7, 2); -lean_inc(x_289); -x_290 = lean_ctor_get(x_7, 1); -lean_inc(x_290); +lean_object* x_289; uint8_t x_290; +x_289 = lean_ctor_get(x_15, 0); +x_290 = l_Array_isEmpty___rarg(x_3); +lean_dec(x_3); +if (x_290 == 0) +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; +x_291 = lean_ctor_get(x_7, 2); +lean_inc(x_291); +x_292 = lean_ctor_get(x_7, 1); +lean_inc(x_292); lean_dec(x_7); -x_291 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_292 = l_Lean_addMacroScope(x_290, x_291, x_289); -x_293 = lean_box(0); -x_294 = l_Lean_instInhabitedSourceInfo___closed__1; -x_295 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_296 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_296, 0, x_294); -lean_ctor_set(x_296, 1, x_295); -lean_ctor_set(x_296, 2, x_292); -lean_ctor_set(x_296, 3, x_293); -x_297 = l_Array_empty___closed__1; -x_298 = lean_array_push(x_297, x_296); -x_299 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -lean_inc(x_298); -x_300 = lean_array_push(x_298, x_299); -x_301 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_293 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_294 = l_Lean_addMacroScope(x_292, x_293, x_291); +x_295 = lean_box(0); +x_296 = l_Lean_instInhabitedSourceInfo___closed__1; +x_297 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_298 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_298, 0, x_296); +lean_ctor_set(x_298, 1, x_297); +lean_ctor_set(x_298, 2, x_294); +lean_ctor_set(x_298, 3, x_295); +x_299 = l_Array_empty___closed__1; +x_300 = lean_array_push(x_299, x_298); +x_301 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +lean_inc(x_300); x_302 = lean_array_push(x_300, x_301); -x_303 = lean_array_push(x_297, x_2); -x_304 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_305, 0, x_304); -lean_ctor_set(x_305, 1, x_303); -x_306 = lean_array_push(x_302, x_305); -x_307 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_307); -lean_ctor_set(x_308, 1, x_306); -x_309 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_310 = lean_array_push(x_309, x_308); -x_311 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_312, 0, x_311); -lean_ctor_set(x_312, 1, x_310); -x_313 = lean_array_push(x_297, x_312); -x_314 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_315 = lean_array_push(x_313, x_314); -x_316 = l_Lean_nullKind___closed__2; -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -x_318 = lean_array_push(x_297, x_317); -x_319 = lean_array_push(x_297, x_287); -x_320 = lean_array_push(x_319, x_299); -x_321 = lean_array_push(x_320, x_299); -x_322 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_323 = lean_array_push(x_321, x_322); -x_324 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; -x_325 = lean_array_push(x_298, x_324); -x_326 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__37; -lean_inc(x_325); -x_327 = lean_array_push(x_325, x_326); -x_328 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; -x_329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_327); -x_330 = lean_array_push(x_323, x_329); -x_331 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_332 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_332, 0, x_331); -lean_ctor_set(x_332, 1, x_330); -x_333 = lean_array_push(x_297, x_332); -x_334 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_334); -lean_ctor_set(x_335, 1, x_333); -x_336 = lean_array_push(x_297, x_335); -x_337 = lean_array_push(x_336, x_314); -x_338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_338, 0, x_316); -lean_ctor_set(x_338, 1, x_337); -x_339 = lean_array_push(x_318, x_338); -x_340 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__45; -x_341 = lean_array_push(x_325, x_340); -x_342 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_342, 0, x_328); -lean_ctor_set(x_342, 1, x_341); -x_343 = lean_array_push(x_297, x_342); +x_303 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_304 = lean_array_push(x_302, x_303); +x_305 = lean_array_push(x_299, x_2); +x_306 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_307 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_307, 0, x_306); +lean_ctor_set(x_307, 1, x_305); +x_308 = lean_array_push(x_304, x_307); +x_309 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_310 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_310, 0, x_309); +lean_ctor_set(x_310, 1, x_308); +x_311 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_312 = lean_array_push(x_311, x_310); +x_313 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_314, 0, x_313); +lean_ctor_set(x_314, 1, x_312); +x_315 = lean_array_push(x_299, x_314); +x_316 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_317 = lean_array_push(x_315, x_316); +x_318 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_319 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_319, 0, x_318); +lean_ctor_set(x_319, 1, x_317); +x_320 = lean_array_push(x_299, x_319); +x_321 = lean_array_push(x_299, x_289); +x_322 = lean_array_push(x_321, x_301); +x_323 = lean_array_push(x_322, x_301); +x_324 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_325 = lean_array_push(x_323, x_324); +x_326 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; +x_327 = lean_array_push(x_300, x_326); +x_328 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; +lean_inc(x_327); +x_329 = lean_array_push(x_327, x_328); +x_330 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_329); +x_332 = lean_array_push(x_325, x_331); +x_333 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_334 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_334, 0, x_333); +lean_ctor_set(x_334, 1, x_332); +x_335 = lean_array_push(x_299, x_334); +x_336 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_337 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_337, 0, x_336); +lean_ctor_set(x_337, 1, x_335); +x_338 = lean_array_push(x_299, x_337); +x_339 = lean_array_push(x_338, x_316); +x_340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_340, 0, x_318); +lean_ctor_set(x_340, 1, x_339); +x_341 = lean_array_push(x_320, x_340); +x_342 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; +x_343 = lean_array_push(x_327, x_342); x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_316); +lean_ctor_set(x_344, 0, x_330); lean_ctor_set(x_344, 1, x_343); -x_345 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; -x_346 = lean_array_push(x_345, x_344); -x_347 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; -x_348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_348, 0, x_347); -lean_ctor_set(x_348, 1, x_346); -x_349 = lean_array_push(x_297, x_348); -x_350 = lean_array_push(x_349, x_299); +x_345 = lean_array_push(x_299, x_344); +x_346 = l_Lean_nullKind___closed__2; +x_347 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_347, 0, x_346); +lean_ctor_set(x_347, 1, x_345); +x_348 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; +x_349 = lean_array_push(x_348, x_347); +x_350 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_316); -lean_ctor_set(x_351, 1, x_350); -x_352 = lean_array_push(x_339, x_351); -x_353 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_353, 0, x_316); -lean_ctor_set(x_353, 1, x_352); -x_354 = lean_array_push(x_297, x_353); -x_355 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +lean_ctor_set(x_351, 0, x_350); +lean_ctor_set(x_351, 1, x_349); +x_352 = lean_array_push(x_299, x_351); +x_353 = lean_array_push(x_352, x_301); +x_354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_354, 0, x_318); +lean_ctor_set(x_354, 1, x_353); +x_355 = lean_array_push(x_341, x_354); x_356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_356, 0, x_355); -lean_ctor_set(x_356, 1, x_354); -x_357 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_358 = lean_array_push(x_357, x_356); -x_359 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_360 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_360, 0, x_359); -lean_ctor_set(x_360, 1, x_358); -x_361 = lean_unsigned_to_nat(1u); -x_362 = l_Lean_Syntax_getArg(x_360, x_361); -lean_dec(x_360); -x_363 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_362); -lean_ctor_set(x_15, 0, x_363); +lean_ctor_set(x_356, 0, x_346); +lean_ctor_set(x_356, 1, x_355); +x_357 = lean_array_push(x_299, x_356); +x_358 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_359 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_359, 0, x_358); +lean_ctor_set(x_359, 1, x_357); +x_360 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_361 = lean_array_push(x_360, x_359); +x_362 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_363 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_363, 0, x_362); +lean_ctor_set(x_363, 1, x_361); +x_364 = lean_unsigned_to_nat(1u); +x_365 = l_Lean_Syntax_getArg(x_363, x_364); +lean_dec(x_363); +x_366 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_365); +lean_ctor_set(x_15, 0, x_366); return x_15; } else { -lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; -lean_dec(x_287); -x_364 = lean_ctor_get(x_7, 2); -lean_inc(x_364); -x_365 = lean_ctor_get(x_7, 1); -lean_inc(x_365); +lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; +lean_dec(x_289); +x_367 = lean_ctor_get(x_7, 2); +lean_inc(x_367); +x_368 = lean_ctor_get(x_7, 1); +lean_inc(x_368); lean_dec(x_7); -x_366 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_367 = l_Lean_addMacroScope(x_365, x_366, x_364); -x_368 = lean_box(0); -x_369 = l_Lean_instInhabitedSourceInfo___closed__1; -x_370 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_371 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_371, 0, x_369); -lean_ctor_set(x_371, 1, x_370); -lean_ctor_set(x_371, 2, x_367); -lean_ctor_set(x_371, 3, x_368); -x_372 = l_Array_empty___closed__1; -x_373 = lean_array_push(x_372, x_371); -x_374 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -lean_inc(x_373); -x_375 = lean_array_push(x_373, x_374); -x_376 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_377 = lean_array_push(x_375, x_376); -x_378 = lean_array_push(x_372, x_2); -x_379 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_380 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_378); -x_381 = lean_array_push(x_377, x_380); -x_382 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_369 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_370 = l_Lean_addMacroScope(x_368, x_369, x_367); +x_371 = lean_box(0); +x_372 = l_Lean_instInhabitedSourceInfo___closed__1; +x_373 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_374 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_374, 0, x_372); +lean_ctor_set(x_374, 1, x_373); +lean_ctor_set(x_374, 2, x_370); +lean_ctor_set(x_374, 3, x_371); +x_375 = l_Array_empty___closed__1; +x_376 = lean_array_push(x_375, x_374); +x_377 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +lean_inc(x_376); +x_378 = lean_array_push(x_376, x_377); +x_379 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_380 = lean_array_push(x_378, x_379); +x_381 = lean_array_push(x_375, x_2); +x_382 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; x_383 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_383, 0, x_382); lean_ctor_set(x_383, 1, x_381); -x_384 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_385 = lean_array_push(x_384, x_383); -x_386 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_387, 0, x_386); -lean_ctor_set(x_387, 1, x_385); -x_388 = lean_array_push(x_372, x_387); -x_389 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_390 = lean_array_push(x_388, x_389); -x_391 = l_Lean_nullKind___closed__2; -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_391); -lean_ctor_set(x_392, 1, x_390); -x_393 = lean_array_push(x_372, x_392); -x_394 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_394, 0, x_391); -lean_ctor_set(x_394, 1, x_373); -x_395 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; -x_396 = lean_array_push(x_395, x_394); -x_397 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; +x_384 = lean_array_push(x_380, x_383); +x_385 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_386 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_386, 0, x_385); +lean_ctor_set(x_386, 1, x_384); +x_387 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_388 = lean_array_push(x_387, x_386); +x_389 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_390 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_390, 0, x_389); +lean_ctor_set(x_390, 1, x_388); +x_391 = lean_array_push(x_375, x_390); +x_392 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_393 = lean_array_push(x_391, x_392); +x_394 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_395, 0, x_394); +lean_ctor_set(x_395, 1, x_393); +x_396 = lean_array_push(x_375, x_395); +x_397 = l_Lean_nullKind___closed__2; x_398 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_398, 0, x_397); -lean_ctor_set(x_398, 1, x_396); -x_399 = lean_array_push(x_372, x_398); -x_400 = lean_array_push(x_399, x_374); -x_401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_401, 0, x_391); -lean_ctor_set(x_401, 1, x_400); -x_402 = lean_array_push(x_393, x_401); -x_403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_403, 0, x_391); -lean_ctor_set(x_403, 1, x_402); -x_404 = lean_array_push(x_372, x_403); -x_405 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_406 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_406, 0, x_405); -lean_ctor_set(x_406, 1, x_404); -x_407 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_408 = lean_array_push(x_407, x_406); -x_409 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +lean_ctor_set(x_398, 1, x_376); +x_399 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; +x_400 = lean_array_push(x_399, x_398); +x_401 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; +x_402 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_402, 0, x_401); +lean_ctor_set(x_402, 1, x_400); +x_403 = lean_array_push(x_375, x_402); +x_404 = lean_array_push(x_403, x_377); +x_405 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_405, 0, x_394); +lean_ctor_set(x_405, 1, x_404); +x_406 = lean_array_push(x_396, x_405); +x_407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_407, 0, x_397); +lean_ctor_set(x_407, 1, x_406); +x_408 = lean_array_push(x_375, x_407); +x_409 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; x_410 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_410, 0, x_409); lean_ctor_set(x_410, 1, x_408); -x_411 = lean_unsigned_to_nat(1u); -x_412 = l_Lean_Syntax_getArg(x_410, x_411); -lean_dec(x_410); -x_413 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_412); -lean_ctor_set(x_15, 0, x_413); +x_411 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_412 = lean_array_push(x_411, x_410); +x_413 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_414 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_414, 0, x_413); +lean_ctor_set(x_414, 1, x_412); +x_415 = lean_unsigned_to_nat(1u); +x_416 = l_Lean_Syntax_getArg(x_414, x_415); +lean_dec(x_414); +x_417 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_416); +lean_ctor_set(x_15, 0, x_417); return x_15; } } else { -lean_object* x_414; lean_object* x_415; uint8_t x_416; -x_414 = lean_ctor_get(x_15, 0); -x_415 = lean_ctor_get(x_15, 1); -lean_inc(x_415); -lean_inc(x_414); -lean_dec(x_15); -x_416 = l_Array_isEmpty___rarg(x_3); -lean_dec(x_3); -if (x_416 == 0) -{ -lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; -x_417 = lean_ctor_get(x_7, 2); -lean_inc(x_417); -x_418 = lean_ctor_get(x_7, 1); +lean_object* x_418; lean_object* x_419; uint8_t x_420; +x_418 = lean_ctor_get(x_15, 0); +x_419 = lean_ctor_get(x_15, 1); +lean_inc(x_419); lean_inc(x_418); +lean_dec(x_15); +x_420 = l_Array_isEmpty___rarg(x_3); +lean_dec(x_3); +if (x_420 == 0) +{ +lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; +x_421 = lean_ctor_get(x_7, 2); +lean_inc(x_421); +x_422 = lean_ctor_get(x_7, 1); +lean_inc(x_422); lean_dec(x_7); -x_419 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_420 = l_Lean_addMacroScope(x_418, x_419, x_417); -x_421 = lean_box(0); -x_422 = l_Lean_instInhabitedSourceInfo___closed__1; -x_423 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_424 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_424, 0, x_422); -lean_ctor_set(x_424, 1, x_423); -lean_ctor_set(x_424, 2, x_420); -lean_ctor_set(x_424, 3, x_421); -x_425 = l_Array_empty___closed__1; -x_426 = lean_array_push(x_425, x_424); -x_427 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -lean_inc(x_426); -x_428 = lean_array_push(x_426, x_427); -x_429 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_430 = lean_array_push(x_428, x_429); -x_431 = lean_array_push(x_425, x_2); -x_432 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_433, 0, x_432); -lean_ctor_set(x_433, 1, x_431); -x_434 = lean_array_push(x_430, x_433); -x_435 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_436 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_436, 0, x_435); -lean_ctor_set(x_436, 1, x_434); -x_437 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_438 = lean_array_push(x_437, x_436); -x_439 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_423 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_424 = l_Lean_addMacroScope(x_422, x_423, x_421); +x_425 = lean_box(0); +x_426 = l_Lean_instInhabitedSourceInfo___closed__1; +x_427 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_428 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_428, 0, x_426); +lean_ctor_set(x_428, 1, x_427); +lean_ctor_set(x_428, 2, x_424); +lean_ctor_set(x_428, 3, x_425); +x_429 = l_Array_empty___closed__1; +x_430 = lean_array_push(x_429, x_428); +x_431 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +lean_inc(x_430); +x_432 = lean_array_push(x_430, x_431); +x_433 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_434 = lean_array_push(x_432, x_433); +x_435 = lean_array_push(x_429, x_2); +x_436 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_437 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_437, 0, x_436); +lean_ctor_set(x_437, 1, x_435); +x_438 = lean_array_push(x_434, x_437); +x_439 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; x_440 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_440, 0, x_439); lean_ctor_set(x_440, 1, x_438); -x_441 = lean_array_push(x_425, x_440); -x_442 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_443 = lean_array_push(x_441, x_442); -x_444 = l_Lean_nullKind___closed__2; -x_445 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_445, 0, x_444); -lean_ctor_set(x_445, 1, x_443); -x_446 = lean_array_push(x_425, x_445); -x_447 = lean_array_push(x_425, x_414); -x_448 = lean_array_push(x_447, x_427); -x_449 = lean_array_push(x_448, x_427); -x_450 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_451 = lean_array_push(x_449, x_450); -x_452 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; -x_453 = lean_array_push(x_426, x_452); -x_454 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__37; -lean_inc(x_453); +x_441 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_442 = lean_array_push(x_441, x_440); +x_443 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_444 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_444, 0, x_443); +lean_ctor_set(x_444, 1, x_442); +x_445 = lean_array_push(x_429, x_444); +x_446 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_447 = lean_array_push(x_445, x_446); +x_448 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_449, 0, x_448); +lean_ctor_set(x_449, 1, x_447); +x_450 = lean_array_push(x_429, x_449); +x_451 = lean_array_push(x_429, x_418); +x_452 = lean_array_push(x_451, x_431); +x_453 = lean_array_push(x_452, x_431); +x_454 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; x_455 = lean_array_push(x_453, x_454); -x_456 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; -x_457 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_457, 0, x_456); -lean_ctor_set(x_457, 1, x_455); -x_458 = lean_array_push(x_451, x_457); -x_459 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_460, 0, x_459); -lean_ctor_set(x_460, 1, x_458); -x_461 = lean_array_push(x_425, x_460); -x_462 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_463, 0, x_462); -lean_ctor_set(x_463, 1, x_461); -x_464 = lean_array_push(x_425, x_463); -x_465 = lean_array_push(x_464, x_442); -x_466 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_466, 0, x_444); -lean_ctor_set(x_466, 1, x_465); -x_467 = lean_array_push(x_446, x_466); -x_468 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__45; -x_469 = lean_array_push(x_453, x_468); +x_456 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; +x_457 = lean_array_push(x_430, x_456); +x_458 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; +lean_inc(x_457); +x_459 = lean_array_push(x_457, x_458); +x_460 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; +x_461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_461, 0, x_460); +lean_ctor_set(x_461, 1, x_459); +x_462 = lean_array_push(x_455, x_461); +x_463 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_464 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_464, 0, x_463); +lean_ctor_set(x_464, 1, x_462); +x_465 = lean_array_push(x_429, x_464); +x_466 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_467 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_467, 0, x_466); +lean_ctor_set(x_467, 1, x_465); +x_468 = lean_array_push(x_429, x_467); +x_469 = lean_array_push(x_468, x_446); x_470 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_470, 0, x_456); +lean_ctor_set(x_470, 0, x_448); lean_ctor_set(x_470, 1, x_469); -x_471 = lean_array_push(x_425, x_470); -x_472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_472, 0, x_444); -lean_ctor_set(x_472, 1, x_471); -x_473 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; -x_474 = lean_array_push(x_473, x_472); -x_475 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; -x_476 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_476, 0, x_475); -lean_ctor_set(x_476, 1, x_474); -x_477 = lean_array_push(x_425, x_476); -x_478 = lean_array_push(x_477, x_427); -x_479 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_479, 0, x_444); -lean_ctor_set(x_479, 1, x_478); -x_480 = lean_array_push(x_467, x_479); +x_471 = lean_array_push(x_450, x_470); +x_472 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; +x_473 = lean_array_push(x_457, x_472); +x_474 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_474, 0, x_460); +lean_ctor_set(x_474, 1, x_473); +x_475 = lean_array_push(x_429, x_474); +x_476 = l_Lean_nullKind___closed__2; +x_477 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_477, 0, x_476); +lean_ctor_set(x_477, 1, x_475); +x_478 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; +x_479 = lean_array_push(x_478, x_477); +x_480 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; x_481 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_481, 0, x_444); -lean_ctor_set(x_481, 1, x_480); -x_482 = lean_array_push(x_425, x_481); -x_483 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +lean_ctor_set(x_481, 0, x_480); +lean_ctor_set(x_481, 1, x_479); +x_482 = lean_array_push(x_429, x_481); +x_483 = lean_array_push(x_482, x_431); x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_483); -lean_ctor_set(x_484, 1, x_482); -x_485 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_486 = lean_array_push(x_485, x_484); -x_487 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_488 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_488, 0, x_487); -lean_ctor_set(x_488, 1, x_486); -x_489 = lean_unsigned_to_nat(1u); -x_490 = l_Lean_Syntax_getArg(x_488, x_489); -lean_dec(x_488); -x_491 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_490); -x_492 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_492, 0, x_491); -lean_ctor_set(x_492, 1, x_415); -return x_492; +lean_ctor_set(x_484, 0, x_448); +lean_ctor_set(x_484, 1, x_483); +x_485 = lean_array_push(x_471, x_484); +x_486 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_486, 0, x_476); +lean_ctor_set(x_486, 1, x_485); +x_487 = lean_array_push(x_429, x_486); +x_488 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_489 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_489, 0, x_488); +lean_ctor_set(x_489, 1, x_487); +x_490 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_491 = lean_array_push(x_490, x_489); +x_492 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_493 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_493, 0, x_492); +lean_ctor_set(x_493, 1, x_491); +x_494 = lean_unsigned_to_nat(1u); +x_495 = l_Lean_Syntax_getArg(x_493, x_494); +lean_dec(x_493); +x_496 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_495); +x_497 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_497, 0, x_496); +lean_ctor_set(x_497, 1, x_419); +return x_497; } else { -lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; -lean_dec(x_414); -x_493 = lean_ctor_get(x_7, 2); -lean_inc(x_493); -x_494 = lean_ctor_get(x_7, 1); -lean_inc(x_494); +lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; +lean_dec(x_418); +x_498 = lean_ctor_get(x_7, 2); +lean_inc(x_498); +x_499 = lean_ctor_get(x_7, 1); +lean_inc(x_499); lean_dec(x_7); -x_495 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_496 = l_Lean_addMacroScope(x_494, x_495, x_493); -x_497 = lean_box(0); -x_498 = l_Lean_instInhabitedSourceInfo___closed__1; -x_499 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_500 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_500, 0, x_498); -lean_ctor_set(x_500, 1, x_499); -lean_ctor_set(x_500, 2, x_496); -lean_ctor_set(x_500, 3, x_497); -x_501 = l_Array_empty___closed__1; -x_502 = lean_array_push(x_501, x_500); -x_503 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -lean_inc(x_502); -x_504 = lean_array_push(x_502, x_503); -x_505 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_506 = lean_array_push(x_504, x_505); -x_507 = lean_array_push(x_501, x_2); -x_508 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_509 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_509, 0, x_508); -lean_ctor_set(x_509, 1, x_507); -x_510 = lean_array_push(x_506, x_509); -x_511 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_512, 0, x_511); -lean_ctor_set(x_512, 1, x_510); -x_513 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_514 = lean_array_push(x_513, x_512); -x_515 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_516 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_516, 0, x_515); -lean_ctor_set(x_516, 1, x_514); -x_517 = lean_array_push(x_501, x_516); -x_518 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_519 = lean_array_push(x_517, x_518); -x_520 = l_Lean_nullKind___closed__2; +x_500 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_501 = l_Lean_addMacroScope(x_499, x_500, x_498); +x_502 = lean_box(0); +x_503 = l_Lean_instInhabitedSourceInfo___closed__1; +x_504 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_505 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_505, 0, x_503); +lean_ctor_set(x_505, 1, x_504); +lean_ctor_set(x_505, 2, x_501); +lean_ctor_set(x_505, 3, x_502); +x_506 = l_Array_empty___closed__1; +x_507 = lean_array_push(x_506, x_505); +x_508 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +lean_inc(x_507); +x_509 = lean_array_push(x_507, x_508); +x_510 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_511 = lean_array_push(x_509, x_510); +x_512 = lean_array_push(x_506, x_2); +x_513 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_514, 0, x_513); +lean_ctor_set(x_514, 1, x_512); +x_515 = lean_array_push(x_511, x_514); +x_516 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_517 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_517, 0, x_516); +lean_ctor_set(x_517, 1, x_515); +x_518 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_519 = lean_array_push(x_518, x_517); +x_520 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; x_521 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_521, 0, x_520); lean_ctor_set(x_521, 1, x_519); -x_522 = lean_array_push(x_501, x_521); -x_523 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_523, 0, x_520); -lean_ctor_set(x_523, 1, x_502); -x_524 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; -x_525 = lean_array_push(x_524, x_523); -x_526 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; -x_527 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_527, 0, x_526); -lean_ctor_set(x_527, 1, x_525); -x_528 = lean_array_push(x_501, x_527); -x_529 = lean_array_push(x_528, x_503); -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_520); -lean_ctor_set(x_530, 1, x_529); -x_531 = lean_array_push(x_522, x_530); -x_532 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_532, 0, x_520); -lean_ctor_set(x_532, 1, x_531); -x_533 = lean_array_push(x_501, x_532); -x_534 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_535, 0, x_534); -lean_ctor_set(x_535, 1, x_533); -x_536 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_537 = lean_array_push(x_536, x_535); -x_538 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_539 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_539, 0, x_538); -lean_ctor_set(x_539, 1, x_537); -x_540 = lean_unsigned_to_nat(1u); -x_541 = l_Lean_Syntax_getArg(x_539, x_540); -lean_dec(x_539); -x_542 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_541); -x_543 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_543, 0, x_542); -lean_ctor_set(x_543, 1, x_415); -return x_543; +x_522 = lean_array_push(x_506, x_521); +x_523 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_524 = lean_array_push(x_522, x_523); +x_525 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_526 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_526, 0, x_525); +lean_ctor_set(x_526, 1, x_524); +x_527 = lean_array_push(x_506, x_526); +x_528 = l_Lean_nullKind___closed__2; +x_529 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_529, 0, x_528); +lean_ctor_set(x_529, 1, x_507); +x_530 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; +x_531 = lean_array_push(x_530, x_529); +x_532 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; +x_533 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_533, 0, x_532); +lean_ctor_set(x_533, 1, x_531); +x_534 = lean_array_push(x_506, x_533); +x_535 = lean_array_push(x_534, x_508); +x_536 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_536, 0, x_525); +lean_ctor_set(x_536, 1, x_535); +x_537 = lean_array_push(x_527, x_536); +x_538 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_538, 0, x_528); +lean_ctor_set(x_538, 1, x_537); +x_539 = lean_array_push(x_506, x_538); +x_540 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_541 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_541, 0, x_540); +lean_ctor_set(x_541, 1, x_539); +x_542 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_543 = lean_array_push(x_542, x_541); +x_544 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_545 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_545, 0, x_544); +lean_ctor_set(x_545, 1, x_543); +x_546 = lean_unsigned_to_nat(1u); +x_547 = l_Lean_Syntax_getArg(x_545, x_546); +lean_dec(x_545); +x_548 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_547); +x_549 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_549, 0, x_548); +lean_ctor_set(x_549, 1, x_419); +return x_549; } } } else { -uint8_t x_544; +uint8_t x_550; lean_dec(x_3); -x_544 = !lean_is_exclusive(x_15); -if (x_544 == 0) +x_550 = !lean_is_exclusive(x_15); +if (x_550 == 0) { -lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; -x_545 = lean_ctor_get(x_15, 0); -x_546 = lean_ctor_get(x_7, 2); -lean_inc(x_546); -x_547 = lean_ctor_get(x_7, 1); -lean_inc(x_547); -lean_dec(x_7); -x_548 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_546); -lean_inc(x_547); -x_549 = l_Lean_addMacroScope(x_547, x_548, x_546); -x_550 = lean_box(0); -x_551 = l_Lean_instInhabitedSourceInfo___closed__1; -x_552 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_553 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_553, 0, x_551); -lean_ctor_set(x_553, 1, x_552); -lean_ctor_set(x_553, 2, x_549); -lean_ctor_set(x_553, 3, x_550); -x_554 = l_Array_empty___closed__1; +lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; +x_551 = lean_ctor_get(x_15, 0); +x_552 = lean_ctor_get(x_7, 2); +lean_inc(x_552); +x_553 = lean_ctor_get(x_7, 1); lean_inc(x_553); -x_555 = lean_array_push(x_554, x_553); -x_556 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_557 = lean_array_push(x_555, x_556); -x_558 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_559 = lean_array_push(x_557, x_558); -x_560 = lean_array_push(x_554, x_2); -x_561 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_562 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_562, 0, x_561); -lean_ctor_set(x_562, 1, x_560); -x_563 = lean_array_push(x_559, x_562); -x_564 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_565 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_565, 0, x_564); -lean_ctor_set(x_565, 1, x_563); -x_566 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_567 = lean_array_push(x_566, x_565); -x_568 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_569 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_569, 0, x_568); -lean_ctor_set(x_569, 1, x_567); -x_570 = lean_array_push(x_554, x_569); -x_571 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_572 = lean_array_push(x_570, x_571); -x_573 = l_Lean_nullKind___closed__2; -x_574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_574, 0, x_573); -lean_ctor_set(x_574, 1, x_572); -x_575 = lean_array_push(x_554, x_574); -x_576 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_577 = lean_array_push(x_576, x_553); -x_578 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -x_579 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_579, 0, x_578); -lean_ctor_set(x_579, 1, x_577); -x_580 = lean_array_push(x_554, x_579); -x_581 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_581, 0, x_573); -lean_ctor_set(x_581, 1, x_580); -x_582 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_583 = lean_array_push(x_582, x_581); -x_584 = lean_array_push(x_583, x_556); -x_585 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -x_586 = lean_array_push(x_584, x_585); -x_587 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__37; -lean_inc(x_546); -lean_inc(x_547); -x_588 = l_Lean_addMacroScope(x_547, x_587, x_546); -x_589 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__33; -x_590 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__39; -x_591 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_591, 0, x_551); -lean_ctor_set(x_591, 1, x_589); -lean_ctor_set(x_591, 2, x_588); -lean_ctor_set(x_591, 3, x_590); -x_592 = lean_array_push(x_554, x_591); -x_593 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; -lean_inc(x_546); -lean_inc(x_547); -x_594 = l_Lean_addMacroScope(x_547, x_593, x_546); -x_595 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; -x_596 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_596, 0, x_551); -lean_ctor_set(x_596, 1, x_595); -lean_ctor_set(x_596, 2, x_594); -lean_ctor_set(x_596, 3, x_550); -x_597 = lean_array_push(x_554, x_596); -x_598 = l_Lean_Level_LevelToFormat_toResult___closed__3; -lean_inc(x_546); -lean_inc(x_547); -x_599 = l_Lean_addMacroScope(x_547, x_598, x_546); -x_600 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; -x_601 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_601, 0, x_551); -lean_ctor_set(x_601, 1, x_600); -lean_ctor_set(x_601, 2, x_599); -lean_ctor_set(x_601, 3, x_550); -lean_inc(x_601); -lean_inc(x_597); -x_602 = lean_array_push(x_597, x_601); -x_603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_603, 0, x_573); +lean_dec(x_7); +x_554 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_552); +lean_inc(x_553); +x_555 = l_Lean_addMacroScope(x_553, x_554, x_552); +x_556 = lean_box(0); +x_557 = l_Lean_instInhabitedSourceInfo___closed__1; +x_558 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_559 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_559, 0, x_557); +lean_ctor_set(x_559, 1, x_558); +lean_ctor_set(x_559, 2, x_555); +lean_ctor_set(x_559, 3, x_556); +x_560 = l_Array_empty___closed__1; +lean_inc(x_559); +x_561 = lean_array_push(x_560, x_559); +x_562 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_563 = lean_array_push(x_561, x_562); +x_564 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_565 = lean_array_push(x_563, x_564); +x_566 = lean_array_push(x_560, x_2); +x_567 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_568 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_568, 0, x_567); +lean_ctor_set(x_568, 1, x_566); +x_569 = lean_array_push(x_565, x_568); +x_570 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_571 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_571, 0, x_570); +lean_ctor_set(x_571, 1, x_569); +x_572 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_573 = lean_array_push(x_572, x_571); +x_574 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_575 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_575, 0, x_574); +lean_ctor_set(x_575, 1, x_573); +x_576 = lean_array_push(x_560, x_575); +x_577 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_578 = lean_array_push(x_576, x_577); +x_579 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_580 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_580, 0, x_579); +lean_ctor_set(x_580, 1, x_578); +x_581 = lean_array_push(x_560, x_580); +x_582 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_583 = lean_array_push(x_582, x_559); +x_584 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_585 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_585, 0, x_584); +lean_ctor_set(x_585, 1, x_583); +x_586 = lean_array_push(x_560, x_585); +x_587 = l_Lean_nullKind___closed__2; +x_588 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_588, 0, x_587); +lean_ctor_set(x_588, 1, x_586); +x_589 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_590 = lean_array_push(x_589, x_588); +x_591 = lean_array_push(x_590, x_562); +x_592 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_593 = lean_array_push(x_591, x_592); +x_594 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__37; +lean_inc(x_552); +lean_inc(x_553); +x_595 = l_Lean_addMacroScope(x_553, x_594, x_552); +x_596 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__33; +x_597 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__39; +x_598 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_598, 0, x_557); +lean_ctor_set(x_598, 1, x_596); +lean_ctor_set(x_598, 2, x_595); +lean_ctor_set(x_598, 3, x_597); +x_599 = lean_array_push(x_560, x_598); +x_600 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +lean_inc(x_552); +lean_inc(x_553); +x_601 = l_Lean_addMacroScope(x_553, x_600, x_552); +x_602 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_603 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_603, 0, x_557); lean_ctor_set(x_603, 1, x_602); -x_604 = lean_array_push(x_592, x_603); -x_605 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_606 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_606, 0, x_605); -lean_ctor_set(x_606, 1, x_604); -x_607 = lean_array_push(x_554, x_606); -x_608 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_608, 0, x_573); +lean_ctor_set(x_603, 2, x_601); +lean_ctor_set(x_603, 3, x_556); +x_604 = lean_array_push(x_560, x_603); +x_605 = l_Lean_Level_LevelToFormat_toResult___closed__3; +lean_inc(x_552); +lean_inc(x_553); +x_606 = l_Lean_addMacroScope(x_553, x_605, x_552); +x_607 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_608 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_608, 0, x_557); lean_ctor_set(x_608, 1, x_607); -x_609 = lean_array_push(x_554, x_608); -x_610 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_611 = lean_array_push(x_609, x_610); -x_612 = lean_array_push(x_554, x_545); -x_613 = lean_array_push(x_612, x_556); -x_614 = lean_array_push(x_613, x_556); -x_615 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_616 = lean_array_push(x_614, x_615); -lean_inc(x_601); -x_617 = lean_array_push(x_616, x_601); -x_618 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_619, 0, x_618); -lean_ctor_set(x_619, 1, x_617); -x_620 = lean_array_push(x_554, x_619); -x_621 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_622 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_622, 0, x_621); -lean_ctor_set(x_622, 1, x_620); -x_623 = lean_array_push(x_554, x_622); -x_624 = lean_array_push(x_623, x_571); -x_625 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_625, 0, x_573); -lean_ctor_set(x_625, 1, x_624); -x_626 = lean_array_push(x_554, x_625); -x_627 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_627, 0, x_573); -lean_ctor_set(x_627, 1, x_597); -x_628 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; -x_629 = lean_array_push(x_628, x_627); -x_630 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; -x_631 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_631, 0, x_630); -lean_ctor_set(x_631, 1, x_629); -x_632 = lean_array_push(x_554, x_631); -x_633 = lean_array_push(x_632, x_556); +lean_ctor_set(x_608, 2, x_606); +lean_ctor_set(x_608, 3, x_556); +lean_inc(x_608); +lean_inc(x_604); +x_609 = lean_array_push(x_604, x_608); +x_610 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_610, 0, x_587); +lean_ctor_set(x_610, 1, x_609); +x_611 = lean_array_push(x_599, x_610); +x_612 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_613 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_613, 0, x_612); +lean_ctor_set(x_613, 1, x_611); +x_614 = lean_array_push(x_560, x_613); +x_615 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_615, 0, x_587); +lean_ctor_set(x_615, 1, x_614); +x_616 = lean_array_push(x_560, x_615); +x_617 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_618 = lean_array_push(x_616, x_617); +x_619 = lean_array_push(x_560, x_551); +x_620 = lean_array_push(x_619, x_562); +x_621 = lean_array_push(x_620, x_562); +x_622 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_623 = lean_array_push(x_621, x_622); +lean_inc(x_608); +x_624 = lean_array_push(x_623, x_608); +x_625 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_626 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_626, 0, x_625); +lean_ctor_set(x_626, 1, x_624); +x_627 = lean_array_push(x_560, x_626); +x_628 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_629 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_629, 0, x_628); +lean_ctor_set(x_629, 1, x_627); +x_630 = lean_array_push(x_560, x_629); +x_631 = lean_array_push(x_630, x_577); +x_632 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_632, 0, x_579); +lean_ctor_set(x_632, 1, x_631); +x_633 = lean_array_push(x_560, x_632); x_634 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_634, 0, x_573); -lean_ctor_set(x_634, 1, x_633); -lean_inc(x_626); -x_635 = lean_array_push(x_626, x_634); -x_636 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_636, 0, x_573); -lean_ctor_set(x_636, 1, x_635); -x_637 = lean_array_push(x_554, x_636); -x_638 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_639 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_639, 0, x_638); -lean_ctor_set(x_639, 1, x_637); -x_640 = lean_array_push(x_611, x_639); -x_641 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -x_642 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_642, 0, x_641); -lean_ctor_set(x_642, 1, x_640); -x_643 = lean_array_push(x_554, x_642); -x_644 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_645 = lean_array_push(x_643, x_644); -x_646 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__14; -lean_inc(x_546); -lean_inc(x_547); -x_647 = l_Lean_addMacroScope(x_547, x_646, x_546); -x_648 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__13; -x_649 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__16; -x_650 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_650, 0, x_551); -lean_ctor_set(x_650, 1, x_648); -lean_ctor_set(x_650, 2, x_647); -lean_ctor_set(x_650, 3, x_649); -x_651 = lean_array_push(x_554, x_650); -x_652 = lean_array_push(x_554, x_601); -x_653 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_653, 0, x_573); -lean_ctor_set(x_653, 1, x_652); -lean_inc(x_653); -x_654 = lean_array_push(x_651, x_653); -x_655 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_655, 0, x_605); -lean_ctor_set(x_655, 1, x_654); -x_656 = lean_array_push(x_554, x_655); -x_657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_657, 0, x_573); -lean_ctor_set(x_657, 1, x_656); -x_658 = lean_array_push(x_554, x_657); -x_659 = lean_array_push(x_658, x_610); -x_660 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_626); -x_661 = lean_array_push(x_626, x_660); +lean_ctor_set(x_634, 0, x_587); +lean_ctor_set(x_634, 1, x_604); +x_635 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; +x_636 = lean_array_push(x_635, x_634); +x_637 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; +x_638 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_638, 0, x_637); +lean_ctor_set(x_638, 1, x_636); +x_639 = lean_array_push(x_560, x_638); +x_640 = lean_array_push(x_639, x_562); +x_641 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_641, 0, x_579); +lean_ctor_set(x_641, 1, x_640); +lean_inc(x_633); +x_642 = lean_array_push(x_633, x_641); +x_643 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_643, 0, x_587); +lean_ctor_set(x_643, 1, x_642); +x_644 = lean_array_push(x_560, x_643); +x_645 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_646 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_646, 0, x_645); +lean_ctor_set(x_646, 1, x_644); +x_647 = lean_array_push(x_618, x_646); +x_648 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; +x_649 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_649, 0, x_648); +lean_ctor_set(x_649, 1, x_647); +x_650 = lean_array_push(x_560, x_649); +x_651 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_652 = lean_array_push(x_650, x_651); +x_653 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__14; +lean_inc(x_552); +lean_inc(x_553); +x_654 = l_Lean_addMacroScope(x_553, x_653, x_552); +x_655 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__13; +x_656 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__16; +x_657 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_657, 0, x_557); +lean_ctor_set(x_657, 1, x_655); +lean_ctor_set(x_657, 2, x_654); +lean_ctor_set(x_657, 3, x_656); +x_658 = lean_array_push(x_560, x_657); +x_659 = lean_array_push(x_560, x_608); +x_660 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_660, 0, x_587); +lean_ctor_set(x_660, 1, x_659); +lean_inc(x_660); +x_661 = lean_array_push(x_658, x_660); x_662 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_662, 0, x_573); +lean_ctor_set(x_662, 0, x_612); lean_ctor_set(x_662, 1, x_661); -x_663 = lean_array_push(x_554, x_662); +x_663 = lean_array_push(x_560, x_662); x_664 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_664, 0, x_638); +lean_ctor_set(x_664, 0, x_587); lean_ctor_set(x_664, 1, x_663); -x_665 = lean_array_push(x_659, x_664); -x_666 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_666, 0, x_641); -lean_ctor_set(x_666, 1, x_665); -x_667 = lean_array_push(x_645, x_666); -x_668 = lean_array_push(x_667, x_644); -x_669 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__23; -x_670 = l_Lean_addMacroScope(x_547, x_669, x_546); -x_671 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__22; -x_672 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__25; -x_673 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_673, 0, x_551); -lean_ctor_set(x_673, 1, x_671); -lean_ctor_set(x_673, 2, x_670); -lean_ctor_set(x_673, 3, x_672); -x_674 = lean_array_push(x_554, x_673); -x_675 = lean_array_push(x_674, x_653); -x_676 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_676, 0, x_605); -lean_ctor_set(x_676, 1, x_675); -x_677 = lean_array_push(x_554, x_676); -x_678 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_678, 0, x_573); -lean_ctor_set(x_678, 1, x_677); -x_679 = lean_array_push(x_554, x_678); -x_680 = lean_array_push(x_679, x_610); -x_681 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__33; -x_682 = lean_array_push(x_626, x_681); +x_665 = lean_array_push(x_560, x_664); +x_666 = lean_array_push(x_665, x_617); +x_667 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; +lean_inc(x_633); +x_668 = lean_array_push(x_633, x_667); +x_669 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_669, 0, x_587); +lean_ctor_set(x_669, 1, x_668); +x_670 = lean_array_push(x_560, x_669); +x_671 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_671, 0, x_645); +lean_ctor_set(x_671, 1, x_670); +x_672 = lean_array_push(x_666, x_671); +x_673 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_673, 0, x_648); +lean_ctor_set(x_673, 1, x_672); +x_674 = lean_array_push(x_652, x_673); +x_675 = lean_array_push(x_674, x_651); +x_676 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__23; +x_677 = l_Lean_addMacroScope(x_553, x_676, x_552); +x_678 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__22; +x_679 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__25; +x_680 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_680, 0, x_557); +lean_ctor_set(x_680, 1, x_678); +lean_ctor_set(x_680, 2, x_677); +lean_ctor_set(x_680, 3, x_679); +x_681 = lean_array_push(x_560, x_680); +x_682 = lean_array_push(x_681, x_660); x_683 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_683, 0, x_573); +lean_ctor_set(x_683, 0, x_612); lean_ctor_set(x_683, 1, x_682); -x_684 = lean_array_push(x_554, x_683); +x_684 = lean_array_push(x_560, x_683); x_685 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_685, 0, x_638); +lean_ctor_set(x_685, 0, x_587); lean_ctor_set(x_685, 1, x_684); -x_686 = lean_array_push(x_680, x_685); -x_687 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_687, 0, x_641); -lean_ctor_set(x_687, 1, x_686); -x_688 = lean_array_push(x_668, x_687); -x_689 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_689, 0, x_573); -lean_ctor_set(x_689, 1, x_688); -x_690 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_691 = lean_array_push(x_690, x_689); -x_692 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; -x_693 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_693, 0, x_692); -lean_ctor_set(x_693, 1, x_691); -x_694 = lean_array_push(x_586, x_693); -x_695 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_686 = lean_array_push(x_560, x_685); +x_687 = lean_array_push(x_686, x_617); +x_688 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__35; +x_689 = lean_array_push(x_633, x_688); +x_690 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_690, 0, x_587); +lean_ctor_set(x_690, 1, x_689); +x_691 = lean_array_push(x_560, x_690); +x_692 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_692, 0, x_645); +lean_ctor_set(x_692, 1, x_691); +x_693 = lean_array_push(x_687, x_692); +x_694 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_694, 0, x_648); +lean_ctor_set(x_694, 1, x_693); +x_695 = lean_array_push(x_675, x_694); x_696 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_696, 0, x_695); -lean_ctor_set(x_696, 1, x_694); -x_697 = lean_array_push(x_554, x_696); -x_698 = lean_array_push(x_697, x_556); -x_699 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_699, 0, x_573); -lean_ctor_set(x_699, 1, x_698); -x_700 = lean_array_push(x_575, x_699); -x_701 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_701, 0, x_573); -lean_ctor_set(x_701, 1, x_700); -x_702 = lean_array_push(x_554, x_701); +lean_ctor_set(x_696, 0, x_587); +lean_ctor_set(x_696, 1, x_695); +x_697 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_698 = lean_array_push(x_697, x_696); +x_699 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +x_700 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_700, 0, x_699); +lean_ctor_set(x_700, 1, x_698); +x_701 = lean_array_push(x_593, x_700); +x_702 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; x_703 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_703, 0, x_638); -lean_ctor_set(x_703, 1, x_702); -x_704 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_705 = lean_array_push(x_704, x_703); -x_706 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_707 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_707, 0, x_706); -lean_ctor_set(x_707, 1, x_705); -x_708 = lean_unsigned_to_nat(1u); -x_709 = l_Lean_Syntax_getArg(x_707, x_708); -lean_dec(x_707); -x_710 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_709); -lean_ctor_set(x_15, 0, x_710); +lean_ctor_set(x_703, 0, x_702); +lean_ctor_set(x_703, 1, x_701); +x_704 = lean_array_push(x_560, x_703); +x_705 = lean_array_push(x_704, x_562); +x_706 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_706, 0, x_579); +lean_ctor_set(x_706, 1, x_705); +x_707 = lean_array_push(x_581, x_706); +x_708 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_708, 0, x_587); +lean_ctor_set(x_708, 1, x_707); +x_709 = lean_array_push(x_560, x_708); +x_710 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_710, 0, x_645); +lean_ctor_set(x_710, 1, x_709); +x_711 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_712 = lean_array_push(x_711, x_710); +x_713 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_714 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_714, 0, x_713); +lean_ctor_set(x_714, 1, x_712); +x_715 = lean_unsigned_to_nat(1u); +x_716 = l_Lean_Syntax_getArg(x_714, x_715); +lean_dec(x_714); +x_717 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_716); +lean_ctor_set(x_15, 0, x_717); return x_15; } else { -lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; -x_711 = lean_ctor_get(x_15, 0); -x_712 = lean_ctor_get(x_15, 1); -lean_inc(x_712); -lean_inc(x_711); +lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; +x_718 = lean_ctor_get(x_15, 0); +x_719 = lean_ctor_get(x_15, 1); +lean_inc(x_719); +lean_inc(x_718); lean_dec(x_15); -x_713 = lean_ctor_get(x_7, 2); -lean_inc(x_713); -x_714 = lean_ctor_get(x_7, 1); -lean_inc(x_714); -lean_dec(x_7); -x_715 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_713); -lean_inc(x_714); -x_716 = l_Lean_addMacroScope(x_714, x_715, x_713); -x_717 = lean_box(0); -x_718 = l_Lean_instInhabitedSourceInfo___closed__1; -x_719 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_720 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_720, 0, x_718); -lean_ctor_set(x_720, 1, x_719); -lean_ctor_set(x_720, 2, x_716); -lean_ctor_set(x_720, 3, x_717); -x_721 = l_Array_empty___closed__1; +x_720 = lean_ctor_get(x_7, 2); lean_inc(x_720); -x_722 = lean_array_push(x_721, x_720); -x_723 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_724 = lean_array_push(x_722, x_723); -x_725 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_726 = lean_array_push(x_724, x_725); -x_727 = lean_array_push(x_721, x_2); -x_728 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_729 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_729, 0, x_728); -lean_ctor_set(x_729, 1, x_727); -x_730 = lean_array_push(x_726, x_729); -x_731 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_732 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_732, 0, x_731); -lean_ctor_set(x_732, 1, x_730); -x_733 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_734 = lean_array_push(x_733, x_732); -x_735 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_721 = lean_ctor_get(x_7, 1); +lean_inc(x_721); +lean_dec(x_7); +x_722 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_720); +lean_inc(x_721); +x_723 = l_Lean_addMacroScope(x_721, x_722, x_720); +x_724 = lean_box(0); +x_725 = l_Lean_instInhabitedSourceInfo___closed__1; +x_726 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_727 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_727, 0, x_725); +lean_ctor_set(x_727, 1, x_726); +lean_ctor_set(x_727, 2, x_723); +lean_ctor_set(x_727, 3, x_724); +x_728 = l_Array_empty___closed__1; +lean_inc(x_727); +x_729 = lean_array_push(x_728, x_727); +x_730 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_731 = lean_array_push(x_729, x_730); +x_732 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_733 = lean_array_push(x_731, x_732); +x_734 = lean_array_push(x_728, x_2); +x_735 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; x_736 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_736, 0, x_735); lean_ctor_set(x_736, 1, x_734); -x_737 = lean_array_push(x_721, x_736); -x_738 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_739 = lean_array_push(x_737, x_738); -x_740 = l_Lean_nullKind___closed__2; -x_741 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_741, 0, x_740); -lean_ctor_set(x_741, 1, x_739); -x_742 = lean_array_push(x_721, x_741); -x_743 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_744 = lean_array_push(x_743, x_720); -x_745 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -x_746 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_746, 0, x_745); -lean_ctor_set(x_746, 1, x_744); -x_747 = lean_array_push(x_721, x_746); +x_737 = lean_array_push(x_733, x_736); +x_738 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_739 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_739, 0, x_738); +lean_ctor_set(x_739, 1, x_737); +x_740 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_741 = lean_array_push(x_740, x_739); +x_742 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_743 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_743, 0, x_742); +lean_ctor_set(x_743, 1, x_741); +x_744 = lean_array_push(x_728, x_743); +x_745 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_746 = lean_array_push(x_744, x_745); +x_747 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_748 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_748, 0, x_740); -lean_ctor_set(x_748, 1, x_747); -x_749 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_750 = lean_array_push(x_749, x_748); -x_751 = lean_array_push(x_750, x_723); -x_752 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -x_753 = lean_array_push(x_751, x_752); -x_754 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__37; -lean_inc(x_713); -lean_inc(x_714); -x_755 = l_Lean_addMacroScope(x_714, x_754, x_713); -x_756 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__33; -x_757 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__39; -x_758 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_758, 0, x_718); -lean_ctor_set(x_758, 1, x_756); -lean_ctor_set(x_758, 2, x_755); -lean_ctor_set(x_758, 3, x_757); -x_759 = lean_array_push(x_721, x_758); -x_760 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; -lean_inc(x_713); -lean_inc(x_714); -x_761 = l_Lean_addMacroScope(x_714, x_760, x_713); -x_762 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; -x_763 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_763, 0, x_718); -lean_ctor_set(x_763, 1, x_762); -lean_ctor_set(x_763, 2, x_761); -lean_ctor_set(x_763, 3, x_717); -x_764 = lean_array_push(x_721, x_763); -x_765 = l_Lean_Level_LevelToFormat_toResult___closed__3; -lean_inc(x_713); -lean_inc(x_714); -x_766 = l_Lean_addMacroScope(x_714, x_765, x_713); -x_767 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; -x_768 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_768, 0, x_718); -lean_ctor_set(x_768, 1, x_767); -lean_ctor_set(x_768, 2, x_766); -lean_ctor_set(x_768, 3, x_717); -lean_inc(x_768); -lean_inc(x_764); -x_769 = lean_array_push(x_764, x_768); -x_770 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_770, 0, x_740); -lean_ctor_set(x_770, 1, x_769); -x_771 = lean_array_push(x_759, x_770); -x_772 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_773 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_773, 0, x_772); -lean_ctor_set(x_773, 1, x_771); -x_774 = lean_array_push(x_721, x_773); -x_775 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_775, 0, x_740); -lean_ctor_set(x_775, 1, x_774); -x_776 = lean_array_push(x_721, x_775); -x_777 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_778 = lean_array_push(x_776, x_777); -x_779 = lean_array_push(x_721, x_711); -x_780 = lean_array_push(x_779, x_723); -x_781 = lean_array_push(x_780, x_723); -x_782 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_783 = lean_array_push(x_781, x_782); -lean_inc(x_768); -x_784 = lean_array_push(x_783, x_768); -x_785 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_786 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_786, 0, x_785); -lean_ctor_set(x_786, 1, x_784); -x_787 = lean_array_push(x_721, x_786); -x_788 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_789 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_789, 0, x_788); -lean_ctor_set(x_789, 1, x_787); -x_790 = lean_array_push(x_721, x_789); -x_791 = lean_array_push(x_790, x_738); -x_792 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_792, 0, x_740); -lean_ctor_set(x_792, 1, x_791); -x_793 = lean_array_push(x_721, x_792); +lean_ctor_set(x_748, 0, x_747); +lean_ctor_set(x_748, 1, x_746); +x_749 = lean_array_push(x_728, x_748); +x_750 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_751 = lean_array_push(x_750, x_727); +x_752 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_753 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_753, 0, x_752); +lean_ctor_set(x_753, 1, x_751); +x_754 = lean_array_push(x_728, x_753); +x_755 = l_Lean_nullKind___closed__2; +x_756 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_756, 0, x_755); +lean_ctor_set(x_756, 1, x_754); +x_757 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_758 = lean_array_push(x_757, x_756); +x_759 = lean_array_push(x_758, x_730); +x_760 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_761 = lean_array_push(x_759, x_760); +x_762 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__37; +lean_inc(x_720); +lean_inc(x_721); +x_763 = l_Lean_addMacroScope(x_721, x_762, x_720); +x_764 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__33; +x_765 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__39; +x_766 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_766, 0, x_725); +lean_ctor_set(x_766, 1, x_764); +lean_ctor_set(x_766, 2, x_763); +lean_ctor_set(x_766, 3, x_765); +x_767 = lean_array_push(x_728, x_766); +x_768 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +lean_inc(x_720); +lean_inc(x_721); +x_769 = l_Lean_addMacroScope(x_721, x_768, x_720); +x_770 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_771 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_771, 0, x_725); +lean_ctor_set(x_771, 1, x_770); +lean_ctor_set(x_771, 2, x_769); +lean_ctor_set(x_771, 3, x_724); +x_772 = lean_array_push(x_728, x_771); +x_773 = l_Lean_Level_LevelToFormat_toResult___closed__3; +lean_inc(x_720); +lean_inc(x_721); +x_774 = l_Lean_addMacroScope(x_721, x_773, x_720); +x_775 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_776 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_776, 0, x_725); +lean_ctor_set(x_776, 1, x_775); +lean_ctor_set(x_776, 2, x_774); +lean_ctor_set(x_776, 3, x_724); +lean_inc(x_776); +lean_inc(x_772); +x_777 = lean_array_push(x_772, x_776); +x_778 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_778, 0, x_755); +lean_ctor_set(x_778, 1, x_777); +x_779 = lean_array_push(x_767, x_778); +x_780 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_781 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_781, 0, x_780); +lean_ctor_set(x_781, 1, x_779); +x_782 = lean_array_push(x_728, x_781); +x_783 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_783, 0, x_755); +lean_ctor_set(x_783, 1, x_782); +x_784 = lean_array_push(x_728, x_783); +x_785 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_786 = lean_array_push(x_784, x_785); +x_787 = lean_array_push(x_728, x_718); +x_788 = lean_array_push(x_787, x_730); +x_789 = lean_array_push(x_788, x_730); +x_790 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_791 = lean_array_push(x_789, x_790); +lean_inc(x_776); +x_792 = lean_array_push(x_791, x_776); +x_793 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; x_794 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_794, 0, x_740); -lean_ctor_set(x_794, 1, x_764); -x_795 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; -x_796 = lean_array_push(x_795, x_794); -x_797 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; -x_798 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_798, 0, x_797); -lean_ctor_set(x_798, 1, x_796); -x_799 = lean_array_push(x_721, x_798); -x_800 = lean_array_push(x_799, x_723); -x_801 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_801, 0, x_740); -lean_ctor_set(x_801, 1, x_800); -lean_inc(x_793); -x_802 = lean_array_push(x_793, x_801); -x_803 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_803, 0, x_740); -lean_ctor_set(x_803, 1, x_802); -x_804 = lean_array_push(x_721, x_803); -x_805 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +lean_ctor_set(x_794, 0, x_793); +lean_ctor_set(x_794, 1, x_792); +x_795 = lean_array_push(x_728, x_794); +x_796 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_797 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_797, 0, x_796); +lean_ctor_set(x_797, 1, x_795); +x_798 = lean_array_push(x_728, x_797); +x_799 = lean_array_push(x_798, x_745); +x_800 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_800, 0, x_747); +lean_ctor_set(x_800, 1, x_799); +x_801 = lean_array_push(x_728, x_800); +x_802 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_802, 0, x_755); +lean_ctor_set(x_802, 1, x_772); +x_803 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; +x_804 = lean_array_push(x_803, x_802); +x_805 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; x_806 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_806, 0, x_805); lean_ctor_set(x_806, 1, x_804); -x_807 = lean_array_push(x_778, x_806); -x_808 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +x_807 = lean_array_push(x_728, x_806); +x_808 = lean_array_push(x_807, x_730); x_809 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_809, 0, x_808); -lean_ctor_set(x_809, 1, x_807); -x_810 = lean_array_push(x_721, x_809); -x_811 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_812 = lean_array_push(x_810, x_811); -x_813 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__14; -lean_inc(x_713); -lean_inc(x_714); -x_814 = l_Lean_addMacroScope(x_714, x_813, x_713); -x_815 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__13; -x_816 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__16; -x_817 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_817, 0, x_718); +lean_ctor_set(x_809, 0, x_747); +lean_ctor_set(x_809, 1, x_808); +lean_inc(x_801); +x_810 = lean_array_push(x_801, x_809); +x_811 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_811, 0, x_755); +lean_ctor_set(x_811, 1, x_810); +x_812 = lean_array_push(x_728, x_811); +x_813 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_814 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_814, 0, x_813); +lean_ctor_set(x_814, 1, x_812); +x_815 = lean_array_push(x_786, x_814); +x_816 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; +x_817 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_817, 0, x_816); lean_ctor_set(x_817, 1, x_815); -lean_ctor_set(x_817, 2, x_814); -lean_ctor_set(x_817, 3, x_816); -x_818 = lean_array_push(x_721, x_817); -x_819 = lean_array_push(x_721, x_768); -x_820 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_820, 0, x_740); -lean_ctor_set(x_820, 1, x_819); -lean_inc(x_820); -x_821 = lean_array_push(x_818, x_820); -x_822 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_822, 0, x_772); -lean_ctor_set(x_822, 1, x_821); -x_823 = lean_array_push(x_721, x_822); -x_824 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_824, 0, x_740); -lean_ctor_set(x_824, 1, x_823); -x_825 = lean_array_push(x_721, x_824); -x_826 = lean_array_push(x_825, x_777); -x_827 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_793); -x_828 = lean_array_push(x_793, x_827); -x_829 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_829, 0, x_740); -lean_ctor_set(x_829, 1, x_828); -x_830 = lean_array_push(x_721, x_829); -x_831 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_831, 0, x_805); -lean_ctor_set(x_831, 1, x_830); -x_832 = lean_array_push(x_826, x_831); -x_833 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_833, 0, x_808); -lean_ctor_set(x_833, 1, x_832); -x_834 = lean_array_push(x_812, x_833); -x_835 = lean_array_push(x_834, x_811); -x_836 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__23; -x_837 = l_Lean_addMacroScope(x_714, x_836, x_713); -x_838 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__22; -x_839 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__25; -x_840 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_840, 0, x_718); -lean_ctor_set(x_840, 1, x_838); -lean_ctor_set(x_840, 2, x_837); -lean_ctor_set(x_840, 3, x_839); -x_841 = lean_array_push(x_721, x_840); -x_842 = lean_array_push(x_841, x_820); -x_843 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_843, 0, x_772); -lean_ctor_set(x_843, 1, x_842); -x_844 = lean_array_push(x_721, x_843); -x_845 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_845, 0, x_740); -lean_ctor_set(x_845, 1, x_844); -x_846 = lean_array_push(x_721, x_845); -x_847 = lean_array_push(x_846, x_777); -x_848 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__33; -x_849 = lean_array_push(x_793, x_848); -x_850 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_850, 0, x_740); -lean_ctor_set(x_850, 1, x_849); -x_851 = lean_array_push(x_721, x_850); -x_852 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_852, 0, x_805); -lean_ctor_set(x_852, 1, x_851); -x_853 = lean_array_push(x_847, x_852); -x_854 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_854, 0, x_808); -lean_ctor_set(x_854, 1, x_853); -x_855 = lean_array_push(x_835, x_854); -x_856 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_856, 0, x_740); -lean_ctor_set(x_856, 1, x_855); -x_857 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_858 = lean_array_push(x_857, x_856); -x_859 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_818 = lean_array_push(x_728, x_817); +x_819 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_820 = lean_array_push(x_818, x_819); +x_821 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__14; +lean_inc(x_720); +lean_inc(x_721); +x_822 = l_Lean_addMacroScope(x_721, x_821, x_720); +x_823 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__13; +x_824 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__16; +x_825 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_825, 0, x_725); +lean_ctor_set(x_825, 1, x_823); +lean_ctor_set(x_825, 2, x_822); +lean_ctor_set(x_825, 3, x_824); +x_826 = lean_array_push(x_728, x_825); +x_827 = lean_array_push(x_728, x_776); +x_828 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_828, 0, x_755); +lean_ctor_set(x_828, 1, x_827); +lean_inc(x_828); +x_829 = lean_array_push(x_826, x_828); +x_830 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_830, 0, x_780); +lean_ctor_set(x_830, 1, x_829); +x_831 = lean_array_push(x_728, x_830); +x_832 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_832, 0, x_755); +lean_ctor_set(x_832, 1, x_831); +x_833 = lean_array_push(x_728, x_832); +x_834 = lean_array_push(x_833, x_785); +x_835 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; +lean_inc(x_801); +x_836 = lean_array_push(x_801, x_835); +x_837 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_837, 0, x_755); +lean_ctor_set(x_837, 1, x_836); +x_838 = lean_array_push(x_728, x_837); +x_839 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_839, 0, x_813); +lean_ctor_set(x_839, 1, x_838); +x_840 = lean_array_push(x_834, x_839); +x_841 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_841, 0, x_816); +lean_ctor_set(x_841, 1, x_840); +x_842 = lean_array_push(x_820, x_841); +x_843 = lean_array_push(x_842, x_819); +x_844 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__23; +x_845 = l_Lean_addMacroScope(x_721, x_844, x_720); +x_846 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__22; +x_847 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__25; +x_848 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_848, 0, x_725); +lean_ctor_set(x_848, 1, x_846); +lean_ctor_set(x_848, 2, x_845); +lean_ctor_set(x_848, 3, x_847); +x_849 = lean_array_push(x_728, x_848); +x_850 = lean_array_push(x_849, x_828); +x_851 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_851, 0, x_780); +lean_ctor_set(x_851, 1, x_850); +x_852 = lean_array_push(x_728, x_851); +x_853 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_853, 0, x_755); +lean_ctor_set(x_853, 1, x_852); +x_854 = lean_array_push(x_728, x_853); +x_855 = lean_array_push(x_854, x_785); +x_856 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__35; +x_857 = lean_array_push(x_801, x_856); +x_858 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_858, 0, x_755); +lean_ctor_set(x_858, 1, x_857); +x_859 = lean_array_push(x_728, x_858); x_860 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_860, 0, x_859); -lean_ctor_set(x_860, 1, x_858); -x_861 = lean_array_push(x_753, x_860); -x_862 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_863 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_863, 0, x_862); -lean_ctor_set(x_863, 1, x_861); -x_864 = lean_array_push(x_721, x_863); -x_865 = lean_array_push(x_864, x_723); -x_866 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_866, 0, x_740); -lean_ctor_set(x_866, 1, x_865); -x_867 = lean_array_push(x_742, x_866); +lean_ctor_set(x_860, 0, x_813); +lean_ctor_set(x_860, 1, x_859); +x_861 = lean_array_push(x_855, x_860); +x_862 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_862, 0, x_816); +lean_ctor_set(x_862, 1, x_861); +x_863 = lean_array_push(x_843, x_862); +x_864 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_864, 0, x_755); +lean_ctor_set(x_864, 1, x_863); +x_865 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_866 = lean_array_push(x_865, x_864); +x_867 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; x_868 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_868, 0, x_740); -lean_ctor_set(x_868, 1, x_867); -x_869 = lean_array_push(x_721, x_868); -x_870 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_870, 0, x_805); -lean_ctor_set(x_870, 1, x_869); -x_871 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_872 = lean_array_push(x_871, x_870); -x_873 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +lean_ctor_set(x_868, 0, x_867); +lean_ctor_set(x_868, 1, x_866); +x_869 = lean_array_push(x_761, x_868); +x_870 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_871 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_871, 0, x_870); +lean_ctor_set(x_871, 1, x_869); +x_872 = lean_array_push(x_728, x_871); +x_873 = lean_array_push(x_872, x_730); x_874 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_874, 0, x_873); -lean_ctor_set(x_874, 1, x_872); -x_875 = lean_unsigned_to_nat(1u); -x_876 = l_Lean_Syntax_getArg(x_874, x_875); -lean_dec(x_874); -x_877 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_876); -x_878 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_878, 0, x_877); -lean_ctor_set(x_878, 1, x_712); -return x_878; +lean_ctor_set(x_874, 0, x_747); +lean_ctor_set(x_874, 1, x_873); +x_875 = lean_array_push(x_749, x_874); +x_876 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_876, 0, x_755); +lean_ctor_set(x_876, 1, x_875); +x_877 = lean_array_push(x_728, x_876); +x_878 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_878, 0, x_813); +lean_ctor_set(x_878, 1, x_877); +x_879 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_880 = lean_array_push(x_879, x_878); +x_881 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_882 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_882, 0, x_881); +lean_ctor_set(x_882, 1, x_880); +x_883 = lean_unsigned_to_nat(1u); +x_884 = l_Lean_Syntax_getArg(x_882, x_883); +lean_dec(x_882); +x_885 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_884); +x_886 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_886, 0, x_885); +lean_ctor_set(x_886, 1, x_719); +return x_886; } } } @@ -31381,999 +31409,1005 @@ if (x_5 == 0) { if (x_6 == 0) { -uint8_t x_879; -x_879 = !lean_is_exclusive(x_15); -if (x_879 == 0) +uint8_t x_887; +x_887 = !lean_is_exclusive(x_15); +if (x_887 == 0) { -lean_object* x_880; uint8_t x_881; -x_880 = lean_ctor_get(x_15, 0); -x_881 = l_Array_isEmpty___rarg(x_3); +lean_object* x_888; uint8_t x_889; +x_888 = lean_ctor_get(x_15, 0); +x_889 = l_Array_isEmpty___rarg(x_3); lean_dec(x_3); -if (x_881 == 0) +if (x_889 == 0) { -lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; -x_882 = lean_ctor_get(x_7, 2); -lean_inc(x_882); -x_883 = lean_ctor_get(x_7, 1); -lean_inc(x_883); -lean_dec(x_7); -x_884 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_882); -lean_inc(x_883); -x_885 = l_Lean_addMacroScope(x_883, x_884, x_882); -x_886 = lean_box(0); -x_887 = l_Lean_instInhabitedSourceInfo___closed__1; -x_888 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_889 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_889, 0, x_887); -lean_ctor_set(x_889, 1, x_888); -lean_ctor_set(x_889, 2, x_885); -lean_ctor_set(x_889, 3, x_886); -x_890 = l_Array_empty___closed__1; -x_891 = lean_array_push(x_890, x_889); -x_892 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; +x_890 = lean_ctor_get(x_7, 2); +lean_inc(x_890); +x_891 = lean_ctor_get(x_7, 1); lean_inc(x_891); -x_893 = lean_array_push(x_891, x_892); -x_894 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_895 = lean_array_push(x_893, x_894); -x_896 = lean_array_push(x_890, x_2); -x_897 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_898 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_898, 0, x_897); -lean_ctor_set(x_898, 1, x_896); -x_899 = lean_array_push(x_895, x_898); -x_900 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_901 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_901, 0, x_900); -lean_ctor_set(x_901, 1, x_899); -x_902 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_903 = lean_array_push(x_902, x_901); -x_904 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_905 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_905, 0, x_904); -lean_ctor_set(x_905, 1, x_903); -x_906 = lean_array_push(x_890, x_905); -x_907 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_908 = lean_array_push(x_906, x_907); -x_909 = l_Lean_nullKind___closed__2; -x_910 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_910, 0, x_909); -lean_ctor_set(x_910, 1, x_908); -x_911 = lean_array_push(x_890, x_910); -x_912 = lean_array_push(x_890, x_880); -x_913 = lean_array_push(x_912, x_892); -x_914 = lean_array_push(x_913, x_892); -x_915 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +lean_dec(x_7); +x_892 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_890); +lean_inc(x_891); +x_893 = l_Lean_addMacroScope(x_891, x_892, x_890); +x_894 = lean_box(0); +x_895 = l_Lean_instInhabitedSourceInfo___closed__1; +x_896 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_897 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_897, 0, x_895); +lean_ctor_set(x_897, 1, x_896); +lean_ctor_set(x_897, 2, x_893); +lean_ctor_set(x_897, 3, x_894); +x_898 = l_Array_empty___closed__1; +x_899 = lean_array_push(x_898, x_897); +x_900 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +lean_inc(x_899); +x_901 = lean_array_push(x_899, x_900); +x_902 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_903 = lean_array_push(x_901, x_902); +x_904 = lean_array_push(x_898, x_2); +x_905 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_906 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_906, 0, x_905); +lean_ctor_set(x_906, 1, x_904); +x_907 = lean_array_push(x_903, x_906); +x_908 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_909 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_909, 0, x_908); +lean_ctor_set(x_909, 1, x_907); +x_910 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_911 = lean_array_push(x_910, x_909); +x_912 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_913 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_913, 0, x_912); +lean_ctor_set(x_913, 1, x_911); +x_914 = lean_array_push(x_898, x_913); +x_915 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; x_916 = lean_array_push(x_914, x_915); -x_917 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; -x_918 = lean_array_push(x_891, x_917); -x_919 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__37; -lean_inc(x_918); -x_920 = lean_array_push(x_918, x_919); -x_921 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; -x_922 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_922, 0, x_921); -lean_ctor_set(x_922, 1, x_920); -x_923 = lean_array_push(x_916, x_922); -x_924 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_925 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_925, 0, x_924); -lean_ctor_set(x_925, 1, x_923); -x_926 = lean_array_push(x_890, x_925); -x_927 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_928 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_928, 0, x_927); -lean_ctor_set(x_928, 1, x_926); -x_929 = lean_array_push(x_890, x_928); -x_930 = lean_array_push(x_929, x_907); -x_931 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_931, 0, x_909); -lean_ctor_set(x_931, 1, x_930); -x_932 = lean_array_push(x_911, x_931); -x_933 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__48; -x_934 = l_Lean_addMacroScope(x_883, x_933, x_882); -x_935 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; -x_936 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -x_937 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_937, 0, x_887); -lean_ctor_set(x_937, 1, x_935); -lean_ctor_set(x_937, 2, x_934); -lean_ctor_set(x_937, 3, x_936); -x_938 = lean_array_push(x_890, x_937); -x_939 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__45; -x_940 = lean_array_push(x_918, x_939); -x_941 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_941, 0, x_921); -lean_ctor_set(x_941, 1, x_940); -x_942 = lean_array_push(x_890, x_941); -x_943 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_943, 0, x_909); -lean_ctor_set(x_943, 1, x_942); -x_944 = lean_array_push(x_938, x_943); -x_945 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_946 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_946, 0, x_945); -lean_ctor_set(x_946, 1, x_944); -x_947 = lean_array_push(x_890, x_946); -x_948 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_948, 0, x_897); -lean_ctor_set(x_948, 1, x_947); -x_949 = lean_array_push(x_890, x_948); -x_950 = lean_array_push(x_949, x_892); -x_951 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_951, 0, x_909); -lean_ctor_set(x_951, 1, x_950); -x_952 = lean_array_push(x_932, x_951); -x_953 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_953, 0, x_909); -lean_ctor_set(x_953, 1, x_952); -x_954 = lean_array_push(x_890, x_953); -x_955 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_956 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_956, 0, x_955); -lean_ctor_set(x_956, 1, x_954); -x_957 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_958 = lean_array_push(x_957, x_956); -x_959 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_917 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_918 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_918, 0, x_917); +lean_ctor_set(x_918, 1, x_916); +x_919 = lean_array_push(x_898, x_918); +x_920 = lean_array_push(x_898, x_888); +x_921 = lean_array_push(x_920, x_900); +x_922 = lean_array_push(x_921, x_900); +x_923 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_924 = lean_array_push(x_922, x_923); +x_925 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; +x_926 = lean_array_push(x_899, x_925); +x_927 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; +lean_inc(x_926); +x_928 = lean_array_push(x_926, x_927); +x_929 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; +x_930 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_930, 0, x_929); +lean_ctor_set(x_930, 1, x_928); +x_931 = lean_array_push(x_924, x_930); +x_932 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_933 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_933, 0, x_932); +lean_ctor_set(x_933, 1, x_931); +x_934 = lean_array_push(x_898, x_933); +x_935 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_936 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_936, 0, x_935); +lean_ctor_set(x_936, 1, x_934); +x_937 = lean_array_push(x_898, x_936); +x_938 = lean_array_push(x_937, x_915); +x_939 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_939, 0, x_917); +lean_ctor_set(x_939, 1, x_938); +x_940 = lean_array_push(x_919, x_939); +x_941 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50; +x_942 = l_Lean_addMacroScope(x_891, x_941, x_890); +x_943 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__49; +x_944 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_945 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_945, 0, x_895); +lean_ctor_set(x_945, 1, x_943); +lean_ctor_set(x_945, 2, x_942); +lean_ctor_set(x_945, 3, x_944); +x_946 = lean_array_push(x_898, x_945); +x_947 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; +x_948 = lean_array_push(x_926, x_947); +x_949 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_949, 0, x_929); +lean_ctor_set(x_949, 1, x_948); +x_950 = lean_array_push(x_898, x_949); +x_951 = l_Lean_nullKind___closed__2; +x_952 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_952, 0, x_951); +lean_ctor_set(x_952, 1, x_950); +x_953 = lean_array_push(x_946, x_952); +x_954 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_955 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_955, 0, x_954); +lean_ctor_set(x_955, 1, x_953); +x_956 = lean_array_push(x_898, x_955); +x_957 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_957, 0, x_905); +lean_ctor_set(x_957, 1, x_956); +x_958 = lean_array_push(x_898, x_957); +x_959 = lean_array_push(x_958, x_900); x_960 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_960, 0, x_959); -lean_ctor_set(x_960, 1, x_958); -x_961 = lean_unsigned_to_nat(1u); -x_962 = l_Lean_Syntax_getArg(x_960, x_961); -lean_dec(x_960); -x_963 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_962); -lean_ctor_set(x_15, 0, x_963); +lean_ctor_set(x_960, 0, x_917); +lean_ctor_set(x_960, 1, x_959); +x_961 = lean_array_push(x_940, x_960); +x_962 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_962, 0, x_951); +lean_ctor_set(x_962, 1, x_961); +x_963 = lean_array_push(x_898, x_962); +x_964 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_965 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_965, 0, x_964); +lean_ctor_set(x_965, 1, x_963); +x_966 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_967 = lean_array_push(x_966, x_965); +x_968 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_969 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_969, 0, x_968); +lean_ctor_set(x_969, 1, x_967); +x_970 = lean_unsigned_to_nat(1u); +x_971 = l_Lean_Syntax_getArg(x_969, x_970); +lean_dec(x_969); +x_972 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_971); +lean_ctor_set(x_15, 0, x_972); return x_15; } else { -lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; -lean_dec(x_880); +lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; +lean_dec(x_888); lean_dec(x_7); -x_964 = l_Array_empty___closed__1; -x_965 = lean_array_push(x_964, x_2); -x_966 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_967 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_967, 0, x_966); -lean_ctor_set(x_967, 1, x_965); -x_968 = lean_array_push(x_964, x_967); -x_969 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_970 = lean_array_push(x_968, x_969); -x_971 = l_Lean_nullKind___closed__2; -x_972 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_972, 0, x_971); -lean_ctor_set(x_972, 1, x_970); -x_973 = lean_array_push(x_964, x_972); -x_974 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_974, 0, x_971); -lean_ctor_set(x_974, 1, x_973); -x_975 = lean_array_push(x_964, x_974); -x_976 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_977 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_977, 0, x_976); -lean_ctor_set(x_977, 1, x_975); -x_978 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_979 = lean_array_push(x_978, x_977); -x_980 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_973 = l_Array_empty___closed__1; +x_974 = lean_array_push(x_973, x_2); +x_975 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_976 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_976, 0, x_975); +lean_ctor_set(x_976, 1, x_974); +x_977 = lean_array_push(x_973, x_976); +x_978 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_979 = lean_array_push(x_977, x_978); +x_980 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_981 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_981, 0, x_980); lean_ctor_set(x_981, 1, x_979); -x_982 = lean_unsigned_to_nat(1u); -x_983 = l_Lean_Syntax_getArg(x_981, x_982); -lean_dec(x_981); -x_984 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_983); -lean_ctor_set(x_15, 0, x_984); +x_982 = lean_array_push(x_973, x_981); +x_983 = l_Lean_nullKind___closed__2; +x_984 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_984, 0, x_983); +lean_ctor_set(x_984, 1, x_982); +x_985 = lean_array_push(x_973, x_984); +x_986 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_987 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_987, 0, x_986); +lean_ctor_set(x_987, 1, x_985); +x_988 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_989 = lean_array_push(x_988, x_987); +x_990 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_991 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_991, 0, x_990); +lean_ctor_set(x_991, 1, x_989); +x_992 = lean_unsigned_to_nat(1u); +x_993 = l_Lean_Syntax_getArg(x_991, x_992); +lean_dec(x_991); +x_994 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_993); +lean_ctor_set(x_15, 0, x_994); return x_15; } } else { -lean_object* x_985; lean_object* x_986; uint8_t x_987; -x_985 = lean_ctor_get(x_15, 0); -x_986 = lean_ctor_get(x_15, 1); -lean_inc(x_986); -lean_inc(x_985); +lean_object* x_995; lean_object* x_996; uint8_t x_997; +x_995 = lean_ctor_get(x_15, 0); +x_996 = lean_ctor_get(x_15, 1); +lean_inc(x_996); +lean_inc(x_995); lean_dec(x_15); -x_987 = l_Array_isEmpty___rarg(x_3); +x_997 = l_Array_isEmpty___rarg(x_3); lean_dec(x_3); -if (x_987 == 0) +if (x_997 == 0) { -lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; -x_988 = lean_ctor_get(x_7, 2); -lean_inc(x_988); -x_989 = lean_ctor_get(x_7, 1); -lean_inc(x_989); +lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; +x_998 = lean_ctor_get(x_7, 2); +lean_inc(x_998); +x_999 = lean_ctor_get(x_7, 1); +lean_inc(x_999); lean_dec(x_7); -x_990 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_988); -lean_inc(x_989); -x_991 = l_Lean_addMacroScope(x_989, x_990, x_988); -x_992 = lean_box(0); -x_993 = l_Lean_instInhabitedSourceInfo___closed__1; -x_994 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_995 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_995, 0, x_993); -lean_ctor_set(x_995, 1, x_994); -lean_ctor_set(x_995, 2, x_991); -lean_ctor_set(x_995, 3, x_992); -x_996 = l_Array_empty___closed__1; -x_997 = lean_array_push(x_996, x_995); -x_998 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -lean_inc(x_997); -x_999 = lean_array_push(x_997, x_998); -x_1000 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_1001 = lean_array_push(x_999, x_1000); -x_1002 = lean_array_push(x_996, x_2); -x_1003 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_1004 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1004, 0, x_1003); -lean_ctor_set(x_1004, 1, x_1002); -x_1005 = lean_array_push(x_1001, x_1004); -x_1006 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_1007 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1007, 0, x_1006); -lean_ctor_set(x_1007, 1, x_1005); -x_1008 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_1009 = lean_array_push(x_1008, x_1007); -x_1010 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_1011 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1011, 0, x_1010); -lean_ctor_set(x_1011, 1, x_1009); -x_1012 = lean_array_push(x_996, x_1011); -x_1013 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_1014 = lean_array_push(x_1012, x_1013); -x_1015 = l_Lean_nullKind___closed__2; -x_1016 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1016, 0, x_1015); -lean_ctor_set(x_1016, 1, x_1014); -x_1017 = lean_array_push(x_996, x_1016); -x_1018 = lean_array_push(x_996, x_985); -x_1019 = lean_array_push(x_1018, x_998); -x_1020 = lean_array_push(x_1019, x_998); -x_1021 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_1022 = lean_array_push(x_1020, x_1021); -x_1023 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; -x_1024 = lean_array_push(x_997, x_1023); -x_1025 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__37; -lean_inc(x_1024); -x_1026 = lean_array_push(x_1024, x_1025); -x_1027 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; -x_1028 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1028, 0, x_1027); -lean_ctor_set(x_1028, 1, x_1026); -x_1029 = lean_array_push(x_1022, x_1028); -x_1030 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_1031 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1031, 0, x_1030); -lean_ctor_set(x_1031, 1, x_1029); -x_1032 = lean_array_push(x_996, x_1031); -x_1033 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_1034 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1034, 0, x_1033); -lean_ctor_set(x_1034, 1, x_1032); -x_1035 = lean_array_push(x_996, x_1034); -x_1036 = lean_array_push(x_1035, x_1013); -x_1037 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1037, 0, x_1015); -lean_ctor_set(x_1037, 1, x_1036); -x_1038 = lean_array_push(x_1017, x_1037); -x_1039 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__48; -x_1040 = l_Lean_addMacroScope(x_989, x_1039, x_988); -x_1041 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; -x_1042 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -x_1043 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1043, 0, x_993); -lean_ctor_set(x_1043, 1, x_1041); -lean_ctor_set(x_1043, 2, x_1040); -lean_ctor_set(x_1043, 3, x_1042); -x_1044 = lean_array_push(x_996, x_1043); -x_1045 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__45; -x_1046 = lean_array_push(x_1024, x_1045); +x_1000 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_998); +lean_inc(x_999); +x_1001 = l_Lean_addMacroScope(x_999, x_1000, x_998); +x_1002 = lean_box(0); +x_1003 = l_Lean_instInhabitedSourceInfo___closed__1; +x_1004 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_1005 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1005, 0, x_1003); +lean_ctor_set(x_1005, 1, x_1004); +lean_ctor_set(x_1005, 2, x_1001); +lean_ctor_set(x_1005, 3, x_1002); +x_1006 = l_Array_empty___closed__1; +x_1007 = lean_array_push(x_1006, x_1005); +x_1008 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +lean_inc(x_1007); +x_1009 = lean_array_push(x_1007, x_1008); +x_1010 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_1011 = lean_array_push(x_1009, x_1010); +x_1012 = lean_array_push(x_1006, x_2); +x_1013 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_1014 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1014, 0, x_1013); +lean_ctor_set(x_1014, 1, x_1012); +x_1015 = lean_array_push(x_1011, x_1014); +x_1016 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_1017 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1017, 0, x_1016); +lean_ctor_set(x_1017, 1, x_1015); +x_1018 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_1019 = lean_array_push(x_1018, x_1017); +x_1020 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_1021 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1021, 0, x_1020); +lean_ctor_set(x_1021, 1, x_1019); +x_1022 = lean_array_push(x_1006, x_1021); +x_1023 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1024 = lean_array_push(x_1022, x_1023); +x_1025 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_1026 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1026, 0, x_1025); +lean_ctor_set(x_1026, 1, x_1024); +x_1027 = lean_array_push(x_1006, x_1026); +x_1028 = lean_array_push(x_1006, x_995); +x_1029 = lean_array_push(x_1028, x_1008); +x_1030 = lean_array_push(x_1029, x_1008); +x_1031 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1032 = lean_array_push(x_1030, x_1031); +x_1033 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; +x_1034 = lean_array_push(x_1007, x_1033); +x_1035 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; +lean_inc(x_1034); +x_1036 = lean_array_push(x_1034, x_1035); +x_1037 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; +x_1038 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1038, 0, x_1037); +lean_ctor_set(x_1038, 1, x_1036); +x_1039 = lean_array_push(x_1032, x_1038); +x_1040 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_1041 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1041, 0, x_1040); +lean_ctor_set(x_1041, 1, x_1039); +x_1042 = lean_array_push(x_1006, x_1041); +x_1043 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_1044 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1044, 0, x_1043); +lean_ctor_set(x_1044, 1, x_1042); +x_1045 = lean_array_push(x_1006, x_1044); +x_1046 = lean_array_push(x_1045, x_1023); x_1047 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1047, 0, x_1027); +lean_ctor_set(x_1047, 0, x_1025); lean_ctor_set(x_1047, 1, x_1046); -x_1048 = lean_array_push(x_996, x_1047); -x_1049 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1049, 0, x_1015); -lean_ctor_set(x_1049, 1, x_1048); -x_1050 = lean_array_push(x_1044, x_1049); -x_1051 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_1052 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1052, 0, x_1051); -lean_ctor_set(x_1052, 1, x_1050); -x_1053 = lean_array_push(x_996, x_1052); -x_1054 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1054, 0, x_1003); -lean_ctor_set(x_1054, 1, x_1053); -x_1055 = lean_array_push(x_996, x_1054); -x_1056 = lean_array_push(x_1055, x_998); +x_1048 = lean_array_push(x_1027, x_1047); +x_1049 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50; +x_1050 = l_Lean_addMacroScope(x_999, x_1049, x_998); +x_1051 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__49; +x_1052 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_1053 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1053, 0, x_1003); +lean_ctor_set(x_1053, 1, x_1051); +lean_ctor_set(x_1053, 2, x_1050); +lean_ctor_set(x_1053, 3, x_1052); +x_1054 = lean_array_push(x_1006, x_1053); +x_1055 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; +x_1056 = lean_array_push(x_1034, x_1055); x_1057 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1057, 0, x_1015); +lean_ctor_set(x_1057, 0, x_1037); lean_ctor_set(x_1057, 1, x_1056); -x_1058 = lean_array_push(x_1038, x_1057); -x_1059 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1059, 0, x_1015); -lean_ctor_set(x_1059, 1, x_1058); -x_1060 = lean_array_push(x_996, x_1059); -x_1061 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_1062 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1062, 0, x_1061); -lean_ctor_set(x_1062, 1, x_1060); -x_1063 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_1064 = lean_array_push(x_1063, x_1062); -x_1065 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1066 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1066, 0, x_1065); -lean_ctor_set(x_1066, 1, x_1064); -x_1067 = lean_unsigned_to_nat(1u); -x_1068 = l_Lean_Syntax_getArg(x_1066, x_1067); -lean_dec(x_1066); -x_1069 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1068); -x_1070 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1070, 0, x_1069); -lean_ctor_set(x_1070, 1, x_986); -return x_1070; +x_1058 = lean_array_push(x_1006, x_1057); +x_1059 = l_Lean_nullKind___closed__2; +x_1060 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1060, 0, x_1059); +lean_ctor_set(x_1060, 1, x_1058); +x_1061 = lean_array_push(x_1054, x_1060); +x_1062 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_1063 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1063, 0, x_1062); +lean_ctor_set(x_1063, 1, x_1061); +x_1064 = lean_array_push(x_1006, x_1063); +x_1065 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1065, 0, x_1013); +lean_ctor_set(x_1065, 1, x_1064); +x_1066 = lean_array_push(x_1006, x_1065); +x_1067 = lean_array_push(x_1066, x_1008); +x_1068 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1068, 0, x_1025); +lean_ctor_set(x_1068, 1, x_1067); +x_1069 = lean_array_push(x_1048, x_1068); +x_1070 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1070, 0, x_1059); +lean_ctor_set(x_1070, 1, x_1069); +x_1071 = lean_array_push(x_1006, x_1070); +x_1072 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_1073 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1073, 0, x_1072); +lean_ctor_set(x_1073, 1, x_1071); +x_1074 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_1075 = lean_array_push(x_1074, x_1073); +x_1076 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_1077 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1077, 0, x_1076); +lean_ctor_set(x_1077, 1, x_1075); +x_1078 = lean_unsigned_to_nat(1u); +x_1079 = l_Lean_Syntax_getArg(x_1077, x_1078); +lean_dec(x_1077); +x_1080 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1079); +x_1081 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1081, 0, x_1080); +lean_ctor_set(x_1081, 1, x_996); +return x_1081; } else { -lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; -lean_dec(x_985); +lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; +lean_dec(x_995); lean_dec(x_7); -x_1071 = l_Array_empty___closed__1; -x_1072 = lean_array_push(x_1071, x_2); -x_1073 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_1074 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1074, 0, x_1073); -lean_ctor_set(x_1074, 1, x_1072); -x_1075 = lean_array_push(x_1071, x_1074); -x_1076 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_1077 = lean_array_push(x_1075, x_1076); -x_1078 = l_Lean_nullKind___closed__2; -x_1079 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1079, 0, x_1078); -lean_ctor_set(x_1079, 1, x_1077); -x_1080 = lean_array_push(x_1071, x_1079); -x_1081 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1081, 0, x_1078); -lean_ctor_set(x_1081, 1, x_1080); -x_1082 = lean_array_push(x_1071, x_1081); -x_1083 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_1084 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1084, 0, x_1083); -lean_ctor_set(x_1084, 1, x_1082); -x_1085 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_1086 = lean_array_push(x_1085, x_1084); -x_1087 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1088 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1088, 0, x_1087); -lean_ctor_set(x_1088, 1, x_1086); -x_1089 = lean_unsigned_to_nat(1u); -x_1090 = l_Lean_Syntax_getArg(x_1088, x_1089); -lean_dec(x_1088); -x_1091 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1090); -x_1092 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1092, 0, x_1091); -lean_ctor_set(x_1092, 1, x_986); -return x_1092; +x_1082 = l_Array_empty___closed__1; +x_1083 = lean_array_push(x_1082, x_2); +x_1084 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_1085 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1085, 0, x_1084); +lean_ctor_set(x_1085, 1, x_1083); +x_1086 = lean_array_push(x_1082, x_1085); +x_1087 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_1088 = lean_array_push(x_1086, x_1087); +x_1089 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_1090 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1090, 0, x_1089); +lean_ctor_set(x_1090, 1, x_1088); +x_1091 = lean_array_push(x_1082, x_1090); +x_1092 = l_Lean_nullKind___closed__2; +x_1093 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1093, 0, x_1092); +lean_ctor_set(x_1093, 1, x_1091); +x_1094 = lean_array_push(x_1082, x_1093); +x_1095 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_1096 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1096, 0, x_1095); +lean_ctor_set(x_1096, 1, x_1094); +x_1097 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_1098 = lean_array_push(x_1097, x_1096); +x_1099 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_1100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1100, 0, x_1099); +lean_ctor_set(x_1100, 1, x_1098); +x_1101 = lean_unsigned_to_nat(1u); +x_1102 = l_Lean_Syntax_getArg(x_1100, x_1101); +lean_dec(x_1100); +x_1103 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1102); +x_1104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1104, 0, x_1103); +lean_ctor_set(x_1104, 1, x_996); +return x_1104; } } } else { -uint8_t x_1093; +uint8_t x_1105; lean_dec(x_3); -x_1093 = !lean_is_exclusive(x_15); -if (x_1093 == 0) +x_1105 = !lean_is_exclusive(x_15); +if (x_1105 == 0) { -lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; -x_1094 = lean_ctor_get(x_15, 0); -x_1095 = lean_ctor_get(x_7, 2); -lean_inc(x_1095); -x_1096 = lean_ctor_get(x_7, 1); -lean_inc(x_1096); +lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; +x_1106 = lean_ctor_get(x_15, 0); +x_1107 = lean_ctor_get(x_7, 2); +lean_inc(x_1107); +x_1108 = lean_ctor_get(x_7, 1); +lean_inc(x_1108); lean_dec(x_7); -x_1097 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_1095); -lean_inc(x_1096); -x_1098 = l_Lean_addMacroScope(x_1096, x_1097, x_1095); -x_1099 = lean_box(0); -x_1100 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1101 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_1102 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1102, 0, x_1100); -lean_ctor_set(x_1102, 1, x_1101); -lean_ctor_set(x_1102, 2, x_1098); -lean_ctor_set(x_1102, 3, x_1099); -x_1103 = l_Array_empty___closed__1; -lean_inc(x_1102); -x_1104 = lean_array_push(x_1103, x_1102); -x_1105 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_1106 = lean_array_push(x_1104, x_1105); -x_1107 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_1108 = lean_array_push(x_1106, x_1107); -x_1109 = lean_array_push(x_1103, x_2); -x_1110 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_1111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1111, 0, x_1110); -lean_ctor_set(x_1111, 1, x_1109); -x_1112 = lean_array_push(x_1108, x_1111); -x_1113 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_1114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1114, 0, x_1113); -lean_ctor_set(x_1114, 1, x_1112); -x_1115 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_1109 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_1107); +lean_inc(x_1108); +x_1110 = l_Lean_addMacroScope(x_1108, x_1109, x_1107); +x_1111 = lean_box(0); +x_1112 = l_Lean_instInhabitedSourceInfo___closed__1; +x_1113 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_1114 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1114, 0, x_1112); +lean_ctor_set(x_1114, 1, x_1113); +lean_ctor_set(x_1114, 2, x_1110); +lean_ctor_set(x_1114, 3, x_1111); +x_1115 = l_Array_empty___closed__1; +lean_inc(x_1114); x_1116 = lean_array_push(x_1115, x_1114); -x_1117 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_1118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1118, 0, x_1117); -lean_ctor_set(x_1118, 1, x_1116); -x_1119 = lean_array_push(x_1103, x_1118); -x_1120 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_1121 = lean_array_push(x_1119, x_1120); -x_1122 = l_Lean_nullKind___closed__2; +x_1117 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_1118 = lean_array_push(x_1116, x_1117); +x_1119 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_1120 = lean_array_push(x_1118, x_1119); +x_1121 = lean_array_push(x_1115, x_2); +x_1122 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; x_1123 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1123, 0, x_1122); lean_ctor_set(x_1123, 1, x_1121); -x_1124 = lean_array_push(x_1103, x_1123); -x_1125 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1126 = lean_array_push(x_1125, x_1102); -x_1127 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -x_1128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1128, 0, x_1127); -lean_ctor_set(x_1128, 1, x_1126); -x_1129 = lean_array_push(x_1103, x_1128); +x_1124 = lean_array_push(x_1120, x_1123); +x_1125 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_1126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1126, 0, x_1125); +lean_ctor_set(x_1126, 1, x_1124); +x_1127 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_1128 = lean_array_push(x_1127, x_1126); +x_1129 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; x_1130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1130, 0, x_1122); -lean_ctor_set(x_1130, 1, x_1129); -x_1131 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1132 = lean_array_push(x_1131, x_1130); -x_1133 = lean_array_push(x_1132, x_1105); -x_1134 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -x_1135 = lean_array_push(x_1133, x_1134); -x_1136 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__37; -lean_inc(x_1095); -lean_inc(x_1096); -x_1137 = l_Lean_addMacroScope(x_1096, x_1136, x_1095); -x_1138 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__33; -x_1139 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__39; -x_1140 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1140, 0, x_1100); +lean_ctor_set(x_1130, 0, x_1129); +lean_ctor_set(x_1130, 1, x_1128); +x_1131 = lean_array_push(x_1115, x_1130); +x_1132 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1133 = lean_array_push(x_1131, x_1132); +x_1134 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_1135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1135, 0, x_1134); +lean_ctor_set(x_1135, 1, x_1133); +x_1136 = lean_array_push(x_1115, x_1135); +x_1137 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1138 = lean_array_push(x_1137, x_1114); +x_1139 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1140, 0, x_1139); lean_ctor_set(x_1140, 1, x_1138); -lean_ctor_set(x_1140, 2, x_1137); -lean_ctor_set(x_1140, 3, x_1139); -x_1141 = lean_array_push(x_1103, x_1140); -x_1142 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; -lean_inc(x_1095); -lean_inc(x_1096); -x_1143 = l_Lean_addMacroScope(x_1096, x_1142, x_1095); -x_1144 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; -x_1145 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1145, 0, x_1100); -lean_ctor_set(x_1145, 1, x_1144); -lean_ctor_set(x_1145, 2, x_1143); -lean_ctor_set(x_1145, 3, x_1099); -x_1146 = lean_array_push(x_1103, x_1145); -x_1147 = l_Lean_Level_LevelToFormat_toResult___closed__3; -lean_inc(x_1095); -lean_inc(x_1096); -x_1148 = l_Lean_addMacroScope(x_1096, x_1147, x_1095); -x_1149 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; -x_1150 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1150, 0, x_1100); -lean_ctor_set(x_1150, 1, x_1149); -lean_ctor_set(x_1150, 2, x_1148); -lean_ctor_set(x_1150, 3, x_1099); -lean_inc(x_1150); -lean_inc(x_1146); -x_1151 = lean_array_push(x_1146, x_1150); -x_1152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1152, 0, x_1122); -lean_ctor_set(x_1152, 1, x_1151); -x_1153 = lean_array_push(x_1141, x_1152); -x_1154 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_1155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1155, 0, x_1154); -lean_ctor_set(x_1155, 1, x_1153); -x_1156 = lean_array_push(x_1103, x_1155); -x_1157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1157, 0, x_1122); -lean_ctor_set(x_1157, 1, x_1156); -x_1158 = lean_array_push(x_1103, x_1157); -x_1159 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_1160 = lean_array_push(x_1158, x_1159); -x_1161 = lean_array_push(x_1103, x_1094); -x_1162 = lean_array_push(x_1161, x_1105); -x_1163 = lean_array_push(x_1162, x_1105); -x_1164 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_1165 = lean_array_push(x_1163, x_1164); -lean_inc(x_1150); -x_1166 = lean_array_push(x_1165, x_1150); -x_1167 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_1141 = lean_array_push(x_1115, x_1140); +x_1142 = l_Lean_nullKind___closed__2; +x_1143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1143, 0, x_1142); +lean_ctor_set(x_1143, 1, x_1141); +x_1144 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1145 = lean_array_push(x_1144, x_1143); +x_1146 = lean_array_push(x_1145, x_1117); +x_1147 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_1148 = lean_array_push(x_1146, x_1147); +x_1149 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__37; +lean_inc(x_1107); +lean_inc(x_1108); +x_1150 = l_Lean_addMacroScope(x_1108, x_1149, x_1107); +x_1151 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__33; +x_1152 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__39; +x_1153 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1153, 0, x_1112); +lean_ctor_set(x_1153, 1, x_1151); +lean_ctor_set(x_1153, 2, x_1150); +lean_ctor_set(x_1153, 3, x_1152); +x_1154 = lean_array_push(x_1115, x_1153); +x_1155 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +lean_inc(x_1107); +lean_inc(x_1108); +x_1156 = l_Lean_addMacroScope(x_1108, x_1155, x_1107); +x_1157 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_1158 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1158, 0, x_1112); +lean_ctor_set(x_1158, 1, x_1157); +lean_ctor_set(x_1158, 2, x_1156); +lean_ctor_set(x_1158, 3, x_1111); +x_1159 = lean_array_push(x_1115, x_1158); +x_1160 = l_Lean_Level_LevelToFormat_toResult___closed__3; +lean_inc(x_1107); +lean_inc(x_1108); +x_1161 = l_Lean_addMacroScope(x_1108, x_1160, x_1107); +x_1162 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_1163 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1163, 0, x_1112); +lean_ctor_set(x_1163, 1, x_1162); +lean_ctor_set(x_1163, 2, x_1161); +lean_ctor_set(x_1163, 3, x_1111); +lean_inc(x_1163); +lean_inc(x_1159); +x_1164 = lean_array_push(x_1159, x_1163); +x_1165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1165, 0, x_1142); +lean_ctor_set(x_1165, 1, x_1164); +x_1166 = lean_array_push(x_1154, x_1165); +x_1167 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_1168 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1168, 0, x_1167); lean_ctor_set(x_1168, 1, x_1166); -x_1169 = lean_array_push(x_1103, x_1168); -x_1170 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_1171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1171, 0, x_1170); -lean_ctor_set(x_1171, 1, x_1169); -x_1172 = lean_array_push(x_1103, x_1171); -x_1173 = lean_array_push(x_1172, x_1120); -x_1174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1174, 0, x_1122); -lean_ctor_set(x_1174, 1, x_1173); -x_1175 = lean_array_push(x_1103, x_1174); -x_1176 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__48; -lean_inc(x_1095); -lean_inc(x_1096); -x_1177 = l_Lean_addMacroScope(x_1096, x_1176, x_1095); -x_1178 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; -x_1179 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -x_1180 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1180, 0, x_1100); -lean_ctor_set(x_1180, 1, x_1178); -lean_ctor_set(x_1180, 2, x_1177); -lean_ctor_set(x_1180, 3, x_1179); -x_1181 = lean_array_push(x_1103, x_1180); -x_1182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1182, 0, x_1122); -lean_ctor_set(x_1182, 1, x_1146); -x_1183 = lean_array_push(x_1181, x_1182); +x_1169 = lean_array_push(x_1115, x_1168); +x_1170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1170, 0, x_1142); +lean_ctor_set(x_1170, 1, x_1169); +x_1171 = lean_array_push(x_1115, x_1170); +x_1172 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_1173 = lean_array_push(x_1171, x_1172); +x_1174 = lean_array_push(x_1115, x_1106); +x_1175 = lean_array_push(x_1174, x_1117); +x_1176 = lean_array_push(x_1175, x_1117); +x_1177 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1178 = lean_array_push(x_1176, x_1177); +lean_inc(x_1163); +x_1179 = lean_array_push(x_1178, x_1163); +x_1180 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_1181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1181, 0, x_1180); +lean_ctor_set(x_1181, 1, x_1179); +x_1182 = lean_array_push(x_1115, x_1181); +x_1183 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; x_1184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1184, 0, x_1154); -lean_ctor_set(x_1184, 1, x_1183); -x_1185 = lean_array_push(x_1103, x_1184); -x_1186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1186, 0, x_1110); -lean_ctor_set(x_1186, 1, x_1185); -x_1187 = lean_array_push(x_1103, x_1186); -x_1188 = lean_array_push(x_1187, x_1105); -x_1189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1189, 0, x_1122); -lean_ctor_set(x_1189, 1, x_1188); -lean_inc(x_1175); -x_1190 = lean_array_push(x_1175, x_1189); -x_1191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1191, 0, x_1122); -lean_ctor_set(x_1191, 1, x_1190); -x_1192 = lean_array_push(x_1103, x_1191); -x_1193 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_1194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1194, 0, x_1193); -lean_ctor_set(x_1194, 1, x_1192); -x_1195 = lean_array_push(x_1160, x_1194); -x_1196 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +lean_ctor_set(x_1184, 0, x_1183); +lean_ctor_set(x_1184, 1, x_1182); +x_1185 = lean_array_push(x_1115, x_1184); +x_1186 = lean_array_push(x_1185, x_1132); +x_1187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1187, 0, x_1134); +lean_ctor_set(x_1187, 1, x_1186); +x_1188 = lean_array_push(x_1115, x_1187); +x_1189 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50; +lean_inc(x_1107); +lean_inc(x_1108); +x_1190 = l_Lean_addMacroScope(x_1108, x_1189, x_1107); +x_1191 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__49; +x_1192 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_1193 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1193, 0, x_1112); +lean_ctor_set(x_1193, 1, x_1191); +lean_ctor_set(x_1193, 2, x_1190); +lean_ctor_set(x_1193, 3, x_1192); +x_1194 = lean_array_push(x_1115, x_1193); +x_1195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1195, 0, x_1142); +lean_ctor_set(x_1195, 1, x_1159); +x_1196 = lean_array_push(x_1194, x_1195); x_1197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1197, 0, x_1196); -lean_ctor_set(x_1197, 1, x_1195); -x_1198 = lean_array_push(x_1103, x_1197); -x_1199 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1200 = lean_array_push(x_1198, x_1199); -x_1201 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__14; -lean_inc(x_1095); -lean_inc(x_1096); -x_1202 = l_Lean_addMacroScope(x_1096, x_1201, x_1095); -x_1203 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__13; -x_1204 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__16; -x_1205 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1205, 0, x_1100); -lean_ctor_set(x_1205, 1, x_1203); -lean_ctor_set(x_1205, 2, x_1202); -lean_ctor_set(x_1205, 3, x_1204); -x_1206 = lean_array_push(x_1103, x_1205); -x_1207 = lean_array_push(x_1103, x_1150); -x_1208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1208, 0, x_1122); -lean_ctor_set(x_1208, 1, x_1207); -lean_inc(x_1208); -x_1209 = lean_array_push(x_1206, x_1208); +lean_ctor_set(x_1197, 0, x_1167); +lean_ctor_set(x_1197, 1, x_1196); +x_1198 = lean_array_push(x_1115, x_1197); +x_1199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1199, 0, x_1122); +lean_ctor_set(x_1199, 1, x_1198); +x_1200 = lean_array_push(x_1115, x_1199); +x_1201 = lean_array_push(x_1200, x_1117); +x_1202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1202, 0, x_1134); +lean_ctor_set(x_1202, 1, x_1201); +lean_inc(x_1188); +x_1203 = lean_array_push(x_1188, x_1202); +x_1204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1204, 0, x_1142); +lean_ctor_set(x_1204, 1, x_1203); +x_1205 = lean_array_push(x_1115, x_1204); +x_1206 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_1207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1207, 0, x_1206); +lean_ctor_set(x_1207, 1, x_1205); +x_1208 = lean_array_push(x_1173, x_1207); +x_1209 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; x_1210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1210, 0, x_1154); -lean_ctor_set(x_1210, 1, x_1209); -x_1211 = lean_array_push(x_1103, x_1210); -x_1212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1212, 0, x_1122); -lean_ctor_set(x_1212, 1, x_1211); -x_1213 = lean_array_push(x_1103, x_1212); -x_1214 = lean_array_push(x_1213, x_1159); -x_1215 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_1175); -x_1216 = lean_array_push(x_1175, x_1215); -x_1217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1217, 0, x_1122); -lean_ctor_set(x_1217, 1, x_1216); -x_1218 = lean_array_push(x_1103, x_1217); -x_1219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1219, 0, x_1193); -lean_ctor_set(x_1219, 1, x_1218); -x_1220 = lean_array_push(x_1214, x_1219); +lean_ctor_set(x_1210, 0, x_1209); +lean_ctor_set(x_1210, 1, x_1208); +x_1211 = lean_array_push(x_1115, x_1210); +x_1212 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1213 = lean_array_push(x_1211, x_1212); +x_1214 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__14; +lean_inc(x_1107); +lean_inc(x_1108); +x_1215 = l_Lean_addMacroScope(x_1108, x_1214, x_1107); +x_1216 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__13; +x_1217 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__16; +x_1218 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1218, 0, x_1112); +lean_ctor_set(x_1218, 1, x_1216); +lean_ctor_set(x_1218, 2, x_1215); +lean_ctor_set(x_1218, 3, x_1217); +x_1219 = lean_array_push(x_1115, x_1218); +x_1220 = lean_array_push(x_1115, x_1163); x_1221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1221, 0, x_1196); +lean_ctor_set(x_1221, 0, x_1142); lean_ctor_set(x_1221, 1, x_1220); -x_1222 = lean_array_push(x_1200, x_1221); -x_1223 = lean_array_push(x_1222, x_1199); -x_1224 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__23; -x_1225 = l_Lean_addMacroScope(x_1096, x_1224, x_1095); -x_1226 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__22; -x_1227 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__25; -x_1228 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1228, 0, x_1100); -lean_ctor_set(x_1228, 1, x_1226); -lean_ctor_set(x_1228, 2, x_1225); -lean_ctor_set(x_1228, 3, x_1227); -x_1229 = lean_array_push(x_1103, x_1228); -x_1230 = lean_array_push(x_1229, x_1208); -x_1231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1231, 0, x_1154); -lean_ctor_set(x_1231, 1, x_1230); -x_1232 = lean_array_push(x_1103, x_1231); -x_1233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1233, 0, x_1122); -lean_ctor_set(x_1233, 1, x_1232); -x_1234 = lean_array_push(x_1103, x_1233); -x_1235 = lean_array_push(x_1234, x_1159); -x_1236 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__33; -x_1237 = lean_array_push(x_1175, x_1236); -x_1238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1238, 0, x_1122); -lean_ctor_set(x_1238, 1, x_1237); -x_1239 = lean_array_push(x_1103, x_1238); -x_1240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1240, 0, x_1193); -lean_ctor_set(x_1240, 1, x_1239); -x_1241 = lean_array_push(x_1235, x_1240); -x_1242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1242, 0, x_1196); -lean_ctor_set(x_1242, 1, x_1241); -x_1243 = lean_array_push(x_1223, x_1242); +lean_inc(x_1221); +x_1222 = lean_array_push(x_1219, x_1221); +x_1223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1223, 0, x_1167); +lean_ctor_set(x_1223, 1, x_1222); +x_1224 = lean_array_push(x_1115, x_1223); +x_1225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1225, 0, x_1142); +lean_ctor_set(x_1225, 1, x_1224); +x_1226 = lean_array_push(x_1115, x_1225); +x_1227 = lean_array_push(x_1226, x_1172); +x_1228 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; +lean_inc(x_1188); +x_1229 = lean_array_push(x_1188, x_1228); +x_1230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1230, 0, x_1142); +lean_ctor_set(x_1230, 1, x_1229); +x_1231 = lean_array_push(x_1115, x_1230); +x_1232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1232, 0, x_1206); +lean_ctor_set(x_1232, 1, x_1231); +x_1233 = lean_array_push(x_1227, x_1232); +x_1234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1234, 0, x_1209); +lean_ctor_set(x_1234, 1, x_1233); +x_1235 = lean_array_push(x_1213, x_1234); +x_1236 = lean_array_push(x_1235, x_1212); +x_1237 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__23; +x_1238 = l_Lean_addMacroScope(x_1108, x_1237, x_1107); +x_1239 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__22; +x_1240 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__25; +x_1241 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1241, 0, x_1112); +lean_ctor_set(x_1241, 1, x_1239); +lean_ctor_set(x_1241, 2, x_1238); +lean_ctor_set(x_1241, 3, x_1240); +x_1242 = lean_array_push(x_1115, x_1241); +x_1243 = lean_array_push(x_1242, x_1221); x_1244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1244, 0, x_1122); +lean_ctor_set(x_1244, 0, x_1167); lean_ctor_set(x_1244, 1, x_1243); -x_1245 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1246 = lean_array_push(x_1245, x_1244); -x_1247 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; -x_1248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1248, 0, x_1247); -lean_ctor_set(x_1248, 1, x_1246); -x_1249 = lean_array_push(x_1135, x_1248); -x_1250 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_1245 = lean_array_push(x_1115, x_1244); +x_1246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1246, 0, x_1142); +lean_ctor_set(x_1246, 1, x_1245); +x_1247 = lean_array_push(x_1115, x_1246); +x_1248 = lean_array_push(x_1247, x_1172); +x_1249 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__35; +x_1250 = lean_array_push(x_1188, x_1249); x_1251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1251, 0, x_1250); -lean_ctor_set(x_1251, 1, x_1249); -x_1252 = lean_array_push(x_1103, x_1251); -x_1253 = lean_array_push(x_1252, x_1105); -x_1254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1254, 0, x_1122); -lean_ctor_set(x_1254, 1, x_1253); -x_1255 = lean_array_push(x_1124, x_1254); -x_1256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1256, 0, x_1122); -lean_ctor_set(x_1256, 1, x_1255); -x_1257 = lean_array_push(x_1103, x_1256); -x_1258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1258, 0, x_1193); -lean_ctor_set(x_1258, 1, x_1257); -x_1259 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_1260 = lean_array_push(x_1259, x_1258); -x_1261 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1262, 0, x_1261); -lean_ctor_set(x_1262, 1, x_1260); -x_1263 = lean_unsigned_to_nat(1u); -x_1264 = l_Lean_Syntax_getArg(x_1262, x_1263); -lean_dec(x_1262); -x_1265 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1264); -lean_ctor_set(x_15, 0, x_1265); +lean_ctor_set(x_1251, 0, x_1142); +lean_ctor_set(x_1251, 1, x_1250); +x_1252 = lean_array_push(x_1115, x_1251); +x_1253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1253, 0, x_1206); +lean_ctor_set(x_1253, 1, x_1252); +x_1254 = lean_array_push(x_1248, x_1253); +x_1255 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1255, 0, x_1209); +lean_ctor_set(x_1255, 1, x_1254); +x_1256 = lean_array_push(x_1236, x_1255); +x_1257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1257, 0, x_1142); +lean_ctor_set(x_1257, 1, x_1256); +x_1258 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1259 = lean_array_push(x_1258, x_1257); +x_1260 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +x_1261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1261, 0, x_1260); +lean_ctor_set(x_1261, 1, x_1259); +x_1262 = lean_array_push(x_1148, x_1261); +x_1263 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_1264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1264, 0, x_1263); +lean_ctor_set(x_1264, 1, x_1262); +x_1265 = lean_array_push(x_1115, x_1264); +x_1266 = lean_array_push(x_1265, x_1117); +x_1267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1267, 0, x_1134); +lean_ctor_set(x_1267, 1, x_1266); +x_1268 = lean_array_push(x_1136, x_1267); +x_1269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1269, 0, x_1142); +lean_ctor_set(x_1269, 1, x_1268); +x_1270 = lean_array_push(x_1115, x_1269); +x_1271 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1271, 0, x_1206); +lean_ctor_set(x_1271, 1, x_1270); +x_1272 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_1273 = lean_array_push(x_1272, x_1271); +x_1274 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_1275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1275, 0, x_1274); +lean_ctor_set(x_1275, 1, x_1273); +x_1276 = lean_unsigned_to_nat(1u); +x_1277 = l_Lean_Syntax_getArg(x_1275, x_1276); +lean_dec(x_1275); +x_1278 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1277); +lean_ctor_set(x_15, 0, x_1278); return x_15; } else { -lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; -x_1266 = lean_ctor_get(x_15, 0); -x_1267 = lean_ctor_get(x_15, 1); -lean_inc(x_1267); -lean_inc(x_1266); +lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; +x_1279 = lean_ctor_get(x_15, 0); +x_1280 = lean_ctor_get(x_15, 1); +lean_inc(x_1280); +lean_inc(x_1279); lean_dec(x_15); -x_1268 = lean_ctor_get(x_7, 2); -lean_inc(x_1268); -x_1269 = lean_ctor_get(x_7, 1); -lean_inc(x_1269); +x_1281 = lean_ctor_get(x_7, 2); +lean_inc(x_1281); +x_1282 = lean_ctor_get(x_7, 1); +lean_inc(x_1282); lean_dec(x_7); -x_1270 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_1268); -lean_inc(x_1269); -x_1271 = l_Lean_addMacroScope(x_1269, x_1270, x_1268); -x_1272 = lean_box(0); -x_1273 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1274 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_1275 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1275, 0, x_1273); -lean_ctor_set(x_1275, 1, x_1274); -lean_ctor_set(x_1275, 2, x_1271); -lean_ctor_set(x_1275, 3, x_1272); -x_1276 = l_Array_empty___closed__1; -lean_inc(x_1275); -x_1277 = lean_array_push(x_1276, x_1275); -x_1278 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_1279 = lean_array_push(x_1277, x_1278); -x_1280 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_1281 = lean_array_push(x_1279, x_1280); -x_1282 = lean_array_push(x_1276, x_2); -x_1283 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_1284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1284, 0, x_1283); -lean_ctor_set(x_1284, 1, x_1282); -x_1285 = lean_array_push(x_1281, x_1284); -x_1286 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_1287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1287, 0, x_1286); -lean_ctor_set(x_1287, 1, x_1285); -x_1288 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_1289 = lean_array_push(x_1288, x_1287); -x_1290 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_1291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1291, 0, x_1290); -lean_ctor_set(x_1291, 1, x_1289); -x_1292 = lean_array_push(x_1276, x_1291); -x_1293 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1283 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_1281); +lean_inc(x_1282); +x_1284 = l_Lean_addMacroScope(x_1282, x_1283, x_1281); +x_1285 = lean_box(0); +x_1286 = l_Lean_instInhabitedSourceInfo___closed__1; +x_1287 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_1288 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1288, 0, x_1286); +lean_ctor_set(x_1288, 1, x_1287); +lean_ctor_set(x_1288, 2, x_1284); +lean_ctor_set(x_1288, 3, x_1285); +x_1289 = l_Array_empty___closed__1; +lean_inc(x_1288); +x_1290 = lean_array_push(x_1289, x_1288); +x_1291 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_1292 = lean_array_push(x_1290, x_1291); +x_1293 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; x_1294 = lean_array_push(x_1292, x_1293); -x_1295 = l_Lean_nullKind___closed__2; -x_1296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1296, 0, x_1295); -lean_ctor_set(x_1296, 1, x_1294); -x_1297 = lean_array_push(x_1276, x_1296); -x_1298 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1299 = lean_array_push(x_1298, x_1275); -x_1300 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -x_1301 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1301, 0, x_1300); -lean_ctor_set(x_1301, 1, x_1299); -x_1302 = lean_array_push(x_1276, x_1301); -x_1303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1303, 0, x_1295); -lean_ctor_set(x_1303, 1, x_1302); -x_1304 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1305 = lean_array_push(x_1304, x_1303); -x_1306 = lean_array_push(x_1305, x_1278); -x_1307 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -x_1308 = lean_array_push(x_1306, x_1307); -x_1309 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__37; -lean_inc(x_1268); -lean_inc(x_1269); -x_1310 = l_Lean_addMacroScope(x_1269, x_1309, x_1268); -x_1311 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__33; -x_1312 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__39; -x_1313 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1313, 0, x_1273); -lean_ctor_set(x_1313, 1, x_1311); -lean_ctor_set(x_1313, 2, x_1310); -lean_ctor_set(x_1313, 3, x_1312); -x_1314 = lean_array_push(x_1276, x_1313); -x_1315 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; -lean_inc(x_1268); -lean_inc(x_1269); -x_1316 = l_Lean_addMacroScope(x_1269, x_1315, x_1268); -x_1317 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; -x_1318 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1318, 0, x_1273); -lean_ctor_set(x_1318, 1, x_1317); -lean_ctor_set(x_1318, 2, x_1316); -lean_ctor_set(x_1318, 3, x_1272); -x_1319 = lean_array_push(x_1276, x_1318); -x_1320 = l_Lean_Level_LevelToFormat_toResult___closed__3; -lean_inc(x_1268); -lean_inc(x_1269); -x_1321 = l_Lean_addMacroScope(x_1269, x_1320, x_1268); -x_1322 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; -x_1323 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1323, 0, x_1273); -lean_ctor_set(x_1323, 1, x_1322); -lean_ctor_set(x_1323, 2, x_1321); -lean_ctor_set(x_1323, 3, x_1272); -lean_inc(x_1323); -lean_inc(x_1319); -x_1324 = lean_array_push(x_1319, x_1323); -x_1325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1325, 0, x_1295); -lean_ctor_set(x_1325, 1, x_1324); -x_1326 = lean_array_push(x_1314, x_1325); -x_1327 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_1328 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1328, 0, x_1327); -lean_ctor_set(x_1328, 1, x_1326); -x_1329 = lean_array_push(x_1276, x_1328); -x_1330 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1330, 0, x_1295); -lean_ctor_set(x_1330, 1, x_1329); -x_1331 = lean_array_push(x_1276, x_1330); -x_1332 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_1333 = lean_array_push(x_1331, x_1332); -x_1334 = lean_array_push(x_1276, x_1266); -x_1335 = lean_array_push(x_1334, x_1278); -x_1336 = lean_array_push(x_1335, x_1278); -x_1337 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_1338 = lean_array_push(x_1336, x_1337); -lean_inc(x_1323); -x_1339 = lean_array_push(x_1338, x_1323); -x_1340 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_1341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1341, 0, x_1340); -lean_ctor_set(x_1341, 1, x_1339); -x_1342 = lean_array_push(x_1276, x_1341); -x_1343 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_1295 = lean_array_push(x_1289, x_2); +x_1296 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_1297 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1297, 0, x_1296); +lean_ctor_set(x_1297, 1, x_1295); +x_1298 = lean_array_push(x_1294, x_1297); +x_1299 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_1300 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1300, 0, x_1299); +lean_ctor_set(x_1300, 1, x_1298); +x_1301 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_1302 = lean_array_push(x_1301, x_1300); +x_1303 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_1304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1304, 0, x_1303); +lean_ctor_set(x_1304, 1, x_1302); +x_1305 = lean_array_push(x_1289, x_1304); +x_1306 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1307 = lean_array_push(x_1305, x_1306); +x_1308 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_1309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1309, 0, x_1308); +lean_ctor_set(x_1309, 1, x_1307); +x_1310 = lean_array_push(x_1289, x_1309); +x_1311 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1312 = lean_array_push(x_1311, x_1288); +x_1313 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1314, 0, x_1313); +lean_ctor_set(x_1314, 1, x_1312); +x_1315 = lean_array_push(x_1289, x_1314); +x_1316 = l_Lean_nullKind___closed__2; +x_1317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1317, 0, x_1316); +lean_ctor_set(x_1317, 1, x_1315); +x_1318 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1319 = lean_array_push(x_1318, x_1317); +x_1320 = lean_array_push(x_1319, x_1291); +x_1321 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_1322 = lean_array_push(x_1320, x_1321); +x_1323 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__37; +lean_inc(x_1281); +lean_inc(x_1282); +x_1324 = l_Lean_addMacroScope(x_1282, x_1323, x_1281); +x_1325 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__33; +x_1326 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__39; +x_1327 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1327, 0, x_1286); +lean_ctor_set(x_1327, 1, x_1325); +lean_ctor_set(x_1327, 2, x_1324); +lean_ctor_set(x_1327, 3, x_1326); +x_1328 = lean_array_push(x_1289, x_1327); +x_1329 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +lean_inc(x_1281); +lean_inc(x_1282); +x_1330 = l_Lean_addMacroScope(x_1282, x_1329, x_1281); +x_1331 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_1332 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1332, 0, x_1286); +lean_ctor_set(x_1332, 1, x_1331); +lean_ctor_set(x_1332, 2, x_1330); +lean_ctor_set(x_1332, 3, x_1285); +x_1333 = lean_array_push(x_1289, x_1332); +x_1334 = l_Lean_Level_LevelToFormat_toResult___closed__3; +lean_inc(x_1281); +lean_inc(x_1282); +x_1335 = l_Lean_addMacroScope(x_1282, x_1334, x_1281); +x_1336 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_1337 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1337, 0, x_1286); +lean_ctor_set(x_1337, 1, x_1336); +lean_ctor_set(x_1337, 2, x_1335); +lean_ctor_set(x_1337, 3, x_1285); +lean_inc(x_1337); +lean_inc(x_1333); +x_1338 = lean_array_push(x_1333, x_1337); +x_1339 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1339, 0, x_1316); +lean_ctor_set(x_1339, 1, x_1338); +x_1340 = lean_array_push(x_1328, x_1339); +x_1341 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_1342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1342, 0, x_1341); +lean_ctor_set(x_1342, 1, x_1340); +x_1343 = lean_array_push(x_1289, x_1342); x_1344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1344, 0, x_1343); -lean_ctor_set(x_1344, 1, x_1342); -x_1345 = lean_array_push(x_1276, x_1344); -x_1346 = lean_array_push(x_1345, x_1293); -x_1347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1347, 0, x_1295); -lean_ctor_set(x_1347, 1, x_1346); -x_1348 = lean_array_push(x_1276, x_1347); -x_1349 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__48; -lean_inc(x_1268); -lean_inc(x_1269); -x_1350 = l_Lean_addMacroScope(x_1269, x_1349, x_1268); -x_1351 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; -x_1352 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -x_1353 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1353, 0, x_1273); -lean_ctor_set(x_1353, 1, x_1351); -lean_ctor_set(x_1353, 2, x_1350); -lean_ctor_set(x_1353, 3, x_1352); -x_1354 = lean_array_push(x_1276, x_1353); +lean_ctor_set(x_1344, 0, x_1316); +lean_ctor_set(x_1344, 1, x_1343); +x_1345 = lean_array_push(x_1289, x_1344); +x_1346 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_1347 = lean_array_push(x_1345, x_1346); +x_1348 = lean_array_push(x_1289, x_1279); +x_1349 = lean_array_push(x_1348, x_1291); +x_1350 = lean_array_push(x_1349, x_1291); +x_1351 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1352 = lean_array_push(x_1350, x_1351); +lean_inc(x_1337); +x_1353 = lean_array_push(x_1352, x_1337); +x_1354 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; x_1355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1355, 0, x_1295); -lean_ctor_set(x_1355, 1, x_1319); -x_1356 = lean_array_push(x_1354, x_1355); -x_1357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1357, 0, x_1327); -lean_ctor_set(x_1357, 1, x_1356); -x_1358 = lean_array_push(x_1276, x_1357); -x_1359 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1359, 0, x_1283); -lean_ctor_set(x_1359, 1, x_1358); -x_1360 = lean_array_push(x_1276, x_1359); -x_1361 = lean_array_push(x_1360, x_1278); -x_1362 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1362, 0, x_1295); -lean_ctor_set(x_1362, 1, x_1361); -lean_inc(x_1348); -x_1363 = lean_array_push(x_1348, x_1362); -x_1364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1364, 0, x_1295); -lean_ctor_set(x_1364, 1, x_1363); -x_1365 = lean_array_push(x_1276, x_1364); -x_1366 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_1367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1367, 0, x_1366); +lean_ctor_set(x_1355, 0, x_1354); +lean_ctor_set(x_1355, 1, x_1353); +x_1356 = lean_array_push(x_1289, x_1355); +x_1357 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_1358 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1358, 0, x_1357); +lean_ctor_set(x_1358, 1, x_1356); +x_1359 = lean_array_push(x_1289, x_1358); +x_1360 = lean_array_push(x_1359, x_1306); +x_1361 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1361, 0, x_1308); +lean_ctor_set(x_1361, 1, x_1360); +x_1362 = lean_array_push(x_1289, x_1361); +x_1363 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50; +lean_inc(x_1281); +lean_inc(x_1282); +x_1364 = l_Lean_addMacroScope(x_1282, x_1363, x_1281); +x_1365 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__49; +x_1366 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_1367 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1367, 0, x_1286); lean_ctor_set(x_1367, 1, x_1365); -x_1368 = lean_array_push(x_1333, x_1367); -x_1369 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -x_1370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1370, 0, x_1369); -lean_ctor_set(x_1370, 1, x_1368); -x_1371 = lean_array_push(x_1276, x_1370); -x_1372 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1373 = lean_array_push(x_1371, x_1372); -x_1374 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__14; -lean_inc(x_1268); -lean_inc(x_1269); -x_1375 = l_Lean_addMacroScope(x_1269, x_1374, x_1268); -x_1376 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__13; -x_1377 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__16; -x_1378 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1378, 0, x_1273); -lean_ctor_set(x_1378, 1, x_1376); -lean_ctor_set(x_1378, 2, x_1375); -lean_ctor_set(x_1378, 3, x_1377); -x_1379 = lean_array_push(x_1276, x_1378); -x_1380 = lean_array_push(x_1276, x_1323); +lean_ctor_set(x_1367, 2, x_1364); +lean_ctor_set(x_1367, 3, x_1366); +x_1368 = lean_array_push(x_1289, x_1367); +x_1369 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1369, 0, x_1316); +lean_ctor_set(x_1369, 1, x_1333); +x_1370 = lean_array_push(x_1368, x_1369); +x_1371 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1371, 0, x_1341); +lean_ctor_set(x_1371, 1, x_1370); +x_1372 = lean_array_push(x_1289, x_1371); +x_1373 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1373, 0, x_1296); +lean_ctor_set(x_1373, 1, x_1372); +x_1374 = lean_array_push(x_1289, x_1373); +x_1375 = lean_array_push(x_1374, x_1291); +x_1376 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1376, 0, x_1308); +lean_ctor_set(x_1376, 1, x_1375); +lean_inc(x_1362); +x_1377 = lean_array_push(x_1362, x_1376); +x_1378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1378, 0, x_1316); +lean_ctor_set(x_1378, 1, x_1377); +x_1379 = lean_array_push(x_1289, x_1378); +x_1380 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; x_1381 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1381, 0, x_1295); -lean_ctor_set(x_1381, 1, x_1380); -lean_inc(x_1381); -x_1382 = lean_array_push(x_1379, x_1381); -x_1383 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1383, 0, x_1327); -lean_ctor_set(x_1383, 1, x_1382); -x_1384 = lean_array_push(x_1276, x_1383); -x_1385 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1385, 0, x_1295); -lean_ctor_set(x_1385, 1, x_1384); -x_1386 = lean_array_push(x_1276, x_1385); -x_1387 = lean_array_push(x_1386, x_1332); -x_1388 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_1348); -x_1389 = lean_array_push(x_1348, x_1388); -x_1390 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1390, 0, x_1295); -lean_ctor_set(x_1390, 1, x_1389); -x_1391 = lean_array_push(x_1276, x_1390); -x_1392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1392, 0, x_1366); -lean_ctor_set(x_1392, 1, x_1391); -x_1393 = lean_array_push(x_1387, x_1392); -x_1394 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1394, 0, x_1369); -lean_ctor_set(x_1394, 1, x_1393); -x_1395 = lean_array_push(x_1373, x_1394); -x_1396 = lean_array_push(x_1395, x_1372); -x_1397 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__23; -x_1398 = l_Lean_addMacroScope(x_1269, x_1397, x_1268); -x_1399 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__22; -x_1400 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__25; -x_1401 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1401, 0, x_1273); -lean_ctor_set(x_1401, 1, x_1399); -lean_ctor_set(x_1401, 2, x_1398); -lean_ctor_set(x_1401, 3, x_1400); -x_1402 = lean_array_push(x_1276, x_1401); -x_1403 = lean_array_push(x_1402, x_1381); +lean_ctor_set(x_1381, 0, x_1380); +lean_ctor_set(x_1381, 1, x_1379); +x_1382 = lean_array_push(x_1347, x_1381); +x_1383 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; +x_1384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1384, 0, x_1383); +lean_ctor_set(x_1384, 1, x_1382); +x_1385 = lean_array_push(x_1289, x_1384); +x_1386 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1387 = lean_array_push(x_1385, x_1386); +x_1388 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__14; +lean_inc(x_1281); +lean_inc(x_1282); +x_1389 = l_Lean_addMacroScope(x_1282, x_1388, x_1281); +x_1390 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__13; +x_1391 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__16; +x_1392 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1392, 0, x_1286); +lean_ctor_set(x_1392, 1, x_1390); +lean_ctor_set(x_1392, 2, x_1389); +lean_ctor_set(x_1392, 3, x_1391); +x_1393 = lean_array_push(x_1289, x_1392); +x_1394 = lean_array_push(x_1289, x_1337); +x_1395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1395, 0, x_1316); +lean_ctor_set(x_1395, 1, x_1394); +lean_inc(x_1395); +x_1396 = lean_array_push(x_1393, x_1395); +x_1397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1397, 0, x_1341); +lean_ctor_set(x_1397, 1, x_1396); +x_1398 = lean_array_push(x_1289, x_1397); +x_1399 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1399, 0, x_1316); +lean_ctor_set(x_1399, 1, x_1398); +x_1400 = lean_array_push(x_1289, x_1399); +x_1401 = lean_array_push(x_1400, x_1346); +x_1402 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; +lean_inc(x_1362); +x_1403 = lean_array_push(x_1362, x_1402); x_1404 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1404, 0, x_1327); +lean_ctor_set(x_1404, 0, x_1316); lean_ctor_set(x_1404, 1, x_1403); -x_1405 = lean_array_push(x_1276, x_1404); +x_1405 = lean_array_push(x_1289, x_1404); x_1406 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1406, 0, x_1295); +lean_ctor_set(x_1406, 0, x_1380); lean_ctor_set(x_1406, 1, x_1405); -x_1407 = lean_array_push(x_1276, x_1406); -x_1408 = lean_array_push(x_1407, x_1332); -x_1409 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__33; -x_1410 = lean_array_push(x_1348, x_1409); -x_1411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1411, 0, x_1295); -lean_ctor_set(x_1411, 1, x_1410); -x_1412 = lean_array_push(x_1276, x_1411); -x_1413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1413, 0, x_1366); -lean_ctor_set(x_1413, 1, x_1412); -x_1414 = lean_array_push(x_1408, x_1413); -x_1415 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1415, 0, x_1369); -lean_ctor_set(x_1415, 1, x_1414); -x_1416 = lean_array_push(x_1396, x_1415); -x_1417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1417, 0, x_1295); -lean_ctor_set(x_1417, 1, x_1416); -x_1418 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1419 = lean_array_push(x_1418, x_1417); -x_1420 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; -x_1421 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1421, 0, x_1420); -lean_ctor_set(x_1421, 1, x_1419); -x_1422 = lean_array_push(x_1308, x_1421); -x_1423 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_1424 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1424, 0, x_1423); -lean_ctor_set(x_1424, 1, x_1422); -x_1425 = lean_array_push(x_1276, x_1424); -x_1426 = lean_array_push(x_1425, x_1278); +x_1407 = lean_array_push(x_1401, x_1406); +x_1408 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1408, 0, x_1383); +lean_ctor_set(x_1408, 1, x_1407); +x_1409 = lean_array_push(x_1387, x_1408); +x_1410 = lean_array_push(x_1409, x_1386); +x_1411 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__23; +x_1412 = l_Lean_addMacroScope(x_1282, x_1411, x_1281); +x_1413 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__22; +x_1414 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__25; +x_1415 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1415, 0, x_1286); +lean_ctor_set(x_1415, 1, x_1413); +lean_ctor_set(x_1415, 2, x_1412); +lean_ctor_set(x_1415, 3, x_1414); +x_1416 = lean_array_push(x_1289, x_1415); +x_1417 = lean_array_push(x_1416, x_1395); +x_1418 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1418, 0, x_1341); +lean_ctor_set(x_1418, 1, x_1417); +x_1419 = lean_array_push(x_1289, x_1418); +x_1420 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1420, 0, x_1316); +lean_ctor_set(x_1420, 1, x_1419); +x_1421 = lean_array_push(x_1289, x_1420); +x_1422 = lean_array_push(x_1421, x_1346); +x_1423 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__35; +x_1424 = lean_array_push(x_1362, x_1423); +x_1425 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1425, 0, x_1316); +lean_ctor_set(x_1425, 1, x_1424); +x_1426 = lean_array_push(x_1289, x_1425); x_1427 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1427, 0, x_1295); +lean_ctor_set(x_1427, 0, x_1380); lean_ctor_set(x_1427, 1, x_1426); -x_1428 = lean_array_push(x_1297, x_1427); +x_1428 = lean_array_push(x_1422, x_1427); x_1429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1429, 0, x_1295); +lean_ctor_set(x_1429, 0, x_1383); lean_ctor_set(x_1429, 1, x_1428); -x_1430 = lean_array_push(x_1276, x_1429); +x_1430 = lean_array_push(x_1410, x_1429); x_1431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1431, 0, x_1366); +lean_ctor_set(x_1431, 0, x_1316); lean_ctor_set(x_1431, 1, x_1430); -x_1432 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_1432 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; x_1433 = lean_array_push(x_1432, x_1431); -x_1434 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_1434 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; x_1435 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1435, 0, x_1434); lean_ctor_set(x_1435, 1, x_1433); -x_1436 = lean_unsigned_to_nat(1u); -x_1437 = l_Lean_Syntax_getArg(x_1435, x_1436); -lean_dec(x_1435); -x_1438 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1437); -x_1439 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1439, 0, x_1438); -lean_ctor_set(x_1439, 1, x_1267); -return x_1439; +x_1436 = lean_array_push(x_1322, x_1435); +x_1437 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_1438 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1438, 0, x_1437); +lean_ctor_set(x_1438, 1, x_1436); +x_1439 = lean_array_push(x_1289, x_1438); +x_1440 = lean_array_push(x_1439, x_1291); +x_1441 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1441, 0, x_1308); +lean_ctor_set(x_1441, 1, x_1440); +x_1442 = lean_array_push(x_1310, x_1441); +x_1443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1443, 0, x_1316); +lean_ctor_set(x_1443, 1, x_1442); +x_1444 = lean_array_push(x_1289, x_1443); +x_1445 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1445, 0, x_1380); +lean_ctor_set(x_1445, 1, x_1444); +x_1446 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_1447 = lean_array_push(x_1446, x_1445); +x_1448 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_1449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1449, 0, x_1448); +lean_ctor_set(x_1449, 1, x_1447); +x_1450 = lean_unsigned_to_nat(1u); +x_1451 = l_Lean_Syntax_getArg(x_1449, x_1450); +lean_dec(x_1449); +x_1452 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1451); +x_1453 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1453, 0, x_1452); +lean_ctor_set(x_1453, 1, x_1280); +return x_1453; } } } @@ -32382,1308 +32416,1312 @@ else lean_dec(x_3); if (x_6 == 0) { -uint8_t x_1440; -x_1440 = !lean_is_exclusive(x_15); -if (x_1440 == 0) +uint8_t x_1454; +x_1454 = !lean_is_exclusive(x_15); +if (x_1454 == 0) { -lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; -x_1441 = lean_ctor_get(x_15, 0); -x_1442 = lean_ctor_get(x_7, 2); -lean_inc(x_1442); -x_1443 = lean_ctor_get(x_7, 1); -lean_inc(x_1443); +lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; +x_1455 = lean_ctor_get(x_15, 0); +x_1456 = lean_ctor_get(x_7, 2); +lean_inc(x_1456); +x_1457 = lean_ctor_get(x_7, 1); +lean_inc(x_1457); lean_dec(x_7); -x_1444 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_1442); -lean_inc(x_1443); -x_1445 = l_Lean_addMacroScope(x_1443, x_1444, x_1442); -x_1446 = lean_box(0); -x_1447 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1448 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_1449 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1449, 0, x_1447); -lean_ctor_set(x_1449, 1, x_1448); -lean_ctor_set(x_1449, 2, x_1445); -lean_ctor_set(x_1449, 3, x_1446); -x_1450 = l_Array_empty___closed__1; -lean_inc(x_1449); -x_1451 = lean_array_push(x_1450, x_1449); -x_1452 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_1453 = lean_array_push(x_1451, x_1452); -x_1454 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_1455 = lean_array_push(x_1453, x_1454); -x_1456 = lean_array_push(x_1450, x_2); -x_1457 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_1458 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1458, 0, x_1457); -lean_ctor_set(x_1458, 1, x_1456); -x_1459 = lean_array_push(x_1455, x_1458); -x_1460 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_1461 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1461, 0, x_1460); -lean_ctor_set(x_1461, 1, x_1459); -x_1462 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_1463 = lean_array_push(x_1462, x_1461); -x_1464 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_1465 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1465, 0, x_1464); -lean_ctor_set(x_1465, 1, x_1463); -x_1466 = lean_array_push(x_1450, x_1465); -x_1467 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_1468 = lean_array_push(x_1466, x_1467); -x_1469 = l_Lean_nullKind___closed__2; -x_1470 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1470, 0, x_1469); -lean_ctor_set(x_1470, 1, x_1468); -x_1471 = lean_array_push(x_1450, x_1470); -x_1472 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1473 = lean_array_push(x_1472, x_1449); -x_1474 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1458 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_1456); +lean_inc(x_1457); +x_1459 = l_Lean_addMacroScope(x_1457, x_1458, x_1456); +x_1460 = lean_box(0); +x_1461 = l_Lean_instInhabitedSourceInfo___closed__1; +x_1462 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_1463 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1463, 0, x_1461); +lean_ctor_set(x_1463, 1, x_1462); +lean_ctor_set(x_1463, 2, x_1459); +lean_ctor_set(x_1463, 3, x_1460); +x_1464 = l_Array_empty___closed__1; +lean_inc(x_1463); +x_1465 = lean_array_push(x_1464, x_1463); +x_1466 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_1467 = lean_array_push(x_1465, x_1466); +x_1468 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_1469 = lean_array_push(x_1467, x_1468); +x_1470 = lean_array_push(x_1464, x_2); +x_1471 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_1472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1472, 0, x_1471); +lean_ctor_set(x_1472, 1, x_1470); +x_1473 = lean_array_push(x_1469, x_1472); +x_1474 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; x_1475 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1475, 0, x_1474); lean_ctor_set(x_1475, 1, x_1473); -x_1476 = lean_array_push(x_1450, x_1475); -x_1477 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1477, 0, x_1469); -lean_ctor_set(x_1477, 1, x_1476); -x_1478 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1479 = lean_array_push(x_1478, x_1477); -x_1480 = lean_array_push(x_1479, x_1452); -x_1481 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_1476 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_1477 = lean_array_push(x_1476, x_1475); +x_1478 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_1479 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1479, 0, x_1478); +lean_ctor_set(x_1479, 1, x_1477); +x_1480 = lean_array_push(x_1464, x_1479); +x_1481 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; x_1482 = lean_array_push(x_1480, x_1481); -x_1483 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__10; -lean_inc(x_1442); -lean_inc(x_1443); -x_1484 = l_Lean_addMacroScope(x_1443, x_1483, x_1442); -x_1485 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__9; -x_1486 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__12; -x_1487 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1487, 0, x_1447); -lean_ctor_set(x_1487, 1, x_1485); -lean_ctor_set(x_1487, 2, x_1484); -lean_ctor_set(x_1487, 3, x_1486); -x_1488 = lean_array_push(x_1450, x_1487); -x_1489 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; -lean_inc(x_1442); -lean_inc(x_1443); -x_1490 = l_Lean_addMacroScope(x_1443, x_1489, x_1442); -x_1491 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; -x_1492 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1492, 0, x_1447); -lean_ctor_set(x_1492, 1, x_1491); -lean_ctor_set(x_1492, 2, x_1490); -lean_ctor_set(x_1492, 3, x_1446); -x_1493 = lean_array_push(x_1450, x_1492); -x_1494 = l_Lean_Level_LevelToFormat_toResult___closed__3; -lean_inc(x_1442); -lean_inc(x_1443); -x_1495 = l_Lean_addMacroScope(x_1443, x_1494, x_1442); -x_1496 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; -x_1497 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1497, 0, x_1447); -lean_ctor_set(x_1497, 1, x_1496); -lean_ctor_set(x_1497, 2, x_1495); -lean_ctor_set(x_1497, 3, x_1446); -lean_inc(x_1497); -lean_inc(x_1493); -x_1498 = lean_array_push(x_1493, x_1497); -x_1499 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1499, 0, x_1469); -lean_ctor_set(x_1499, 1, x_1498); -x_1500 = lean_array_push(x_1488, x_1499); -x_1501 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_1502 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1502, 0, x_1501); +x_1483 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_1484 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1484, 0, x_1483); +lean_ctor_set(x_1484, 1, x_1482); +x_1485 = lean_array_push(x_1464, x_1484); +x_1486 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1487 = lean_array_push(x_1486, x_1463); +x_1488 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1489 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1489, 0, x_1488); +lean_ctor_set(x_1489, 1, x_1487); +x_1490 = lean_array_push(x_1464, x_1489); +x_1491 = l_Lean_nullKind___closed__2; +x_1492 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1492, 0, x_1491); +lean_ctor_set(x_1492, 1, x_1490); +x_1493 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1494 = lean_array_push(x_1493, x_1492); +x_1495 = lean_array_push(x_1494, x_1466); +x_1496 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_1497 = lean_array_push(x_1495, x_1496); +x_1498 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__10; +lean_inc(x_1456); +lean_inc(x_1457); +x_1499 = l_Lean_addMacroScope(x_1457, x_1498, x_1456); +x_1500 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__9; +x_1501 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__12; +x_1502 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1502, 0, x_1461); lean_ctor_set(x_1502, 1, x_1500); -x_1503 = lean_array_push(x_1450, x_1502); -x_1504 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1504, 0, x_1469); -lean_ctor_set(x_1504, 1, x_1503); -x_1505 = lean_array_push(x_1450, x_1504); -x_1506 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_1507 = lean_array_push(x_1505, x_1506); -x_1508 = lean_array_push(x_1450, x_1441); -x_1509 = lean_array_push(x_1508, x_1452); -x_1510 = lean_array_push(x_1509, x_1452); -x_1511 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_1512 = lean_array_push(x_1510, x_1511); -lean_inc(x_1497); -x_1513 = lean_array_push(x_1512, x_1497); -x_1514 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_1515 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1515, 0, x_1514); -lean_ctor_set(x_1515, 1, x_1513); -x_1516 = lean_array_push(x_1450, x_1515); -x_1517 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_1518 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1518, 0, x_1517); -lean_ctor_set(x_1518, 1, x_1516); -x_1519 = lean_array_push(x_1450, x_1518); -x_1520 = lean_array_push(x_1519, x_1467); -x_1521 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1521, 0, x_1469); -lean_ctor_set(x_1521, 1, x_1520); -x_1522 = lean_array_push(x_1450, x_1521); -x_1523 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__48; -lean_inc(x_1442); -lean_inc(x_1443); -x_1524 = l_Lean_addMacroScope(x_1443, x_1523, x_1442); -x_1525 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; -x_1526 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -x_1527 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1527, 0, x_1447); -lean_ctor_set(x_1527, 1, x_1525); -lean_ctor_set(x_1527, 2, x_1524); -lean_ctor_set(x_1527, 3, x_1526); -x_1528 = lean_array_push(x_1450, x_1527); -x_1529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1529, 0, x_1469); -lean_ctor_set(x_1529, 1, x_1493); -x_1530 = lean_array_push(x_1528, x_1529); -x_1531 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1531, 0, x_1501); -lean_ctor_set(x_1531, 1, x_1530); -x_1532 = lean_array_push(x_1450, x_1531); +lean_ctor_set(x_1502, 2, x_1499); +lean_ctor_set(x_1502, 3, x_1501); +x_1503 = lean_array_push(x_1464, x_1502); +x_1504 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +lean_inc(x_1456); +lean_inc(x_1457); +x_1505 = l_Lean_addMacroScope(x_1457, x_1504, x_1456); +x_1506 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_1507 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1507, 0, x_1461); +lean_ctor_set(x_1507, 1, x_1506); +lean_ctor_set(x_1507, 2, x_1505); +lean_ctor_set(x_1507, 3, x_1460); +x_1508 = lean_array_push(x_1464, x_1507); +x_1509 = l_Lean_Level_LevelToFormat_toResult___closed__3; +lean_inc(x_1456); +lean_inc(x_1457); +x_1510 = l_Lean_addMacroScope(x_1457, x_1509, x_1456); +x_1511 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_1512 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1512, 0, x_1461); +lean_ctor_set(x_1512, 1, x_1511); +lean_ctor_set(x_1512, 2, x_1510); +lean_ctor_set(x_1512, 3, x_1460); +lean_inc(x_1512); +lean_inc(x_1508); +x_1513 = lean_array_push(x_1508, x_1512); +x_1514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1514, 0, x_1491); +lean_ctor_set(x_1514, 1, x_1513); +x_1515 = lean_array_push(x_1503, x_1514); +x_1516 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_1517 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1517, 0, x_1516); +lean_ctor_set(x_1517, 1, x_1515); +x_1518 = lean_array_push(x_1464, x_1517); +x_1519 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1519, 0, x_1491); +lean_ctor_set(x_1519, 1, x_1518); +x_1520 = lean_array_push(x_1464, x_1519); +x_1521 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_1522 = lean_array_push(x_1520, x_1521); +x_1523 = lean_array_push(x_1464, x_1455); +x_1524 = lean_array_push(x_1523, x_1466); +x_1525 = lean_array_push(x_1524, x_1466); +x_1526 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1527 = lean_array_push(x_1525, x_1526); +lean_inc(x_1512); +x_1528 = lean_array_push(x_1527, x_1512); +x_1529 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_1530 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1530, 0, x_1529); +lean_ctor_set(x_1530, 1, x_1528); +x_1531 = lean_array_push(x_1464, x_1530); +x_1532 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; x_1533 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1533, 0, x_1457); -lean_ctor_set(x_1533, 1, x_1532); -x_1534 = lean_array_push(x_1450, x_1533); -x_1535 = lean_array_push(x_1534, x_1452); +lean_ctor_set(x_1533, 0, x_1532); +lean_ctor_set(x_1533, 1, x_1531); +x_1534 = lean_array_push(x_1464, x_1533); +x_1535 = lean_array_push(x_1534, x_1481); x_1536 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1536, 0, x_1469); +lean_ctor_set(x_1536, 0, x_1483); lean_ctor_set(x_1536, 1, x_1535); -lean_inc(x_1522); -x_1537 = lean_array_push(x_1522, x_1536); -x_1538 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1538, 0, x_1469); -lean_ctor_set(x_1538, 1, x_1537); -x_1539 = lean_array_push(x_1450, x_1538); -x_1540 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_1541 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1541, 0, x_1540); -lean_ctor_set(x_1541, 1, x_1539); -x_1542 = lean_array_push(x_1507, x_1541); -x_1543 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +x_1537 = lean_array_push(x_1464, x_1536); +x_1538 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50; +lean_inc(x_1456); +lean_inc(x_1457); +x_1539 = l_Lean_addMacroScope(x_1457, x_1538, x_1456); +x_1540 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__49; +x_1541 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_1542 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1542, 0, x_1461); +lean_ctor_set(x_1542, 1, x_1540); +lean_ctor_set(x_1542, 2, x_1539); +lean_ctor_set(x_1542, 3, x_1541); +x_1543 = lean_array_push(x_1464, x_1542); x_1544 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1544, 0, x_1543); -lean_ctor_set(x_1544, 1, x_1542); -x_1545 = lean_array_push(x_1450, x_1544); -x_1546 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1547 = lean_array_push(x_1545, x_1546); -x_1548 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__28; -lean_inc(x_1442); -lean_inc(x_1443); -x_1549 = l_Lean_addMacroScope(x_1443, x_1548, x_1442); -x_1550 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__24; -x_1551 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__30; -x_1552 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1552, 0, x_1447); -lean_ctor_set(x_1552, 1, x_1550); -lean_ctor_set(x_1552, 2, x_1549); -lean_ctor_set(x_1552, 3, x_1551); -x_1553 = lean_array_push(x_1450, x_1552); -x_1554 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__51; -x_1555 = l_Lean_addMacroScope(x_1443, x_1554, x_1442); -x_1556 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50; -x_1557 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1557, 0, x_1447); -lean_ctor_set(x_1557, 1, x_1556); -lean_ctor_set(x_1557, 2, x_1555); -lean_ctor_set(x_1557, 3, x_1446); -x_1558 = lean_array_push(x_1450, x_1557); -lean_inc(x_1558); -x_1559 = lean_array_push(x_1558, x_1497); -x_1560 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1560, 0, x_1469); -lean_ctor_set(x_1560, 1, x_1559); -x_1561 = lean_array_push(x_1553, x_1560); -x_1562 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1562, 0, x_1501); -lean_ctor_set(x_1562, 1, x_1561); -x_1563 = lean_array_push(x_1450, x_1562); -x_1564 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1564, 0, x_1469); -lean_ctor_set(x_1564, 1, x_1563); -x_1565 = lean_array_push(x_1450, x_1564); -x_1566 = lean_array_push(x_1565, x_1506); -x_1567 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1567, 0, x_1469); -lean_ctor_set(x_1567, 1, x_1558); -x_1568 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; -x_1569 = lean_array_push(x_1568, x_1567); -x_1570 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; -x_1571 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1571, 0, x_1570); -lean_ctor_set(x_1571, 1, x_1569); -x_1572 = lean_array_push(x_1450, x_1571); -x_1573 = lean_array_push(x_1572, x_1452); -x_1574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1574, 0, x_1469); -lean_ctor_set(x_1574, 1, x_1573); -x_1575 = lean_array_push(x_1522, x_1574); -x_1576 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1576, 0, x_1469); -lean_ctor_set(x_1576, 1, x_1575); -x_1577 = lean_array_push(x_1450, x_1576); -x_1578 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1578, 0, x_1540); -lean_ctor_set(x_1578, 1, x_1577); -x_1579 = lean_array_push(x_1566, x_1578); -x_1580 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1580, 0, x_1543); -lean_ctor_set(x_1580, 1, x_1579); -x_1581 = lean_array_push(x_1547, x_1580); +lean_ctor_set(x_1544, 0, x_1491); +lean_ctor_set(x_1544, 1, x_1508); +x_1545 = lean_array_push(x_1543, x_1544); +x_1546 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1546, 0, x_1516); +lean_ctor_set(x_1546, 1, x_1545); +x_1547 = lean_array_push(x_1464, x_1546); +x_1548 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1548, 0, x_1471); +lean_ctor_set(x_1548, 1, x_1547); +x_1549 = lean_array_push(x_1464, x_1548); +x_1550 = lean_array_push(x_1549, x_1466); +x_1551 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1551, 0, x_1483); +lean_ctor_set(x_1551, 1, x_1550); +lean_inc(x_1537); +x_1552 = lean_array_push(x_1537, x_1551); +x_1553 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1553, 0, x_1491); +lean_ctor_set(x_1553, 1, x_1552); +x_1554 = lean_array_push(x_1464, x_1553); +x_1555 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_1556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1556, 0, x_1555); +lean_ctor_set(x_1556, 1, x_1554); +x_1557 = lean_array_push(x_1522, x_1556); +x_1558 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; +x_1559 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1559, 0, x_1558); +lean_ctor_set(x_1559, 1, x_1557); +x_1560 = lean_array_push(x_1464, x_1559); +x_1561 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1562 = lean_array_push(x_1560, x_1561); +x_1563 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__28; +lean_inc(x_1456); +lean_inc(x_1457); +x_1564 = l_Lean_addMacroScope(x_1457, x_1563, x_1456); +x_1565 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__24; +x_1566 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__30; +x_1567 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1567, 0, x_1461); +lean_ctor_set(x_1567, 1, x_1565); +lean_ctor_set(x_1567, 2, x_1564); +lean_ctor_set(x_1567, 3, x_1566); +x_1568 = lean_array_push(x_1464, x_1567); +x_1569 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__53; +x_1570 = l_Lean_addMacroScope(x_1457, x_1569, x_1456); +x_1571 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__52; +x_1572 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1572, 0, x_1461); +lean_ctor_set(x_1572, 1, x_1571); +lean_ctor_set(x_1572, 2, x_1570); +lean_ctor_set(x_1572, 3, x_1460); +x_1573 = lean_array_push(x_1464, x_1572); +lean_inc(x_1573); +x_1574 = lean_array_push(x_1573, x_1512); +x_1575 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1575, 0, x_1491); +lean_ctor_set(x_1575, 1, x_1574); +x_1576 = lean_array_push(x_1568, x_1575); +x_1577 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1577, 0, x_1516); +lean_ctor_set(x_1577, 1, x_1576); +x_1578 = lean_array_push(x_1464, x_1577); +x_1579 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1579, 0, x_1491); +lean_ctor_set(x_1579, 1, x_1578); +x_1580 = lean_array_push(x_1464, x_1579); +x_1581 = lean_array_push(x_1580, x_1521); x_1582 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1582, 0, x_1469); -lean_ctor_set(x_1582, 1, x_1581); -x_1583 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_ctor_set(x_1582, 0, x_1491); +lean_ctor_set(x_1582, 1, x_1573); +x_1583 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; x_1584 = lean_array_push(x_1583, x_1582); -x_1585 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_1585 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; x_1586 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1586, 0, x_1585); lean_ctor_set(x_1586, 1, x_1584); -x_1587 = lean_array_push(x_1482, x_1586); -x_1588 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_1587 = lean_array_push(x_1464, x_1586); +x_1588 = lean_array_push(x_1587, x_1466); x_1589 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1589, 0, x_1588); -lean_ctor_set(x_1589, 1, x_1587); -x_1590 = lean_array_push(x_1450, x_1589); -x_1591 = lean_array_push(x_1590, x_1452); -x_1592 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1592, 0, x_1469); -lean_ctor_set(x_1592, 1, x_1591); -x_1593 = lean_array_push(x_1471, x_1592); -x_1594 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1594, 0, x_1469); -lean_ctor_set(x_1594, 1, x_1593); -x_1595 = lean_array_push(x_1450, x_1594); -x_1596 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1596, 0, x_1540); -lean_ctor_set(x_1596, 1, x_1595); -x_1597 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_1598 = lean_array_push(x_1597, x_1596); -x_1599 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1600 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1600, 0, x_1599); -lean_ctor_set(x_1600, 1, x_1598); -x_1601 = lean_unsigned_to_nat(1u); -x_1602 = l_Lean_Syntax_getArg(x_1600, x_1601); -lean_dec(x_1600); -x_1603 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1602); -lean_ctor_set(x_15, 0, x_1603); +lean_ctor_set(x_1589, 0, x_1483); +lean_ctor_set(x_1589, 1, x_1588); +x_1590 = lean_array_push(x_1537, x_1589); +x_1591 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1591, 0, x_1491); +lean_ctor_set(x_1591, 1, x_1590); +x_1592 = lean_array_push(x_1464, x_1591); +x_1593 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1593, 0, x_1555); +lean_ctor_set(x_1593, 1, x_1592); +x_1594 = lean_array_push(x_1581, x_1593); +x_1595 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1595, 0, x_1558); +lean_ctor_set(x_1595, 1, x_1594); +x_1596 = lean_array_push(x_1562, x_1595); +x_1597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1597, 0, x_1491); +lean_ctor_set(x_1597, 1, x_1596); +x_1598 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1599 = lean_array_push(x_1598, x_1597); +x_1600 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +x_1601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1601, 0, x_1600); +lean_ctor_set(x_1601, 1, x_1599); +x_1602 = lean_array_push(x_1497, x_1601); +x_1603 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_1604 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1604, 0, x_1603); +lean_ctor_set(x_1604, 1, x_1602); +x_1605 = lean_array_push(x_1464, x_1604); +x_1606 = lean_array_push(x_1605, x_1466); +x_1607 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1607, 0, x_1483); +lean_ctor_set(x_1607, 1, x_1606); +x_1608 = lean_array_push(x_1485, x_1607); +x_1609 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1609, 0, x_1491); +lean_ctor_set(x_1609, 1, x_1608); +x_1610 = lean_array_push(x_1464, x_1609); +x_1611 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1611, 0, x_1555); +lean_ctor_set(x_1611, 1, x_1610); +x_1612 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_1613 = lean_array_push(x_1612, x_1611); +x_1614 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_1615 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1615, 0, x_1614); +lean_ctor_set(x_1615, 1, x_1613); +x_1616 = lean_unsigned_to_nat(1u); +x_1617 = l_Lean_Syntax_getArg(x_1615, x_1616); +lean_dec(x_1615); +x_1618 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1617); +lean_ctor_set(x_15, 0, x_1618); return x_15; } else { -lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; -x_1604 = lean_ctor_get(x_15, 0); -x_1605 = lean_ctor_get(x_15, 1); -lean_inc(x_1605); -lean_inc(x_1604); +lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; +x_1619 = lean_ctor_get(x_15, 0); +x_1620 = lean_ctor_get(x_15, 1); +lean_inc(x_1620); +lean_inc(x_1619); lean_dec(x_15); -x_1606 = lean_ctor_get(x_7, 2); -lean_inc(x_1606); -x_1607 = lean_ctor_get(x_7, 1); -lean_inc(x_1607); +x_1621 = lean_ctor_get(x_7, 2); +lean_inc(x_1621); +x_1622 = lean_ctor_get(x_7, 1); +lean_inc(x_1622); lean_dec(x_7); -x_1608 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_1606); -lean_inc(x_1607); -x_1609 = l_Lean_addMacroScope(x_1607, x_1608, x_1606); -x_1610 = lean_box(0); -x_1611 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1612 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_1613 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1613, 0, x_1611); -lean_ctor_set(x_1613, 1, x_1612); -lean_ctor_set(x_1613, 2, x_1609); -lean_ctor_set(x_1613, 3, x_1610); -x_1614 = l_Array_empty___closed__1; -lean_inc(x_1613); -x_1615 = lean_array_push(x_1614, x_1613); -x_1616 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_1617 = lean_array_push(x_1615, x_1616); -x_1618 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_1619 = lean_array_push(x_1617, x_1618); -x_1620 = lean_array_push(x_1614, x_2); -x_1621 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_1622 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1622, 0, x_1621); -lean_ctor_set(x_1622, 1, x_1620); -x_1623 = lean_array_push(x_1619, x_1622); -x_1624 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_1625 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1625, 0, x_1624); -lean_ctor_set(x_1625, 1, x_1623); -x_1626 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_1627 = lean_array_push(x_1626, x_1625); -x_1628 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_1629 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1629, 0, x_1628); -lean_ctor_set(x_1629, 1, x_1627); -x_1630 = lean_array_push(x_1614, x_1629); -x_1631 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1623 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_1621); +lean_inc(x_1622); +x_1624 = l_Lean_addMacroScope(x_1622, x_1623, x_1621); +x_1625 = lean_box(0); +x_1626 = l_Lean_instInhabitedSourceInfo___closed__1; +x_1627 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_1628 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1628, 0, x_1626); +lean_ctor_set(x_1628, 1, x_1627); +lean_ctor_set(x_1628, 2, x_1624); +lean_ctor_set(x_1628, 3, x_1625); +x_1629 = l_Array_empty___closed__1; +lean_inc(x_1628); +x_1630 = lean_array_push(x_1629, x_1628); +x_1631 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_1632 = lean_array_push(x_1630, x_1631); -x_1633 = l_Lean_nullKind___closed__2; -x_1634 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1634, 0, x_1633); -lean_ctor_set(x_1634, 1, x_1632); -x_1635 = lean_array_push(x_1614, x_1634); -x_1636 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1637 = lean_array_push(x_1636, x_1613); -x_1638 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -x_1639 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1639, 0, x_1638); -lean_ctor_set(x_1639, 1, x_1637); -x_1640 = lean_array_push(x_1614, x_1639); -x_1641 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1641, 0, x_1633); -lean_ctor_set(x_1641, 1, x_1640); -x_1642 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1643 = lean_array_push(x_1642, x_1641); -x_1644 = lean_array_push(x_1643, x_1616); -x_1645 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -x_1646 = lean_array_push(x_1644, x_1645); -x_1647 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__10; -lean_inc(x_1606); -lean_inc(x_1607); -x_1648 = l_Lean_addMacroScope(x_1607, x_1647, x_1606); -x_1649 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__9; -x_1650 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__12; -x_1651 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1651, 0, x_1611); -lean_ctor_set(x_1651, 1, x_1649); -lean_ctor_set(x_1651, 2, x_1648); -lean_ctor_set(x_1651, 3, x_1650); -x_1652 = lean_array_push(x_1614, x_1651); -x_1653 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; -lean_inc(x_1606); -lean_inc(x_1607); -x_1654 = l_Lean_addMacroScope(x_1607, x_1653, x_1606); -x_1655 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; -x_1656 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1656, 0, x_1611); -lean_ctor_set(x_1656, 1, x_1655); -lean_ctor_set(x_1656, 2, x_1654); -lean_ctor_set(x_1656, 3, x_1610); -x_1657 = lean_array_push(x_1614, x_1656); -x_1658 = l_Lean_Level_LevelToFormat_toResult___closed__3; -lean_inc(x_1606); -lean_inc(x_1607); -x_1659 = l_Lean_addMacroScope(x_1607, x_1658, x_1606); -x_1660 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; -x_1661 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1661, 0, x_1611); -lean_ctor_set(x_1661, 1, x_1660); -lean_ctor_set(x_1661, 2, x_1659); -lean_ctor_set(x_1661, 3, x_1610); -lean_inc(x_1661); -lean_inc(x_1657); -x_1662 = lean_array_push(x_1657, x_1661); -x_1663 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1663, 0, x_1633); -lean_ctor_set(x_1663, 1, x_1662); -x_1664 = lean_array_push(x_1652, x_1663); -x_1665 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_1666 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1666, 0, x_1665); -lean_ctor_set(x_1666, 1, x_1664); -x_1667 = lean_array_push(x_1614, x_1666); -x_1668 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1668, 0, x_1633); -lean_ctor_set(x_1668, 1, x_1667); -x_1669 = lean_array_push(x_1614, x_1668); -x_1670 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_1671 = lean_array_push(x_1669, x_1670); -x_1672 = lean_array_push(x_1614, x_1604); -x_1673 = lean_array_push(x_1672, x_1616); -x_1674 = lean_array_push(x_1673, x_1616); -x_1675 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_1676 = lean_array_push(x_1674, x_1675); -lean_inc(x_1661); -x_1677 = lean_array_push(x_1676, x_1661); -x_1678 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_1633 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_1634 = lean_array_push(x_1632, x_1633); +x_1635 = lean_array_push(x_1629, x_2); +x_1636 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_1637 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1637, 0, x_1636); +lean_ctor_set(x_1637, 1, x_1635); +x_1638 = lean_array_push(x_1634, x_1637); +x_1639 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_1640 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1640, 0, x_1639); +lean_ctor_set(x_1640, 1, x_1638); +x_1641 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_1642 = lean_array_push(x_1641, x_1640); +x_1643 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_1644 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1644, 0, x_1643); +lean_ctor_set(x_1644, 1, x_1642); +x_1645 = lean_array_push(x_1629, x_1644); +x_1646 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1647 = lean_array_push(x_1645, x_1646); +x_1648 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_1649 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1649, 0, x_1648); +lean_ctor_set(x_1649, 1, x_1647); +x_1650 = lean_array_push(x_1629, x_1649); +x_1651 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1652 = lean_array_push(x_1651, x_1628); +x_1653 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1654 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1654, 0, x_1653); +lean_ctor_set(x_1654, 1, x_1652); +x_1655 = lean_array_push(x_1629, x_1654); +x_1656 = l_Lean_nullKind___closed__2; +x_1657 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1657, 0, x_1656); +lean_ctor_set(x_1657, 1, x_1655); +x_1658 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1659 = lean_array_push(x_1658, x_1657); +x_1660 = lean_array_push(x_1659, x_1631); +x_1661 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_1662 = lean_array_push(x_1660, x_1661); +x_1663 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__10; +lean_inc(x_1621); +lean_inc(x_1622); +x_1664 = l_Lean_addMacroScope(x_1622, x_1663, x_1621); +x_1665 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__9; +x_1666 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__12; +x_1667 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1667, 0, x_1626); +lean_ctor_set(x_1667, 1, x_1665); +lean_ctor_set(x_1667, 2, x_1664); +lean_ctor_set(x_1667, 3, x_1666); +x_1668 = lean_array_push(x_1629, x_1667); +x_1669 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +lean_inc(x_1621); +lean_inc(x_1622); +x_1670 = l_Lean_addMacroScope(x_1622, x_1669, x_1621); +x_1671 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_1672 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1672, 0, x_1626); +lean_ctor_set(x_1672, 1, x_1671); +lean_ctor_set(x_1672, 2, x_1670); +lean_ctor_set(x_1672, 3, x_1625); +x_1673 = lean_array_push(x_1629, x_1672); +x_1674 = l_Lean_Level_LevelToFormat_toResult___closed__3; +lean_inc(x_1621); +lean_inc(x_1622); +x_1675 = l_Lean_addMacroScope(x_1622, x_1674, x_1621); +x_1676 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_1677 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1677, 0, x_1626); +lean_ctor_set(x_1677, 1, x_1676); +lean_ctor_set(x_1677, 2, x_1675); +lean_ctor_set(x_1677, 3, x_1625); +lean_inc(x_1677); +lean_inc(x_1673); +x_1678 = lean_array_push(x_1673, x_1677); x_1679 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1679, 0, x_1678); -lean_ctor_set(x_1679, 1, x_1677); -x_1680 = lean_array_push(x_1614, x_1679); -x_1681 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +lean_ctor_set(x_1679, 0, x_1656); +lean_ctor_set(x_1679, 1, x_1678); +x_1680 = lean_array_push(x_1668, x_1679); +x_1681 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_1682 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1682, 0, x_1681); lean_ctor_set(x_1682, 1, x_1680); -x_1683 = lean_array_push(x_1614, x_1682); -x_1684 = lean_array_push(x_1683, x_1631); -x_1685 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1685, 0, x_1633); -lean_ctor_set(x_1685, 1, x_1684); -x_1686 = lean_array_push(x_1614, x_1685); -x_1687 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__48; -lean_inc(x_1606); -lean_inc(x_1607); -x_1688 = l_Lean_addMacroScope(x_1607, x_1687, x_1606); -x_1689 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; -x_1690 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -x_1691 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1691, 0, x_1611); -lean_ctor_set(x_1691, 1, x_1689); -lean_ctor_set(x_1691, 2, x_1688); -lean_ctor_set(x_1691, 3, x_1690); -x_1692 = lean_array_push(x_1614, x_1691); -x_1693 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1693, 0, x_1633); -lean_ctor_set(x_1693, 1, x_1657); -x_1694 = lean_array_push(x_1692, x_1693); +x_1683 = lean_array_push(x_1629, x_1682); +x_1684 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1684, 0, x_1656); +lean_ctor_set(x_1684, 1, x_1683); +x_1685 = lean_array_push(x_1629, x_1684); +x_1686 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_1687 = lean_array_push(x_1685, x_1686); +x_1688 = lean_array_push(x_1629, x_1619); +x_1689 = lean_array_push(x_1688, x_1631); +x_1690 = lean_array_push(x_1689, x_1631); +x_1691 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1692 = lean_array_push(x_1690, x_1691); +lean_inc(x_1677); +x_1693 = lean_array_push(x_1692, x_1677); +x_1694 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; x_1695 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1695, 0, x_1665); -lean_ctor_set(x_1695, 1, x_1694); -x_1696 = lean_array_push(x_1614, x_1695); -x_1697 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1697, 0, x_1621); -lean_ctor_set(x_1697, 1, x_1696); -x_1698 = lean_array_push(x_1614, x_1697); -x_1699 = lean_array_push(x_1698, x_1616); -x_1700 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1700, 0, x_1633); -lean_ctor_set(x_1700, 1, x_1699); -lean_inc(x_1686); -x_1701 = lean_array_push(x_1686, x_1700); -x_1702 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1702, 0, x_1633); -lean_ctor_set(x_1702, 1, x_1701); -x_1703 = lean_array_push(x_1614, x_1702); -x_1704 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_1705 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1705, 0, x_1704); -lean_ctor_set(x_1705, 1, x_1703); -x_1706 = lean_array_push(x_1671, x_1705); -x_1707 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -x_1708 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1708, 0, x_1707); -lean_ctor_set(x_1708, 1, x_1706); -x_1709 = lean_array_push(x_1614, x_1708); -x_1710 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1711 = lean_array_push(x_1709, x_1710); -x_1712 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__28; -lean_inc(x_1606); -lean_inc(x_1607); -x_1713 = l_Lean_addMacroScope(x_1607, x_1712, x_1606); -x_1714 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__24; -x_1715 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__30; -x_1716 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1716, 0, x_1611); -lean_ctor_set(x_1716, 1, x_1714); -lean_ctor_set(x_1716, 2, x_1713); -lean_ctor_set(x_1716, 3, x_1715); -x_1717 = lean_array_push(x_1614, x_1716); -x_1718 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__51; -x_1719 = l_Lean_addMacroScope(x_1607, x_1718, x_1606); -x_1720 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50; -x_1721 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1721, 0, x_1611); -lean_ctor_set(x_1721, 1, x_1720); -lean_ctor_set(x_1721, 2, x_1719); -lean_ctor_set(x_1721, 3, x_1610); -x_1722 = lean_array_push(x_1614, x_1721); -lean_inc(x_1722); -x_1723 = lean_array_push(x_1722, x_1661); +lean_ctor_set(x_1695, 0, x_1694); +lean_ctor_set(x_1695, 1, x_1693); +x_1696 = lean_array_push(x_1629, x_1695); +x_1697 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_1698 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1698, 0, x_1697); +lean_ctor_set(x_1698, 1, x_1696); +x_1699 = lean_array_push(x_1629, x_1698); +x_1700 = lean_array_push(x_1699, x_1646); +x_1701 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1701, 0, x_1648); +lean_ctor_set(x_1701, 1, x_1700); +x_1702 = lean_array_push(x_1629, x_1701); +x_1703 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50; +lean_inc(x_1621); +lean_inc(x_1622); +x_1704 = l_Lean_addMacroScope(x_1622, x_1703, x_1621); +x_1705 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__49; +x_1706 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_1707 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1707, 0, x_1626); +lean_ctor_set(x_1707, 1, x_1705); +lean_ctor_set(x_1707, 2, x_1704); +lean_ctor_set(x_1707, 3, x_1706); +x_1708 = lean_array_push(x_1629, x_1707); +x_1709 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1709, 0, x_1656); +lean_ctor_set(x_1709, 1, x_1673); +x_1710 = lean_array_push(x_1708, x_1709); +x_1711 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1711, 0, x_1681); +lean_ctor_set(x_1711, 1, x_1710); +x_1712 = lean_array_push(x_1629, x_1711); +x_1713 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1713, 0, x_1636); +lean_ctor_set(x_1713, 1, x_1712); +x_1714 = lean_array_push(x_1629, x_1713); +x_1715 = lean_array_push(x_1714, x_1631); +x_1716 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1716, 0, x_1648); +lean_ctor_set(x_1716, 1, x_1715); +lean_inc(x_1702); +x_1717 = lean_array_push(x_1702, x_1716); +x_1718 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1718, 0, x_1656); +lean_ctor_set(x_1718, 1, x_1717); +x_1719 = lean_array_push(x_1629, x_1718); +x_1720 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_1721 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1721, 0, x_1720); +lean_ctor_set(x_1721, 1, x_1719); +x_1722 = lean_array_push(x_1687, x_1721); +x_1723 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; x_1724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1724, 0, x_1633); -lean_ctor_set(x_1724, 1, x_1723); -x_1725 = lean_array_push(x_1717, x_1724); -x_1726 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1726, 0, x_1665); -lean_ctor_set(x_1726, 1, x_1725); -x_1727 = lean_array_push(x_1614, x_1726); -x_1728 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1728, 0, x_1633); -lean_ctor_set(x_1728, 1, x_1727); -x_1729 = lean_array_push(x_1614, x_1728); -x_1730 = lean_array_push(x_1729, x_1670); -x_1731 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1731, 0, x_1633); -lean_ctor_set(x_1731, 1, x_1722); -x_1732 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; -x_1733 = lean_array_push(x_1732, x_1731); -x_1734 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; -x_1735 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1735, 0, x_1734); -lean_ctor_set(x_1735, 1, x_1733); -x_1736 = lean_array_push(x_1614, x_1735); -x_1737 = lean_array_push(x_1736, x_1616); -x_1738 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1738, 0, x_1633); -lean_ctor_set(x_1738, 1, x_1737); -x_1739 = lean_array_push(x_1686, x_1738); +lean_ctor_set(x_1724, 0, x_1723); +lean_ctor_set(x_1724, 1, x_1722); +x_1725 = lean_array_push(x_1629, x_1724); +x_1726 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1727 = lean_array_push(x_1725, x_1726); +x_1728 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__28; +lean_inc(x_1621); +lean_inc(x_1622); +x_1729 = l_Lean_addMacroScope(x_1622, x_1728, x_1621); +x_1730 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__24; +x_1731 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__30; +x_1732 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1732, 0, x_1626); +lean_ctor_set(x_1732, 1, x_1730); +lean_ctor_set(x_1732, 2, x_1729); +lean_ctor_set(x_1732, 3, x_1731); +x_1733 = lean_array_push(x_1629, x_1732); +x_1734 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__53; +x_1735 = l_Lean_addMacroScope(x_1622, x_1734, x_1621); +x_1736 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__52; +x_1737 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1737, 0, x_1626); +lean_ctor_set(x_1737, 1, x_1736); +lean_ctor_set(x_1737, 2, x_1735); +lean_ctor_set(x_1737, 3, x_1625); +x_1738 = lean_array_push(x_1629, x_1737); +lean_inc(x_1738); +x_1739 = lean_array_push(x_1738, x_1677); x_1740 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1740, 0, x_1633); +lean_ctor_set(x_1740, 0, x_1656); lean_ctor_set(x_1740, 1, x_1739); -x_1741 = lean_array_push(x_1614, x_1740); +x_1741 = lean_array_push(x_1733, x_1740); x_1742 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1742, 0, x_1704); +lean_ctor_set(x_1742, 0, x_1681); lean_ctor_set(x_1742, 1, x_1741); -x_1743 = lean_array_push(x_1730, x_1742); +x_1743 = lean_array_push(x_1629, x_1742); x_1744 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1744, 0, x_1707); +lean_ctor_set(x_1744, 0, x_1656); lean_ctor_set(x_1744, 1, x_1743); -x_1745 = lean_array_push(x_1711, x_1744); -x_1746 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1746, 0, x_1633); -lean_ctor_set(x_1746, 1, x_1745); -x_1747 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1748 = lean_array_push(x_1747, x_1746); -x_1749 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; -x_1750 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1750, 0, x_1749); -lean_ctor_set(x_1750, 1, x_1748); -x_1751 = lean_array_push(x_1646, x_1750); -x_1752 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_1753 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1753, 0, x_1752); -lean_ctor_set(x_1753, 1, x_1751); -x_1754 = lean_array_push(x_1614, x_1753); -x_1755 = lean_array_push(x_1754, x_1616); +x_1745 = lean_array_push(x_1629, x_1744); +x_1746 = lean_array_push(x_1745, x_1686); +x_1747 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1747, 0, x_1656); +lean_ctor_set(x_1747, 1, x_1738); +x_1748 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; +x_1749 = lean_array_push(x_1748, x_1747); +x_1750 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; +x_1751 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1751, 0, x_1750); +lean_ctor_set(x_1751, 1, x_1749); +x_1752 = lean_array_push(x_1629, x_1751); +x_1753 = lean_array_push(x_1752, x_1631); +x_1754 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1754, 0, x_1648); +lean_ctor_set(x_1754, 1, x_1753); +x_1755 = lean_array_push(x_1702, x_1754); x_1756 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1756, 0, x_1633); +lean_ctor_set(x_1756, 0, x_1656); lean_ctor_set(x_1756, 1, x_1755); -x_1757 = lean_array_push(x_1635, x_1756); +x_1757 = lean_array_push(x_1629, x_1756); x_1758 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1758, 0, x_1633); +lean_ctor_set(x_1758, 0, x_1720); lean_ctor_set(x_1758, 1, x_1757); -x_1759 = lean_array_push(x_1614, x_1758); +x_1759 = lean_array_push(x_1746, x_1758); x_1760 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1760, 0, x_1704); +lean_ctor_set(x_1760, 0, x_1723); lean_ctor_set(x_1760, 1, x_1759); -x_1761 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_1762 = lean_array_push(x_1761, x_1760); -x_1763 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1764 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1764, 0, x_1763); -lean_ctor_set(x_1764, 1, x_1762); -x_1765 = lean_unsigned_to_nat(1u); -x_1766 = l_Lean_Syntax_getArg(x_1764, x_1765); -lean_dec(x_1764); -x_1767 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1766); -x_1768 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1768, 0, x_1767); -lean_ctor_set(x_1768, 1, x_1605); -return x_1768; +x_1761 = lean_array_push(x_1727, x_1760); +x_1762 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1762, 0, x_1656); +lean_ctor_set(x_1762, 1, x_1761); +x_1763 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1764 = lean_array_push(x_1763, x_1762); +x_1765 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +x_1766 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1766, 0, x_1765); +lean_ctor_set(x_1766, 1, x_1764); +x_1767 = lean_array_push(x_1662, x_1766); +x_1768 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_1769 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1769, 0, x_1768); +lean_ctor_set(x_1769, 1, x_1767); +x_1770 = lean_array_push(x_1629, x_1769); +x_1771 = lean_array_push(x_1770, x_1631); +x_1772 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1772, 0, x_1648); +lean_ctor_set(x_1772, 1, x_1771); +x_1773 = lean_array_push(x_1650, x_1772); +x_1774 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1774, 0, x_1656); +lean_ctor_set(x_1774, 1, x_1773); +x_1775 = lean_array_push(x_1629, x_1774); +x_1776 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1776, 0, x_1720); +lean_ctor_set(x_1776, 1, x_1775); +x_1777 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_1778 = lean_array_push(x_1777, x_1776); +x_1779 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_1780 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1780, 0, x_1779); +lean_ctor_set(x_1780, 1, x_1778); +x_1781 = lean_unsigned_to_nat(1u); +x_1782 = l_Lean_Syntax_getArg(x_1780, x_1781); +lean_dec(x_1780); +x_1783 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1782); +x_1784 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1784, 0, x_1783); +lean_ctor_set(x_1784, 1, x_1620); +return x_1784; } } else { -uint8_t x_1769; -x_1769 = !lean_is_exclusive(x_15); -if (x_1769 == 0) +uint8_t x_1785; +x_1785 = !lean_is_exclusive(x_15); +if (x_1785 == 0) { -lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; -x_1770 = lean_ctor_get(x_15, 0); -x_1771 = lean_ctor_get(x_7, 2); -lean_inc(x_1771); -x_1772 = lean_ctor_get(x_7, 1); -lean_inc(x_1772); +lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; +x_1786 = lean_ctor_get(x_15, 0); +x_1787 = lean_ctor_get(x_7, 2); +lean_inc(x_1787); +x_1788 = lean_ctor_get(x_7, 1); +lean_inc(x_1788); lean_dec(x_7); -x_1773 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_1771); -lean_inc(x_1772); -x_1774 = l_Lean_addMacroScope(x_1772, x_1773, x_1771); -x_1775 = lean_box(0); -x_1776 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1777 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_1778 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1778, 0, x_1776); -lean_ctor_set(x_1778, 1, x_1777); -lean_ctor_set(x_1778, 2, x_1774); -lean_ctor_set(x_1778, 3, x_1775); -x_1779 = l_Array_empty___closed__1; -lean_inc(x_1778); -x_1780 = lean_array_push(x_1779, x_1778); -x_1781 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_1782 = lean_array_push(x_1780, x_1781); -x_1783 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_1784 = lean_array_push(x_1782, x_1783); -x_1785 = lean_array_push(x_1779, x_2); -x_1786 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_1787 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1787, 0, x_1786); -lean_ctor_set(x_1787, 1, x_1785); -x_1788 = lean_array_push(x_1784, x_1787); -x_1789 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_1790 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1790, 0, x_1789); -lean_ctor_set(x_1790, 1, x_1788); -x_1791 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_1792 = lean_array_push(x_1791, x_1790); -x_1793 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_1794 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1794, 0, x_1793); -lean_ctor_set(x_1794, 1, x_1792); -x_1795 = lean_array_push(x_1779, x_1794); -x_1796 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_1797 = lean_array_push(x_1795, x_1796); -x_1798 = l_Lean_nullKind___closed__2; -x_1799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1799, 0, x_1798); -lean_ctor_set(x_1799, 1, x_1797); -x_1800 = lean_array_push(x_1779, x_1799); -x_1801 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1802 = lean_array_push(x_1801, x_1778); -x_1803 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -x_1804 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1804, 0, x_1803); -lean_ctor_set(x_1804, 1, x_1802); -x_1805 = lean_array_push(x_1779, x_1804); +x_1789 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_1787); +lean_inc(x_1788); +x_1790 = l_Lean_addMacroScope(x_1788, x_1789, x_1787); +x_1791 = lean_box(0); +x_1792 = l_Lean_instInhabitedSourceInfo___closed__1; +x_1793 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_1794 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1794, 0, x_1792); +lean_ctor_set(x_1794, 1, x_1793); +lean_ctor_set(x_1794, 2, x_1790); +lean_ctor_set(x_1794, 3, x_1791); +x_1795 = l_Array_empty___closed__1; +lean_inc(x_1794); +x_1796 = lean_array_push(x_1795, x_1794); +x_1797 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_1798 = lean_array_push(x_1796, x_1797); +x_1799 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_1800 = lean_array_push(x_1798, x_1799); +x_1801 = lean_array_push(x_1795, x_2); +x_1802 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_1803 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1803, 0, x_1802); +lean_ctor_set(x_1803, 1, x_1801); +x_1804 = lean_array_push(x_1800, x_1803); +x_1805 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; x_1806 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1806, 0, x_1798); -lean_ctor_set(x_1806, 1, x_1805); -x_1807 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +lean_ctor_set(x_1806, 0, x_1805); +lean_ctor_set(x_1806, 1, x_1804); +x_1807 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; x_1808 = lean_array_push(x_1807, x_1806); -x_1809 = lean_array_push(x_1808, x_1781); -x_1810 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -x_1811 = lean_array_push(x_1809, x_1810); -x_1812 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__16; -lean_inc(x_1771); -lean_inc(x_1772); -x_1813 = l_Lean_addMacroScope(x_1772, x_1812, x_1771); -x_1814 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__15; -x_1815 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__18; -x_1816 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1816, 0, x_1776); -lean_ctor_set(x_1816, 1, x_1814); -lean_ctor_set(x_1816, 2, x_1813); -lean_ctor_set(x_1816, 3, x_1815); -x_1817 = lean_array_push(x_1779, x_1816); -x_1818 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; -lean_inc(x_1771); -lean_inc(x_1772); -x_1819 = l_Lean_addMacroScope(x_1772, x_1818, x_1771); -x_1820 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; -x_1821 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1821, 0, x_1776); -lean_ctor_set(x_1821, 1, x_1820); -lean_ctor_set(x_1821, 2, x_1819); -lean_ctor_set(x_1821, 3, x_1775); -x_1822 = lean_array_push(x_1779, x_1821); -x_1823 = l_Lean_Level_LevelToFormat_toResult___closed__3; -lean_inc(x_1771); -lean_inc(x_1772); -x_1824 = l_Lean_addMacroScope(x_1772, x_1823, x_1771); -x_1825 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; -x_1826 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1826, 0, x_1776); -lean_ctor_set(x_1826, 1, x_1825); -lean_ctor_set(x_1826, 2, x_1824); -lean_ctor_set(x_1826, 3, x_1775); -lean_inc(x_1826); -lean_inc(x_1822); -x_1827 = lean_array_push(x_1822, x_1826); -x_1828 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1828, 0, x_1798); -lean_ctor_set(x_1828, 1, x_1827); -lean_inc(x_1828); -x_1829 = lean_array_push(x_1817, x_1828); -x_1830 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_1831 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1831, 0, x_1830); -lean_ctor_set(x_1831, 1, x_1829); -x_1832 = lean_array_push(x_1779, x_1831); -x_1833 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1833, 0, x_1798); -lean_ctor_set(x_1833, 1, x_1832); -x_1834 = lean_array_push(x_1779, x_1833); -x_1835 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_1836 = lean_array_push(x_1834, x_1835); -x_1837 = lean_array_push(x_1779, x_1770); -x_1838 = lean_array_push(x_1837, x_1781); -x_1839 = lean_array_push(x_1838, x_1781); -x_1840 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_1841 = lean_array_push(x_1839, x_1840); -lean_inc(x_1826); -x_1842 = lean_array_push(x_1841, x_1826); -x_1843 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_1844 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1844, 0, x_1843); -lean_ctor_set(x_1844, 1, x_1842); -x_1845 = lean_array_push(x_1779, x_1844); -x_1846 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_1847 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1847, 0, x_1846); -lean_ctor_set(x_1847, 1, x_1845); -x_1848 = lean_array_push(x_1779, x_1847); -x_1849 = lean_array_push(x_1848, x_1796); +x_1809 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_1810 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1810, 0, x_1809); +lean_ctor_set(x_1810, 1, x_1808); +x_1811 = lean_array_push(x_1795, x_1810); +x_1812 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1813 = lean_array_push(x_1811, x_1812); +x_1814 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_1815 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1815, 0, x_1814); +lean_ctor_set(x_1815, 1, x_1813); +x_1816 = lean_array_push(x_1795, x_1815); +x_1817 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1818 = lean_array_push(x_1817, x_1794); +x_1819 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1820 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1820, 0, x_1819); +lean_ctor_set(x_1820, 1, x_1818); +x_1821 = lean_array_push(x_1795, x_1820); +x_1822 = l_Lean_nullKind___closed__2; +x_1823 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1823, 0, x_1822); +lean_ctor_set(x_1823, 1, x_1821); +x_1824 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1825 = lean_array_push(x_1824, x_1823); +x_1826 = lean_array_push(x_1825, x_1797); +x_1827 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_1828 = lean_array_push(x_1826, x_1827); +x_1829 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__16; +lean_inc(x_1787); +lean_inc(x_1788); +x_1830 = l_Lean_addMacroScope(x_1788, x_1829, x_1787); +x_1831 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__15; +x_1832 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__18; +x_1833 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1833, 0, x_1792); +lean_ctor_set(x_1833, 1, x_1831); +lean_ctor_set(x_1833, 2, x_1830); +lean_ctor_set(x_1833, 3, x_1832); +x_1834 = lean_array_push(x_1795, x_1833); +x_1835 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +lean_inc(x_1787); +lean_inc(x_1788); +x_1836 = l_Lean_addMacroScope(x_1788, x_1835, x_1787); +x_1837 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_1838 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1838, 0, x_1792); +lean_ctor_set(x_1838, 1, x_1837); +lean_ctor_set(x_1838, 2, x_1836); +lean_ctor_set(x_1838, 3, x_1791); +x_1839 = lean_array_push(x_1795, x_1838); +x_1840 = l_Lean_Level_LevelToFormat_toResult___closed__3; +lean_inc(x_1787); +lean_inc(x_1788); +x_1841 = l_Lean_addMacroScope(x_1788, x_1840, x_1787); +x_1842 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_1843 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1843, 0, x_1792); +lean_ctor_set(x_1843, 1, x_1842); +lean_ctor_set(x_1843, 2, x_1841); +lean_ctor_set(x_1843, 3, x_1791); +lean_inc(x_1843); +lean_inc(x_1839); +x_1844 = lean_array_push(x_1839, x_1843); +x_1845 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1845, 0, x_1822); +lean_ctor_set(x_1845, 1, x_1844); +lean_inc(x_1845); +x_1846 = lean_array_push(x_1834, x_1845); +x_1847 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_1848 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1848, 0, x_1847); +lean_ctor_set(x_1848, 1, x_1846); +x_1849 = lean_array_push(x_1795, x_1848); x_1850 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1850, 0, x_1798); +lean_ctor_set(x_1850, 0, x_1822); lean_ctor_set(x_1850, 1, x_1849); -x_1851 = lean_array_push(x_1779, x_1850); -x_1852 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__48; -lean_inc(x_1771); -lean_inc(x_1772); -x_1853 = l_Lean_addMacroScope(x_1772, x_1852, x_1771); -x_1854 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; -x_1855 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -x_1856 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1856, 0, x_1776); -lean_ctor_set(x_1856, 1, x_1854); -lean_ctor_set(x_1856, 2, x_1853); -lean_ctor_set(x_1856, 3, x_1855); -x_1857 = lean_array_push(x_1779, x_1856); -x_1858 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1858, 0, x_1798); -lean_ctor_set(x_1858, 1, x_1822); -lean_inc(x_1858); -x_1859 = lean_array_push(x_1857, x_1858); -x_1860 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1860, 0, x_1830); -lean_ctor_set(x_1860, 1, x_1859); -x_1861 = lean_array_push(x_1779, x_1860); -x_1862 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1862, 0, x_1786); -lean_ctor_set(x_1862, 1, x_1861); -x_1863 = lean_array_push(x_1779, x_1862); -x_1864 = lean_array_push(x_1863, x_1781); -x_1865 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1865, 0, x_1798); -lean_ctor_set(x_1865, 1, x_1864); -lean_inc(x_1851); -x_1866 = lean_array_push(x_1851, x_1865); +x_1851 = lean_array_push(x_1795, x_1850); +x_1852 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_1853 = lean_array_push(x_1851, x_1852); +x_1854 = lean_array_push(x_1795, x_1786); +x_1855 = lean_array_push(x_1854, x_1797); +x_1856 = lean_array_push(x_1855, x_1797); +x_1857 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1858 = lean_array_push(x_1856, x_1857); +lean_inc(x_1843); +x_1859 = lean_array_push(x_1858, x_1843); +x_1860 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_1861 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1861, 0, x_1860); +lean_ctor_set(x_1861, 1, x_1859); +x_1862 = lean_array_push(x_1795, x_1861); +x_1863 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_1864 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1864, 0, x_1863); +lean_ctor_set(x_1864, 1, x_1862); +x_1865 = lean_array_push(x_1795, x_1864); +x_1866 = lean_array_push(x_1865, x_1812); x_1867 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1867, 0, x_1798); +lean_ctor_set(x_1867, 0, x_1814); lean_ctor_set(x_1867, 1, x_1866); -x_1868 = lean_array_push(x_1779, x_1867); -x_1869 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_1870 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1870, 0, x_1869); -lean_ctor_set(x_1870, 1, x_1868); -x_1871 = lean_array_push(x_1836, x_1870); -x_1872 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -x_1873 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1873, 0, x_1872); +x_1868 = lean_array_push(x_1795, x_1867); +x_1869 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50; +lean_inc(x_1787); +lean_inc(x_1788); +x_1870 = l_Lean_addMacroScope(x_1788, x_1869, x_1787); +x_1871 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__49; +x_1872 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_1873 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1873, 0, x_1792); lean_ctor_set(x_1873, 1, x_1871); -x_1874 = lean_array_push(x_1779, x_1873); -x_1875 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_ctor_set(x_1873, 2, x_1870); +lean_ctor_set(x_1873, 3, x_1872); +x_1874 = lean_array_push(x_1795, x_1873); +x_1875 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1875, 0, x_1822); +lean_ctor_set(x_1875, 1, x_1839); +lean_inc(x_1875); x_1876 = lean_array_push(x_1874, x_1875); -x_1877 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__45; -lean_inc(x_1771); -lean_inc(x_1772); -x_1878 = l_Lean_addMacroScope(x_1772, x_1877, x_1771); -x_1879 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__42; -x_1880 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__47; -x_1881 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1881, 0, x_1776); -lean_ctor_set(x_1881, 1, x_1879); -lean_ctor_set(x_1881, 2, x_1878); -lean_ctor_set(x_1881, 3, x_1880); -x_1882 = lean_array_push(x_1779, x_1881); -x_1883 = lean_array_push(x_1882, x_1828); +x_1877 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1877, 0, x_1847); +lean_ctor_set(x_1877, 1, x_1876); +x_1878 = lean_array_push(x_1795, x_1877); +x_1879 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1879, 0, x_1802); +lean_ctor_set(x_1879, 1, x_1878); +x_1880 = lean_array_push(x_1795, x_1879); +x_1881 = lean_array_push(x_1880, x_1797); +x_1882 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1882, 0, x_1814); +lean_ctor_set(x_1882, 1, x_1881); +lean_inc(x_1868); +x_1883 = lean_array_push(x_1868, x_1882); x_1884 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1884, 0, x_1830); +lean_ctor_set(x_1884, 0, x_1822); lean_ctor_set(x_1884, 1, x_1883); -x_1885 = lean_array_push(x_1779, x_1884); -x_1886 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1886, 0, x_1798); -lean_ctor_set(x_1886, 1, x_1885); -x_1887 = lean_array_push(x_1779, x_1886); -x_1888 = lean_array_push(x_1887, x_1835); -x_1889 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; -x_1890 = lean_array_push(x_1889, x_1858); -x_1891 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; -x_1892 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1892, 0, x_1891); -lean_ctor_set(x_1892, 1, x_1890); -x_1893 = lean_array_push(x_1779, x_1892); -x_1894 = lean_array_push(x_1893, x_1781); -x_1895 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1895, 0, x_1798); -lean_ctor_set(x_1895, 1, x_1894); -lean_inc(x_1851); -x_1896 = lean_array_push(x_1851, x_1895); -x_1897 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1897, 0, x_1798); -lean_ctor_set(x_1897, 1, x_1896); -x_1898 = lean_array_push(x_1779, x_1897); -x_1899 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1899, 0, x_1869); -lean_ctor_set(x_1899, 1, x_1898); -x_1900 = lean_array_push(x_1888, x_1899); +x_1885 = lean_array_push(x_1795, x_1884); +x_1886 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_1887 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1887, 0, x_1886); +lean_ctor_set(x_1887, 1, x_1885); +x_1888 = lean_array_push(x_1853, x_1887); +x_1889 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; +x_1890 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1890, 0, x_1889); +lean_ctor_set(x_1890, 1, x_1888); +x_1891 = lean_array_push(x_1795, x_1890); +x_1892 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1893 = lean_array_push(x_1891, x_1892); +x_1894 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__45; +lean_inc(x_1787); +lean_inc(x_1788); +x_1895 = l_Lean_addMacroScope(x_1788, x_1894, x_1787); +x_1896 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__42; +x_1897 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__47; +x_1898 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1898, 0, x_1792); +lean_ctor_set(x_1898, 1, x_1896); +lean_ctor_set(x_1898, 2, x_1895); +lean_ctor_set(x_1898, 3, x_1897); +x_1899 = lean_array_push(x_1795, x_1898); +x_1900 = lean_array_push(x_1899, x_1845); x_1901 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1901, 0, x_1872); +lean_ctor_set(x_1901, 0, x_1847); lean_ctor_set(x_1901, 1, x_1900); -x_1902 = lean_array_push(x_1876, x_1901); -x_1903 = lean_array_push(x_1902, x_1875); -x_1904 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__20; -lean_inc(x_1771); -lean_inc(x_1772); -x_1905 = l_Lean_addMacroScope(x_1772, x_1904, x_1771); -x_1906 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__19; -x_1907 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__22; -x_1908 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1908, 0, x_1776); -lean_ctor_set(x_1908, 1, x_1906); -lean_ctor_set(x_1908, 2, x_1905); -lean_ctor_set(x_1908, 3, x_1907); -x_1909 = lean_array_push(x_1779, x_1908); -x_1910 = lean_array_push(x_1779, x_1826); -x_1911 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1911, 0, x_1798); -lean_ctor_set(x_1911, 1, x_1910); -lean_inc(x_1911); -x_1912 = lean_array_push(x_1909, x_1911); -x_1913 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1913, 0, x_1830); -lean_ctor_set(x_1913, 1, x_1912); -x_1914 = lean_array_push(x_1779, x_1913); -x_1915 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1915, 0, x_1798); -lean_ctor_set(x_1915, 1, x_1914); -x_1916 = lean_array_push(x_1779, x_1915); -x_1917 = lean_array_push(x_1916, x_1835); -x_1918 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_1851); -x_1919 = lean_array_push(x_1851, x_1918); -x_1920 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1920, 0, x_1798); -lean_ctor_set(x_1920, 1, x_1919); -x_1921 = lean_array_push(x_1779, x_1920); -x_1922 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1922, 0, x_1869); -lean_ctor_set(x_1922, 1, x_1921); -x_1923 = lean_array_push(x_1917, x_1922); -x_1924 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1924, 0, x_1872); -lean_ctor_set(x_1924, 1, x_1923); -x_1925 = lean_array_push(x_1903, x_1924); -x_1926 = lean_array_push(x_1925, x_1875); -x_1927 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__29; -x_1928 = l_Lean_addMacroScope(x_1772, x_1927, x_1771); -x_1929 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__28; -x_1930 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__31; -x_1931 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1931, 0, x_1776); -lean_ctor_set(x_1931, 1, x_1929); -lean_ctor_set(x_1931, 2, x_1928); -lean_ctor_set(x_1931, 3, x_1930); -x_1932 = lean_array_push(x_1779, x_1931); -x_1933 = lean_array_push(x_1932, x_1911); -x_1934 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1934, 0, x_1830); -lean_ctor_set(x_1934, 1, x_1933); -x_1935 = lean_array_push(x_1779, x_1934); -x_1936 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1936, 0, x_1798); -lean_ctor_set(x_1936, 1, x_1935); -x_1937 = lean_array_push(x_1779, x_1936); -x_1938 = lean_array_push(x_1937, x_1835); -x_1939 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__33; -x_1940 = lean_array_push(x_1851, x_1939); +x_1902 = lean_array_push(x_1795, x_1901); +x_1903 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1903, 0, x_1822); +lean_ctor_set(x_1903, 1, x_1902); +x_1904 = lean_array_push(x_1795, x_1903); +x_1905 = lean_array_push(x_1904, x_1852); +x_1906 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; +x_1907 = lean_array_push(x_1906, x_1875); +x_1908 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; +x_1909 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1909, 0, x_1908); +lean_ctor_set(x_1909, 1, x_1907); +x_1910 = lean_array_push(x_1795, x_1909); +x_1911 = lean_array_push(x_1910, x_1797); +x_1912 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1912, 0, x_1814); +lean_ctor_set(x_1912, 1, x_1911); +lean_inc(x_1868); +x_1913 = lean_array_push(x_1868, x_1912); +x_1914 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1914, 0, x_1822); +lean_ctor_set(x_1914, 1, x_1913); +x_1915 = lean_array_push(x_1795, x_1914); +x_1916 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1916, 0, x_1886); +lean_ctor_set(x_1916, 1, x_1915); +x_1917 = lean_array_push(x_1905, x_1916); +x_1918 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1918, 0, x_1889); +lean_ctor_set(x_1918, 1, x_1917); +x_1919 = lean_array_push(x_1893, x_1918); +x_1920 = lean_array_push(x_1919, x_1892); +x_1921 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__20; +lean_inc(x_1787); +lean_inc(x_1788); +x_1922 = l_Lean_addMacroScope(x_1788, x_1921, x_1787); +x_1923 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__19; +x_1924 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__22; +x_1925 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1925, 0, x_1792); +lean_ctor_set(x_1925, 1, x_1923); +lean_ctor_set(x_1925, 2, x_1922); +lean_ctor_set(x_1925, 3, x_1924); +x_1926 = lean_array_push(x_1795, x_1925); +x_1927 = lean_array_push(x_1795, x_1843); +x_1928 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1928, 0, x_1822); +lean_ctor_set(x_1928, 1, x_1927); +lean_inc(x_1928); +x_1929 = lean_array_push(x_1926, x_1928); +x_1930 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1930, 0, x_1847); +lean_ctor_set(x_1930, 1, x_1929); +x_1931 = lean_array_push(x_1795, x_1930); +x_1932 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1932, 0, x_1822); +lean_ctor_set(x_1932, 1, x_1931); +x_1933 = lean_array_push(x_1795, x_1932); +x_1934 = lean_array_push(x_1933, x_1852); +x_1935 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; +lean_inc(x_1868); +x_1936 = lean_array_push(x_1868, x_1935); +x_1937 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1937, 0, x_1822); +lean_ctor_set(x_1937, 1, x_1936); +x_1938 = lean_array_push(x_1795, x_1937); +x_1939 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1939, 0, x_1886); +lean_ctor_set(x_1939, 1, x_1938); +x_1940 = lean_array_push(x_1934, x_1939); x_1941 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1941, 0, x_1798); +lean_ctor_set(x_1941, 0, x_1889); lean_ctor_set(x_1941, 1, x_1940); -x_1942 = lean_array_push(x_1779, x_1941); -x_1943 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1943, 0, x_1869); -lean_ctor_set(x_1943, 1, x_1942); -x_1944 = lean_array_push(x_1938, x_1943); -x_1945 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1945, 0, x_1872); -lean_ctor_set(x_1945, 1, x_1944); -x_1946 = lean_array_push(x_1926, x_1945); -x_1947 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1947, 0, x_1798); -lean_ctor_set(x_1947, 1, x_1946); -x_1948 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1949 = lean_array_push(x_1948, x_1947); -x_1950 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_1942 = lean_array_push(x_1920, x_1941); +x_1943 = lean_array_push(x_1942, x_1892); +x_1944 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__29; +x_1945 = l_Lean_addMacroScope(x_1788, x_1944, x_1787); +x_1946 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__28; +x_1947 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__31; +x_1948 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1948, 0, x_1792); +lean_ctor_set(x_1948, 1, x_1946); +lean_ctor_set(x_1948, 2, x_1945); +lean_ctor_set(x_1948, 3, x_1947); +x_1949 = lean_array_push(x_1795, x_1948); +x_1950 = lean_array_push(x_1949, x_1928); x_1951 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1951, 0, x_1950); -lean_ctor_set(x_1951, 1, x_1949); -x_1952 = lean_array_push(x_1811, x_1951); -x_1953 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_1954 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1954, 0, x_1953); -lean_ctor_set(x_1954, 1, x_1952); -x_1955 = lean_array_push(x_1779, x_1954); -x_1956 = lean_array_push(x_1955, x_1781); -x_1957 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1957, 0, x_1798); -lean_ctor_set(x_1957, 1, x_1956); -x_1958 = lean_array_push(x_1800, x_1957); -x_1959 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1959, 0, x_1798); -lean_ctor_set(x_1959, 1, x_1958); -x_1960 = lean_array_push(x_1779, x_1959); -x_1961 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1961, 0, x_1869); -lean_ctor_set(x_1961, 1, x_1960); -x_1962 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_1963 = lean_array_push(x_1962, x_1961); -x_1964 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1965 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1965, 0, x_1964); -lean_ctor_set(x_1965, 1, x_1963); -x_1966 = lean_unsigned_to_nat(1u); -x_1967 = l_Lean_Syntax_getArg(x_1965, x_1966); -lean_dec(x_1965); -x_1968 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1967); -lean_ctor_set(x_15, 0, x_1968); +lean_ctor_set(x_1951, 0, x_1847); +lean_ctor_set(x_1951, 1, x_1950); +x_1952 = lean_array_push(x_1795, x_1951); +x_1953 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1953, 0, x_1822); +lean_ctor_set(x_1953, 1, x_1952); +x_1954 = lean_array_push(x_1795, x_1953); +x_1955 = lean_array_push(x_1954, x_1852); +x_1956 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__35; +x_1957 = lean_array_push(x_1868, x_1956); +x_1958 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1958, 0, x_1822); +lean_ctor_set(x_1958, 1, x_1957); +x_1959 = lean_array_push(x_1795, x_1958); +x_1960 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1960, 0, x_1886); +lean_ctor_set(x_1960, 1, x_1959); +x_1961 = lean_array_push(x_1955, x_1960); +x_1962 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1962, 0, x_1889); +lean_ctor_set(x_1962, 1, x_1961); +x_1963 = lean_array_push(x_1943, x_1962); +x_1964 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1964, 0, x_1822); +lean_ctor_set(x_1964, 1, x_1963); +x_1965 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1966 = lean_array_push(x_1965, x_1964); +x_1967 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +x_1968 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1968, 0, x_1967); +lean_ctor_set(x_1968, 1, x_1966); +x_1969 = lean_array_push(x_1828, x_1968); +x_1970 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_1971 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1971, 0, x_1970); +lean_ctor_set(x_1971, 1, x_1969); +x_1972 = lean_array_push(x_1795, x_1971); +x_1973 = lean_array_push(x_1972, x_1797); +x_1974 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1974, 0, x_1814); +lean_ctor_set(x_1974, 1, x_1973); +x_1975 = lean_array_push(x_1816, x_1974); +x_1976 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1976, 0, x_1822); +lean_ctor_set(x_1976, 1, x_1975); +x_1977 = lean_array_push(x_1795, x_1976); +x_1978 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1978, 0, x_1886); +lean_ctor_set(x_1978, 1, x_1977); +x_1979 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_1980 = lean_array_push(x_1979, x_1978); +x_1981 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_1982 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1982, 0, x_1981); +lean_ctor_set(x_1982, 1, x_1980); +x_1983 = lean_unsigned_to_nat(1u); +x_1984 = l_Lean_Syntax_getArg(x_1982, x_1983); +lean_dec(x_1982); +x_1985 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1984); +lean_ctor_set(x_15, 0, x_1985); return x_15; } else { -lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; -x_1969 = lean_ctor_get(x_15, 0); -x_1970 = lean_ctor_get(x_15, 1); -lean_inc(x_1970); -lean_inc(x_1969); +lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; +x_1986 = lean_ctor_get(x_15, 0); +x_1987 = lean_ctor_get(x_15, 1); +lean_inc(x_1987); +lean_inc(x_1986); lean_dec(x_15); -x_1971 = lean_ctor_get(x_7, 2); -lean_inc(x_1971); -x_1972 = lean_ctor_get(x_7, 1); -lean_inc(x_1972); +x_1988 = lean_ctor_get(x_7, 2); +lean_inc(x_1988); +x_1989 = lean_ctor_get(x_7, 1); +lean_inc(x_1989); lean_dec(x_7); -x_1973 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_1971); -lean_inc(x_1972); -x_1974 = l_Lean_addMacroScope(x_1972, x_1973, x_1971); -x_1975 = lean_box(0); -x_1976 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1977 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_1978 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1978, 0, x_1976); -lean_ctor_set(x_1978, 1, x_1977); -lean_ctor_set(x_1978, 2, x_1974); -lean_ctor_set(x_1978, 3, x_1975); -x_1979 = l_Array_empty___closed__1; -lean_inc(x_1978); -x_1980 = lean_array_push(x_1979, x_1978); -x_1981 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_1982 = lean_array_push(x_1980, x_1981); -x_1983 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_1984 = lean_array_push(x_1982, x_1983); -x_1985 = lean_array_push(x_1979, x_2); -x_1986 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_1987 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1987, 0, x_1986); -lean_ctor_set(x_1987, 1, x_1985); -x_1988 = lean_array_push(x_1984, x_1987); -x_1989 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_1990 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1990, 0, x_1989); -lean_ctor_set(x_1990, 1, x_1988); -x_1991 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_1992 = lean_array_push(x_1991, x_1990); -x_1993 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_1994 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1994, 0, x_1993); -lean_ctor_set(x_1994, 1, x_1992); -x_1995 = lean_array_push(x_1979, x_1994); -x_1996 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_1997 = lean_array_push(x_1995, x_1996); -x_1998 = l_Lean_nullKind___closed__2; -x_1999 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1999, 0, x_1998); -lean_ctor_set(x_1999, 1, x_1997); -x_2000 = lean_array_push(x_1979, x_1999); -x_2001 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2002 = lean_array_push(x_2001, x_1978); -x_2003 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1990 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_1988); +lean_inc(x_1989); +x_1991 = l_Lean_addMacroScope(x_1989, x_1990, x_1988); +x_1992 = lean_box(0); +x_1993 = l_Lean_instInhabitedSourceInfo___closed__1; +x_1994 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_1995 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1995, 0, x_1993); +lean_ctor_set(x_1995, 1, x_1994); +lean_ctor_set(x_1995, 2, x_1991); +lean_ctor_set(x_1995, 3, x_1992); +x_1996 = l_Array_empty___closed__1; +lean_inc(x_1995); +x_1997 = lean_array_push(x_1996, x_1995); +x_1998 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_1999 = lean_array_push(x_1997, x_1998); +x_2000 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_2001 = lean_array_push(x_1999, x_2000); +x_2002 = lean_array_push(x_1996, x_2); +x_2003 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; x_2004 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2004, 0, x_2003); lean_ctor_set(x_2004, 1, x_2002); -x_2005 = lean_array_push(x_1979, x_2004); -x_2006 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2006, 0, x_1998); -lean_ctor_set(x_2006, 1, x_2005); -x_2007 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2008 = lean_array_push(x_2007, x_2006); -x_2009 = lean_array_push(x_2008, x_1981); -x_2010 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -x_2011 = lean_array_push(x_2009, x_2010); -x_2012 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__16; -lean_inc(x_1971); -lean_inc(x_1972); -x_2013 = l_Lean_addMacroScope(x_1972, x_2012, x_1971); -x_2014 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__15; -x_2015 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__18; -x_2016 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2016, 0, x_1976); +x_2005 = lean_array_push(x_2001, x_2004); +x_2006 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_2007 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2007, 0, x_2006); +lean_ctor_set(x_2007, 1, x_2005); +x_2008 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_2009 = lean_array_push(x_2008, x_2007); +x_2010 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_2011 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2011, 0, x_2010); +lean_ctor_set(x_2011, 1, x_2009); +x_2012 = lean_array_push(x_1996, x_2011); +x_2013 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_2014 = lean_array_push(x_2012, x_2013); +x_2015 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_2016 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2016, 0, x_2015); lean_ctor_set(x_2016, 1, x_2014); -lean_ctor_set(x_2016, 2, x_2013); -lean_ctor_set(x_2016, 3, x_2015); -x_2017 = lean_array_push(x_1979, x_2016); -x_2018 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; -lean_inc(x_1971); -lean_inc(x_1972); -x_2019 = l_Lean_addMacroScope(x_1972, x_2018, x_1971); -x_2020 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; -x_2021 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2021, 0, x_1976); -lean_ctor_set(x_2021, 1, x_2020); -lean_ctor_set(x_2021, 2, x_2019); -lean_ctor_set(x_2021, 3, x_1975); -x_2022 = lean_array_push(x_1979, x_2021); -x_2023 = l_Lean_Level_LevelToFormat_toResult___closed__3; -lean_inc(x_1971); -lean_inc(x_1972); -x_2024 = l_Lean_addMacroScope(x_1972, x_2023, x_1971); -x_2025 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; -x_2026 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2026, 0, x_1976); -lean_ctor_set(x_2026, 1, x_2025); -lean_ctor_set(x_2026, 2, x_2024); -lean_ctor_set(x_2026, 3, x_1975); -lean_inc(x_2026); -lean_inc(x_2022); -x_2027 = lean_array_push(x_2022, x_2026); -x_2028 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2028, 0, x_1998); -lean_ctor_set(x_2028, 1, x_2027); -lean_inc(x_2028); -x_2029 = lean_array_push(x_2017, x_2028); -x_2030 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_2031 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2031, 0, x_2030); -lean_ctor_set(x_2031, 1, x_2029); -x_2032 = lean_array_push(x_1979, x_2031); -x_2033 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2033, 0, x_1998); -lean_ctor_set(x_2033, 1, x_2032); -x_2034 = lean_array_push(x_1979, x_2033); -x_2035 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_2036 = lean_array_push(x_2034, x_2035); -x_2037 = lean_array_push(x_1979, x_1969); -x_2038 = lean_array_push(x_2037, x_1981); -x_2039 = lean_array_push(x_2038, x_1981); -x_2040 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_2041 = lean_array_push(x_2039, x_2040); -lean_inc(x_2026); -x_2042 = lean_array_push(x_2041, x_2026); -x_2043 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_2044 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2044, 0, x_2043); -lean_ctor_set(x_2044, 1, x_2042); -x_2045 = lean_array_push(x_1979, x_2044); -x_2046 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_2047 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2047, 0, x_2046); -lean_ctor_set(x_2047, 1, x_2045); -x_2048 = lean_array_push(x_1979, x_2047); -x_2049 = lean_array_push(x_2048, x_1996); -x_2050 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2050, 0, x_1998); -lean_ctor_set(x_2050, 1, x_2049); -x_2051 = lean_array_push(x_1979, x_2050); -x_2052 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__48; -lean_inc(x_1971); -lean_inc(x_1972); -x_2053 = l_Lean_addMacroScope(x_1972, x_2052, x_1971); -x_2054 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; -x_2055 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -x_2056 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2056, 0, x_1976); -lean_ctor_set(x_2056, 1, x_2054); -lean_ctor_set(x_2056, 2, x_2053); -lean_ctor_set(x_2056, 3, x_2055); -x_2057 = lean_array_push(x_1979, x_2056); -x_2058 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2058, 0, x_1998); -lean_ctor_set(x_2058, 1, x_2022); -lean_inc(x_2058); +x_2017 = lean_array_push(x_1996, x_2016); +x_2018 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2019 = lean_array_push(x_2018, x_1995); +x_2020 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2021 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2021, 0, x_2020); +lean_ctor_set(x_2021, 1, x_2019); +x_2022 = lean_array_push(x_1996, x_2021); +x_2023 = l_Lean_nullKind___closed__2; +x_2024 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2024, 0, x_2023); +lean_ctor_set(x_2024, 1, x_2022); +x_2025 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2026 = lean_array_push(x_2025, x_2024); +x_2027 = lean_array_push(x_2026, x_1998); +x_2028 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_2029 = lean_array_push(x_2027, x_2028); +x_2030 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__16; +lean_inc(x_1988); +lean_inc(x_1989); +x_2031 = l_Lean_addMacroScope(x_1989, x_2030, x_1988); +x_2032 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__15; +x_2033 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__18; +x_2034 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2034, 0, x_1993); +lean_ctor_set(x_2034, 1, x_2032); +lean_ctor_set(x_2034, 2, x_2031); +lean_ctor_set(x_2034, 3, x_2033); +x_2035 = lean_array_push(x_1996, x_2034); +x_2036 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +lean_inc(x_1988); +lean_inc(x_1989); +x_2037 = l_Lean_addMacroScope(x_1989, x_2036, x_1988); +x_2038 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_2039 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2039, 0, x_1993); +lean_ctor_set(x_2039, 1, x_2038); +lean_ctor_set(x_2039, 2, x_2037); +lean_ctor_set(x_2039, 3, x_1992); +x_2040 = lean_array_push(x_1996, x_2039); +x_2041 = l_Lean_Level_LevelToFormat_toResult___closed__3; +lean_inc(x_1988); +lean_inc(x_1989); +x_2042 = l_Lean_addMacroScope(x_1989, x_2041, x_1988); +x_2043 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_2044 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2044, 0, x_1993); +lean_ctor_set(x_2044, 1, x_2043); +lean_ctor_set(x_2044, 2, x_2042); +lean_ctor_set(x_2044, 3, x_1992); +lean_inc(x_2044); +lean_inc(x_2040); +x_2045 = lean_array_push(x_2040, x_2044); +x_2046 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2046, 0, x_2023); +lean_ctor_set(x_2046, 1, x_2045); +lean_inc(x_2046); +x_2047 = lean_array_push(x_2035, x_2046); +x_2048 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_2049 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2049, 0, x_2048); +lean_ctor_set(x_2049, 1, x_2047); +x_2050 = lean_array_push(x_1996, x_2049); +x_2051 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2051, 0, x_2023); +lean_ctor_set(x_2051, 1, x_2050); +x_2052 = lean_array_push(x_1996, x_2051); +x_2053 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_2054 = lean_array_push(x_2052, x_2053); +x_2055 = lean_array_push(x_1996, x_1986); +x_2056 = lean_array_push(x_2055, x_1998); +x_2057 = lean_array_push(x_2056, x_1998); +x_2058 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; x_2059 = lean_array_push(x_2057, x_2058); -x_2060 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2060, 0, x_2030); -lean_ctor_set(x_2060, 1, x_2059); -x_2061 = lean_array_push(x_1979, x_2060); +lean_inc(x_2044); +x_2060 = lean_array_push(x_2059, x_2044); +x_2061 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; x_2062 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2062, 0, x_1986); -lean_ctor_set(x_2062, 1, x_2061); -x_2063 = lean_array_push(x_1979, x_2062); -x_2064 = lean_array_push(x_2063, x_1981); +lean_ctor_set(x_2062, 0, x_2061); +lean_ctor_set(x_2062, 1, x_2060); +x_2063 = lean_array_push(x_1996, x_2062); +x_2064 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; x_2065 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2065, 0, x_1998); -lean_ctor_set(x_2065, 1, x_2064); -lean_inc(x_2051); -x_2066 = lean_array_push(x_2051, x_2065); -x_2067 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2067, 0, x_1998); -lean_ctor_set(x_2067, 1, x_2066); -x_2068 = lean_array_push(x_1979, x_2067); -x_2069 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_2070 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2070, 0, x_2069); -lean_ctor_set(x_2070, 1, x_2068); -x_2071 = lean_array_push(x_2036, x_2070); -x_2072 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -x_2073 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2073, 0, x_2072); -lean_ctor_set(x_2073, 1, x_2071); -x_2074 = lean_array_push(x_1979, x_2073); -x_2075 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2076 = lean_array_push(x_2074, x_2075); -x_2077 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__45; -lean_inc(x_1971); -lean_inc(x_1972); -x_2078 = l_Lean_addMacroScope(x_1972, x_2077, x_1971); -x_2079 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__42; -x_2080 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__47; -x_2081 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2081, 0, x_1976); -lean_ctor_set(x_2081, 1, x_2079); -lean_ctor_set(x_2081, 2, x_2078); -lean_ctor_set(x_2081, 3, x_2080); -x_2082 = lean_array_push(x_1979, x_2081); -x_2083 = lean_array_push(x_2082, x_2028); -x_2084 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2084, 0, x_2030); -lean_ctor_set(x_2084, 1, x_2083); -x_2085 = lean_array_push(x_1979, x_2084); -x_2086 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2086, 0, x_1998); -lean_ctor_set(x_2086, 1, x_2085); -x_2087 = lean_array_push(x_1979, x_2086); -x_2088 = lean_array_push(x_2087, x_2035); -x_2089 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; -x_2090 = lean_array_push(x_2089, x_2058); -x_2091 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; -x_2092 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2092, 0, x_2091); -lean_ctor_set(x_2092, 1, x_2090); -x_2093 = lean_array_push(x_1979, x_2092); -x_2094 = lean_array_push(x_2093, x_1981); -x_2095 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2095, 0, x_1998); -lean_ctor_set(x_2095, 1, x_2094); -lean_inc(x_2051); -x_2096 = lean_array_push(x_2051, x_2095); -x_2097 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2097, 0, x_1998); -lean_ctor_set(x_2097, 1, x_2096); -x_2098 = lean_array_push(x_1979, x_2097); -x_2099 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2099, 0, x_2069); -lean_ctor_set(x_2099, 1, x_2098); -x_2100 = lean_array_push(x_2088, x_2099); -x_2101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2101, 0, x_2072); -lean_ctor_set(x_2101, 1, x_2100); -x_2102 = lean_array_push(x_2076, x_2101); -x_2103 = lean_array_push(x_2102, x_2075); -x_2104 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__20; -lean_inc(x_1971); -lean_inc(x_1972); -x_2105 = l_Lean_addMacroScope(x_1972, x_2104, x_1971); -x_2106 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__19; -x_2107 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__22; -x_2108 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2108, 0, x_1976); -lean_ctor_set(x_2108, 1, x_2106); -lean_ctor_set(x_2108, 2, x_2105); -lean_ctor_set(x_2108, 3, x_2107); -x_2109 = lean_array_push(x_1979, x_2108); -x_2110 = lean_array_push(x_1979, x_2026); -x_2111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2111, 0, x_1998); -lean_ctor_set(x_2111, 1, x_2110); -lean_inc(x_2111); -x_2112 = lean_array_push(x_2109, x_2111); +lean_ctor_set(x_2065, 0, x_2064); +lean_ctor_set(x_2065, 1, x_2063); +x_2066 = lean_array_push(x_1996, x_2065); +x_2067 = lean_array_push(x_2066, x_2013); +x_2068 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2068, 0, x_2015); +lean_ctor_set(x_2068, 1, x_2067); +x_2069 = lean_array_push(x_1996, x_2068); +x_2070 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50; +lean_inc(x_1988); +lean_inc(x_1989); +x_2071 = l_Lean_addMacroScope(x_1989, x_2070, x_1988); +x_2072 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__49; +x_2073 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_2074 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2074, 0, x_1993); +lean_ctor_set(x_2074, 1, x_2072); +lean_ctor_set(x_2074, 2, x_2071); +lean_ctor_set(x_2074, 3, x_2073); +x_2075 = lean_array_push(x_1996, x_2074); +x_2076 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2076, 0, x_2023); +lean_ctor_set(x_2076, 1, x_2040); +lean_inc(x_2076); +x_2077 = lean_array_push(x_2075, x_2076); +x_2078 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2078, 0, x_2048); +lean_ctor_set(x_2078, 1, x_2077); +x_2079 = lean_array_push(x_1996, x_2078); +x_2080 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2080, 0, x_2003); +lean_ctor_set(x_2080, 1, x_2079); +x_2081 = lean_array_push(x_1996, x_2080); +x_2082 = lean_array_push(x_2081, x_1998); +x_2083 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2083, 0, x_2015); +lean_ctor_set(x_2083, 1, x_2082); +lean_inc(x_2069); +x_2084 = lean_array_push(x_2069, x_2083); +x_2085 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2085, 0, x_2023); +lean_ctor_set(x_2085, 1, x_2084); +x_2086 = lean_array_push(x_1996, x_2085); +x_2087 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_2088 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2088, 0, x_2087); +lean_ctor_set(x_2088, 1, x_2086); +x_2089 = lean_array_push(x_2054, x_2088); +x_2090 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; +x_2091 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2091, 0, x_2090); +lean_ctor_set(x_2091, 1, x_2089); +x_2092 = lean_array_push(x_1996, x_2091); +x_2093 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2094 = lean_array_push(x_2092, x_2093); +x_2095 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__45; +lean_inc(x_1988); +lean_inc(x_1989); +x_2096 = l_Lean_addMacroScope(x_1989, x_2095, x_1988); +x_2097 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__42; +x_2098 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__47; +x_2099 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2099, 0, x_1993); +lean_ctor_set(x_2099, 1, x_2097); +lean_ctor_set(x_2099, 2, x_2096); +lean_ctor_set(x_2099, 3, x_2098); +x_2100 = lean_array_push(x_1996, x_2099); +x_2101 = lean_array_push(x_2100, x_2046); +x_2102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2102, 0, x_2048); +lean_ctor_set(x_2102, 1, x_2101); +x_2103 = lean_array_push(x_1996, x_2102); +x_2104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2104, 0, x_2023); +lean_ctor_set(x_2104, 1, x_2103); +x_2105 = lean_array_push(x_1996, x_2104); +x_2106 = lean_array_push(x_2105, x_2053); +x_2107 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; +x_2108 = lean_array_push(x_2107, x_2076); +x_2109 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; +x_2110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2110, 0, x_2109); +lean_ctor_set(x_2110, 1, x_2108); +x_2111 = lean_array_push(x_1996, x_2110); +x_2112 = lean_array_push(x_2111, x_1998); x_2113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2113, 0, x_2030); +lean_ctor_set(x_2113, 0, x_2015); lean_ctor_set(x_2113, 1, x_2112); -x_2114 = lean_array_push(x_1979, x_2113); +lean_inc(x_2069); +x_2114 = lean_array_push(x_2069, x_2113); x_2115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2115, 0, x_1998); +lean_ctor_set(x_2115, 0, x_2023); lean_ctor_set(x_2115, 1, x_2114); -x_2116 = lean_array_push(x_1979, x_2115); -x_2117 = lean_array_push(x_2116, x_2035); -x_2118 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_2051); -x_2119 = lean_array_push(x_2051, x_2118); -x_2120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2120, 0, x_1998); -lean_ctor_set(x_2120, 1, x_2119); -x_2121 = lean_array_push(x_1979, x_2120); -x_2122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2122, 0, x_2069); -lean_ctor_set(x_2122, 1, x_2121); -x_2123 = lean_array_push(x_2117, x_2122); -x_2124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2124, 0, x_2072); -lean_ctor_set(x_2124, 1, x_2123); -x_2125 = lean_array_push(x_2103, x_2124); -x_2126 = lean_array_push(x_2125, x_2075); -x_2127 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__29; -x_2128 = l_Lean_addMacroScope(x_1972, x_2127, x_1971); -x_2129 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__28; -x_2130 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__31; -x_2131 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2131, 0, x_1976); -lean_ctor_set(x_2131, 1, x_2129); -lean_ctor_set(x_2131, 2, x_2128); -lean_ctor_set(x_2131, 3, x_2130); -x_2132 = lean_array_push(x_1979, x_2131); -x_2133 = lean_array_push(x_2132, x_2111); -x_2134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2134, 0, x_2030); -lean_ctor_set(x_2134, 1, x_2133); -x_2135 = lean_array_push(x_1979, x_2134); -x_2136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2136, 0, x_1998); -lean_ctor_set(x_2136, 1, x_2135); -x_2137 = lean_array_push(x_1979, x_2136); -x_2138 = lean_array_push(x_2137, x_2035); -x_2139 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__33; -x_2140 = lean_array_push(x_2051, x_2139); -x_2141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2141, 0, x_1998); -lean_ctor_set(x_2141, 1, x_2140); -x_2142 = lean_array_push(x_1979, x_2141); -x_2143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2143, 0, x_2069); -lean_ctor_set(x_2143, 1, x_2142); -x_2144 = lean_array_push(x_2138, x_2143); -x_2145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2145, 0, x_2072); -lean_ctor_set(x_2145, 1, x_2144); -x_2146 = lean_array_push(x_2126, x_2145); -x_2147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2147, 0, x_1998); -lean_ctor_set(x_2147, 1, x_2146); -x_2148 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2149 = lean_array_push(x_2148, x_2147); -x_2150 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; -x_2151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2151, 0, x_2150); -lean_ctor_set(x_2151, 1, x_2149); -x_2152 = lean_array_push(x_2011, x_2151); -x_2153 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_2116 = lean_array_push(x_1996, x_2115); +x_2117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2117, 0, x_2087); +lean_ctor_set(x_2117, 1, x_2116); +x_2118 = lean_array_push(x_2106, x_2117); +x_2119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2119, 0, x_2090); +lean_ctor_set(x_2119, 1, x_2118); +x_2120 = lean_array_push(x_2094, x_2119); +x_2121 = lean_array_push(x_2120, x_2093); +x_2122 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__20; +lean_inc(x_1988); +lean_inc(x_1989); +x_2123 = l_Lean_addMacroScope(x_1989, x_2122, x_1988); +x_2124 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__19; +x_2125 = l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__22; +x_2126 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2126, 0, x_1993); +lean_ctor_set(x_2126, 1, x_2124); +lean_ctor_set(x_2126, 2, x_2123); +lean_ctor_set(x_2126, 3, x_2125); +x_2127 = lean_array_push(x_1996, x_2126); +x_2128 = lean_array_push(x_1996, x_2044); +x_2129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2129, 0, x_2023); +lean_ctor_set(x_2129, 1, x_2128); +lean_inc(x_2129); +x_2130 = lean_array_push(x_2127, x_2129); +x_2131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2131, 0, x_2048); +lean_ctor_set(x_2131, 1, x_2130); +x_2132 = lean_array_push(x_1996, x_2131); +x_2133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2133, 0, x_2023); +lean_ctor_set(x_2133, 1, x_2132); +x_2134 = lean_array_push(x_1996, x_2133); +x_2135 = lean_array_push(x_2134, x_2053); +x_2136 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; +lean_inc(x_2069); +x_2137 = lean_array_push(x_2069, x_2136); +x_2138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2138, 0, x_2023); +lean_ctor_set(x_2138, 1, x_2137); +x_2139 = lean_array_push(x_1996, x_2138); +x_2140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2140, 0, x_2087); +lean_ctor_set(x_2140, 1, x_2139); +x_2141 = lean_array_push(x_2135, x_2140); +x_2142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2142, 0, x_2090); +lean_ctor_set(x_2142, 1, x_2141); +x_2143 = lean_array_push(x_2121, x_2142); +x_2144 = lean_array_push(x_2143, x_2093); +x_2145 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__29; +x_2146 = l_Lean_addMacroScope(x_1989, x_2145, x_1988); +x_2147 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__28; +x_2148 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__31; +x_2149 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2149, 0, x_1993); +lean_ctor_set(x_2149, 1, x_2147); +lean_ctor_set(x_2149, 2, x_2146); +lean_ctor_set(x_2149, 3, x_2148); +x_2150 = lean_array_push(x_1996, x_2149); +x_2151 = lean_array_push(x_2150, x_2129); +x_2152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2152, 0, x_2048); +lean_ctor_set(x_2152, 1, x_2151); +x_2153 = lean_array_push(x_1996, x_2152); x_2154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2154, 0, x_2153); -lean_ctor_set(x_2154, 1, x_2152); -x_2155 = lean_array_push(x_1979, x_2154); -x_2156 = lean_array_push(x_2155, x_1981); -x_2157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2157, 0, x_1998); -lean_ctor_set(x_2157, 1, x_2156); -x_2158 = lean_array_push(x_2000, x_2157); +lean_ctor_set(x_2154, 0, x_2023); +lean_ctor_set(x_2154, 1, x_2153); +x_2155 = lean_array_push(x_1996, x_2154); +x_2156 = lean_array_push(x_2155, x_2053); +x_2157 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__35; +x_2158 = lean_array_push(x_2069, x_2157); x_2159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2159, 0, x_1998); +lean_ctor_set(x_2159, 0, x_2023); lean_ctor_set(x_2159, 1, x_2158); -x_2160 = lean_array_push(x_1979, x_2159); +x_2160 = lean_array_push(x_1996, x_2159); x_2161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2161, 0, x_2069); +lean_ctor_set(x_2161, 0, x_2087); lean_ctor_set(x_2161, 1, x_2160); -x_2162 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_2163 = lean_array_push(x_2162, x_2161); -x_2164 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_2162 = lean_array_push(x_2156, x_2161); +x_2163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2163, 0, x_2090); +lean_ctor_set(x_2163, 1, x_2162); +x_2164 = lean_array_push(x_2144, x_2163); x_2165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2165, 0, x_2164); -lean_ctor_set(x_2165, 1, x_2163); -x_2166 = lean_unsigned_to_nat(1u); -x_2167 = l_Lean_Syntax_getArg(x_2165, x_2166); -lean_dec(x_2165); -x_2168 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_2167); -x_2169 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2165, 0, x_2023); +lean_ctor_set(x_2165, 1, x_2164); +x_2166 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2167 = lean_array_push(x_2166, x_2165); +x_2168 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +x_2169 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2169, 0, x_2168); -lean_ctor_set(x_2169, 1, x_1970); -return x_2169; +lean_ctor_set(x_2169, 1, x_2167); +x_2170 = lean_array_push(x_2029, x_2169); +x_2171 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; +x_2172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2172, 0, x_2171); +lean_ctor_set(x_2172, 1, x_2170); +x_2173 = lean_array_push(x_1996, x_2172); +x_2174 = lean_array_push(x_2173, x_1998); +x_2175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2175, 0, x_2015); +lean_ctor_set(x_2175, 1, x_2174); +x_2176 = lean_array_push(x_2017, x_2175); +x_2177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2177, 0, x_2023); +lean_ctor_set(x_2177, 1, x_2176); +x_2178 = lean_array_push(x_1996, x_2177); +x_2179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2179, 0, x_2087); +lean_ctor_set(x_2179, 1, x_2178); +x_2180 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_2181 = lean_array_push(x_2180, x_2179); +x_2182 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_2183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2183, 0, x_2182); +lean_ctor_set(x_2183, 1, x_2181); +x_2184 = lean_unsigned_to_nat(1u); +x_2185 = l_Lean_Syntax_getArg(x_2183, x_2184); +lean_dec(x_2183); +x_2186 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_2185); +x_2187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2187, 0, x_2186); +lean_ctor_set(x_2187, 1, x_1987); +return x_2187; } } } @@ -35992,7 +36030,7 @@ return x_2; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; x_17 = l_List_redLength___rarg(x_1); x_18 = lean_mk_empty_array_with_capacity(x_17); lean_dec(x_17); @@ -36019,136 +36057,140 @@ x_31 = lean_name_mk_string(x_3, x_30); x_32 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__3; lean_inc(x_3); x_33 = lean_name_mk_string(x_3, x_32); -x_34 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__1; +x_34 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; lean_inc(x_3); x_35 = lean_name_mk_string(x_3, x_34); -x_36 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; -x_37 = l_Lean_addMacroScope(x_28, x_36, x_25); -x_38 = lean_box(0); -x_39 = l_Lean_instInhabitedSourceInfo___closed__1; -x_40 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; -x_41 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_41, 2, x_37); -lean_ctor_set(x_41, 3, x_38); -x_42 = l_Array_empty___closed__1; -lean_inc(x_41); -x_43 = lean_array_push(x_42, x_41); -x_44 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_45 = lean_array_push(x_43, x_44); -x_46 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_36 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__1; +lean_inc(x_3); +x_37 = lean_name_mk_string(x_3, x_36); +x_38 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; +x_39 = l_Lean_addMacroScope(x_28, x_38, x_25); +x_40 = lean_box(0); +x_41 = l_Lean_instInhabitedSourceInfo___closed__1; +x_42 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; +x_43 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_39); +lean_ctor_set(x_43, 3, x_40); +x_44 = l_Array_empty___closed__1; +lean_inc(x_43); +x_45 = lean_array_push(x_44, x_43); +x_46 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_47 = lean_array_push(x_45, x_46); -x_48 = lean_array_push(x_47, x_4); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_5); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_51 = lean_array_push(x_50, x_49); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_35); -lean_ctor_set(x_52, 1, x_51); -x_53 = lean_array_push(x_42, x_52); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_55 = lean_array_push(x_53, x_54); -x_56 = l_Lean_nullKind___closed__2; -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = lean_array_push(x_42, x_57); -x_59 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_48 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_49 = lean_array_push(x_47, x_48); +x_50 = lean_array_push(x_49, x_4); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_5); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_53 = lean_array_push(x_52, x_51); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_37); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_array_push(x_44, x_54); +x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_57 = lean_array_push(x_55, x_56); +lean_inc(x_35); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_35); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_array_push(x_44, x_58); +x_60 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; lean_inc(x_3); -x_60 = lean_name_mk_string(x_3, x_59); -x_61 = l_Lean_Parser_Tactic_match___closed__5; +x_61 = lean_name_mk_string(x_3, x_60); +x_62 = l_Lean_Parser_Tactic_match___closed__5; lean_inc(x_3); -x_62 = lean_name_mk_string(x_3, x_61); -x_63 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_64 = lean_array_push(x_63, x_41); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_62); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_array_push(x_42, x_65); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_56); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_69 = lean_array_push(x_68, x_67); -x_70 = lean_array_push(x_69, x_44); -x_71 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -x_72 = lean_array_push(x_70, x_71); -x_73 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -lean_inc(x_3); -x_74 = lean_name_mk_string(x_3, x_73); +x_63 = lean_name_mk_string(x_3, x_62); +x_64 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_65 = lean_array_push(x_64, x_43); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_63); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_array_push(x_44, x_66); +x_68 = l_Lean_nullKind___closed__2; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_71 = lean_array_push(x_70, x_69); +x_72 = lean_array_push(x_71, x_46); +x_73 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_74 = lean_array_push(x_72, x_73); x_75 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__14; lean_inc(x_3); x_76 = lean_name_mk_string(x_3, x_75); -x_77 = lean_array_push(x_42, x_6); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_56); -lean_ctor_set(x_78, 1, x_77); -x_79 = lean_array_push(x_42, x_78); -x_80 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_81 = lean_array_push(x_79, x_80); -x_82 = lean_array_push(x_81, x_20); -lean_inc(x_76); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_76); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_42, x_83); -x_85 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_86 = lean_array_push(x_84, x_85); -x_87 = l_myMacro____x40_Init_Notation___hyg_8168____closed__12; -x_88 = lean_name_mk_string(x_3, x_87); -x_89 = l_myMacro____x40_Init_Notation___hyg_8168____closed__16; -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -x_91 = lean_array_push(x_42, x_90); +x_77 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; +lean_inc(x_3); +x_78 = lean_name_mk_string(x_3, x_77); +x_79 = lean_array_push(x_44, x_6); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_68); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_array_push(x_44, x_80); +x_82 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_83 = lean_array_push(x_81, x_82); +x_84 = lean_array_push(x_83, x_20); +lean_inc(x_78); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_78); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_array_push(x_44, x_85); +x_87 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_88 = lean_array_push(x_86, x_87); +x_89 = l_myMacro____x40_Init_Notation___hyg_8168____closed__12; +x_90 = lean_name_mk_string(x_3, x_89); +x_91 = l_myMacro____x40_Init_Notation___hyg_8168____closed__16; x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_56); +lean_ctor_set(x_92, 0, x_90); lean_ctor_set(x_92, 1, x_91); -x_93 = lean_array_push(x_42, x_92); -x_94 = lean_array_push(x_93, x_80); -x_95 = lean_array_push(x_94, x_23); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_76); -lean_ctor_set(x_96, 1, x_95); -x_97 = lean_array_push(x_86, x_96); +x_93 = lean_array_push(x_44, x_92); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_68); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_array_push(x_44, x_94); +x_96 = lean_array_push(x_95, x_82); +x_97 = lean_array_push(x_96, x_23); x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_56); +lean_ctor_set(x_98, 0, x_78); lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_100 = lean_array_push(x_99, x_98); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_74); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_array_push(x_72, x_101); +x_99 = lean_array_push(x_88, x_98); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_68); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_102 = lean_array_push(x_101, x_100); x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_60); +lean_ctor_set(x_103, 0, x_76); lean_ctor_set(x_103, 1, x_102); -x_104 = lean_array_push(x_42, x_103); -x_105 = lean_array_push(x_104, x_44); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_56); -lean_ctor_set(x_106, 1, x_105); -x_107 = lean_array_push(x_58, x_106); +x_104 = lean_array_push(x_74, x_103); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_61); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_array_push(x_44, x_105); +x_107 = lean_array_push(x_106, x_46); x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_56); +lean_ctor_set(x_108, 0, x_35); lean_ctor_set(x_108, 1, x_107); -x_109 = lean_array_push(x_42, x_108); +x_109 = lean_array_push(x_59, x_108); x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_33); +lean_ctor_set(x_110, 0, x_68); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_112 = lean_array_push(x_111, x_110); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_31); -lean_ctor_set(x_113, 1, x_112); -x_114 = l_Lean_Syntax_getArg(x_113, x_21); -lean_dec(x_113); -x_115 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_114); -x_116 = lean_apply_9(x_7, x_115, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_29); -return x_116; +x_111 = lean_array_push(x_44, x_110); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_33); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_114 = lean_array_push(x_113, x_112); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_31); +lean_ctor_set(x_115, 1, x_114); +x_116 = l_Lean_Syntax_getArg(x_115, x_21); +lean_dec(x_115); +x_117 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_116); +x_118 = lean_apply_9(x_7, x_117, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_29); +return x_118; } } lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -36333,19 +36375,19 @@ lean_dec(x_25); x_37 = l_Lean_Elab_Term_Do_isMutableLet(x_2); if (x_37 == 0) { -uint8_t x_428; -x_428 = 0; -x_38 = x_428; -goto block_427; +uint8_t x_434; +x_434 = 0; +x_38 = x_434; +goto block_433; } else { -uint8_t x_429; -x_429 = 1; -x_38 = x_429; -goto block_427; +uint8_t x_435; +x_435 = 1; +x_38 = x_435; +goto block_433; } -block_427: +block_433: { lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; x_39 = lean_st_ref_take(x_10, x_11); @@ -36375,7 +36417,7 @@ lean_dec(x_49); lean_ctor_set(x_5, 7, x_43); if (x_38 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; x_50 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_47); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); @@ -36418,7 +36460,7 @@ lean_ctor_set(x_73, 1, x_71); x_74 = lean_array_push(x_62, x_73); x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; x_76 = lean_array_push(x_74, x_75); -x_77 = l_Lean_nullKind___closed__2; +x_77 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_76); @@ -36449,384 +36491,388 @@ x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_77); lean_ctor_set(x_96, 1, x_95); x_97 = lean_array_push(x_79, x_96); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_77); -lean_ctor_set(x_98, 1, x_97); -x_99 = lean_array_push(x_62, x_98); -x_100 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_103 = lean_array_push(x_102, x_101); -x_104 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_105, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_55); -lean_dec(x_105); -return x_106; +x_98 = l_Lean_nullKind___closed__2; +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = lean_array_push(x_62, x_99); +x_101 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_104 = lean_array_push(x_103, x_102); +x_105 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_106, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_55); +lean_dec(x_106); +return x_107; } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_107 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_47); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_108 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_47); +x_109 = lean_ctor_get(x_108, 0); lean_inc(x_109); -lean_dec(x_107); -x_110 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_109); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); +x_111 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_110); +x_112 = lean_ctor_get(x_111, 0); lean_inc(x_112); -lean_dec(x_110); -x_113 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; -x_114 = l_Lean_addMacroScope(x_111, x_113, x_108); -x_115 = lean_box(0); -x_116 = l_Lean_instInhabitedSourceInfo___closed__1; -x_117 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; -x_118 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -lean_ctor_set(x_118, 2, x_114); -lean_ctor_set(x_118, 3, x_115); -x_119 = l_Array_empty___closed__1; -lean_inc(x_118); -x_120 = lean_array_push(x_119, x_118); -x_121 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_122 = lean_array_push(x_120, x_121); -x_123 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_124 = lean_array_push(x_122, x_123); -x_125 = lean_array_push(x_124, x_23); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_15); -lean_ctor_set(x_126, 1, x_125); -x_127 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_128 = lean_array_push(x_127, x_126); -x_129 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_128); -x_131 = lean_array_push(x_119, x_130); -x_132 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_133 = lean_array_push(x_131, x_132); -x_134 = l_Lean_nullKind___closed__2; -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -x_136 = lean_array_push(x_119, x_135); -x_137 = lean_array_push(x_119, x_22); -x_138 = lean_array_push(x_137, x_121); -x_139 = lean_array_push(x_138, x_121); -x_140 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_141 = lean_array_push(x_139, x_140); -x_142 = lean_array_push(x_141, x_118); -x_143 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -x_145 = lean_array_push(x_119, x_144); -x_146 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_145); -x_148 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__7; -x_149 = lean_array_push(x_148, x_147); -x_150 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__2; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = lean_array_push(x_119, x_151); -x_153 = lean_array_push(x_152, x_121); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_134); -lean_ctor_set(x_154, 1, x_153); -x_155 = lean_array_push(x_136, x_154); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_134); -lean_ctor_set(x_156, 1, x_155); -x_157 = lean_array_push(x_119, x_156); -x_158 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_161 = lean_array_push(x_160, x_159); -x_162 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_161); -x_164 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_163, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_112); -lean_dec(x_163); -return x_164; +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; +x_115 = l_Lean_addMacroScope(x_112, x_114, x_109); +x_116 = lean_box(0); +x_117 = l_Lean_instInhabitedSourceInfo___closed__1; +x_118 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; +x_119 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +lean_ctor_set(x_119, 2, x_115); +lean_ctor_set(x_119, 3, x_116); +x_120 = l_Array_empty___closed__1; +lean_inc(x_119); +x_121 = lean_array_push(x_120, x_119); +x_122 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_123 = lean_array_push(x_121, x_122); +x_124 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_125 = lean_array_push(x_123, x_124); +x_126 = lean_array_push(x_125, x_23); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_15); +lean_ctor_set(x_127, 1, x_126); +x_128 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_129 = lean_array_push(x_128, x_127); +x_130 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_129); +x_132 = lean_array_push(x_120, x_131); +x_133 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_134 = lean_array_push(x_132, x_133); +x_135 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = lean_array_push(x_120, x_136); +x_138 = lean_array_push(x_120, x_22); +x_139 = lean_array_push(x_138, x_122); +x_140 = lean_array_push(x_139, x_122); +x_141 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_142 = lean_array_push(x_140, x_141); +x_143 = lean_array_push(x_142, x_119); +x_144 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_143); +x_146 = lean_array_push(x_120, x_145); +x_147 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_146); +x_149 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__7; +x_150 = lean_array_push(x_149, x_148); +x_151 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__2; +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +x_153 = lean_array_push(x_120, x_152); +x_154 = lean_array_push(x_153, x_122); +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_135); +lean_ctor_set(x_155, 1, x_154); +x_156 = lean_array_push(x_137, x_155); +x_157 = l_Lean_nullKind___closed__2; +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_156); +x_159 = lean_array_push(x_120, x_158); +x_160 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_159); +x_162 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_163 = lean_array_push(x_162, x_161); +x_164 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_163); +x_166 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_165, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_113); +lean_dec(x_165); +return x_166; } } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; uint8_t x_173; uint8_t x_174; lean_object* x_175; -x_165 = lean_ctor_get(x_5, 0); -x_166 = lean_ctor_get(x_5, 1); -x_167 = lean_ctor_get(x_5, 2); -x_168 = lean_ctor_get(x_5, 3); -x_169 = lean_ctor_get(x_5, 4); -x_170 = lean_ctor_get(x_5, 5); -x_171 = lean_ctor_get(x_5, 6); -x_172 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_173 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_174 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; uint8_t x_175; uint8_t x_176; lean_object* x_177; +x_167 = lean_ctor_get(x_5, 0); +x_168 = lean_ctor_get(x_5, 1); +x_169 = lean_ctor_get(x_5, 2); +x_170 = lean_ctor_get(x_5, 3); +x_171 = lean_ctor_get(x_5, 4); +x_172 = lean_ctor_get(x_5, 5); +x_173 = lean_ctor_get(x_5, 6); +x_174 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); +x_175 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); +x_176 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); +lean_inc(x_173); +lean_inc(x_172); lean_inc(x_171); lean_inc(x_170); lean_inc(x_169); lean_inc(x_168); lean_inc(x_167); -lean_inc(x_166); -lean_inc(x_165); lean_dec(x_5); -x_175 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_175, 0, x_165); -lean_ctor_set(x_175, 1, x_166); -lean_ctor_set(x_175, 2, x_167); -lean_ctor_set(x_175, 3, x_168); -lean_ctor_set(x_175, 4, x_169); -lean_ctor_set(x_175, 5, x_170); -lean_ctor_set(x_175, 6, x_171); -lean_ctor_set(x_175, 7, x_43); -lean_ctor_set_uint8(x_175, sizeof(void*)*8, x_172); -lean_ctor_set_uint8(x_175, sizeof(void*)*8 + 1, x_173); -lean_ctor_set_uint8(x_175, sizeof(void*)*8 + 2, x_174); +x_177 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_177, 0, x_167); +lean_ctor_set(x_177, 1, x_168); +lean_ctor_set(x_177, 2, x_169); +lean_ctor_set(x_177, 3, x_170); +lean_ctor_set(x_177, 4, x_171); +lean_ctor_set(x_177, 5, x_172); +lean_ctor_set(x_177, 6, x_173); +lean_ctor_set(x_177, 7, x_43); +lean_ctor_set_uint8(x_177, sizeof(void*)*8, x_174); +lean_ctor_set_uint8(x_177, sizeof(void*)*8 + 1, x_175); +lean_ctor_set_uint8(x_177, sizeof(void*)*8 + 2, x_176); if (x_38 == 0) { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_176 = l_Lean_Elab_Term_getCurrMacroScope(x_175, x_6, x_7, x_8, x_9, x_10, x_47); -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_179 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_178); -x_180 = lean_ctor_get(x_179, 0); +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_178 = l_Lean_Elab_Term_getCurrMacroScope(x_177, x_6, x_7, x_8, x_9, x_10, x_47); +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_178, 1); lean_inc(x_180); -x_181 = lean_ctor_get(x_179, 1); -lean_inc(x_181); -lean_dec(x_179); -x_182 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; -x_183 = l_Lean_addMacroScope(x_180, x_182, x_177); -x_184 = lean_box(0); -x_185 = l_Lean_instInhabitedSourceInfo___closed__1; -x_186 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; -x_187 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -lean_ctor_set(x_187, 2, x_183); -lean_ctor_set(x_187, 3, x_184); -x_188 = l_Array_empty___closed__1; -lean_inc(x_187); -x_189 = lean_array_push(x_188, x_187); -x_190 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_191 = lean_array_push(x_189, x_190); -x_192 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +lean_dec(x_178); +x_181 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_180); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; +x_185 = l_Lean_addMacroScope(x_182, x_184, x_179); +x_186 = lean_box(0); +x_187 = l_Lean_instInhabitedSourceInfo___closed__1; +x_188 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; +x_189 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_189, 0, x_187); +lean_ctor_set(x_189, 1, x_188); +lean_ctor_set(x_189, 2, x_185); +lean_ctor_set(x_189, 3, x_186); +x_190 = l_Array_empty___closed__1; +lean_inc(x_189); +x_191 = lean_array_push(x_190, x_189); +x_192 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_193 = lean_array_push(x_191, x_192); -x_194 = lean_array_push(x_193, x_23); -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_15); -lean_ctor_set(x_195, 1, x_194); -x_196 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_197 = lean_array_push(x_196, x_195); -x_198 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_197); -x_200 = lean_array_push(x_188, x_199); -x_201 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_202 = lean_array_push(x_200, x_201); -x_203 = l_Lean_nullKind___closed__2; -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_202); -x_205 = lean_array_push(x_188, x_204); -x_206 = lean_array_push(x_188, x_22); -x_207 = lean_array_push(x_206, x_190); -x_208 = lean_array_push(x_207, x_190); -x_209 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_210 = lean_array_push(x_208, x_209); -x_211 = lean_array_push(x_210, x_187); -x_212 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_211); -x_214 = lean_array_push(x_188, x_213); -x_215 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_215); -lean_ctor_set(x_216, 1, x_214); -x_217 = lean_array_push(x_196, x_216); -x_218 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__2; -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_218); -lean_ctor_set(x_219, 1, x_217); -x_220 = lean_array_push(x_188, x_219); -x_221 = lean_array_push(x_220, x_190); -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_203); -lean_ctor_set(x_222, 1, x_221); -x_223 = lean_array_push(x_205, x_222); +x_194 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_195 = lean_array_push(x_193, x_194); +x_196 = lean_array_push(x_195, x_23); +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_15); +lean_ctor_set(x_197, 1, x_196); +x_198 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_199 = lean_array_push(x_198, x_197); +x_200 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_199); +x_202 = lean_array_push(x_190, x_201); +x_203 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_204 = lean_array_push(x_202, x_203); +x_205 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_206 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set(x_206, 1, x_204); +x_207 = lean_array_push(x_190, x_206); +x_208 = lean_array_push(x_190, x_22); +x_209 = lean_array_push(x_208, x_192); +x_210 = lean_array_push(x_209, x_192); +x_211 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_212 = lean_array_push(x_210, x_211); +x_213 = lean_array_push(x_212, x_189); +x_214 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_213); +x_216 = lean_array_push(x_190, x_215); +x_217 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_216); +x_219 = lean_array_push(x_198, x_218); +x_220 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__2; +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_220); +lean_ctor_set(x_221, 1, x_219); +x_222 = lean_array_push(x_190, x_221); +x_223 = lean_array_push(x_222, x_192); x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_203); +lean_ctor_set(x_224, 0, x_205); lean_ctor_set(x_224, 1, x_223); -x_225 = lean_array_push(x_188, x_224); -x_226 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_225 = lean_array_push(x_207, x_224); +x_226 = l_Lean_nullKind___closed__2; x_227 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_227, 0, x_226); lean_ctor_set(x_227, 1, x_225); -x_228 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_229 = lean_array_push(x_228, x_227); -x_230 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_229); -x_232 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_231, x_4, x_175, x_6, x_7, x_8, x_9, x_10, x_181); -lean_dec(x_231); -return x_232; +x_228 = lean_array_push(x_190, x_227); +x_229 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_228); +x_231 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_232 = lean_array_push(x_231, x_230); +x_233 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_232); +x_235 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_234, x_4, x_177, x_6, x_7, x_8, x_9, x_10, x_183); +lean_dec(x_234); +return x_235; } else { -lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; -x_233 = l_Lean_Elab_Term_getCurrMacroScope(x_175, x_6, x_7, x_8, x_9, x_10, x_47); -x_234 = lean_ctor_get(x_233, 0); -lean_inc(x_234); -x_235 = lean_ctor_get(x_233, 1); -lean_inc(x_235); -lean_dec(x_233); -x_236 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_235); +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; +x_236 = l_Lean_Elab_Term_getCurrMacroScope(x_177, x_6, x_7, x_8, x_9, x_10, x_47); x_237 = lean_ctor_get(x_236, 0); lean_inc(x_237); x_238 = lean_ctor_get(x_236, 1); lean_inc(x_238); lean_dec(x_236); -x_239 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; -x_240 = l_Lean_addMacroScope(x_237, x_239, x_234); -x_241 = lean_box(0); -x_242 = l_Lean_instInhabitedSourceInfo___closed__1; -x_243 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; -x_244 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_244, 0, x_242); -lean_ctor_set(x_244, 1, x_243); -lean_ctor_set(x_244, 2, x_240); -lean_ctor_set(x_244, 3, x_241); -x_245 = l_Array_empty___closed__1; -lean_inc(x_244); -x_246 = lean_array_push(x_245, x_244); -x_247 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_248 = lean_array_push(x_246, x_247); -x_249 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_250 = lean_array_push(x_248, x_249); -x_251 = lean_array_push(x_250, x_23); -x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_15); -lean_ctor_set(x_252, 1, x_251); -x_253 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_254 = lean_array_push(x_253, x_252); -x_255 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_255); -lean_ctor_set(x_256, 1, x_254); -x_257 = lean_array_push(x_245, x_256); -x_258 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_259 = lean_array_push(x_257, x_258); -x_260 = l_Lean_nullKind___closed__2; -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_259); -x_262 = lean_array_push(x_245, x_261); -x_263 = lean_array_push(x_245, x_22); -x_264 = lean_array_push(x_263, x_247); -x_265 = lean_array_push(x_264, x_247); -x_266 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_267 = lean_array_push(x_265, x_266); -x_268 = lean_array_push(x_267, x_244); -x_269 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = lean_array_push(x_245, x_270); -x_272 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_239 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_238); +x_240 = lean_ctor_get(x_239, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_239, 1); +lean_inc(x_241); +lean_dec(x_239); +x_242 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; +x_243 = l_Lean_addMacroScope(x_240, x_242, x_237); +x_244 = lean_box(0); +x_245 = l_Lean_instInhabitedSourceInfo___closed__1; +x_246 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; +x_247 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_247, 0, x_245); +lean_ctor_set(x_247, 1, x_246); +lean_ctor_set(x_247, 2, x_243); +lean_ctor_set(x_247, 3, x_244); +x_248 = l_Array_empty___closed__1; +lean_inc(x_247); +x_249 = lean_array_push(x_248, x_247); +x_250 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_251 = lean_array_push(x_249, x_250); +x_252 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_253 = lean_array_push(x_251, x_252); +x_254 = lean_array_push(x_253, x_23); +x_255 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_255, 0, x_15); +lean_ctor_set(x_255, 1, x_254); +x_256 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_257 = lean_array_push(x_256, x_255); +x_258 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_259 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_257); +x_260 = lean_array_push(x_248, x_259); +x_261 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_262 = lean_array_push(x_260, x_261); +x_263 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_262); +x_265 = lean_array_push(x_248, x_264); +x_266 = lean_array_push(x_248, x_22); +x_267 = lean_array_push(x_266, x_250); +x_268 = lean_array_push(x_267, x_250); +x_269 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_270 = lean_array_push(x_268, x_269); +x_271 = lean_array_push(x_270, x_247); +x_272 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; x_273 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_273, 0, x_272); lean_ctor_set(x_273, 1, x_271); -x_274 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__7; -x_275 = lean_array_push(x_274, x_273); -x_276 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__2; -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_275); -x_278 = lean_array_push(x_245, x_277); -x_279 = lean_array_push(x_278, x_247); +x_274 = lean_array_push(x_248, x_273); +x_275 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_275); +lean_ctor_set(x_276, 1, x_274); +x_277 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__7; +x_278 = lean_array_push(x_277, x_276); +x_279 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__2; x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_260); -lean_ctor_set(x_280, 1, x_279); -x_281 = lean_array_push(x_262, x_280); -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_260); -lean_ctor_set(x_282, 1, x_281); -x_283 = lean_array_push(x_245, x_282); -x_284 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_285 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_285, 0, x_284); -lean_ctor_set(x_285, 1, x_283); -x_286 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_287 = lean_array_push(x_286, x_285); -x_288 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_278); +x_281 = lean_array_push(x_248, x_280); +x_282 = lean_array_push(x_281, x_250); +x_283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_283, 0, x_263); +lean_ctor_set(x_283, 1, x_282); +x_284 = lean_array_push(x_265, x_283); +x_285 = l_Lean_nullKind___closed__2; +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_284); +x_287 = lean_array_push(x_248, x_286); +x_288 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; x_289 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_289, 0, x_288); lean_ctor_set(x_289, 1, x_287); -x_290 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_289, x_4, x_175, x_6, x_7, x_8, x_9, x_10, x_238); -lean_dec(x_289); -return x_290; +x_290 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_291 = lean_array_push(x_290, x_289); +x_292 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_291); +x_294 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_293, x_4, x_177, x_6, x_7, x_8, x_9, x_10, x_241); +lean_dec(x_293); +return x_294; } } } else { -lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; uint8_t x_307; uint8_t x_308; uint8_t x_309; lean_object* x_310; lean_object* x_311; -x_291 = lean_ctor_get(x_40, 0); -x_292 = lean_ctor_get(x_40, 1); -x_293 = lean_ctor_get(x_40, 2); -x_294 = lean_ctor_get(x_40, 3); -lean_inc(x_294); -lean_inc(x_293); -lean_inc(x_292); -lean_inc(x_291); +lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; uint8_t x_311; uint8_t x_312; uint8_t x_313; lean_object* x_314; lean_object* x_315; +x_295 = lean_ctor_get(x_40, 0); +x_296 = lean_ctor_get(x_40, 1); +x_297 = lean_ctor_get(x_40, 2); +x_298 = lean_ctor_get(x_40, 3); +lean_inc(x_298); +lean_inc(x_297); +lean_inc(x_296); +lean_inc(x_295); lean_dec(x_40); -x_295 = lean_unsigned_to_nat(1u); -x_296 = lean_nat_add(x_292, x_295); -x_297 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_297, 0, x_291); -lean_ctor_set(x_297, 1, x_296); -lean_ctor_set(x_297, 2, x_293); -lean_ctor_set(x_297, 3, x_294); -x_298 = lean_st_ref_set(x_10, x_297, x_41); -x_299 = lean_ctor_get(x_298, 1); -lean_inc(x_299); -lean_dec(x_298); -x_300 = lean_ctor_get(x_5, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_5, 1); -lean_inc(x_301); -x_302 = lean_ctor_get(x_5, 2); -lean_inc(x_302); -x_303 = lean_ctor_get(x_5, 3); +x_299 = lean_unsigned_to_nat(1u); +x_300 = lean_nat_add(x_296, x_299); +x_301 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_301, 0, x_295); +lean_ctor_set(x_301, 1, x_300); +lean_ctor_set(x_301, 2, x_297); +lean_ctor_set(x_301, 3, x_298); +x_302 = lean_st_ref_set(x_10, x_301, x_41); +x_303 = lean_ctor_get(x_302, 1); lean_inc(x_303); -x_304 = lean_ctor_get(x_5, 4); +lean_dec(x_302); +x_304 = lean_ctor_get(x_5, 0); lean_inc(x_304); -x_305 = lean_ctor_get(x_5, 5); +x_305 = lean_ctor_get(x_5, 1); lean_inc(x_305); -x_306 = lean_ctor_get(x_5, 6); +x_306 = lean_ctor_get(x_5, 2); lean_inc(x_306); -x_307 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_308 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_309 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); +x_307 = lean_ctor_get(x_5, 3); +lean_inc(x_307); +x_308 = lean_ctor_get(x_5, 4); +lean_inc(x_308); +x_309 = lean_ctor_get(x_5, 5); +lean_inc(x_309); +x_310 = lean_ctor_get(x_5, 6); +lean_inc(x_310); +x_311 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); +x_312 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); +x_313 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 0); lean_ctor_release(x_5, 1); @@ -36836,215 +36882,217 @@ if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 5); lean_ctor_release(x_5, 6); lean_ctor_release(x_5, 7); - x_310 = x_5; + x_314 = x_5; } else { lean_dec_ref(x_5); - x_310 = lean_box(0); + x_314 = lean_box(0); } -if (lean_is_scalar(x_310)) { - x_311 = lean_alloc_ctor(0, 8, 3); +if (lean_is_scalar(x_314)) { + x_315 = lean_alloc_ctor(0, 8, 3); } else { - x_311 = x_310; + x_315 = x_314; } -lean_ctor_set(x_311, 0, x_300); -lean_ctor_set(x_311, 1, x_301); -lean_ctor_set(x_311, 2, x_302); -lean_ctor_set(x_311, 3, x_303); -lean_ctor_set(x_311, 4, x_304); -lean_ctor_set(x_311, 5, x_305); -lean_ctor_set(x_311, 6, x_306); -lean_ctor_set(x_311, 7, x_292); -lean_ctor_set_uint8(x_311, sizeof(void*)*8, x_307); -lean_ctor_set_uint8(x_311, sizeof(void*)*8 + 1, x_308); -lean_ctor_set_uint8(x_311, sizeof(void*)*8 + 2, x_309); +lean_ctor_set(x_315, 0, x_304); +lean_ctor_set(x_315, 1, x_305); +lean_ctor_set(x_315, 2, x_306); +lean_ctor_set(x_315, 3, x_307); +lean_ctor_set(x_315, 4, x_308); +lean_ctor_set(x_315, 5, x_309); +lean_ctor_set(x_315, 6, x_310); +lean_ctor_set(x_315, 7, x_296); +lean_ctor_set_uint8(x_315, sizeof(void*)*8, x_311); +lean_ctor_set_uint8(x_315, sizeof(void*)*8 + 1, x_312); +lean_ctor_set_uint8(x_315, sizeof(void*)*8 + 2, x_313); if (x_38 == 0) { -lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_312 = l_Lean_Elab_Term_getCurrMacroScope(x_311, x_6, x_7, x_8, x_9, x_10, x_299); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -x_315 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_314); -x_316 = lean_ctor_get(x_315, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_315, 1); +lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; +x_316 = l_Lean_Elab_Term_getCurrMacroScope(x_315, x_6, x_7, x_8, x_9, x_10, x_303); +x_317 = lean_ctor_get(x_316, 0); lean_inc(x_317); -lean_dec(x_315); -x_318 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; -x_319 = l_Lean_addMacroScope(x_316, x_318, x_313); -x_320 = lean_box(0); -x_321 = l_Lean_instInhabitedSourceInfo___closed__1; -x_322 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; -x_323 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_323, 0, x_321); -lean_ctor_set(x_323, 1, x_322); -lean_ctor_set(x_323, 2, x_319); -lean_ctor_set(x_323, 3, x_320); -x_324 = l_Array_empty___closed__1; -lean_inc(x_323); -x_325 = lean_array_push(x_324, x_323); -x_326 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_327 = lean_array_push(x_325, x_326); -x_328 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_329 = lean_array_push(x_327, x_328); -x_330 = lean_array_push(x_329, x_23); -x_331 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_331, 0, x_15); -lean_ctor_set(x_331, 1, x_330); -x_332 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_333 = lean_array_push(x_332, x_331); -x_334 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_318 = lean_ctor_get(x_316, 1); +lean_inc(x_318); +lean_dec(x_316); +x_319 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_318); +x_320 = lean_ctor_get(x_319, 0); +lean_inc(x_320); +x_321 = lean_ctor_get(x_319, 1); +lean_inc(x_321); +lean_dec(x_319); +x_322 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; +x_323 = l_Lean_addMacroScope(x_320, x_322, x_317); +x_324 = lean_box(0); +x_325 = l_Lean_instInhabitedSourceInfo___closed__1; +x_326 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; +x_327 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_327, 0, x_325); +lean_ctor_set(x_327, 1, x_326); +lean_ctor_set(x_327, 2, x_323); +lean_ctor_set(x_327, 3, x_324); +x_328 = l_Array_empty___closed__1; +lean_inc(x_327); +x_329 = lean_array_push(x_328, x_327); +x_330 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_331 = lean_array_push(x_329, x_330); +x_332 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_333 = lean_array_push(x_331, x_332); +x_334 = lean_array_push(x_333, x_23); x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_334); -lean_ctor_set(x_335, 1, x_333); -x_336 = lean_array_push(x_324, x_335); -x_337 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_338 = lean_array_push(x_336, x_337); -x_339 = l_Lean_nullKind___closed__2; -x_340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_340, 0, x_339); -lean_ctor_set(x_340, 1, x_338); -x_341 = lean_array_push(x_324, x_340); -x_342 = lean_array_push(x_324, x_22); -x_343 = lean_array_push(x_342, x_326); -x_344 = lean_array_push(x_343, x_326); -x_345 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_346 = lean_array_push(x_344, x_345); -x_347 = lean_array_push(x_346, x_323); -x_348 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_347); -x_350 = lean_array_push(x_324, x_349); -x_351 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; -x_352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_352, 0, x_351); -lean_ctor_set(x_352, 1, x_350); -x_353 = lean_array_push(x_332, x_352); -x_354 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__2; -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_354); -lean_ctor_set(x_355, 1, x_353); -x_356 = lean_array_push(x_324, x_355); -x_357 = lean_array_push(x_356, x_326); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_339); -lean_ctor_set(x_358, 1, x_357); -x_359 = lean_array_push(x_341, x_358); -x_360 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_360, 0, x_339); -lean_ctor_set(x_360, 1, x_359); -x_361 = lean_array_push(x_324, x_360); -x_362 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_363, 0, x_362); -lean_ctor_set(x_363, 1, x_361); -x_364 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_365 = lean_array_push(x_364, x_363); -x_366 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_367, 0, x_366); -lean_ctor_set(x_367, 1, x_365); -x_368 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_367, x_4, x_311, x_6, x_7, x_8, x_9, x_10, x_317); -lean_dec(x_367); -return x_368; +lean_ctor_set(x_335, 0, x_15); +lean_ctor_set(x_335, 1, x_334); +x_336 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_337 = lean_array_push(x_336, x_335); +x_338 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_339 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_337); +x_340 = lean_array_push(x_328, x_339); +x_341 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_342 = lean_array_push(x_340, x_341); +x_343 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_344, 0, x_343); +lean_ctor_set(x_344, 1, x_342); +x_345 = lean_array_push(x_328, x_344); +x_346 = lean_array_push(x_328, x_22); +x_347 = lean_array_push(x_346, x_330); +x_348 = lean_array_push(x_347, x_330); +x_349 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_350 = lean_array_push(x_348, x_349); +x_351 = lean_array_push(x_350, x_327); +x_352 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_353 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_353, 0, x_352); +lean_ctor_set(x_353, 1, x_351); +x_354 = lean_array_push(x_328, x_353); +x_355 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_356, 0, x_355); +lean_ctor_set(x_356, 1, x_354); +x_357 = lean_array_push(x_336, x_356); +x_358 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__2; +x_359 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_359, 0, x_358); +lean_ctor_set(x_359, 1, x_357); +x_360 = lean_array_push(x_328, x_359); +x_361 = lean_array_push(x_360, x_330); +x_362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_362, 0, x_343); +lean_ctor_set(x_362, 1, x_361); +x_363 = lean_array_push(x_345, x_362); +x_364 = l_Lean_nullKind___closed__2; +x_365 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_363); +x_366 = lean_array_push(x_328, x_365); +x_367 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_368 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_368, 1, x_366); +x_369 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_370 = lean_array_push(x_369, x_368); +x_371 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_372 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_372, 0, x_371); +lean_ctor_set(x_372, 1, x_370); +x_373 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_372, x_4, x_315, x_6, x_7, x_8, x_9, x_10, x_321); +lean_dec(x_372); +return x_373; } else { -lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; -x_369 = l_Lean_Elab_Term_getCurrMacroScope(x_311, x_6, x_7, x_8, x_9, x_10, x_299); -x_370 = lean_ctor_get(x_369, 0); -lean_inc(x_370); -x_371 = lean_ctor_get(x_369, 1); -lean_inc(x_371); -lean_dec(x_369); -x_372 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_371); -x_373 = lean_ctor_get(x_372, 0); -lean_inc(x_373); -x_374 = lean_ctor_get(x_372, 1); -lean_inc(x_374); -lean_dec(x_372); -x_375 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; -x_376 = l_Lean_addMacroScope(x_373, x_375, x_370); -x_377 = lean_box(0); -x_378 = l_Lean_instInhabitedSourceInfo___closed__1; -x_379 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; -x_380 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_380, 0, x_378); -lean_ctor_set(x_380, 1, x_379); -lean_ctor_set(x_380, 2, x_376); -lean_ctor_set(x_380, 3, x_377); -x_381 = l_Array_empty___closed__1; -lean_inc(x_380); -x_382 = lean_array_push(x_381, x_380); -x_383 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_384 = lean_array_push(x_382, x_383); -x_385 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_386 = lean_array_push(x_384, x_385); -x_387 = lean_array_push(x_386, x_23); -x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_15); -lean_ctor_set(x_388, 1, x_387); -x_389 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_390 = lean_array_push(x_389, x_388); -x_391 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_391); -lean_ctor_set(x_392, 1, x_390); -x_393 = lean_array_push(x_381, x_392); -x_394 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_395 = lean_array_push(x_393, x_394); -x_396 = l_Lean_nullKind___closed__2; +lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; +x_374 = l_Lean_Elab_Term_getCurrMacroScope(x_315, x_6, x_7, x_8, x_9, x_10, x_303); +x_375 = lean_ctor_get(x_374, 0); +lean_inc(x_375); +x_376 = lean_ctor_get(x_374, 1); +lean_inc(x_376); +lean_dec(x_374); +x_377 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_376); +x_378 = lean_ctor_get(x_377, 0); +lean_inc(x_378); +x_379 = lean_ctor_get(x_377, 1); +lean_inc(x_379); +lean_dec(x_377); +x_380 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; +x_381 = l_Lean_addMacroScope(x_378, x_380, x_375); +x_382 = lean_box(0); +x_383 = l_Lean_instInhabitedSourceInfo___closed__1; +x_384 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; +x_385 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_385, 0, x_383); +lean_ctor_set(x_385, 1, x_384); +lean_ctor_set(x_385, 2, x_381); +lean_ctor_set(x_385, 3, x_382); +x_386 = l_Array_empty___closed__1; +lean_inc(x_385); +x_387 = lean_array_push(x_386, x_385); +x_388 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_389 = lean_array_push(x_387, x_388); +x_390 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_391 = lean_array_push(x_389, x_390); +x_392 = lean_array_push(x_391, x_23); +x_393 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_393, 0, x_15); +lean_ctor_set(x_393, 1, x_392); +x_394 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_395 = lean_array_push(x_394, x_393); +x_396 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; x_397 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_397, 0, x_396); lean_ctor_set(x_397, 1, x_395); -x_398 = lean_array_push(x_381, x_397); -x_399 = lean_array_push(x_381, x_22); -x_400 = lean_array_push(x_399, x_383); -x_401 = lean_array_push(x_400, x_383); -x_402 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_403 = lean_array_push(x_401, x_402); -x_404 = lean_array_push(x_403, x_380); -x_405 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_406 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_406, 0, x_405); -lean_ctor_set(x_406, 1, x_404); -x_407 = lean_array_push(x_381, x_406); -x_408 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; -x_409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_409, 0, x_408); -lean_ctor_set(x_409, 1, x_407); -x_410 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__7; -x_411 = lean_array_push(x_410, x_409); -x_412 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__2; -x_413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_413, 0, x_412); -lean_ctor_set(x_413, 1, x_411); -x_414 = lean_array_push(x_381, x_413); -x_415 = lean_array_push(x_414, x_383); -x_416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_416, 0, x_396); -lean_ctor_set(x_416, 1, x_415); -x_417 = lean_array_push(x_398, x_416); +x_398 = lean_array_push(x_386, x_397); +x_399 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_400 = lean_array_push(x_398, x_399); +x_401 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_402 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_402, 0, x_401); +lean_ctor_set(x_402, 1, x_400); +x_403 = lean_array_push(x_386, x_402); +x_404 = lean_array_push(x_386, x_22); +x_405 = lean_array_push(x_404, x_388); +x_406 = lean_array_push(x_405, x_388); +x_407 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_408 = lean_array_push(x_406, x_407); +x_409 = lean_array_push(x_408, x_385); +x_410 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_411 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_411, 0, x_410); +lean_ctor_set(x_411, 1, x_409); +x_412 = lean_array_push(x_386, x_411); +x_413 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_414 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_414, 0, x_413); +lean_ctor_set(x_414, 1, x_412); +x_415 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__7; +x_416 = lean_array_push(x_415, x_414); +x_417 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__2; x_418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_418, 0, x_396); -lean_ctor_set(x_418, 1, x_417); -x_419 = lean_array_push(x_381, x_418); -x_420 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +lean_ctor_set(x_418, 0, x_417); +lean_ctor_set(x_418, 1, x_416); +x_419 = lean_array_push(x_386, x_418); +x_420 = lean_array_push(x_419, x_388); x_421 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_421, 0, x_420); -lean_ctor_set(x_421, 1, x_419); -x_422 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_423 = lean_array_push(x_422, x_421); -x_424 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_425, 0, x_424); -lean_ctor_set(x_425, 1, x_423); -x_426 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_425, x_4, x_311, x_6, x_7, x_8, x_9, x_10, x_374); -lean_dec(x_425); -return x_426; +lean_ctor_set(x_421, 0, x_401); +lean_ctor_set(x_421, 1, x_420); +x_422 = lean_array_push(x_403, x_421); +x_423 = l_Lean_nullKind___closed__2; +x_424 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_424, 0, x_423); +lean_ctor_set(x_424, 1, x_422); +x_425 = lean_array_push(x_386, x_424); +x_426 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_427 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_427, 0, x_426); +lean_ctor_set(x_427, 1, x_425); +x_428 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_429 = lean_array_push(x_428, x_427); +x_430 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_431 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_431, 0, x_430); +lean_ctor_set(x_431, 1, x_429); +x_432 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_3, x_1, x_431, x_4, x_315, x_6, x_7, x_8, x_9, x_10, x_379); +lean_dec(x_431); +return x_432; } } } @@ -37053,23 +37101,23 @@ return x_426; } else { -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; uint8_t x_437; +lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; uint8_t x_443; lean_dec(x_14); -x_430 = lean_unsigned_to_nat(0u); -x_431 = l_Lean_Syntax_getArg(x_13, x_430); -x_432 = l_Lean_Syntax_getId(x_431); -lean_dec(x_431); -x_433 = lean_unsigned_to_nat(3u); -x_434 = l_Lean_Syntax_getArg(x_13, x_433); +x_436 = lean_unsigned_to_nat(0u); +x_437 = l_Lean_Syntax_getArg(x_13, x_436); +x_438 = l_Lean_Syntax_getId(x_437); +lean_dec(x_437); +x_439 = lean_unsigned_to_nat(3u); +x_440 = l_Lean_Syntax_getArg(x_13, x_439); lean_dec(x_13); -x_435 = l_Lean_mkOptionalNode___closed__2; -lean_inc(x_432); -x_436 = lean_array_push(x_435, x_432); +x_441 = l_Lean_mkOptionalNode___closed__2; +lean_inc(x_438); +x_442 = lean_array_push(x_441, x_438); lean_inc(x_2); -x_437 = l_Lean_Elab_Term_Do_isMutableLet(x_2); -if (x_437 == 0) +x_443 = l_Lean_Elab_Term_Do_isMutableLet(x_2); +if (x_443 == 0) { -lean_object* x_438; +lean_object* x_444; lean_inc(x_1); lean_inc(x_10); lean_inc(x_9); @@ -37079,368 +37127,368 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_438 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_438) == 0) +x_444 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_444) == 0) { -uint8_t x_439; -x_439 = !lean_is_exclusive(x_438); -if (x_439 == 0) +uint8_t x_445; +x_445 = !lean_is_exclusive(x_444); +if (x_445 == 0) { -lean_object* x_440; lean_object* x_441; lean_object* x_442; -x_440 = lean_ctor_get(x_438, 0); -x_441 = lean_ctor_get(x_438, 1); -lean_inc(x_434); -x_442 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_434); -if (lean_obj_tag(x_442) == 0) +lean_object* x_446; lean_object* x_447; lean_object* x_448; +x_446 = lean_ctor_get(x_444, 0); +x_447 = lean_ctor_get(x_444, 1); +lean_inc(x_440); +x_448 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_440); +if (lean_obj_tag(x_448) == 0) { -lean_object* x_443; -lean_free_object(x_438); -lean_dec(x_436); -lean_dec(x_2); -lean_inc(x_9); -lean_inc(x_434); -x_443 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_434, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_441); -if (lean_obj_tag(x_443) == 0) -{ -lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; -x_444 = lean_ctor_get(x_443, 1); -lean_inc(x_444); -lean_dec(x_443); -x_445 = lean_box(0); -x_446 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_446, 0, x_434); -lean_ctor_set(x_446, 1, x_445); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_447 = lean_apply_9(x_1, x_446, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_444); -if (lean_obj_tag(x_447) == 0) -{ -if (lean_obj_tag(x_3) == 0) -{ -uint8_t x_448; -lean_dec(x_440); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_448 = !lean_is_exclusive(x_447); -if (x_448 == 0) -{ -return x_447; -} -else -{ -lean_object* x_449; lean_object* x_450; lean_object* x_451; -x_449 = lean_ctor_get(x_447, 0); -x_450 = lean_ctor_get(x_447, 1); -lean_inc(x_450); -lean_inc(x_449); -lean_dec(x_447); -x_451 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_451, 0, x_449); -lean_ctor_set(x_451, 1, x_450); -return x_451; -} -} -else -{ -lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; -x_452 = lean_ctor_get(x_447, 0); -lean_inc(x_452); -x_453 = lean_ctor_get(x_447, 1); -lean_inc(x_453); -lean_dec(x_447); -x_454 = lean_ctor_get(x_3, 0); -lean_inc(x_454); -lean_dec(x_3); -x_455 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_455, 0, x_432); -x_456 = l_Lean_Elab_Term_Do_concat(x_452, x_454, x_455, x_440, x_5, x_6, x_7, x_8, x_9, x_10, x_453); -lean_dec(x_454); -return x_456; -} -} -else -{ -uint8_t x_457; -lean_dec(x_440); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_457 = !lean_is_exclusive(x_447); -if (x_457 == 0) -{ -return x_447; -} -else -{ -lean_object* x_458; lean_object* x_459; lean_object* x_460; -x_458 = lean_ctor_get(x_447, 0); -x_459 = lean_ctor_get(x_447, 1); -lean_inc(x_459); -lean_inc(x_458); -lean_dec(x_447); -x_460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_460, 0, x_458); -lean_ctor_set(x_460, 1, x_459); -return x_460; -} -} -} -else -{ -uint8_t x_461; -lean_dec(x_440); -lean_dec(x_434); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_461 = !lean_is_exclusive(x_443); -if (x_461 == 0) -{ -return x_443; -} -else -{ -lean_object* x_462; lean_object* x_463; lean_object* x_464; -x_462 = lean_ctor_get(x_443, 0); -x_463 = lean_ctor_get(x_443, 1); -lean_inc(x_463); -lean_inc(x_462); -lean_dec(x_443); -x_464 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_464, 0, x_462); -lean_ctor_set(x_464, 1, x_463); -return x_464; -} -} -} -else -{ -lean_object* x_465; +lean_object* x_449; +lean_free_object(x_444); lean_dec(x_442); -lean_dec(x_434); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_465 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_436, x_2, x_440); -lean_ctor_set(x_438, 0, x_465); -return x_438; -} -} -else -{ -lean_object* x_466; lean_object* x_467; lean_object* x_468; -x_466 = lean_ctor_get(x_438, 0); -x_467 = lean_ctor_get(x_438, 1); -lean_inc(x_467); -lean_inc(x_466); -lean_dec(x_438); -lean_inc(x_434); -x_468 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_434); -if (lean_obj_tag(x_468) == 0) -{ -lean_object* x_469; -lean_dec(x_436); lean_dec(x_2); lean_inc(x_9); -lean_inc(x_434); -x_469 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_434, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_467); -if (lean_obj_tag(x_469) == 0) +lean_inc(x_440); +x_449 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_440, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_447); +if (lean_obj_tag(x_449) == 0) { -lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; -x_470 = lean_ctor_get(x_469, 1); -lean_inc(x_470); -lean_dec(x_469); -x_471 = lean_box(0); -x_472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_472, 0, x_434); -lean_ctor_set(x_472, 1, x_471); +lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; +x_450 = lean_ctor_get(x_449, 1); +lean_inc(x_450); +lean_dec(x_449); +x_451 = lean_box(0); +x_452 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_452, 0, x_440); +lean_ctor_set(x_452, 1, x_451); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_473 = lean_apply_9(x_1, x_472, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_470); -if (lean_obj_tag(x_473) == 0) +x_453 = lean_apply_9(x_1, x_452, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_450); +if (lean_obj_tag(x_453) == 0) { if (lean_obj_tag(x_3) == 0) { -lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; -lean_dec(x_466); -lean_dec(x_432); +uint8_t x_454; +lean_dec(x_446); +lean_dec(x_438); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_474 = lean_ctor_get(x_473, 0); -lean_inc(x_474); -x_475 = lean_ctor_get(x_473, 1); -lean_inc(x_475); -if (lean_is_exclusive(x_473)) { - lean_ctor_release(x_473, 0); - lean_ctor_release(x_473, 1); - x_476 = x_473; -} else { - lean_dec_ref(x_473); - x_476 = lean_box(0); -} -if (lean_is_scalar(x_476)) { - x_477 = lean_alloc_ctor(0, 2, 0); -} else { - x_477 = x_476; -} -lean_ctor_set(x_477, 0, x_474); -lean_ctor_set(x_477, 1, x_475); -return x_477; +x_454 = !lean_is_exclusive(x_453); +if (x_454 == 0) +{ +return x_453; } else { -lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; -x_478 = lean_ctor_get(x_473, 0); -lean_inc(x_478); -x_479 = lean_ctor_get(x_473, 1); -lean_inc(x_479); -lean_dec(x_473); -x_480 = lean_ctor_get(x_3, 0); +lean_object* x_455; lean_object* x_456; lean_object* x_457; +x_455 = lean_ctor_get(x_453, 0); +x_456 = lean_ctor_get(x_453, 1); +lean_inc(x_456); +lean_inc(x_455); +lean_dec(x_453); +x_457 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_457, 0, x_455); +lean_ctor_set(x_457, 1, x_456); +return x_457; +} +} +else +{ +lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; +x_458 = lean_ctor_get(x_453, 0); +lean_inc(x_458); +x_459 = lean_ctor_get(x_453, 1); +lean_inc(x_459); +lean_dec(x_453); +x_460 = lean_ctor_get(x_3, 0); +lean_inc(x_460); +lean_dec(x_3); +x_461 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_461, 0, x_438); +x_462 = l_Lean_Elab_Term_Do_concat(x_458, x_460, x_461, x_446, x_5, x_6, x_7, x_8, x_9, x_10, x_459); +lean_dec(x_460); +return x_462; +} +} +else +{ +uint8_t x_463; +lean_dec(x_446); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_463 = !lean_is_exclusive(x_453); +if (x_463 == 0) +{ +return x_453; +} +else +{ +lean_object* x_464; lean_object* x_465; lean_object* x_466; +x_464 = lean_ctor_get(x_453, 0); +x_465 = lean_ctor_get(x_453, 1); +lean_inc(x_465); +lean_inc(x_464); +lean_dec(x_453); +x_466 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_466, 0, x_464); +lean_ctor_set(x_466, 1, x_465); +return x_466; +} +} +} +else +{ +uint8_t x_467; +lean_dec(x_446); +lean_dec(x_440); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_467 = !lean_is_exclusive(x_449); +if (x_467 == 0) +{ +return x_449; +} +else +{ +lean_object* x_468; lean_object* x_469; lean_object* x_470; +x_468 = lean_ctor_get(x_449, 0); +x_469 = lean_ctor_get(x_449, 1); +lean_inc(x_469); +lean_inc(x_468); +lean_dec(x_449); +x_470 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_470, 0, x_468); +lean_ctor_set(x_470, 1, x_469); +return x_470; +} +} +} +else +{ +lean_object* x_471; +lean_dec(x_448); +lean_dec(x_440); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_471 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_442, x_2, x_446); +lean_ctor_set(x_444, 0, x_471); +return x_444; +} +} +else +{ +lean_object* x_472; lean_object* x_473; lean_object* x_474; +x_472 = lean_ctor_get(x_444, 0); +x_473 = lean_ctor_get(x_444, 1); +lean_inc(x_473); +lean_inc(x_472); +lean_dec(x_444); +lean_inc(x_440); +x_474 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_440); +if (lean_obj_tag(x_474) == 0) +{ +lean_object* x_475; +lean_dec(x_442); +lean_dec(x_2); +lean_inc(x_9); +lean_inc(x_440); +x_475 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_440, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_473); +if (lean_obj_tag(x_475) == 0) +{ +lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; +x_476 = lean_ctor_get(x_475, 1); +lean_inc(x_476); +lean_dec(x_475); +x_477 = lean_box(0); +x_478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_478, 0, x_440); +lean_ctor_set(x_478, 1, x_477); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_479 = lean_apply_9(x_1, x_478, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_476); +if (lean_obj_tag(x_479) == 0) +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; +lean_dec(x_472); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_480 = lean_ctor_get(x_479, 0); lean_inc(x_480); -lean_dec(x_3); -x_481 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_481, 0, x_432); -x_482 = l_Lean_Elab_Term_Do_concat(x_478, x_480, x_481, x_466, x_5, x_6, x_7, x_8, x_9, x_10, x_479); -lean_dec(x_480); -return x_482; +x_481 = lean_ctor_get(x_479, 1); +lean_inc(x_481); +if (lean_is_exclusive(x_479)) { + lean_ctor_release(x_479, 0); + lean_ctor_release(x_479, 1); + x_482 = x_479; +} else { + lean_dec_ref(x_479); + x_482 = lean_box(0); } +if (lean_is_scalar(x_482)) { + x_483 = lean_alloc_ctor(0, 2, 0); +} else { + x_483 = x_482; +} +lean_ctor_set(x_483, 0, x_480); +lean_ctor_set(x_483, 1, x_481); +return x_483; } else { -lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; -lean_dec(x_466); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_483 = lean_ctor_get(x_473, 0); -lean_inc(x_483); -x_484 = lean_ctor_get(x_473, 1); +lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; +x_484 = lean_ctor_get(x_479, 0); lean_inc(x_484); -if (lean_is_exclusive(x_473)) { - lean_ctor_release(x_473, 0); - lean_ctor_release(x_473, 1); - x_485 = x_473; -} else { - lean_dec_ref(x_473); - x_485 = lean_box(0); -} -if (lean_is_scalar(x_485)) { - x_486 = lean_alloc_ctor(1, 2, 0); -} else { - x_486 = x_485; -} -lean_ctor_set(x_486, 0, x_483); -lean_ctor_set(x_486, 1, x_484); -return x_486; +x_485 = lean_ctor_get(x_479, 1); +lean_inc(x_485); +lean_dec(x_479); +x_486 = lean_ctor_get(x_3, 0); +lean_inc(x_486); +lean_dec(x_3); +x_487 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_487, 0, x_438); +x_488 = l_Lean_Elab_Term_Do_concat(x_484, x_486, x_487, x_472, x_5, x_6, x_7, x_8, x_9, x_10, x_485); +lean_dec(x_486); +return x_488; } } else { -lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; -lean_dec(x_466); -lean_dec(x_434); -lean_dec(x_432); +lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; +lean_dec(x_472); +lean_dec(x_438); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_487 = lean_ctor_get(x_469, 0); -lean_inc(x_487); -x_488 = lean_ctor_get(x_469, 1); -lean_inc(x_488); -if (lean_is_exclusive(x_469)) { - lean_ctor_release(x_469, 0); - lean_ctor_release(x_469, 1); - x_489 = x_469; +x_489 = lean_ctor_get(x_479, 0); +lean_inc(x_489); +x_490 = lean_ctor_get(x_479, 1); +lean_inc(x_490); +if (lean_is_exclusive(x_479)) { + lean_ctor_release(x_479, 0); + lean_ctor_release(x_479, 1); + x_491 = x_479; } else { - lean_dec_ref(x_469); - x_489 = lean_box(0); + lean_dec_ref(x_479); + x_491 = lean_box(0); } -if (lean_is_scalar(x_489)) { - x_490 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_491)) { + x_492 = lean_alloc_ctor(1, 2, 0); } else { - x_490 = x_489; + x_492 = x_491; } -lean_ctor_set(x_490, 0, x_487); -lean_ctor_set(x_490, 1, x_488); -return x_490; -} -} -else -{ -lean_object* x_491; lean_object* x_492; -lean_dec(x_468); -lean_dec(x_434); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_491 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_436, x_2, x_466); -x_492 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_492, 0, x_491); -lean_ctor_set(x_492, 1, x_467); +lean_ctor_set(x_492, 0, x_489); +lean_ctor_set(x_492, 1, x_490); return x_492; } } +else +{ +lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; +lean_dec(x_472); +lean_dec(x_440); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_493 = lean_ctor_get(x_475, 0); +lean_inc(x_493); +x_494 = lean_ctor_get(x_475, 1); +lean_inc(x_494); +if (lean_is_exclusive(x_475)) { + lean_ctor_release(x_475, 0); + lean_ctor_release(x_475, 1); + x_495 = x_475; +} else { + lean_dec_ref(x_475); + x_495 = lean_box(0); +} +if (lean_is_scalar(x_495)) { + x_496 = lean_alloc_ctor(1, 2, 0); +} else { + x_496 = x_495; +} +lean_ctor_set(x_496, 0, x_493); +lean_ctor_set(x_496, 1, x_494); +return x_496; +} } else { -uint8_t x_493; -lean_dec(x_436); -lean_dec(x_434); -lean_dec(x_432); +lean_object* x_497; lean_object* x_498; +lean_dec(x_474); +lean_dec(x_440); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_497 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_442, x_2, x_472); +x_498 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_498, 0, x_497); +lean_ctor_set(x_498, 1, x_473); +return x_498; +} +} +} +else +{ +uint8_t x_499; +lean_dec(x_442); +lean_dec(x_440); +lean_dec(x_438); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -37451,42 +37499,42 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_493 = !lean_is_exclusive(x_438); -if (x_493 == 0) +x_499 = !lean_is_exclusive(x_444); +if (x_499 == 0) { -return x_438; +return x_444; } else { -lean_object* x_494; lean_object* x_495; lean_object* x_496; -x_494 = lean_ctor_get(x_438, 0); -x_495 = lean_ctor_get(x_438, 1); -lean_inc(x_495); -lean_inc(x_494); -lean_dec(x_438); -x_496 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_496, 0, x_494); -lean_ctor_set(x_496, 1, x_495); -return x_496; +lean_object* x_500; lean_object* x_501; lean_object* x_502; +x_500 = lean_ctor_get(x_444, 0); +x_501 = lean_ctor_get(x_444, 1); +lean_inc(x_501); +lean_inc(x_500); +lean_dec(x_444); +x_502 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_502, 0, x_500); +lean_ctor_set(x_502, 1, x_501); +return x_502; } } } else { -lean_object* x_497; lean_object* x_498; lean_object* x_499; uint8_t x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_497 = lean_ctor_get(x_4, 0); -lean_inc(x_497); -x_498 = lean_ctor_get(x_4, 1); -lean_inc(x_498); -x_499 = lean_ctor_get(x_4, 2); -lean_inc(x_499); -x_500 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); -x_501 = l_Lean_Elab_Term_Do_insertVars(x_499, x_436); -x_502 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_502, 0, x_497); -lean_ctor_set(x_502, 1, x_498); -lean_ctor_set(x_502, 2, x_501); -lean_ctor_set_uint8(x_502, sizeof(void*)*3, x_500); +lean_object* x_503; lean_object* x_504; lean_object* x_505; uint8_t x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; +x_503 = lean_ctor_get(x_4, 0); +lean_inc(x_503); +x_504 = lean_ctor_get(x_4, 1); +lean_inc(x_504); +x_505 = lean_ctor_get(x_4, 2); +lean_inc(x_505); +x_506 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); +x_507 = l_Lean_Elab_Term_Do_insertVars(x_505, x_442); +x_508 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_508, 0, x_503); +lean_ctor_set(x_508, 1, x_504); +lean_ctor_set(x_508, 2, x_507); +lean_ctor_set_uint8(x_508, sizeof(void*)*3, x_506); lean_inc(x_1); lean_inc(x_10); lean_inc(x_9); @@ -37495,368 +37543,368 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_3); -x_503 = lean_apply_9(x_1, x_3, x_502, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_503) == 0) +x_509 = lean_apply_9(x_1, x_3, x_508, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_509) == 0) { -uint8_t x_504; -x_504 = !lean_is_exclusive(x_503); -if (x_504 == 0) +uint8_t x_510; +x_510 = !lean_is_exclusive(x_509); +if (x_510 == 0) { -lean_object* x_505; lean_object* x_506; lean_object* x_507; -x_505 = lean_ctor_get(x_503, 0); -x_506 = lean_ctor_get(x_503, 1); -lean_inc(x_434); -x_507 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_434); -if (lean_obj_tag(x_507) == 0) +lean_object* x_511; lean_object* x_512; lean_object* x_513; +x_511 = lean_ctor_get(x_509, 0); +x_512 = lean_ctor_get(x_509, 1); +lean_inc(x_440); +x_513 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_440); +if (lean_obj_tag(x_513) == 0) { -lean_object* x_508; -lean_free_object(x_503); -lean_dec(x_436); +lean_object* x_514; +lean_free_object(x_509); +lean_dec(x_442); lean_dec(x_2); lean_inc(x_9); -lean_inc(x_434); -x_508 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_434, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_506); -if (lean_obj_tag(x_508) == 0) +lean_inc(x_440); +x_514 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_440, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_512); +if (lean_obj_tag(x_514) == 0) { -lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; -x_509 = lean_ctor_get(x_508, 1); -lean_inc(x_509); -lean_dec(x_508); -x_510 = lean_box(0); -x_511 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_511, 0, x_434); -lean_ctor_set(x_511, 1, x_510); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_512 = lean_apply_9(x_1, x_511, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_509); -if (lean_obj_tag(x_512) == 0) -{ -if (lean_obj_tag(x_3) == 0) -{ -uint8_t x_513; -lean_dec(x_505); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_513 = !lean_is_exclusive(x_512); -if (x_513 == 0) -{ -return x_512; -} -else -{ -lean_object* x_514; lean_object* x_515; lean_object* x_516; -x_514 = lean_ctor_get(x_512, 0); -x_515 = lean_ctor_get(x_512, 1); +lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; +x_515 = lean_ctor_get(x_514, 1); lean_inc(x_515); -lean_inc(x_514); -lean_dec(x_512); -x_516 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_516, 0, x_514); -lean_ctor_set(x_516, 1, x_515); -return x_516; -} -} -else -{ -lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; -x_517 = lean_ctor_get(x_512, 0); -lean_inc(x_517); -x_518 = lean_ctor_get(x_512, 1); -lean_inc(x_518); -lean_dec(x_512); -x_519 = lean_ctor_get(x_3, 0); -lean_inc(x_519); -lean_dec(x_3); -x_520 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_520, 0, x_432); -x_521 = l_Lean_Elab_Term_Do_concat(x_517, x_519, x_520, x_505, x_5, x_6, x_7, x_8, x_9, x_10, x_518); -lean_dec(x_519); -return x_521; -} -} -else -{ -uint8_t x_522; -lean_dec(x_505); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_522 = !lean_is_exclusive(x_512); -if (x_522 == 0) -{ -return x_512; -} -else -{ -lean_object* x_523; lean_object* x_524; lean_object* x_525; -x_523 = lean_ctor_get(x_512, 0); -x_524 = lean_ctor_get(x_512, 1); -lean_inc(x_524); -lean_inc(x_523); -lean_dec(x_512); -x_525 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_525, 0, x_523); -lean_ctor_set(x_525, 1, x_524); -return x_525; -} -} -} -else -{ -uint8_t x_526; -lean_dec(x_505); -lean_dec(x_434); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_526 = !lean_is_exclusive(x_508); -if (x_526 == 0) -{ -return x_508; -} -else -{ -lean_object* x_527; lean_object* x_528; lean_object* x_529; -x_527 = lean_ctor_get(x_508, 0); -x_528 = lean_ctor_get(x_508, 1); -lean_inc(x_528); -lean_inc(x_527); -lean_dec(x_508); -x_529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_529, 0, x_527); -lean_ctor_set(x_529, 1, x_528); -return x_529; -} -} -} -else -{ -lean_object* x_530; -lean_dec(x_507); -lean_dec(x_434); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_530 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_436, x_2, x_505); -lean_ctor_set(x_503, 0, x_530); -return x_503; -} -} -else -{ -lean_object* x_531; lean_object* x_532; lean_object* x_533; -x_531 = lean_ctor_get(x_503, 0); -x_532 = lean_ctor_get(x_503, 1); -lean_inc(x_532); -lean_inc(x_531); -lean_dec(x_503); -lean_inc(x_434); -x_533 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_434); -if (lean_obj_tag(x_533) == 0) -{ -lean_object* x_534; -lean_dec(x_436); -lean_dec(x_2); -lean_inc(x_9); -lean_inc(x_434); -x_534 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_434, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_532); -if (lean_obj_tag(x_534) == 0) -{ -lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; -x_535 = lean_ctor_get(x_534, 1); -lean_inc(x_535); -lean_dec(x_534); -x_536 = lean_box(0); -x_537 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_537, 0, x_434); -lean_ctor_set(x_537, 1, x_536); +lean_dec(x_514); +x_516 = lean_box(0); +x_517 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_517, 0, x_440); +lean_ctor_set(x_517, 1, x_516); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_538 = lean_apply_9(x_1, x_537, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_535); -if (lean_obj_tag(x_538) == 0) +x_518 = lean_apply_9(x_1, x_517, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_515); +if (lean_obj_tag(x_518) == 0) { if (lean_obj_tag(x_3) == 0) { -lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; -lean_dec(x_531); -lean_dec(x_432); +uint8_t x_519; +lean_dec(x_511); +lean_dec(x_438); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_539 = lean_ctor_get(x_538, 0); -lean_inc(x_539); -x_540 = lean_ctor_get(x_538, 1); -lean_inc(x_540); -if (lean_is_exclusive(x_538)) { - lean_ctor_release(x_538, 0); - lean_ctor_release(x_538, 1); - x_541 = x_538; -} else { - lean_dec_ref(x_538); - x_541 = lean_box(0); -} -if (lean_is_scalar(x_541)) { - x_542 = lean_alloc_ctor(0, 2, 0); -} else { - x_542 = x_541; -} -lean_ctor_set(x_542, 0, x_539); -lean_ctor_set(x_542, 1, x_540); -return x_542; +x_519 = !lean_is_exclusive(x_518); +if (x_519 == 0) +{ +return x_518; } else { -lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; -x_543 = lean_ctor_get(x_538, 0); -lean_inc(x_543); -x_544 = lean_ctor_get(x_538, 1); -lean_inc(x_544); -lean_dec(x_538); -x_545 = lean_ctor_get(x_3, 0); +lean_object* x_520; lean_object* x_521; lean_object* x_522; +x_520 = lean_ctor_get(x_518, 0); +x_521 = lean_ctor_get(x_518, 1); +lean_inc(x_521); +lean_inc(x_520); +lean_dec(x_518); +x_522 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_522, 0, x_520); +lean_ctor_set(x_522, 1, x_521); +return x_522; +} +} +else +{ +lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; +x_523 = lean_ctor_get(x_518, 0); +lean_inc(x_523); +x_524 = lean_ctor_get(x_518, 1); +lean_inc(x_524); +lean_dec(x_518); +x_525 = lean_ctor_get(x_3, 0); +lean_inc(x_525); +lean_dec(x_3); +x_526 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_526, 0, x_438); +x_527 = l_Lean_Elab_Term_Do_concat(x_523, x_525, x_526, x_511, x_5, x_6, x_7, x_8, x_9, x_10, x_524); +lean_dec(x_525); +return x_527; +} +} +else +{ +uint8_t x_528; +lean_dec(x_511); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_528 = !lean_is_exclusive(x_518); +if (x_528 == 0) +{ +return x_518; +} +else +{ +lean_object* x_529; lean_object* x_530; lean_object* x_531; +x_529 = lean_ctor_get(x_518, 0); +x_530 = lean_ctor_get(x_518, 1); +lean_inc(x_530); +lean_inc(x_529); +lean_dec(x_518); +x_531 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_531, 0, x_529); +lean_ctor_set(x_531, 1, x_530); +return x_531; +} +} +} +else +{ +uint8_t x_532; +lean_dec(x_511); +lean_dec(x_440); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_532 = !lean_is_exclusive(x_514); +if (x_532 == 0) +{ +return x_514; +} +else +{ +lean_object* x_533; lean_object* x_534; lean_object* x_535; +x_533 = lean_ctor_get(x_514, 0); +x_534 = lean_ctor_get(x_514, 1); +lean_inc(x_534); +lean_inc(x_533); +lean_dec(x_514); +x_535 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_535, 0, x_533); +lean_ctor_set(x_535, 1, x_534); +return x_535; +} +} +} +else +{ +lean_object* x_536; +lean_dec(x_513); +lean_dec(x_440); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_536 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_442, x_2, x_511); +lean_ctor_set(x_509, 0, x_536); +return x_509; +} +} +else +{ +lean_object* x_537; lean_object* x_538; lean_object* x_539; +x_537 = lean_ctor_get(x_509, 0); +x_538 = lean_ctor_get(x_509, 1); +lean_inc(x_538); +lean_inc(x_537); +lean_dec(x_509); +lean_inc(x_440); +x_539 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_440); +if (lean_obj_tag(x_539) == 0) +{ +lean_object* x_540; +lean_dec(x_442); +lean_dec(x_2); +lean_inc(x_9); +lean_inc(x_440); +x_540 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_440, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_538); +if (lean_obj_tag(x_540) == 0) +{ +lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; +x_541 = lean_ctor_get(x_540, 1); +lean_inc(x_541); +lean_dec(x_540); +x_542 = lean_box(0); +x_543 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_543, 0, x_440); +lean_ctor_set(x_543, 1, x_542); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_544 = lean_apply_9(x_1, x_543, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_541); +if (lean_obj_tag(x_544) == 0) +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; +lean_dec(x_537); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_545 = lean_ctor_get(x_544, 0); lean_inc(x_545); -lean_dec(x_3); -x_546 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_546, 0, x_432); -x_547 = l_Lean_Elab_Term_Do_concat(x_543, x_545, x_546, x_531, x_5, x_6, x_7, x_8, x_9, x_10, x_544); -lean_dec(x_545); -return x_547; +x_546 = lean_ctor_get(x_544, 1); +lean_inc(x_546); +if (lean_is_exclusive(x_544)) { + lean_ctor_release(x_544, 0); + lean_ctor_release(x_544, 1); + x_547 = x_544; +} else { + lean_dec_ref(x_544); + x_547 = lean_box(0); } +if (lean_is_scalar(x_547)) { + x_548 = lean_alloc_ctor(0, 2, 0); +} else { + x_548 = x_547; +} +lean_ctor_set(x_548, 0, x_545); +lean_ctor_set(x_548, 1, x_546); +return x_548; } else { -lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; -lean_dec(x_531); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_548 = lean_ctor_get(x_538, 0); -lean_inc(x_548); -x_549 = lean_ctor_get(x_538, 1); +lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; +x_549 = lean_ctor_get(x_544, 0); lean_inc(x_549); -if (lean_is_exclusive(x_538)) { - lean_ctor_release(x_538, 0); - lean_ctor_release(x_538, 1); - x_550 = x_538; -} else { - lean_dec_ref(x_538); - x_550 = lean_box(0); -} -if (lean_is_scalar(x_550)) { - x_551 = lean_alloc_ctor(1, 2, 0); -} else { - x_551 = x_550; -} -lean_ctor_set(x_551, 0, x_548); -lean_ctor_set(x_551, 1, x_549); -return x_551; +x_550 = lean_ctor_get(x_544, 1); +lean_inc(x_550); +lean_dec(x_544); +x_551 = lean_ctor_get(x_3, 0); +lean_inc(x_551); +lean_dec(x_3); +x_552 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_552, 0, x_438); +x_553 = l_Lean_Elab_Term_Do_concat(x_549, x_551, x_552, x_537, x_5, x_6, x_7, x_8, x_9, x_10, x_550); +lean_dec(x_551); +return x_553; } } else { -lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; -lean_dec(x_531); -lean_dec(x_434); -lean_dec(x_432); +lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; +lean_dec(x_537); +lean_dec(x_438); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_552 = lean_ctor_get(x_534, 0); -lean_inc(x_552); -x_553 = lean_ctor_get(x_534, 1); -lean_inc(x_553); -if (lean_is_exclusive(x_534)) { - lean_ctor_release(x_534, 0); - lean_ctor_release(x_534, 1); - x_554 = x_534; +x_554 = lean_ctor_get(x_544, 0); +lean_inc(x_554); +x_555 = lean_ctor_get(x_544, 1); +lean_inc(x_555); +if (lean_is_exclusive(x_544)) { + lean_ctor_release(x_544, 0); + lean_ctor_release(x_544, 1); + x_556 = x_544; } else { - lean_dec_ref(x_534); - x_554 = lean_box(0); + lean_dec_ref(x_544); + x_556 = lean_box(0); } -if (lean_is_scalar(x_554)) { - x_555 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_556)) { + x_557 = lean_alloc_ctor(1, 2, 0); } else { - x_555 = x_554; + x_557 = x_556; } -lean_ctor_set(x_555, 0, x_552); -lean_ctor_set(x_555, 1, x_553); -return x_555; -} -} -else -{ -lean_object* x_556; lean_object* x_557; -lean_dec(x_533); -lean_dec(x_434); -lean_dec(x_432); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_556 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_436, x_2, x_531); -x_557 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_557, 0, x_556); -lean_ctor_set(x_557, 1, x_532); +lean_ctor_set(x_557, 0, x_554); +lean_ctor_set(x_557, 1, x_555); return x_557; } } +else +{ +lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; +lean_dec(x_537); +lean_dec(x_440); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_558 = lean_ctor_get(x_540, 0); +lean_inc(x_558); +x_559 = lean_ctor_get(x_540, 1); +lean_inc(x_559); +if (lean_is_exclusive(x_540)) { + lean_ctor_release(x_540, 0); + lean_ctor_release(x_540, 1); + x_560 = x_540; +} else { + lean_dec_ref(x_540); + x_560 = lean_box(0); +} +if (lean_is_scalar(x_560)) { + x_561 = lean_alloc_ctor(1, 2, 0); +} else { + x_561 = x_560; +} +lean_ctor_set(x_561, 0, x_558); +lean_ctor_set(x_561, 1, x_559); +return x_561; +} } else { -uint8_t x_558; -lean_dec(x_436); -lean_dec(x_434); -lean_dec(x_432); +lean_object* x_562; lean_object* x_563; +lean_dec(x_539); +lean_dec(x_440); +lean_dec(x_438); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_562 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_442, x_2, x_537); +x_563 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_563, 0, x_562); +lean_ctor_set(x_563, 1, x_538); +return x_563; +} +} +} +else +{ +uint8_t x_564; +lean_dec(x_442); +lean_dec(x_440); +lean_dec(x_438); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -37867,23 +37915,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_558 = !lean_is_exclusive(x_503); -if (x_558 == 0) +x_564 = !lean_is_exclusive(x_509); +if (x_564 == 0) { -return x_503; +return x_509; } else { -lean_object* x_559; lean_object* x_560; lean_object* x_561; -x_559 = lean_ctor_get(x_503, 0); -x_560 = lean_ctor_get(x_503, 1); -lean_inc(x_560); -lean_inc(x_559); -lean_dec(x_503); -x_561 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_561, 0, x_559); -lean_ctor_set(x_561, 1, x_560); -return x_561; +lean_object* x_565; lean_object* x_566; lean_object* x_567; +x_565 = lean_ctor_get(x_509, 0); +x_566 = lean_ctor_get(x_509, 1); +lean_inc(x_566); +lean_inc(x_565); +lean_dec(x_509); +x_567 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_567, 0, x_565); +lean_ctor_set(x_567, 1, x_566); +return x_567; } } } @@ -38043,7 +38091,7 @@ lean_dec(x_36); x_38 = !lean_is_exclusive(x_5); if (x_38 == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; x_39 = lean_ctor_get(x_5, 7); lean_dec(x_39); lean_ctor_set(x_5, 7, x_33); @@ -38089,7 +38137,7 @@ lean_ctor_set(x_63, 1, x_61); x_64 = lean_array_push(x_52, x_63); x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; x_66 = lean_array_push(x_64, x_65); -x_67 = l_Lean_nullKind___closed__2; +x_67 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_68 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_66); @@ -38115,190 +38163,192 @@ x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_67); lean_ctor_set(x_83, 1, x_82); x_84 = lean_array_push(x_69, x_83); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_67); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_52, x_85); -x_87 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_86); -x_89 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_90 = lean_array_push(x_89, x_88); -x_91 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = l_Lean_Syntax_getArg(x_92, x_34); -lean_dec(x_92); -x_94 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_93); -x_95 = l_List_append___rarg(x_94, x_3); -x_96 = lean_apply_9(x_1, x_95, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); -return x_96; +x_85 = l_Lean_nullKind___closed__2; +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +x_87 = lean_array_push(x_52, x_86); +x_88 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_91 = lean_array_push(x_90, x_89); +x_92 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +x_94 = l_Lean_Syntax_getArg(x_93, x_34); +lean_dec(x_93); +x_95 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_94); +x_96 = l_List_append___rarg(x_95, x_3); +x_97 = lean_apply_9(x_1, x_96, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +return x_97; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; uint8_t x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_97 = lean_ctor_get(x_5, 0); -x_98 = lean_ctor_get(x_5, 1); -x_99 = lean_ctor_get(x_5, 2); -x_100 = lean_ctor_get(x_5, 3); -x_101 = lean_ctor_get(x_5, 4); -x_102 = lean_ctor_get(x_5, 5); -x_103 = lean_ctor_get(x_5, 6); -x_104 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_105 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_106 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; uint8_t x_106; uint8_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_98 = lean_ctor_get(x_5, 0); +x_99 = lean_ctor_get(x_5, 1); +x_100 = lean_ctor_get(x_5, 2); +x_101 = lean_ctor_get(x_5, 3); +x_102 = lean_ctor_get(x_5, 4); +x_103 = lean_ctor_get(x_5, 5); +x_104 = lean_ctor_get(x_5, 6); +x_105 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); +x_106 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); +x_107 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); +lean_inc(x_104); lean_inc(x_103); lean_inc(x_102); lean_inc(x_101); lean_inc(x_100); lean_inc(x_99); lean_inc(x_98); -lean_inc(x_97); lean_dec(x_5); -x_107 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_107, 0, x_97); -lean_ctor_set(x_107, 1, x_98); -lean_ctor_set(x_107, 2, x_99); -lean_ctor_set(x_107, 3, x_100); -lean_ctor_set(x_107, 4, x_101); -lean_ctor_set(x_107, 5, x_102); -lean_ctor_set(x_107, 6, x_103); -lean_ctor_set(x_107, 7, x_33); -lean_ctor_set_uint8(x_107, sizeof(void*)*8, x_104); -lean_ctor_set_uint8(x_107, sizeof(void*)*8 + 1, x_105); -lean_ctor_set_uint8(x_107, sizeof(void*)*8 + 2, x_106); -x_108 = l_Lean_Elab_Term_getCurrMacroScope(x_107, x_6, x_7, x_8, x_9, x_10, x_37); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); +x_108 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_108, 0, x_98); +lean_ctor_set(x_108, 1, x_99); +lean_ctor_set(x_108, 2, x_100); +lean_ctor_set(x_108, 3, x_101); +lean_ctor_set(x_108, 4, x_102); +lean_ctor_set(x_108, 5, x_103); +lean_ctor_set(x_108, 6, x_104); +lean_ctor_set(x_108, 7, x_33); +lean_ctor_set_uint8(x_108, sizeof(void*)*8, x_105); +lean_ctor_set_uint8(x_108, sizeof(void*)*8 + 1, x_106); +lean_ctor_set_uint8(x_108, sizeof(void*)*8 + 2, x_107); +x_109 = l_Lean_Elab_Term_getCurrMacroScope(x_108, x_6, x_7, x_8, x_9, x_10, x_37); +x_110 = lean_ctor_get(x_109, 0); lean_inc(x_110); -lean_dec(x_108); -x_111 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_110); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_111); +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -lean_dec(x_111); -x_114 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; -x_115 = l_Lean_addMacroScope(x_112, x_114, x_109); -x_116 = lean_box(0); -x_117 = l_Lean_instInhabitedSourceInfo___closed__1; -x_118 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; -x_119 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -lean_ctor_set(x_119, 2, x_115); -lean_ctor_set(x_119, 3, x_116); -x_120 = l_Array_empty___closed__1; -lean_inc(x_119); -x_121 = lean_array_push(x_120, x_119); -x_122 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_123 = lean_array_push(x_121, x_122); -x_124 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_125 = lean_array_push(x_123, x_124); -x_126 = lean_array_push(x_125, x_23); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_15); -lean_ctor_set(x_127, 1, x_126); -x_128 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_129 = lean_array_push(x_128, x_127); -x_130 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_130); -lean_ctor_set(x_131, 1, x_129); -x_132 = lean_array_push(x_120, x_131); -x_133 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_134 = lean_array_push(x_132, x_133); -x_135 = l_Lean_nullKind___closed__2; -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -x_137 = lean_array_push(x_120, x_136); -x_138 = lean_array_push(x_120, x_21); -x_139 = lean_array_push(x_138, x_122); -x_140 = lean_array_push(x_139, x_122); -x_141 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_142 = lean_array_push(x_140, x_141); -x_143 = lean_array_push(x_142, x_119); -x_144 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_146 = lean_array_push(x_120, x_145); -x_147 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = lean_array_push(x_120, x_148); -x_150 = lean_array_push(x_149, x_122); -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_135); -lean_ctor_set(x_151, 1, x_150); -x_152 = lean_array_push(x_137, x_151); -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_135); -lean_ctor_set(x_153, 1, x_152); -x_154 = lean_array_push(x_120, x_153); -x_155 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_154); -x_157 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_158 = lean_array_push(x_157, x_156); -x_159 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_158); -x_161 = l_Lean_Syntax_getArg(x_160, x_34); -lean_dec(x_160); -x_162 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_161); -x_163 = l_List_append___rarg(x_162, x_3); -x_164 = lean_apply_9(x_1, x_163, x_4, x_107, x_6, x_7, x_8, x_9, x_10, x_113); -return x_164; +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_115 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; +x_116 = l_Lean_addMacroScope(x_113, x_115, x_110); +x_117 = lean_box(0); +x_118 = l_Lean_instInhabitedSourceInfo___closed__1; +x_119 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; +x_120 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +lean_ctor_set(x_120, 2, x_116); +lean_ctor_set(x_120, 3, x_117); +x_121 = l_Array_empty___closed__1; +lean_inc(x_120); +x_122 = lean_array_push(x_121, x_120); +x_123 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_124 = lean_array_push(x_122, x_123); +x_125 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_126 = lean_array_push(x_124, x_125); +x_127 = lean_array_push(x_126, x_23); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_15); +lean_ctor_set(x_128, 1, x_127); +x_129 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_130 = lean_array_push(x_129, x_128); +x_131 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +x_133 = lean_array_push(x_121, x_132); +x_134 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_135 = lean_array_push(x_133, x_134); +x_136 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_135); +x_138 = lean_array_push(x_121, x_137); +x_139 = lean_array_push(x_121, x_21); +x_140 = lean_array_push(x_139, x_123); +x_141 = lean_array_push(x_140, x_123); +x_142 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_143 = lean_array_push(x_141, x_142); +x_144 = lean_array_push(x_143, x_120); +x_145 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_144); +x_147 = lean_array_push(x_121, x_146); +x_148 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_147); +x_150 = lean_array_push(x_121, x_149); +x_151 = lean_array_push(x_150, x_123); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_136); +lean_ctor_set(x_152, 1, x_151); +x_153 = lean_array_push(x_138, x_152); +x_154 = l_Lean_nullKind___closed__2; +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_153); +x_156 = lean_array_push(x_121, x_155); +x_157 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_156); +x_159 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_160 = lean_array_push(x_159, x_158); +x_161 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_160); +x_163 = l_Lean_Syntax_getArg(x_162, x_34); +lean_dec(x_162); +x_164 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_163); +x_165 = l_List_append___rarg(x_164, x_3); +x_166 = lean_apply_9(x_1, x_165, x_4, x_108, x_6, x_7, x_8, x_9, x_10, x_114); +return x_166; } } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; uint8_t x_182; uint8_t x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_165 = lean_ctor_get(x_30, 0); -x_166 = lean_ctor_get(x_30, 1); -x_167 = lean_ctor_get(x_30, 2); -x_168 = lean_ctor_get(x_30, 3); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; uint8_t x_184; uint8_t x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +x_167 = lean_ctor_get(x_30, 0); +x_168 = lean_ctor_get(x_30, 1); +x_169 = lean_ctor_get(x_30, 2); +x_170 = lean_ctor_get(x_30, 3); +lean_inc(x_170); +lean_inc(x_169); lean_inc(x_168); lean_inc(x_167); -lean_inc(x_166); -lean_inc(x_165); lean_dec(x_30); -x_169 = lean_unsigned_to_nat(1u); -x_170 = lean_nat_add(x_166, x_169); -x_171 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_171, 0, x_165); -lean_ctor_set(x_171, 1, x_170); -lean_ctor_set(x_171, 2, x_167); -lean_ctor_set(x_171, 3, x_168); -x_172 = lean_st_ref_set(x_10, x_171, x_31); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -lean_dec(x_172); -x_174 = lean_ctor_get(x_5, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_5, 1); +x_171 = lean_unsigned_to_nat(1u); +x_172 = lean_nat_add(x_168, x_171); +x_173 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_173, 0, x_167); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_169); +lean_ctor_set(x_173, 3, x_170); +x_174 = lean_st_ref_set(x_10, x_173, x_31); +x_175 = lean_ctor_get(x_174, 1); lean_inc(x_175); -x_176 = lean_ctor_get(x_5, 2); +lean_dec(x_174); +x_176 = lean_ctor_get(x_5, 0); lean_inc(x_176); -x_177 = lean_ctor_get(x_5, 3); +x_177 = lean_ctor_get(x_5, 1); lean_inc(x_177); -x_178 = lean_ctor_get(x_5, 4); +x_178 = lean_ctor_get(x_5, 2); lean_inc(x_178); -x_179 = lean_ctor_get(x_5, 5); +x_179 = lean_ctor_get(x_5, 3); lean_inc(x_179); -x_180 = lean_ctor_get(x_5, 6); +x_180 = lean_ctor_get(x_5, 4); lean_inc(x_180); -x_181 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_182 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_183 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); +x_181 = lean_ctor_get(x_5, 5); +lean_inc(x_181); +x_182 = lean_ctor_get(x_5, 6); +lean_inc(x_182); +x_183 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); +x_184 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); +x_185 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 0); lean_ctor_release(x_5, 1); @@ -38308,216 +38358,218 @@ if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 5); lean_ctor_release(x_5, 6); lean_ctor_release(x_5, 7); - x_184 = x_5; + x_186 = x_5; } else { lean_dec_ref(x_5); - x_184 = lean_box(0); + x_186 = lean_box(0); } -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(0, 8, 3); +if (lean_is_scalar(x_186)) { + x_187 = lean_alloc_ctor(0, 8, 3); } else { - x_185 = x_184; + x_187 = x_186; } -lean_ctor_set(x_185, 0, x_174); -lean_ctor_set(x_185, 1, x_175); -lean_ctor_set(x_185, 2, x_176); -lean_ctor_set(x_185, 3, x_177); -lean_ctor_set(x_185, 4, x_178); -lean_ctor_set(x_185, 5, x_179); -lean_ctor_set(x_185, 6, x_180); -lean_ctor_set(x_185, 7, x_166); -lean_ctor_set_uint8(x_185, sizeof(void*)*8, x_181); -lean_ctor_set_uint8(x_185, sizeof(void*)*8 + 1, x_182); -lean_ctor_set_uint8(x_185, sizeof(void*)*8 + 2, x_183); -x_186 = l_Lean_Elab_Term_getCurrMacroScope(x_185, x_6, x_7, x_8, x_9, x_10, x_173); -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -lean_dec(x_186); -x_189 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_188); -x_190 = lean_ctor_get(x_189, 0); +lean_ctor_set(x_187, 0, x_176); +lean_ctor_set(x_187, 1, x_177); +lean_ctor_set(x_187, 2, x_178); +lean_ctor_set(x_187, 3, x_179); +lean_ctor_set(x_187, 4, x_180); +lean_ctor_set(x_187, 5, x_181); +lean_ctor_set(x_187, 6, x_182); +lean_ctor_set(x_187, 7, x_168); +lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_183); +lean_ctor_set_uint8(x_187, sizeof(void*)*8 + 1, x_184); +lean_ctor_set_uint8(x_187, sizeof(void*)*8 + 2, x_185); +x_188 = l_Lean_Elab_Term_getCurrMacroScope(x_187, x_6, x_7, x_8, x_9, x_10, x_175); +x_189 = lean_ctor_get(x_188, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_188, 1); lean_inc(x_190); -x_191 = lean_ctor_get(x_189, 1); -lean_inc(x_191); -lean_dec(x_189); -x_192 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; -x_193 = l_Lean_addMacroScope(x_190, x_192, x_187); -x_194 = lean_box(0); -x_195 = l_Lean_instInhabitedSourceInfo___closed__1; -x_196 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; -x_197 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -lean_ctor_set(x_197, 2, x_193); -lean_ctor_set(x_197, 3, x_194); -x_198 = l_Array_empty___closed__1; -lean_inc(x_197); -x_199 = lean_array_push(x_198, x_197); -x_200 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_201 = lean_array_push(x_199, x_200); -x_202 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +lean_dec(x_188); +x_191 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_190); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_191, 1); +lean_inc(x_193); +lean_dec(x_191); +x_194 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; +x_195 = l_Lean_addMacroScope(x_192, x_194, x_189); +x_196 = lean_box(0); +x_197 = l_Lean_instInhabitedSourceInfo___closed__1; +x_198 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; +x_199 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +lean_ctor_set(x_199, 2, x_195); +lean_ctor_set(x_199, 3, x_196); +x_200 = l_Array_empty___closed__1; +lean_inc(x_199); +x_201 = lean_array_push(x_200, x_199); +x_202 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_203 = lean_array_push(x_201, x_202); -x_204 = lean_array_push(x_203, x_23); -x_205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_205, 0, x_15); -lean_ctor_set(x_205, 1, x_204); -x_206 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_207 = lean_array_push(x_206, x_205); -x_208 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_209, 0, x_208); -lean_ctor_set(x_209, 1, x_207); -x_210 = lean_array_push(x_198, x_209); -x_211 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_212 = lean_array_push(x_210, x_211); -x_213 = l_Lean_nullKind___closed__2; -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_212); -x_215 = lean_array_push(x_198, x_214); -x_216 = lean_array_push(x_198, x_21); -x_217 = lean_array_push(x_216, x_200); -x_218 = lean_array_push(x_217, x_200); -x_219 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_220 = lean_array_push(x_218, x_219); -x_221 = lean_array_push(x_220, x_197); -x_222 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_221); -x_224 = lean_array_push(x_198, x_223); -x_225 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_225); -lean_ctor_set(x_226, 1, x_224); -x_227 = lean_array_push(x_198, x_226); -x_228 = lean_array_push(x_227, x_200); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_213); -lean_ctor_set(x_229, 1, x_228); -x_230 = lean_array_push(x_215, x_229); +x_204 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_205 = lean_array_push(x_203, x_204); +x_206 = lean_array_push(x_205, x_23); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_15); +lean_ctor_set(x_207, 1, x_206); +x_208 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_209 = lean_array_push(x_208, x_207); +x_210 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_209); +x_212 = lean_array_push(x_200, x_211); +x_213 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_214 = lean_array_push(x_212, x_213); +x_215 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_215); +lean_ctor_set(x_216, 1, x_214); +x_217 = lean_array_push(x_200, x_216); +x_218 = lean_array_push(x_200, x_21); +x_219 = lean_array_push(x_218, x_202); +x_220 = lean_array_push(x_219, x_202); +x_221 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_222 = lean_array_push(x_220, x_221); +x_223 = lean_array_push(x_222, x_199); +x_224 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_224); +lean_ctor_set(x_225, 1, x_223); +x_226 = lean_array_push(x_200, x_225); +x_227 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_226); +x_229 = lean_array_push(x_200, x_228); +x_230 = lean_array_push(x_229, x_202); x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_213); +lean_ctor_set(x_231, 0, x_215); lean_ctor_set(x_231, 1, x_230); -x_232 = lean_array_push(x_198, x_231); -x_233 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_232 = lean_array_push(x_217, x_231); +x_233 = l_Lean_nullKind___closed__2; x_234 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_234, 0, x_233); lean_ctor_set(x_234, 1, x_232); -x_235 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_236 = lean_array_push(x_235, x_234); -x_237 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_236); -x_239 = l_Lean_Syntax_getArg(x_238, x_169); -lean_dec(x_238); -x_240 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_239); -x_241 = l_List_append___rarg(x_240, x_3); -x_242 = lean_apply_9(x_1, x_241, x_4, x_185, x_6, x_7, x_8, x_9, x_10, x_191); -return x_242; +x_235 = lean_array_push(x_200, x_234); +x_236 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_236); +lean_ctor_set(x_237, 1, x_235); +x_238 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_239 = lean_array_push(x_238, x_237); +x_240 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_239); +x_242 = l_Lean_Syntax_getArg(x_241, x_171); +lean_dec(x_241); +x_243 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_242); +x_244 = l_List_append___rarg(x_243, x_3); +x_245 = lean_apply_9(x_1, x_244, x_4, x_187, x_6, x_7, x_8, x_9, x_10, x_193); +return x_245; } } } } else { -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_dec(x_14); -x_243 = lean_unsigned_to_nat(3u); -x_244 = l_Lean_Syntax_getArg(x_13, x_243); -x_245 = l_Lean_Syntax_getArg(x_13, x_12); +x_246 = lean_unsigned_to_nat(3u); +x_247 = l_Lean_Syntax_getArg(x_13, x_246); +x_248 = l_Lean_Syntax_getArg(x_13, x_12); lean_dec(x_13); -x_246 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_247 = lean_ctor_get(x_246, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); -lean_inc(x_248); -lean_dec(x_246); -x_249 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_248); +x_249 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_250 = lean_ctor_get(x_249, 0); lean_inc(x_250); x_251 = lean_ctor_get(x_249, 1); lean_inc(x_251); lean_dec(x_249); -x_252 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_253 = l_Lean_addMacroScope(x_250, x_252, x_247); -x_254 = lean_box(0); -x_255 = l_Lean_instInhabitedSourceInfo___closed__1; -x_256 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_257 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_257, 0, x_255); -lean_ctor_set(x_257, 1, x_256); -lean_ctor_set(x_257, 2, x_253); -lean_ctor_set(x_257, 3, x_254); -x_258 = l_Array_empty___closed__1; -lean_inc(x_257); -x_259 = lean_array_push(x_258, x_257); -x_260 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_261 = lean_array_push(x_259, x_260); -x_262 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_263 = lean_array_push(x_261, x_262); -x_264 = lean_array_push(x_263, x_244); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_15); -lean_ctor_set(x_265, 1, x_264); -x_266 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_267 = lean_array_push(x_266, x_265); -x_268 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_269, 1, x_267); -x_270 = lean_array_push(x_258, x_269); -x_271 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_272 = lean_array_push(x_270, x_271); -x_273 = l_Lean_nullKind___closed__2; -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_273); -lean_ctor_set(x_274, 1, x_272); -x_275 = lean_array_push(x_258, x_274); -x_276 = lean_array_push(x_258, x_245); -x_277 = lean_array_push(x_276, x_260); -x_278 = lean_array_push(x_277, x_260); -x_279 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_280 = lean_array_push(x_278, x_279); -x_281 = lean_array_push(x_280, x_257); -x_282 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; -x_283 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_281); -x_284 = lean_array_push(x_258, x_283); -x_285 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_252 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_251); +x_253 = lean_ctor_get(x_252, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_252, 1); +lean_inc(x_254); +lean_dec(x_252); +x_255 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_256 = l_Lean_addMacroScope(x_253, x_255, x_250); +x_257 = lean_box(0); +x_258 = l_Lean_instInhabitedSourceInfo___closed__1; +x_259 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_260 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_260, 0, x_258); +lean_ctor_set(x_260, 1, x_259); +lean_ctor_set(x_260, 2, x_256); +lean_ctor_set(x_260, 3, x_257); +x_261 = l_Array_empty___closed__1; +lean_inc(x_260); +x_262 = lean_array_push(x_261, x_260); +x_263 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_264 = lean_array_push(x_262, x_263); +x_265 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_266 = lean_array_push(x_264, x_265); +x_267 = lean_array_push(x_266, x_247); +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_15); +lean_ctor_set(x_268, 1, x_267); +x_269 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_270 = lean_array_push(x_269, x_268); +x_271 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_271); +lean_ctor_set(x_272, 1, x_270); +x_273 = lean_array_push(x_261, x_272); +x_274 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_275 = lean_array_push(x_273, x_274); +x_276 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_277, 0, x_276); +lean_ctor_set(x_277, 1, x_275); +x_278 = lean_array_push(x_261, x_277); +x_279 = lean_array_push(x_261, x_248); +x_280 = lean_array_push(x_279, x_263); +x_281 = lean_array_push(x_280, x_263); +x_282 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_283 = lean_array_push(x_281, x_282); +x_284 = lean_array_push(x_283, x_260); +x_285 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; x_286 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_286, 0, x_285); lean_ctor_set(x_286, 1, x_284); -x_287 = lean_array_push(x_258, x_286); -x_288 = lean_array_push(x_287, x_260); +x_287 = lean_array_push(x_261, x_286); +x_288 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_273); -lean_ctor_set(x_289, 1, x_288); -x_290 = lean_array_push(x_275, x_289); -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_273); -lean_ctor_set(x_291, 1, x_290); -x_292 = lean_array_push(x_258, x_291); -x_293 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_293); -lean_ctor_set(x_294, 1, x_292); -x_295 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_296 = lean_array_push(x_295, x_294); -x_297 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +lean_ctor_set(x_289, 0, x_288); +lean_ctor_set(x_289, 1, x_287); +x_290 = lean_array_push(x_261, x_289); +x_291 = lean_array_push(x_290, x_263); +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_276); +lean_ctor_set(x_292, 1, x_291); +x_293 = lean_array_push(x_278, x_292); +x_294 = l_Lean_nullKind___closed__2; +x_295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_295, 0, x_294); +lean_ctor_set(x_295, 1, x_293); +x_296 = lean_array_push(x_261, x_295); +x_297 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; x_298 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_298, 0, x_297); lean_ctor_set(x_298, 1, x_296); -x_299 = lean_unsigned_to_nat(1u); -x_300 = l_Lean_Syntax_getArg(x_298, x_299); -lean_dec(x_298); -x_301 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_300); -x_302 = l_List_append___rarg(x_301, x_3); -x_303 = lean_apply_9(x_1, x_302, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_251); -return x_303; +x_299 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_300 = lean_array_push(x_299, x_298); +x_301 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_302, 0, x_301); +lean_ctor_set(x_302, 1, x_300); +x_303 = lean_unsigned_to_nat(1u); +x_304 = l_Lean_Syntax_getArg(x_302, x_303); +lean_dec(x_302); +x_305 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_304); +x_306 = l_List_append___rarg(x_305, x_3); +x_307 = lean_apply_9(x_1, x_306, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_254); +return x_307; } } } @@ -39170,7 +39222,7 @@ lean_inc(x_25); x_27 = l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_468; size_t x_469; size_t x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; uint8_t x_498; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_471; size_t x_472; size_t x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; uint8_t x_501; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); @@ -39181,106 +39233,106 @@ lean_inc(x_30); x_31 = lean_ctor_get(x_28, 1); lean_inc(x_31); lean_dec(x_28); -x_468 = lean_array_get_size(x_30); -x_469 = lean_usize_of_nat(x_468); -lean_dec(x_468); -x_470 = 0; -x_471 = x_30; -x_472 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___spec__1(x_2, x_469, x_470, x_471); -x_473 = x_472; -x_474 = lean_st_ref_get(x_10, x_29); -x_475 = lean_ctor_get(x_474, 0); -lean_inc(x_475); -x_476 = lean_ctor_get(x_474, 1); -lean_inc(x_476); -lean_dec(x_474); -x_477 = lean_ctor_get(x_475, 0); -lean_inc(x_477); -lean_dec(x_475); -x_478 = lean_ctor_get(x_9, 3); +x_471 = lean_array_get_size(x_30); +x_472 = lean_usize_of_nat(x_471); +lean_dec(x_471); +x_473 = 0; +x_474 = x_30; +x_475 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___spec__1(x_2, x_472, x_473, x_474); +x_476 = x_475; +x_477 = lean_st_ref_get(x_10, x_29); +x_478 = lean_ctor_get(x_477, 0); lean_inc(x_478); -x_479 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_476); -x_480 = lean_ctor_get(x_479, 0); +x_479 = lean_ctor_get(x_477, 1); +lean_inc(x_479); +lean_dec(x_477); +x_480 = lean_ctor_get(x_478, 0); lean_inc(x_480); -x_481 = lean_ctor_get(x_479, 1); +lean_dec(x_478); +x_481 = lean_ctor_get(x_9, 3); lean_inc(x_481); -lean_dec(x_479); -x_482 = lean_ctor_get(x_9, 1); -lean_inc(x_482); -x_483 = lean_ctor_get(x_9, 2); +x_482 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_479); +x_483 = lean_ctor_get(x_482, 0); lean_inc(x_483); -x_484 = lean_st_ref_get(x_10, x_481); -x_485 = lean_ctor_get(x_484, 0); +x_484 = lean_ctor_get(x_482, 1); +lean_inc(x_484); +lean_dec(x_482); +x_485 = lean_ctor_get(x_9, 1); lean_inc(x_485); -x_486 = lean_ctor_get(x_484, 1); +x_486 = lean_ctor_get(x_9, 2); lean_inc(x_486); -lean_dec(x_484); -x_487 = lean_ctor_get(x_485, 1); -lean_inc(x_487); -lean_dec(x_485); -lean_inc(x_477); -x_488 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_488, 0, x_477); -x_489 = x_488; -x_490 = lean_environment_main_module(x_477); -x_491 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_491, 0, x_489); -lean_ctor_set(x_491, 1, x_490); -lean_ctor_set(x_491, 2, x_480); -lean_ctor_set(x_491, 3, x_482); -lean_ctor_set(x_491, 4, x_483); -lean_ctor_set(x_491, 5, x_478); -x_492 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(x_2, x_473, x_491, x_487); -x_493 = lean_ctor_get(x_492, 0); -lean_inc(x_493); -x_494 = lean_ctor_get(x_492, 1); -lean_inc(x_494); -lean_dec(x_492); -x_495 = lean_st_ref_take(x_10, x_486); +x_487 = lean_st_ref_get(x_10, x_484); +x_488 = lean_ctor_get(x_487, 0); +lean_inc(x_488); +x_489 = lean_ctor_get(x_487, 1); +lean_inc(x_489); +lean_dec(x_487); +x_490 = lean_ctor_get(x_488, 1); +lean_inc(x_490); +lean_dec(x_488); +lean_inc(x_480); +x_491 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_491, 0, x_480); +x_492 = x_491; +x_493 = lean_environment_main_module(x_480); +x_494 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_494, 0, x_492); +lean_ctor_set(x_494, 1, x_493); +lean_ctor_set(x_494, 2, x_483); +lean_ctor_set(x_494, 3, x_485); +lean_ctor_set(x_494, 4, x_486); +lean_ctor_set(x_494, 5, x_481); +x_495 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(x_2, x_476, x_494, x_490); x_496 = lean_ctor_get(x_495, 0); lean_inc(x_496); x_497 = lean_ctor_get(x_495, 1); lean_inc(x_497); lean_dec(x_495); -x_498 = !lean_is_exclusive(x_496); -if (x_498 == 0) +x_498 = lean_st_ref_take(x_10, x_489); +x_499 = lean_ctor_get(x_498, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_498, 1); +lean_inc(x_500); +lean_dec(x_498); +x_501 = !lean_is_exclusive(x_499); +if (x_501 == 0) { -lean_object* x_499; lean_object* x_500; lean_object* x_501; -x_499 = lean_ctor_get(x_496, 1); -lean_dec(x_499); -lean_ctor_set(x_496, 1, x_494); -x_500 = lean_st_ref_set(x_10, x_496, x_497); -x_501 = lean_ctor_get(x_500, 1); -lean_inc(x_501); -lean_dec(x_500); -x_32 = x_493; -x_33 = x_501; -goto block_467; +lean_object* x_502; lean_object* x_503; lean_object* x_504; +x_502 = lean_ctor_get(x_499, 1); +lean_dec(x_502); +lean_ctor_set(x_499, 1, x_497); +x_503 = lean_st_ref_set(x_10, x_499, x_500); +x_504 = lean_ctor_get(x_503, 1); +lean_inc(x_504); +lean_dec(x_503); +x_32 = x_496; +x_33 = x_504; +goto block_470; } else { -lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; -x_502 = lean_ctor_get(x_496, 0); -x_503 = lean_ctor_get(x_496, 2); -x_504 = lean_ctor_get(x_496, 3); -lean_inc(x_504); -lean_inc(x_503); -lean_inc(x_502); -lean_dec(x_496); -x_505 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_505, 0, x_502); -lean_ctor_set(x_505, 1, x_494); -lean_ctor_set(x_505, 2, x_503); -lean_ctor_set(x_505, 3, x_504); -x_506 = lean_st_ref_set(x_10, x_505, x_497); -x_507 = lean_ctor_get(x_506, 1); +lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; +x_505 = lean_ctor_get(x_499, 0); +x_506 = lean_ctor_get(x_499, 2); +x_507 = lean_ctor_get(x_499, 3); lean_inc(x_507); -lean_dec(x_506); -x_32 = x_493; -x_33 = x_507; -goto block_467; +lean_inc(x_506); +lean_inc(x_505); +lean_dec(x_499); +x_508 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_508, 0, x_505); +lean_ctor_set(x_508, 1, x_497); +lean_ctor_set(x_508, 2, x_506); +lean_ctor_set(x_508, 3, x_507); +x_509 = lean_st_ref_set(x_10, x_508, x_500); +x_510 = lean_ctor_get(x_509, 1); +lean_inc(x_510); +lean_dec(x_509); +x_32 = x_496; +x_33 = x_510; +goto block_470; } -block_467: +block_470: { lean_object* x_34; uint8_t x_35; x_34 = lean_ctor_get(x_25, 0); @@ -39358,7 +39410,7 @@ lean_ctor_set(x_75, 1, x_73); x_76 = l_List_isEmpty___rarg(x_3); if (x_76 == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; x_77 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_41); x_78 = lean_ctor_get(x_77, 0); lean_inc(x_78); @@ -39371,9 +39423,9 @@ lean_inc(x_81); x_82 = lean_ctor_get(x_80, 1); lean_inc(x_82); lean_dec(x_80); -x_83 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +x_83 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; x_84 = l_Lean_addMacroScope(x_81, x_83, x_78); -x_85 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_85 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; x_86 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_86, 0, x_49); lean_ctor_set(x_86, 1, x_85); @@ -39404,635 +39456,638 @@ lean_ctor_set(x_101, 1, x_99); x_102 = lean_array_push(x_42, x_101); x_103 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; x_104 = lean_array_push(x_102, x_103); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_59); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_array_push(x_42, x_105); -x_107 = lean_array_push(x_56, x_88); -x_108 = lean_array_push(x_107, x_88); -x_109 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_110 = lean_array_push(x_108, x_109); -x_111 = lean_array_push(x_110, x_86); -x_112 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_111); -x_114 = lean_array_push(x_42, x_113); -x_115 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_114); -x_117 = lean_array_push(x_42, x_116); -x_118 = lean_array_push(x_117, x_88); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_59); -lean_ctor_set(x_119, 1, x_118); -x_120 = lean_array_push(x_106, x_119); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_59); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_array_push(x_42, x_121); -x_123 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_126 = lean_array_push(x_125, x_124); -x_127 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_129 = l_Lean_Syntax_getArg(x_128, x_12); -lean_dec(x_128); -x_130 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_129); -x_131 = l_List_append___rarg(x_130, x_3); -x_132 = lean_apply_9(x_1, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_82); -return x_132; +x_105 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = lean_array_push(x_42, x_106); +x_108 = lean_array_push(x_56, x_88); +x_109 = lean_array_push(x_108, x_88); +x_110 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_111 = lean_array_push(x_109, x_110); +x_112 = lean_array_push(x_111, x_86); +x_113 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_112); +x_115 = lean_array_push(x_42, x_114); +x_116 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_115); +x_118 = lean_array_push(x_42, x_117); +x_119 = lean_array_push(x_118, x_88); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_105); +lean_ctor_set(x_120, 1, x_119); +x_121 = lean_array_push(x_107, x_120); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_59); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_42, x_122); +x_124 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_127 = lean_array_push(x_126, x_125); +x_128 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = l_Lean_Syntax_getArg(x_129, x_12); +lean_dec(x_129); +x_131 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_130); +x_132 = l_List_append___rarg(x_131, x_3); +x_133 = lean_apply_9(x_1, x_132, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_82); +return x_133; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_dec(x_3); -x_133 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_41); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); +x_134 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_41); +x_135 = lean_ctor_get(x_134, 0); lean_inc(x_135); -lean_dec(x_133); -x_136 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_135); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +x_137 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_136); +x_138 = lean_ctor_get(x_137, 0); lean_inc(x_138); -lean_dec(x_136); -x_139 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_134); -lean_inc(x_137); -x_140 = l_Lean_addMacroScope(x_137, x_139, x_134); -x_141 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_142 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_142, 0, x_49); -lean_ctor_set(x_142, 1, x_141); -lean_ctor_set(x_142, 2, x_140); -lean_ctor_set(x_142, 3, x_48); -lean_inc(x_142); -x_143 = lean_array_push(x_42, x_142); -x_144 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_145 = lean_array_push(x_143, x_144); -x_146 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_147 = lean_array_push(x_145, x_146); -x_148 = lean_array_push(x_42, x_75); -x_149 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -x_151 = lean_array_push(x_147, x_150); -x_152 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_151); -x_154 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; -x_155 = lean_array_push(x_154, x_153); -x_156 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_155); -x_158 = lean_array_push(x_42, x_157); -x_159 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_160 = lean_array_push(x_158, x_159); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_59); -lean_ctor_set(x_161, 1, x_160); -x_162 = lean_array_push(x_42, x_161); -x_163 = lean_array_push(x_56, x_144); -x_164 = lean_array_push(x_163, x_144); -x_165 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_166 = lean_array_push(x_164, x_165); -x_167 = lean_array_push(x_166, x_142); -x_168 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -x_170 = lean_array_push(x_42, x_169); -x_171 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_170); -x_173 = lean_array_push(x_42, x_172); -x_174 = lean_array_push(x_173, x_159); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_59); -lean_ctor_set(x_175, 1, x_174); -x_176 = lean_array_push(x_162, x_175); -x_177 = l_Lean_Meta_mkPure___rarg___closed__4; -lean_inc(x_134); -lean_inc(x_137); -x_178 = l_Lean_addMacroScope(x_137, x_177, x_134); -x_179 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; -x_180 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -x_181 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_181, 0, x_49); -lean_ctor_set(x_181, 1, x_179); -lean_ctor_set(x_181, 2, x_178); -lean_ctor_set(x_181, 3, x_180); -x_182 = lean_array_push(x_42, x_181); -x_183 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__5; -x_184 = l_Lean_addMacroScope(x_137, x_183, x_134); -x_185 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_186 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; -x_187 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_187, 0, x_49); -lean_ctor_set(x_187, 1, x_185); -lean_ctor_set(x_187, 2, x_184); -lean_ctor_set(x_187, 3, x_186); -x_188 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; -x_189 = lean_array_push(x_188, x_187); -x_190 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2; -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_189); -x_192 = lean_array_push(x_42, x_191); -x_193 = lean_array_push(x_192, x_144); -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_59); -lean_ctor_set(x_194, 1, x_193); -x_195 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; -x_196 = lean_array_push(x_195, x_194); -x_197 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_198 = lean_array_push(x_196, x_197); -x_199 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -x_201 = lean_array_push(x_42, x_200); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); +lean_dec(x_137); +x_140 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_135); +lean_inc(x_138); +x_141 = l_Lean_addMacroScope(x_138, x_140, x_135); +x_142 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_143 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_143, 0, x_49); +lean_ctor_set(x_143, 1, x_142); +lean_ctor_set(x_143, 2, x_141); +lean_ctor_set(x_143, 3, x_48); +lean_inc(x_143); +x_144 = lean_array_push(x_42, x_143); +x_145 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_146 = lean_array_push(x_144, x_145); +x_147 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_148 = lean_array_push(x_146, x_147); +x_149 = lean_array_push(x_42, x_75); +x_150 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +x_152 = lean_array_push(x_148, x_151); +x_153 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_152); +x_155 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__3; +x_156 = lean_array_push(x_155, x_154); +x_157 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_156); +x_159 = lean_array_push(x_42, x_158); +x_160 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_161 = lean_array_push(x_159, x_160); +x_162 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_161); +x_164 = lean_array_push(x_42, x_163); +x_165 = lean_array_push(x_56, x_145); +x_166 = lean_array_push(x_165, x_145); +x_167 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_168 = lean_array_push(x_166, x_167); +x_169 = lean_array_push(x_168, x_143); +x_170 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_169); +x_172 = lean_array_push(x_42, x_171); +x_173 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_172); +x_175 = lean_array_push(x_42, x_174); +x_176 = lean_array_push(x_175, x_160); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_162); +lean_ctor_set(x_177, 1, x_176); +x_178 = lean_array_push(x_164, x_177); +x_179 = l_Lean_Meta_mkPure___rarg___closed__4; +lean_inc(x_135); +lean_inc(x_138); +x_180 = l_Lean_addMacroScope(x_138, x_179, x_135); +x_181 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; +x_182 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_183 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_183, 0, x_49); +lean_ctor_set(x_183, 1, x_181); +lean_ctor_set(x_183, 2, x_180); +lean_ctor_set(x_183, 3, x_182); +x_184 = lean_array_push(x_42, x_183); +x_185 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__5; +x_186 = l_Lean_addMacroScope(x_138, x_185, x_135); +x_187 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_188 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; +x_189 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_189, 0, x_49); +lean_ctor_set(x_189, 1, x_187); +lean_ctor_set(x_189, 2, x_186); +lean_ctor_set(x_189, 3, x_188); +x_190 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; +x_191 = lean_array_push(x_190, x_189); +x_192 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2; +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_191); +x_194 = lean_array_push(x_42, x_193); +x_195 = lean_array_push(x_194, x_145); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_59); +lean_ctor_set(x_196, 1, x_195); +x_197 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; +x_198 = lean_array_push(x_197, x_196); +x_199 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_200 = lean_array_push(x_198, x_199); +x_201 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_59); -lean_ctor_set(x_202, 1, x_201); -x_203 = lean_array_push(x_182, x_202); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_200); +x_203 = lean_array_push(x_42, x_202); x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_74); +lean_ctor_set(x_204, 0, x_59); lean_ctor_set(x_204, 1, x_203); -x_205 = lean_array_push(x_42, x_204); +x_205 = lean_array_push(x_184, x_204); x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_149); +lean_ctor_set(x_206, 0, x_74); lean_ctor_set(x_206, 1, x_205); x_207 = lean_array_push(x_42, x_206); -x_208 = lean_array_push(x_207, x_144); -x_209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_209, 0, x_59); -lean_ctor_set(x_209, 1, x_208); -x_210 = lean_array_push(x_176, x_209); +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_150); +lean_ctor_set(x_208, 1, x_207); +x_209 = lean_array_push(x_42, x_208); +x_210 = lean_array_push(x_209, x_145); x_211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_211, 0, x_59); +lean_ctor_set(x_211, 0, x_162); lean_ctor_set(x_211, 1, x_210); -x_212 = lean_array_push(x_42, x_211); -x_213 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_212); -x_215 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_216 = lean_array_push(x_215, x_214); -x_217 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_216); -x_219 = l_Lean_Syntax_getArg(x_218, x_12); -lean_dec(x_218); -x_220 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_219); -x_221 = lean_apply_9(x_1, x_220, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_138); -return x_221; +x_212 = lean_array_push(x_178, x_211); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_59); +lean_ctor_set(x_213, 1, x_212); +x_214 = lean_array_push(x_42, x_213); +x_215 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_215); +lean_ctor_set(x_216, 1, x_214); +x_217 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_218 = lean_array_push(x_217, x_216); +x_219 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_220 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_218); +x_221 = l_Lean_Syntax_getArg(x_220, x_12); +lean_dec(x_220); +x_222 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_221); +x_223 = lean_apply_9(x_1, x_222, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_139); +return x_223; } } else { -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; -x_222 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_33); -x_223 = lean_ctor_get(x_222, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_222, 1); -lean_inc(x_224); -lean_dec(x_222); -x_225 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_224); -x_226 = lean_ctor_get(x_225, 0); +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; +x_224 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_33); +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_224, 1); lean_inc(x_226); -x_227 = lean_ctor_get(x_225, 1); -lean_inc(x_227); -lean_dec(x_225); -x_228 = l_Array_empty___closed__1; -x_229 = lean_array_push(x_228, x_15); -x_230 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; -x_231 = lean_array_push(x_229, x_230); -x_232 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; -lean_inc(x_223); -lean_inc(x_226); -x_233 = l_Lean_addMacroScope(x_226, x_232, x_223); -x_234 = lean_box(0); -x_235 = l_Lean_instInhabitedSourceInfo___closed__1; -x_236 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; -x_237 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_237, 0, x_235); -lean_ctor_set(x_237, 1, x_236); -lean_ctor_set(x_237, 2, x_233); -lean_ctor_set(x_237, 3, x_234); -x_238 = lean_array_push(x_231, x_237); -x_239 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; -x_240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_238); -x_241 = lean_array_push(x_228, x_240); -x_242 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__6; -lean_inc(x_223); -lean_inc(x_226); -x_243 = l_Lean_addMacroScope(x_226, x_242, x_223); -x_244 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_245 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__2; -x_246 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_246, 0, x_235); -lean_ctor_set(x_246, 1, x_244); -lean_ctor_set(x_246, 2, x_243); -lean_ctor_set(x_246, 3, x_245); -x_247 = lean_array_push(x_228, x_246); -x_248 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__42; -x_249 = l_Lean_addMacroScope(x_226, x_248, x_223); -x_250 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__41; -x_251 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44; -x_252 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_252, 0, x_235); -lean_ctor_set(x_252, 1, x_250); -lean_ctor_set(x_252, 2, x_249); -lean_ctor_set(x_252, 3, x_251); -x_253 = lean_array_push(x_228, x_252); +lean_dec(x_224); +x_227 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_226); +x_228 = lean_ctor_get(x_227, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_227, 1); +lean_inc(x_229); +lean_dec(x_227); +x_230 = l_Array_empty___closed__1; +x_231 = lean_array_push(x_230, x_15); +x_232 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; +x_233 = lean_array_push(x_231, x_232); +x_234 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; +lean_inc(x_225); +lean_inc(x_228); +x_235 = l_Lean_addMacroScope(x_228, x_234, x_225); +x_236 = lean_box(0); +x_237 = l_Lean_instInhabitedSourceInfo___closed__1; +x_238 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; +x_239 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_239, 0, x_237); +lean_ctor_set(x_239, 1, x_238); +lean_ctor_set(x_239, 2, x_235); +lean_ctor_set(x_239, 3, x_236); +x_240 = lean_array_push(x_233, x_239); +x_241 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_240); +x_243 = lean_array_push(x_230, x_242); +x_244 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__6; +lean_inc(x_225); +lean_inc(x_228); +x_245 = l_Lean_addMacroScope(x_228, x_244, x_225); +x_246 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; +x_247 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__2; +x_248 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_248, 0, x_237); +lean_ctor_set(x_248, 1, x_246); +lean_ctor_set(x_248, 2, x_245); +lean_ctor_set(x_248, 3, x_247); +x_249 = lean_array_push(x_230, x_248); +x_250 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__42; +x_251 = l_Lean_addMacroScope(x_228, x_250, x_225); +x_252 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__41; +x_253 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44; +x_254 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_254, 0, x_237); +lean_ctor_set(x_254, 1, x_252); +lean_ctor_set(x_254, 2, x_251); +lean_ctor_set(x_254, 3, x_253); +x_255 = lean_array_push(x_230, x_254); lean_inc(x_32); -x_254 = lean_array_push(x_253, x_32); -x_255 = l_Lean_nullKind___closed__2; -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_255); -lean_ctor_set(x_256, 1, x_254); -lean_inc(x_247); -x_257 = lean_array_push(x_247, x_256); -x_258 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_258); -lean_ctor_set(x_259, 1, x_257); -x_260 = lean_array_push(x_228, x_259); -x_261 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_262 = lean_array_push(x_260, x_261); -x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_255); -lean_ctor_set(x_263, 1, x_262); -x_264 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; -x_265 = lean_array_push(x_264, x_263); -x_266 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_267 = lean_array_push(x_265, x_266); -x_268 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; -x_269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_269, 1, x_267); -x_270 = lean_array_push(x_228, x_269); -x_271 = lean_array_push(x_228, x_13); -x_272 = l_Lean_expandExplicitBindersAux_loop___closed__1; +x_256 = lean_array_push(x_255, x_32); +x_257 = l_Lean_nullKind___closed__2; +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_257); +lean_ctor_set(x_258, 1, x_256); +lean_inc(x_249); +x_259 = lean_array_push(x_249, x_258); +x_260 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_260); +lean_ctor_set(x_261, 1, x_259); +x_262 = lean_array_push(x_230, x_261); +x_263 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_264 = lean_array_push(x_262, x_263); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_257); +lean_ctor_set(x_265, 1, x_264); +x_266 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; +x_267 = lean_array_push(x_266, x_265); +x_268 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_269 = lean_array_push(x_267, x_268); +x_270 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; +x_271 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_271, 0, x_270); +lean_ctor_set(x_271, 1, x_269); +x_272 = lean_array_push(x_230, x_271); +x_273 = lean_array_push(x_230, x_13); +x_274 = l_Lean_expandExplicitBindersAux_loop___closed__1; lean_inc(x_32); -x_273 = lean_array_push(x_272, x_32); -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_255); -lean_ctor_set(x_274, 1, x_273); -x_275 = lean_array_push(x_247, x_274); +x_275 = lean_array_push(x_274, x_32); x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_258); +lean_ctor_set(x_276, 0, x_257); lean_ctor_set(x_276, 1, x_275); -x_277 = lean_array_push(x_228, x_276); -x_278 = lean_array_push(x_277, x_261); -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_255); -lean_ctor_set(x_279, 1, x_278); -x_280 = lean_array_push(x_264, x_279); -x_281 = lean_array_push(x_280, x_266); -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_268); -lean_ctor_set(x_282, 1, x_281); -x_283 = lean_array_push(x_271, x_282); +x_277 = lean_array_push(x_249, x_276); +x_278 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_278, 0, x_260); +lean_ctor_set(x_278, 1, x_277); +x_279 = lean_array_push(x_230, x_278); +x_280 = lean_array_push(x_279, x_263); +x_281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_281, 0, x_257); +lean_ctor_set(x_281, 1, x_280); +x_282 = lean_array_push(x_266, x_281); +x_283 = lean_array_push(x_282, x_268); x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_255); +lean_ctor_set(x_284, 0, x_270); lean_ctor_set(x_284, 1, x_283); -x_285 = lean_array_push(x_228, x_284); -x_286 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_287 = lean_array_push(x_285, x_286); -x_288 = lean_array_push(x_287, x_31); -x_289 = l_myMacro____x40_Init_Notation___hyg_5739____closed__17; -x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_288); -x_291 = l_myMacro____x40_Init_Notation___hyg_5739____closed__15; -x_292 = lean_array_push(x_291, x_290); -x_293 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_293); -lean_ctor_set(x_294, 1, x_292); -x_295 = lean_array_push(x_270, x_294); +x_285 = lean_array_push(x_273, x_284); +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_257); +lean_ctor_set(x_286, 1, x_285); +x_287 = lean_array_push(x_230, x_286); +x_288 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_289 = lean_array_push(x_287, x_288); +x_290 = lean_array_push(x_289, x_31); +x_291 = l_myMacro____x40_Init_Notation___hyg_5739____closed__17; +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_290); +x_293 = l_myMacro____x40_Init_Notation___hyg_5739____closed__15; +x_294 = lean_array_push(x_293, x_292); +x_295 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_255); -lean_ctor_set(x_296, 1, x_295); -x_297 = lean_array_push(x_241, x_296); +lean_ctor_set(x_296, 0, x_295); +lean_ctor_set(x_296, 1, x_294); +x_297 = lean_array_push(x_272, x_296); x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_258); +lean_ctor_set(x_298, 0, x_257); lean_ctor_set(x_298, 1, x_297); -x_299 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_227); -x_300 = lean_ctor_get(x_299, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_299, 1); -lean_inc(x_301); -lean_dec(x_299); -x_302 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_301); -x_303 = lean_ctor_get(x_302, 0); +x_299 = lean_array_push(x_243, x_298); +x_300 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_300, 0, x_260); +lean_ctor_set(x_300, 1, x_299); +x_301 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_229); +x_302 = lean_ctor_get(x_301, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_301, 1); lean_inc(x_303); -x_304 = lean_ctor_get(x_302, 1); -lean_inc(x_304); -lean_dec(x_302); -x_305 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_300); -lean_inc(x_303); -x_306 = l_Lean_addMacroScope(x_303, x_305, x_300); -x_307 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_308 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_308, 0, x_235); -lean_ctor_set(x_308, 1, x_307); -lean_ctor_set(x_308, 2, x_306); -lean_ctor_set(x_308, 3, x_234); -x_309 = lean_array_push(x_228, x_308); -lean_inc(x_309); -x_310 = lean_array_push(x_309, x_261); -x_311 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; -x_312 = lean_array_push(x_310, x_311); -x_313 = lean_array_push(x_228, x_298); -x_314 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; -x_315 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_315, 0, x_314); -lean_ctor_set(x_315, 1, x_313); -x_316 = lean_array_push(x_312, x_315); -x_317 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; -x_318 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_318, 0, x_317); -lean_ctor_set(x_318, 1, x_316); -x_319 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; -x_320 = lean_array_push(x_319, x_318); -x_321 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_322, 0, x_321); -lean_ctor_set(x_322, 1, x_320); -x_323 = lean_array_push(x_228, x_322); -x_324 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; -x_325 = lean_array_push(x_323, x_324); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_255); -lean_ctor_set(x_326, 1, x_325); -x_327 = lean_array_push(x_228, x_326); -x_328 = lean_array_push(x_228, x_32); -x_329 = lean_array_push(x_328, x_261); -x_330 = lean_array_push(x_329, x_261); -x_331 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; -x_332 = lean_array_push(x_330, x_331); -x_333 = lean_array_push(x_309, x_230); -x_334 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__37; -lean_inc(x_333); +lean_dec(x_301); +x_304 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_303); +x_305 = lean_ctor_get(x_304, 0); +lean_inc(x_305); +x_306 = lean_ctor_get(x_304, 1); +lean_inc(x_306); +lean_dec(x_304); +x_307 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_inc(x_302); +lean_inc(x_305); +x_308 = l_Lean_addMacroScope(x_305, x_307, x_302); +x_309 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_310 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_310, 0, x_237); +lean_ctor_set(x_310, 1, x_309); +lean_ctor_set(x_310, 2, x_308); +lean_ctor_set(x_310, 3, x_236); +x_311 = lean_array_push(x_230, x_310); +lean_inc(x_311); +x_312 = lean_array_push(x_311, x_263); +x_313 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; +x_314 = lean_array_push(x_312, x_313); +x_315 = lean_array_push(x_230, x_300); +x_316 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; +x_317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_317, 0, x_316); +lean_ctor_set(x_317, 1, x_315); +x_318 = lean_array_push(x_314, x_317); +x_319 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5; +x_320 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_320, 0, x_319); +lean_ctor_set(x_320, 1, x_318); +x_321 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; +x_322 = lean_array_push(x_321, x_320); +x_323 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_324, 0, x_323); +lean_ctor_set(x_324, 1, x_322); +x_325 = lean_array_push(x_230, x_324); +x_326 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_327 = lean_array_push(x_325, x_326); +x_328 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_329 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_329, 0, x_328); +lean_ctor_set(x_329, 1, x_327); +x_330 = lean_array_push(x_230, x_329); +x_331 = lean_array_push(x_230, x_32); +x_332 = lean_array_push(x_331, x_263); +x_333 = lean_array_push(x_332, x_263); +x_334 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; x_335 = lean_array_push(x_333, x_334); -x_336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_336, 0, x_239); -lean_ctor_set(x_336, 1, x_335); -x_337 = lean_array_push(x_332, x_336); -x_338 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_336 = lean_array_push(x_311, x_232); +x_337 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; +lean_inc(x_336); +x_338 = lean_array_push(x_336, x_337); x_339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_337); -x_340 = lean_array_push(x_228, x_339); -x_341 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; +lean_ctor_set(x_339, 0, x_241); +lean_ctor_set(x_339, 1, x_338); +x_340 = lean_array_push(x_335, x_339); +x_341 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; x_342 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_342, 0, x_341); lean_ctor_set(x_342, 1, x_340); -x_343 = lean_array_push(x_228, x_342); -x_344 = lean_array_push(x_343, x_324); +x_343 = lean_array_push(x_230, x_342); +x_344 = l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2; x_345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_345, 0, x_255); -lean_ctor_set(x_345, 1, x_344); -x_346 = lean_array_push(x_327, x_345); -x_347 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__45; -x_348 = lean_array_push(x_333, x_347); -x_349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_349, 0, x_239); -lean_ctor_set(x_349, 1, x_348); -x_350 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_351 = lean_array_push(x_350, x_349); -x_352 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -x_353 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_353, 0, x_352); -lean_ctor_set(x_353, 1, x_351); -x_354 = lean_array_push(x_228, x_353); -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_255); -lean_ctor_set(x_355, 1, x_354); -x_356 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_357 = lean_array_push(x_356, x_355); -x_358 = lean_array_push(x_357, x_261); -x_359 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -x_360 = lean_array_push(x_358, x_359); -lean_inc(x_300); -lean_inc(x_303); -x_361 = l_Lean_addMacroScope(x_303, x_248, x_300); -x_362 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_362, 0, x_235); -lean_ctor_set(x_362, 1, x_250); -lean_ctor_set(x_362, 2, x_361); -lean_ctor_set(x_362, 3, x_251); -x_363 = lean_array_push(x_228, x_362); -x_364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_364, 0, x_255); -lean_ctor_set(x_364, 1, x_363); -x_365 = lean_array_push(x_228, x_364); -x_366 = lean_array_push(x_365, x_286); -x_367 = l_Lean_Meta_mkPure___rarg___closed__4; -lean_inc(x_300); -lean_inc(x_303); -x_368 = l_Lean_addMacroScope(x_303, x_367, x_300); -x_369 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; -x_370 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -x_371 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_371, 0, x_235); -lean_ctor_set(x_371, 1, x_369); -lean_ctor_set(x_371, 2, x_368); -lean_ctor_set(x_371, 3, x_370); -x_372 = lean_array_push(x_228, x_371); -x_373 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__5; -lean_inc(x_300); -lean_inc(x_303); -x_374 = l_Lean_addMacroScope(x_303, x_373, x_300); -x_375 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_376 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; -x_377 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_377, 0, x_235); -lean_ctor_set(x_377, 1, x_375); -lean_ctor_set(x_377, 2, x_374); -lean_ctor_set(x_377, 3, x_376); -x_378 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; -x_379 = lean_array_push(x_378, x_377); -x_380 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2; -x_381 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_381, 0, x_380); -lean_ctor_set(x_381, 1, x_379); -x_382 = lean_array_push(x_228, x_381); -x_383 = lean_array_push(x_382, x_261); +lean_ctor_set(x_345, 0, x_344); +lean_ctor_set(x_345, 1, x_343); +x_346 = lean_array_push(x_230, x_345); +x_347 = lean_array_push(x_346, x_326); +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_328); +lean_ctor_set(x_348, 1, x_347); +x_349 = lean_array_push(x_330, x_348); +x_350 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__47; +x_351 = lean_array_push(x_336, x_350); +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_241); +lean_ctor_set(x_352, 1, x_351); +x_353 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_354 = lean_array_push(x_353, x_352); +x_355 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_356, 0, x_355); +lean_ctor_set(x_356, 1, x_354); +x_357 = lean_array_push(x_230, x_356); +x_358 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_358, 0, x_257); +lean_ctor_set(x_358, 1, x_357); +x_359 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_360 = lean_array_push(x_359, x_358); +x_361 = lean_array_push(x_360, x_263); +x_362 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_363 = lean_array_push(x_361, x_362); +lean_inc(x_302); +lean_inc(x_305); +x_364 = l_Lean_addMacroScope(x_305, x_250, x_302); +x_365 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_365, 0, x_237); +lean_ctor_set(x_365, 1, x_252); +lean_ctor_set(x_365, 2, x_364); +lean_ctor_set(x_365, 3, x_253); +x_366 = lean_array_push(x_230, x_365); +x_367 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_367, 0, x_257); +lean_ctor_set(x_367, 1, x_366); +x_368 = lean_array_push(x_230, x_367); +x_369 = lean_array_push(x_368, x_288); +x_370 = l_Lean_Meta_mkPure___rarg___closed__4; +lean_inc(x_302); +lean_inc(x_305); +x_371 = l_Lean_addMacroScope(x_305, x_370, x_302); +x_372 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; +x_373 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_374 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_374, 0, x_237); +lean_ctor_set(x_374, 1, x_372); +lean_ctor_set(x_374, 2, x_371); +lean_ctor_set(x_374, 3, x_373); +x_375 = lean_array_push(x_230, x_374); +x_376 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__5; +lean_inc(x_302); +lean_inc(x_305); +x_377 = l_Lean_addMacroScope(x_305, x_376, x_302); +x_378 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_379 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; +x_380 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_380, 0, x_237); +lean_ctor_set(x_380, 1, x_378); +lean_ctor_set(x_380, 2, x_377); +lean_ctor_set(x_380, 3, x_379); +x_381 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; +x_382 = lean_array_push(x_381, x_380); +x_383 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2; x_384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_384, 0, x_255); -lean_ctor_set(x_384, 1, x_383); -x_385 = lean_array_push(x_264, x_384); -x_386 = lean_array_push(x_385, x_266); +lean_ctor_set(x_384, 0, x_383); +lean_ctor_set(x_384, 1, x_382); +x_385 = lean_array_push(x_230, x_384); +x_386 = lean_array_push(x_385, x_263); x_387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_387, 0, x_268); +lean_ctor_set(x_387, 0, x_257); lean_ctor_set(x_387, 1, x_386); -x_388 = lean_array_push(x_228, x_387); -x_389 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_389, 0, x_255); -lean_ctor_set(x_389, 1, x_388); -x_390 = lean_array_push(x_372, x_389); -x_391 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_391, 0, x_258); -lean_ctor_set(x_391, 1, x_390); -x_392 = lean_array_push(x_228, x_391); -x_393 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_393, 0, x_314); -lean_ctor_set(x_393, 1, x_392); -x_394 = lean_array_push(x_228, x_393); -x_395 = lean_array_push(x_394, x_261); +x_388 = lean_array_push(x_266, x_387); +x_389 = lean_array_push(x_388, x_268); +x_390 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_390, 0, x_270); +lean_ctor_set(x_390, 1, x_389); +x_391 = lean_array_push(x_230, x_390); +x_392 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_392, 0, x_257); +lean_ctor_set(x_392, 1, x_391); +x_393 = lean_array_push(x_375, x_392); +x_394 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_394, 0, x_260); +lean_ctor_set(x_394, 1, x_393); +x_395 = lean_array_push(x_230, x_394); x_396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_396, 0, x_255); +lean_ctor_set(x_396, 0, x_316); lean_ctor_set(x_396, 1, x_395); -x_397 = lean_array_push(x_228, x_396); -x_398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_398, 0, x_255); -lean_ctor_set(x_398, 1, x_397); -x_399 = lean_array_push(x_228, x_398); -x_400 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_397 = lean_array_push(x_230, x_396); +x_398 = lean_array_push(x_397, x_263); +x_399 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_399, 0, x_328); +lean_ctor_set(x_399, 1, x_398); +x_400 = lean_array_push(x_230, x_399); x_401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_401, 0, x_400); -lean_ctor_set(x_401, 1, x_399); -x_402 = lean_array_push(x_366, x_401); -x_403 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +lean_ctor_set(x_401, 0, x_257); +lean_ctor_set(x_401, 1, x_400); +x_402 = lean_array_push(x_230, x_401); +x_403 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; x_404 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_404, 0, x_403); lean_ctor_set(x_404, 1, x_402); -x_405 = lean_array_push(x_228, x_404); -x_406 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_407 = lean_array_push(x_405, x_406); -x_408 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__13; -lean_inc(x_300); -lean_inc(x_303); -x_409 = l_Lean_addMacroScope(x_303, x_408, x_300); -x_410 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__12; -x_411 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__15; -x_412 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_412, 0, x_235); -lean_ctor_set(x_412, 1, x_410); -lean_ctor_set(x_412, 2, x_409); -lean_ctor_set(x_412, 3, x_411); -x_413 = lean_array_push(x_228, x_412); -x_414 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; -x_415 = l_Lean_addMacroScope(x_303, x_414, x_300); -x_416 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; -x_417 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_417, 0, x_235); -lean_ctor_set(x_417, 1, x_416); -lean_ctor_set(x_417, 2, x_415); -lean_ctor_set(x_417, 3, x_234); -lean_inc(x_417); -x_418 = lean_array_push(x_228, x_417); -x_419 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_419, 0, x_255); -lean_ctor_set(x_419, 1, x_418); -x_420 = lean_array_push(x_413, x_419); -x_421 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_421, 0, x_258); -lean_ctor_set(x_421, 1, x_420); -x_422 = lean_array_push(x_228, x_421); -x_423 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_423, 0, x_255); -lean_ctor_set(x_423, 1, x_422); -x_424 = lean_array_push(x_228, x_423); -x_425 = lean_array_push(x_424, x_286); -x_426 = lean_array_push(x_378, x_417); -x_427 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_427, 0, x_380); -lean_ctor_set(x_427, 1, x_426); -x_428 = lean_array_push(x_228, x_427); -x_429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_429, 0, x_255); -lean_ctor_set(x_429, 1, x_428); -x_430 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; -x_431 = lean_array_push(x_430, x_429); -x_432 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; -x_433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_433, 0, x_432); -lean_ctor_set(x_433, 1, x_431); -x_434 = lean_array_push(x_228, x_433); -x_435 = lean_array_push(x_434, x_261); +x_405 = lean_array_push(x_369, x_404); +x_406 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; +x_407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_407, 0, x_406); +lean_ctor_set(x_407, 1, x_405); +x_408 = lean_array_push(x_230, x_407); +x_409 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_410 = lean_array_push(x_408, x_409); +x_411 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__13; +lean_inc(x_302); +lean_inc(x_305); +x_412 = l_Lean_addMacroScope(x_305, x_411, x_302); +x_413 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__12; +x_414 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__15; +x_415 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_415, 0, x_237); +lean_ctor_set(x_415, 1, x_413); +lean_ctor_set(x_415, 2, x_412); +lean_ctor_set(x_415, 3, x_414); +x_416 = lean_array_push(x_230, x_415); +x_417 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_418 = l_Lean_addMacroScope(x_305, x_417, x_302); +x_419 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_420 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_420, 0, x_237); +lean_ctor_set(x_420, 1, x_419); +lean_ctor_set(x_420, 2, x_418); +lean_ctor_set(x_420, 3, x_236); +lean_inc(x_420); +x_421 = lean_array_push(x_230, x_420); +x_422 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_422, 0, x_257); +lean_ctor_set(x_422, 1, x_421); +x_423 = lean_array_push(x_416, x_422); +x_424 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_424, 0, x_260); +lean_ctor_set(x_424, 1, x_423); +x_425 = lean_array_push(x_230, x_424); +x_426 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_426, 0, x_257); +lean_ctor_set(x_426, 1, x_425); +x_427 = lean_array_push(x_230, x_426); +x_428 = lean_array_push(x_427, x_288); +x_429 = lean_array_push(x_381, x_420); +x_430 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_430, 0, x_383); +lean_ctor_set(x_430, 1, x_429); +x_431 = lean_array_push(x_230, x_430); +x_432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_432, 0, x_257); +lean_ctor_set(x_432, 1, x_431); +x_433 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__43; +x_434 = lean_array_push(x_433, x_432); +x_435 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; x_436 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_436, 0, x_255); -lean_ctor_set(x_436, 1, x_435); -x_437 = lean_array_push(x_228, x_436); -x_438 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_438, 0, x_255); -lean_ctor_set(x_438, 1, x_437); -x_439 = lean_array_push(x_228, x_438); -x_440 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_440, 0, x_400); -lean_ctor_set(x_440, 1, x_439); -x_441 = lean_array_push(x_425, x_440); -x_442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_442, 0, x_403); -lean_ctor_set(x_442, 1, x_441); -x_443 = lean_array_push(x_407, x_442); -x_444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_444, 0, x_255); -lean_ctor_set(x_444, 1, x_443); -x_445 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_446 = lean_array_push(x_445, x_444); -x_447 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; -x_448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_448, 0, x_447); -lean_ctor_set(x_448, 1, x_446); -x_449 = lean_array_push(x_360, x_448); -x_450 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +lean_ctor_set(x_436, 0, x_435); +lean_ctor_set(x_436, 1, x_434); +x_437 = lean_array_push(x_230, x_436); +x_438 = lean_array_push(x_437, x_263); +x_439 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_439, 0, x_328); +lean_ctor_set(x_439, 1, x_438); +x_440 = lean_array_push(x_230, x_439); +x_441 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_441, 0, x_257); +lean_ctor_set(x_441, 1, x_440); +x_442 = lean_array_push(x_230, x_441); +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_403); +lean_ctor_set(x_443, 1, x_442); +x_444 = lean_array_push(x_428, x_443); +x_445 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_445, 0, x_406); +lean_ctor_set(x_445, 1, x_444); +x_446 = lean_array_push(x_410, x_445); +x_447 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_447, 0, x_257); +lean_ctor_set(x_447, 1, x_446); +x_448 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_449 = lean_array_push(x_448, x_447); +x_450 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; x_451 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_451, 0, x_450); lean_ctor_set(x_451, 1, x_449); -x_452 = lean_array_push(x_228, x_451); -x_453 = lean_array_push(x_452, x_261); +x_452 = lean_array_push(x_363, x_451); +x_453 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; x_454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_454, 0, x_255); -lean_ctor_set(x_454, 1, x_453); -x_455 = lean_array_push(x_346, x_454); -x_456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_456, 0, x_255); -lean_ctor_set(x_456, 1, x_455); -x_457 = lean_array_push(x_228, x_456); -x_458 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_458, 0, x_400); -lean_ctor_set(x_458, 1, x_457); -x_459 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_460 = lean_array_push(x_459, x_458); -x_461 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_462 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_462, 0, x_461); -lean_ctor_set(x_462, 1, x_460); -x_463 = l_Lean_Syntax_getArg(x_462, x_12); -lean_dec(x_462); -x_464 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_463); -x_465 = l_List_append___rarg(x_464, x_3); -x_466 = lean_apply_9(x_1, x_465, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_304); -return x_466; +lean_ctor_set(x_454, 0, x_453); +lean_ctor_set(x_454, 1, x_452); +x_455 = lean_array_push(x_230, x_454); +x_456 = lean_array_push(x_455, x_263); +x_457 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_457, 0, x_328); +lean_ctor_set(x_457, 1, x_456); +x_458 = lean_array_push(x_349, x_457); +x_459 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_459, 0, x_257); +lean_ctor_set(x_459, 1, x_458); +x_460 = lean_array_push(x_230, x_459); +x_461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_461, 0, x_403); +lean_ctor_set(x_461, 1, x_460); +x_462 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_463 = lean_array_push(x_462, x_461); +x_464 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_465 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_465, 0, x_464); +lean_ctor_set(x_465, 1, x_463); +x_466 = l_Lean_Syntax_getArg(x_465, x_12); +lean_dec(x_465); +x_467 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_466); +x_468 = l_List_append___rarg(x_467, x_3); +x_469 = lean_apply_9(x_1, x_468, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_306); +return x_469; } } } else { -uint8_t x_508; +uint8_t x_511; lean_dec(x_25); lean_dec(x_15); lean_dec(x_13); @@ -40045,29 +40100,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_508 = !lean_is_exclusive(x_27); -if (x_508 == 0) +x_511 = !lean_is_exclusive(x_27); +if (x_511 == 0) { return x_27; } else { -lean_object* x_509; lean_object* x_510; lean_object* x_511; -x_509 = lean_ctor_get(x_27, 0); -x_510 = lean_ctor_get(x_27, 1); -lean_inc(x_510); -lean_inc(x_509); +lean_object* x_512; lean_object* x_513; lean_object* x_514; +x_512 = lean_ctor_get(x_27, 0); +x_513 = lean_ctor_get(x_27, 1); +lean_inc(x_513); +lean_inc(x_512); lean_dec(x_27); -x_511 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_511, 0, x_509); -lean_ctor_set(x_511, 1, x_510); -return x_511; +x_514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_514, 0, x_512); +lean_ctor_set(x_514, 1, x_513); +return x_514; } } } else { -uint8_t x_512; +uint8_t x_515; lean_dec(x_15); lean_dec(x_13); lean_dec(x_10); @@ -40079,23 +40134,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_512 = !lean_is_exclusive(x_24); -if (x_512 == 0) +x_515 = !lean_is_exclusive(x_24); +if (x_515 == 0) { return x_24; } else { -lean_object* x_513; lean_object* x_514; lean_object* x_515; -x_513 = lean_ctor_get(x_24, 0); -x_514 = lean_ctor_get(x_24, 1); -lean_inc(x_514); -lean_inc(x_513); +lean_object* x_516; lean_object* x_517; lean_object* x_518; +x_516 = lean_ctor_get(x_24, 0); +x_517 = lean_ctor_get(x_24, 1); +lean_inc(x_517); +lean_inc(x_516); lean_dec(x_24); -x_515 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_515, 0, x_513); -lean_ctor_set(x_515, 1, x_514); -return x_515; +x_518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_518, 0, x_516); +lean_ctor_set(x_518, 1, x_517); +return x_518; } } } @@ -41043,7 +41098,7 @@ return x_38; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; x_39 = lean_unsigned_to_nat(1u); x_40 = l_Lean_Syntax_getArg(x_27, x_39); lean_dec(x_27); @@ -41106,33 +41161,34 @@ x_72 = lean_array_push(x_70, x_71); x_73 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; x_74 = lean_array_push(x_72, x_73); x_75 = lean_array_push(x_74, x_40); -x_76 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_76 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_76); lean_ctor_set(x_77, 1, x_75); x_78 = lean_array_push(x_65, x_77); x_79 = lean_array_push(x_78, x_71); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_67); -lean_ctor_set(x_80, 1, x_79); -x_81 = lean_array_push(x_65, x_80); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_67); -lean_ctor_set(x_82, 1, x_81); -x_83 = lean_array_push(x_65, x_82); -x_84 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_87 = lean_array_push(x_86, x_85); -x_88 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_87); -x_90 = l_Lean_Syntax_getArg(x_89, x_39); -lean_dec(x_89); -x_91 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_90); +x_80 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_79); +x_82 = lean_array_push(x_65, x_81); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_67); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_array_push(x_65, x_83); +x_85 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +x_87 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_88 = lean_array_push(x_87, x_86); +x_89 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +x_91 = l_Lean_Syntax_getArg(x_90, x_39); +lean_dec(x_90); +x_92 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_91); lean_inc(x_1); lean_inc(x_11); lean_inc(x_10); @@ -41141,27 +41197,27 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_92 = lean_apply_9(x_1, x_91, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_58); -if (lean_obj_tag(x_92) == 0) +x_93 = lean_apply_9(x_1, x_92, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_58); +if (lean_obj_tag(x_93) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_94 = lean_ctor_get(x_93, 0); lean_inc(x_94); -lean_dec(x_92); -x_95 = l_Lean_mkOptionalNode___closed__1; -x_96 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_96, 0, x_52); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set(x_96, 2, x_93); -x_19 = x_96; -x_20 = x_94; +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = l_Lean_mkOptionalNode___closed__1; +x_97 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_97, 0, x_52); +lean_ctor_set(x_97, 1, x_96); +lean_ctor_set(x_97, 2, x_94); +x_19 = x_97; +x_20 = x_95; goto block_26; } else { -uint8_t x_97; +uint8_t x_98; lean_dec(x_52); lean_dec(x_18); lean_dec(x_11); @@ -41172,39 +41228,39 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_97 = !lean_is_exclusive(x_92); -if (x_97 == 0) +x_98 = !lean_is_exclusive(x_93); +if (x_98 == 0) { -return x_92; +return x_93; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_92, 0); -x_99 = lean_ctor_get(x_92, 1); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_93, 0); +x_100 = lean_ctor_get(x_93, 1); +lean_inc(x_100); lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_92); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -return x_100; +lean_dec(x_93); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; } } } } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_dec(x_28); -x_101 = lean_unsigned_to_nat(1u); -x_102 = l_Lean_Syntax_getArg(x_27, x_101); -x_103 = lean_unsigned_to_nat(2u); -x_104 = l_Lean_Syntax_getArg(x_27, x_103); -x_105 = lean_unsigned_to_nat(4u); -x_106 = l_Lean_Syntax_getArg(x_27, x_105); +x_102 = lean_unsigned_to_nat(1u); +x_103 = l_Lean_Syntax_getArg(x_27, x_102); +x_104 = lean_unsigned_to_nat(2u); +x_105 = l_Lean_Syntax_getArg(x_27, x_104); +x_106 = lean_unsigned_to_nat(4u); +x_107 = l_Lean_Syntax_getArg(x_27, x_106); lean_dec(x_27); -x_107 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_106); +x_108 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_107); lean_inc(x_1); lean_inc(x_11); lean_inc(x_10); @@ -41213,28 +41269,28 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_108 = lean_apply_9(x_1, x_107, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_108) == 0) +x_109 = lean_apply_9(x_1, x_108, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_109) == 0) { -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_109, 0); lean_inc(x_110); -lean_dec(x_108); -x_111 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_111, 0, x_102); -lean_ctor_set(x_111, 1, x_104); -lean_ctor_set(x_111, 2, x_109); -x_19 = x_111; -x_20 = x_110; +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_112, 0, x_103); +lean_ctor_set(x_112, 1, x_105); +lean_ctor_set(x_112, 2, x_110); +x_19 = x_112; +x_20 = x_111; goto block_26; } else { -uint8_t x_112; -lean_dec(x_104); -lean_dec(x_102); +uint8_t x_113; +lean_dec(x_105); +lean_dec(x_103); lean_dec(x_18); lean_dec(x_11); lean_dec(x_10); @@ -41244,23 +41300,23 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_112 = !lean_is_exclusive(x_108); -if (x_112 == 0) +x_113 = !lean_is_exclusive(x_109); +if (x_113 == 0) { -return x_108; +return x_109; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_108, 0); -x_114 = lean_ctor_get(x_108, 1); +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_109, 0); +x_115 = lean_ctor_get(x_109, 1); +lean_inc(x_115); lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_108); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; +lean_dec(x_109); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +return x_116; } } } @@ -44604,7 +44660,7 @@ x_88 = lean_name_eq(x_70, x_87); if (x_88 == 0) { lean_object* x_89; uint8_t x_90; -x_89 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_89 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; x_90 = lean_name_eq(x_70, x_89); if (x_90 == 0) { @@ -44614,17 +44670,17 @@ x_92 = lean_name_eq(x_70, x_91); if (x_92 == 0) { lean_object* x_93; uint8_t x_94; -x_93 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_93 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__21; x_94 = lean_name_eq(x_70, x_93); if (x_94 == 0) { lean_object* x_95; uint8_t x_96; -x_95 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; +x_95 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__29; x_96 = lean_name_eq(x_70, x_95); if (x_96 == 0) { lean_object* x_97; uint8_t x_98; -x_97 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; +x_97 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; x_98 = lean_name_eq(x_70, x_97); if (x_98 == 0) { @@ -46443,7 +46499,7 @@ x_531 = lean_name_eq(x_513, x_530); if (x_531 == 0) { lean_object* x_532; uint8_t x_533; -x_532 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_532 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; x_533 = lean_name_eq(x_513, x_532); if (x_533 == 0) { @@ -46453,17 +46509,17 @@ x_535 = lean_name_eq(x_513, x_534); if (x_535 == 0) { lean_object* x_536; uint8_t x_537; -x_536 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; +x_536 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__21; x_537 = lean_name_eq(x_513, x_536); if (x_537 == 0) { lean_object* x_538; uint8_t x_539; -x_538 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; +x_538 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__29; x_539 = lean_name_eq(x_513, x_538); if (x_539 == 0) { lean_object* x_540; uint8_t x_541; -x_540 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; +x_540 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; x_541 = lean_name_eq(x_513, x_540); if (x_541 == 0) { @@ -48488,7 +48544,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_23879_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24287_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -48500,38 +48556,39 @@ return x_3; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_5 = l_Lean_Syntax_setKind(x_2, x_1); x_6 = l_Array_empty___closed__1; lean_inc(x_5); x_7 = lean_array_push(x_6, x_5); x_8 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_9 = lean_array_push(x_7, x_8); -x_10 = l_Lean_nullKind___closed__2; +x_10 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); x_12 = lean_array_push(x_6, x_11); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_10); -lean_ctor_set(x_13, 1, x_12); -x_14 = lean_array_push(x_6, x_13); -x_15 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_18 = lean_array_push(x_17, x_16); -x_19 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_Syntax_copyInfo(x_20, x_5); +x_13 = l_Lean_nullKind___closed__2; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_array_push(x_6, x_14); +x_16 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_19 = lean_array_push(x_18, x_17); +x_20 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Lean_Syntax_copyInfo(x_21, x_5); lean_dec(x_5); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_4); -return x_22; +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_4); +return x_23; } } lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -48658,7 +48715,7 @@ lean_object* l_Lean_Elab_Term_expandTermReturn(lean_object* x_1, lean_object* x_ _start: { lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; +x_4 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__41; x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(x_4, x_1, x_2, x_3); return x_5; } @@ -49374,6 +49431,10 @@ l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50 = _init_l_Lean_Ela lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__50); l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__51 = _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__51(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__51); +l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__52 = _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__52(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__52); +l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__53 = _init_l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__53(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__53); l_Lean_Elab_Term_Do_ToCodeBlock_Context_mutableVars___default = _init_l_Lean_Elab_Term_Do_ToCodeBlock_Context_mutableVars___default(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_Context_mutableVars___default); l_Lean_Elab_Term_Do_ToCodeBlock_Context_insideFor___default = _init_l_Lean_Elab_Term_Do_ToCodeBlock_Context_insideFor___default(); @@ -49588,7 +49649,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__1); res = l___regBuiltin_Lean_Elab_Term_Do_elabDo(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_23879_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24287_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index 361211e7bd..59d29f6d0a 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -56,6 +56,7 @@ lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_ lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); +extern lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__6; lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__4; @@ -237,7 +238,6 @@ lean_object* l_Lean_Elab_Command_getCheckResultingUniverseOption___boxed(lean_ob lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_instInhabitedLocalContext___closed__1; extern lean_object* l_Lean_Expr_instInhabitedExpr___closed__1; -extern lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__5; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4537,7 +4537,7 @@ lean_closure_set(x_29, 1, x_2); lean_closure_set(x_29, 2, x_18); lean_closure_set(x_29, 3, x_23); lean_closure_set(x_29, 4, x_28); -x_30 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__5; +x_30 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__6; x_31 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); lean_closure_set(x_31, 0, x_30); lean_closure_set(x_31, 1, x_29); @@ -16385,7 +16385,7 @@ x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabInductiveViews___lambd lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_3); lean_closure_set(x_13, 2, x_2); -x_14 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__5; +x_14 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__6; x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); lean_closure_set(x_15, 0, x_14); lean_closure_set(x_15, 1, x_13); diff --git a/stage0/stdlib/Lean/Elab/Level.c b/stage0/stdlib/Lean/Elab/Level.c index b8e1266db3..862e6808be 100644 --- a/stage0/stdlib/Lean/Elab/Level.c +++ b/stage0/stdlib/Lean/Elab/Level.c @@ -17,7 +17,7 @@ size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM; lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___closed__10; -lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_throwIllFormedSyntax___rarg___closed__3; lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__3; lean_object* l_ReaderT_bind___at_Lean_Elab_Level_instMonadRefLevelElabM___spec__2(lean_object*, lean_object*); @@ -32,7 +32,6 @@ lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___closed__4; lean_object* l_Lean_mkFreshId___at_Lean_Elab_Level_mkFreshLevelMVar___spec__1(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___closed__1; lean_object* l_Lean_Elab_Level_elabLevel___closed__9; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -42,6 +41,7 @@ lean_object* l_Lean_Elab_Level_instAddMessageContextLevelElabM(lean_object*, lea lean_object* l_Lean_Elab_Level_mkFreshLevelMVar___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Level_elabLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___closed__6; @@ -63,6 +63,7 @@ lean_object* l_Lean_Elab_Level_elabLevel_match__2(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Level_addOffsetAux(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Level_elabLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___closed__2; lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -86,8 +87,9 @@ lean_object* l_ReaderT_read___at_Lean_Elab_Level_instMonadRefLevelElabM___spec__ extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4; lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__12; +lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__5; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___closed__2; lean_object* l_Lean_mkFreshId___at_Lean_Elab_Level_mkFreshLevelMVar___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Level_instAddMessageContextLevelElabM___boxed(lean_object*, lean_object*, lean_object*); @@ -292,7 +294,18 @@ lean_dec(x_2); return x_4; } } -lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_inc(x_2); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; @@ -304,7 +317,7 @@ lean_ctor_set(x_5, 1, x_3); return x_5; } } -lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -342,36 +355,44 @@ static lean_object* _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___c _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1___boxed), 2, 0); return x_1; } } static lean_object* _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___closed__1; -x_2 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Level_instMonadRefLevelElabM___spec__2___rarg), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__3() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__2___boxed), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__4() { +static lean_object* _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__2; -x_2 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__3; +x_1 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__1; +x_2 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Level_instMonadRefLevelElabM___spec__2___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__3___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__3; +x_2 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -382,18 +403,17 @@ static lean_object* _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__4; +x_1 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__5; return x_1; } } -lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; -x_4 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1(x_1, x_2, x_3); -lean_dec(x_2); +lean_object* x_3; +x_3 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1(x_1, x_2); lean_dec(x_1); -return x_4; +return x_3; } } lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -402,6 +422,16 @@ _start: lean_object* x_4; x_4 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__2(x_1, x_2, x_3); lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__3(x_1, x_2, x_3); +lean_dec(x_2); return x_4; } } @@ -2012,6 +2042,8 @@ l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__3 = _init_l_Lean_El lean_mark_persistent(l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__3); l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__4 = _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__4(); lean_mark_persistent(l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__4); +l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__5 = _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__5(); +lean_mark_persistent(l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__5); l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM = _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM(); lean_mark_persistent(l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM); l_Lean_Elab_Level_elabLevel___closed__1 = _init_l_Lean_Elab_Level_elabLevel___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 58a88604df..9943e9f42f 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -56,7 +56,6 @@ lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Std_RBNode_foldM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_merge___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2; lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -270,6 +269,7 @@ lean_object* l_Lean_Syntax_copyInfo(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_collectMVars(lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__4; lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -382,6 +382,7 @@ lean_object* l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_E lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___spec__1___closed__4; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap_match__1(lean_object*); lean_object* l_Lean_replaceFVarIdAtLocalDecl(lean_object*, lean_object*, lean_object*); @@ -526,7 +527,6 @@ lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___sp lean_object* l_Lean_Elab_Term_elabMutualDef___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; extern lean_object* l_Lean_Meta_Match_Pattern_toMessageData___closed__6; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_getZetaFVarIds___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -5403,7 +5403,7 @@ x_20 = lean_ctor_get(x_17, 7); lean_inc(x_20); x_21 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__2___lambda__1___boxed), 9, 1); lean_closure_set(x_21, 0, x_20); -x_22 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2; +x_22 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1; x_23 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); lean_closure_set(x_23, 0, x_22); lean_closure_set(x_23, 1, x_21); @@ -9792,7 +9792,7 @@ static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_Mutu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c index 4ea6dee7aa..7c6632a01f 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c @@ -109,6 +109,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__8 lean_object* l_Lean_Meta_mapErrorImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs(lean_object*); lean_object* l_Std_HashMapImp_expand___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__13(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__5___boxed(lean_object*, lean_object*, lean_object*); @@ -142,7 +143,6 @@ lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___at___private_Lean_El lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_collectMVarsAtPreDef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; lean_object* l_Std_AssocList_contains___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__12___boxed(lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1; @@ -398,7 +398,7 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean x_43 = lean_ctor_get(x_37, 1); lean_inc(x_43); lean_dec(x_37); -x_44 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; +x_44 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; x_45 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_43); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -416,7 +416,7 @@ block_24: lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_10 = lean_ctor_get(x_1, 3); lean_inc(x_10); -x_11 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; +x_11 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; lean_inc(x_10); x_12 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___boxed), 12, 3); lean_closure_set(x_12, 0, x_1); @@ -494,7 +494,7 @@ x_31 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__ x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; +x_33 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; x_34 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_33, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_26); x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); @@ -2841,7 +2841,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefiniti _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -3519,7 +3519,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefiniti _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__8___lambda__3___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c index 0ca124863f..0a8c0d8eaa 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c @@ -313,6 +313,7 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwStructuralFailed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__2(lean_object*); +extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadParamDep_x3f___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -425,7 +426,6 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0 lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadParamDep_x3f_match__2(lean_object*); @@ -6324,7 +6324,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1056____closed__2; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018____closed__2; x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/SyntheticMVars.c b/stage0/stdlib/Lean/Elab/SyntheticMVars.c index b00bf41f79..1368bd32b5 100644 --- a/stage0/stdlib/Lean/Elab/SyntheticMVars.c +++ b/stage0/stdlib/Lean/Elab/SyntheticMVars.c @@ -15,7 +15,6 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1; -lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___closed__2; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_synthesizeUsingDefault___spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___closed__3; @@ -25,7 +24,7 @@ lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_synthesizeUsingDefault___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar_match__1(lean_object*); @@ -51,7 +50,6 @@ extern lean_object* l_Lean_Elab_logException___rarg___lambda__1___closed__3; lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_traceAtCmdPos___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__7; -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_synthesizeUsingDefault___spec__3___closed__1; @@ -69,11 +67,9 @@ lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Meta_isExprDefEqImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__3; -lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar_match__1(lean_object*); lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__5; lean_object* l_Lean_Elab_Term_synthesizeUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -102,11 +98,12 @@ lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_E lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__6; lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isClass_x3f___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_StateRefT_x27_get___at_Lean_Elab_Term_liftTacticElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_synthesizeUsingDefault___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___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_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed_match__1(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___closed__2; @@ -132,6 +129,7 @@ lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostpo lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeUsingDefault_match__2(lean_object*); lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__8; lean_object* l_Lean_Meta_isExprDefEqGuarded___at_Lean_Elab_Term_synthesizeUsingDefault___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; @@ -174,6 +172,7 @@ extern lean_object* l_Lean_Elab_abortExceptionId; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getDefaultInstances___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeUsingDefault_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withSynthesize___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___rarg___closed__1; extern lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1___closed__1; @@ -190,6 +189,7 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_synthesizeUsingDefault___spec__4___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_runTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); @@ -206,37 +206,36 @@ extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1; lean_object* l_Lean_Elab_Term_synthesizeUsingDefault_match__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeUsingDefault_match__4(lean_object*); lean_object* l_Lean_Meta_isExprDefEqGuarded___at_Lean_Elab_Term_synthesizeUsingDefault___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withSynthesize___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_StateRefT_x27_get___at_Lean_Elab_Term_liftTacticElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar_match__1(lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_StateRefT_x27_get___at_Lean_Elab_Term_liftTacticElabM___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_7; uint8_t x_8; -x_7 = lean_st_ref_get(x_1, x_6); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) +lean_object* x_8; uint8_t x_9; +x_8 = lean_st_ref_get(x_2, x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) { -return x_7; +return x_8; } else { -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_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); +lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_7); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_9); -lean_ctor_set(x_11, 1, x_10); -return x_11; +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; } } } -lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -615,29 +614,19 @@ static lean_object* _init_l_Lean_Elab_Term_liftTacticElabM___rarg___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_StateRefT_x27_get___at_Lean_Elab_Term_liftTacticElabM___spec__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1___boxed), 7, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_liftTacticElabM___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_liftTacticElabM___rarg___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_inc(x_1); -x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1___boxed), 10, 2); +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__2___boxed), 10, 2); lean_closure_set(x_10, 0, x_1); lean_closure_set(x_10, 1, x_2); -x_11 = l_Lean_Elab_Term_liftTacticElabM___rarg___closed__2; +x_11 = l_Lean_Elab_Term_liftTacticElabM___rarg___closed__1; x_12 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); lean_closure_set(x_12, 0, x_11); lean_closure_set(x_12, 1, x_10); @@ -653,24 +642,25 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_liftTacticElabM___rarg), 9, 0) return x_2; } } -lean_object* l_StateRefT_x27_get___at_Lean_Elab_Term_liftTacticElabM___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_7; -x_7 = l_StateRefT_x27_get___at_Lean_Elab_Term_liftTacticElabM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_object* x_8; +x_8 = l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_7; +return x_8; } } -lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_3); return x_11; } @@ -1793,7 +1783,7 @@ lean_closure_set(x_14, 1, x_2); lean_closure_set(x_14, 2, x_1); lean_closure_set(x_14, 3, x_4); lean_closure_set(x_14, 4, x_3); -x_15 = l_Lean_Elab_Term_liftTacticElabM___rarg___closed__2; +x_15 = l_Lean_Elab_Term_liftTacticElabM___rarg___closed__1; x_16 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); lean_closure_set(x_16, 0, x_15); lean_closure_set(x_16, 1, x_14); @@ -2720,6 +2710,14 @@ x_13 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheti return x_13; } } +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1() { _start: { @@ -2813,7 +2811,7 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; x_14 = lean_ctor_get(x_4, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_4, 1); @@ -2843,86 +2841,82 @@ x_65 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__ x_66 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_66, 0, x_64); lean_ctor_set(x_66, 1, x_65); -x_67 = lean_alloc_closure((void*)(l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1___boxed), 6, 1); +x_67 = lean_alloc_closure((void*)(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___lambda__1___boxed), 8, 1); lean_closure_set(x_67, 0, x_66); -x_68 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_68, 0, x_67); -x_69 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_69, 0, x_68); -x_70 = lean_st_ref_get(x_11, x_12); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_71, 3); +x_68 = lean_st_ref_get(x_11, x_12); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_69, 3); +lean_inc(x_70); +lean_dec(x_69); +x_71 = lean_ctor_get_uint8(x_70, sizeof(void*)*1); +lean_dec(x_70); +if (x_71 == 0) +{ +lean_object* x_72; +lean_dec(x_67); +lean_dec(x_60); +x_72 = lean_ctor_get(x_68, 1); lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_ctor_get_uint8(x_72, sizeof(void*)*1); -lean_dec(x_72); -if (x_73 == 0) -{ -lean_object* x_74; -lean_dec(x_69); -lean_dec(x_60); -x_74 = lean_ctor_get(x_70, 1); -lean_inc(x_74); -lean_dec(x_70); -x_25 = x_74; +lean_dec(x_68); +x_25 = x_72; goto block_59; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_75 = lean_ctor_get(x_70, 1); -lean_inc(x_75); -lean_dec(x_70); +lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_73 = lean_ctor_get(x_68, 1); +lean_inc(x_73); +lean_dec(x_68); lean_inc(x_24); -x_76 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_75); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_unbox(x_77); -lean_dec(x_77); -if (x_78 == 0) +x_74 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_unbox(x_75); +lean_dec(x_75); +if (x_76 == 0) { -lean_object* x_79; -lean_dec(x_69); +lean_object* x_77; +lean_dec(x_67); lean_dec(x_60); -x_79 = lean_ctor_get(x_76, 1); -lean_inc(x_79); -lean_dec(x_76); -x_25 = x_79; +x_77 = lean_ctor_get(x_74, 1); +lean_inc(x_77); +lean_dec(x_74); +x_25 = x_77; goto block_59; } else { -lean_object* x_80; lean_object* x_81; -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); -lean_dec(x_76); +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_74, 1); +lean_inc(x_78); +lean_dec(x_74); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_81 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___rarg(x_60, x_69, x_6, x_7, x_8, x_9, x_10, x_11, x_80); -if (lean_obj_tag(x_81) == 0) +x_79 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___rarg(x_60, x_67, x_6, x_7, x_8, x_9, x_10, x_11, x_78); +if (lean_obj_tag(x_79) == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); lean_inc(x_24); -x_84 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_24, x_82, x_6, x_7, x_8, x_9, x_10, x_11, x_83); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_25 = x_85; +x_82 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_24, x_80, x_6, x_7, x_8, x_9, x_10, x_11, x_81); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_25 = x_83; goto block_59; } else { -uint8_t x_86; +uint8_t x_84; lean_dec(x_24); lean_dec(x_16); lean_dec(x_15); @@ -2935,23 +2929,23 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_86 = !lean_is_exclusive(x_81); -if (x_86 == 0) +x_84 = !lean_is_exclusive(x_79); +if (x_84 == 0) { -return x_81; +return x_79; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_81, 0); -x_88 = lean_ctor_get(x_81, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_81); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_79, 0); +x_86 = lean_ctor_get(x_79, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_79); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } } @@ -3677,6 +3671,20 @@ return x_110; } } } +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -8140,8 +8148,6 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_liftTacticElabM___rarg___closed__1 = _init_l_Lean_Elab_Term_liftTacticElabM___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_liftTacticElabM___rarg___closed__1); -l_Lean_Elab_Term_liftTacticElabM___rarg___closed__2 = _init_l_Lean_Elab_Term_liftTacticElabM___rarg___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_liftTacticElabM___rarg___closed__2); l_Lean_Elab_Term_runTactic___closed__1 = _init_l_Lean_Elab_Term_runTactic___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_runTactic___closed__1); l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar___lambda__1___closed__1 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar___lambda__1___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 27754e6507..979f9295f2 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -17,7 +17,7 @@ extern lean_object* l_Lean_Parser_Tactic_orelse___closed__4; lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Elab_Tactic_evalTactic___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_revert___closed__2; @@ -57,8 +57,7 @@ lean_object* l_Lean_Elab_Tactic_pruneSolvedGoals(lean_object*, lean_object*, lea lean_object* l_Lean_Elab_Tactic_evalChoiceAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__1(lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__4; -lean_object* l_Lean_Elab_Tactic_evalIntro___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalIntro___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalIntros_match__2___rarg(lean_object*, lean_object*); uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1; @@ -120,7 +119,6 @@ lean_object* l_Lean_Elab_Tactic_saveAllState(lean_object*); lean_object* l_Lean_Meta_subst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux_match__2___rarg(lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ensureHasType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalIntro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalCase___closed__3; @@ -140,7 +138,7 @@ uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getGoals___boxed(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalDone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object*); lean_object* l_Lean_MetavarContext_renameMVar(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; @@ -173,9 +171,9 @@ lean_object* l_Lean_Elab_Tactic_evalClear_match__1___rarg(lean_object*, lean_obj lean_object* l_Lean_Elab_Tactic_evalTactic_match__2(lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___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*); extern lean_object* l_Lean_Parser_Tactic_focus___closed__2; -lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_clear___closed__1; @@ -203,7 +201,6 @@ lean_object* l_Lean_Elab_Tactic_focusAux_match__1(lean_object*); lean_object* l_Lean_Elab_Tactic_try_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_subst___closed__2; lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_clear___lambda__3___closed__2; lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_TacticM_run_x27(lean_object*); @@ -212,6 +209,7 @@ lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_ob lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1; lean_object* l_Lean_Elab_Tactic_evalCase(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1; +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -239,7 +237,6 @@ lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM; lean_object* l_Lean_Elab_Tactic_saveBacktrackableState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTactic_match__1(lean_object*); -extern lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarWithIdCore___rarg___closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_object*); lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_traceState___closed__2; @@ -265,7 +262,6 @@ lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lea lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Meta_mkSorry___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instOrElseTacticM___closed__1; -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__2; lean_object* l_Lean_Elab_Tactic_evalDone___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_liftTermElabM(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -277,7 +273,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone(lean_object*); extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_introMatch___closed__2; lean_object* l_Lean_Elab_Tactic_getGoals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1; @@ -326,7 +322,7 @@ lean_object* l_Lean_Elab_Tactic_saveBacktrackableState___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_instInhabitedSavedState___closed__1; extern lean_object* l_Lean_mkSimpleThunk___closed__1; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalCase_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; @@ -346,7 +342,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOrelse___closed__1; extern lean_object* l_Lean_Parser_Tactic_paren___closed__1; lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Elab_Tactic_evalTactic___spec__3___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_done___closed__2; -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_match___closed__2; lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); @@ -372,15 +368,15 @@ lean_object* l_Lean_Elab_Tactic_forEachVar___boxed(lean_object*, lean_object*, l extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___closed__1; lean_object* l_Lean_Elab_Tactic_evalRevert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_liftMetaTactic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_liftMetaTactic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTactic_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalFocus(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize_match__1(lean_object*); lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals_match__1(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Tactic_ensureHasNoMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___boxed(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__13; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -388,7 +384,7 @@ lean_object* l_Lean_Elab_Tactic_appendGoals(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Elab_Tactic_saveBacktrackableState(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1; lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3868____closed__1; -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_goalsToMessageData(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___boxed__const__1; @@ -408,13 +404,14 @@ lean_object* l_Lean_Elab_Tactic_liftMetaTactic(lean_object*, lean_object*, lean_ extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; lean_object* l_Lean_Elab_Tactic_liftTermElabM___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___regBuiltin_Lean_Elab_Tactic_evalFocus(lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___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_environment_main_module(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1; extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_841____closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_841____closed__2; lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__2; -lean_object* l_Lean_Elab_Tactic_liftMetaTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_liftMetaTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_focusAux(lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalTactic___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; @@ -533,7 +530,7 @@ lean_object* l_Lean_Elab_Tactic_getMainGoal_match__1___rarg(lean_object*, lean_o lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instOrElseTacticM(lean_object*); lean_object* l_Lean_Elab_Tactic_try(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalIntro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalIntro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__2; lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withMacroExpansion(lean_object*); @@ -569,7 +566,7 @@ lean_object* l_Lean_Elab_Tactic_orElse(lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__2; lean_object* l_Lean_Elab_Tactic_getGoals(lean_object*); @@ -585,7 +582,7 @@ lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed(lea lean_object* l_Lean_Elab_Tactic_expandTacticMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; -lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___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* l___regBuiltin_Lean_Elab_Tactic_evalParen(lean_object*); lean_object* l_Lean_Elab_Tactic_evalIntro___closed__6; lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalTactic___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -594,14 +591,13 @@ lean_object* l_Lean_setEnv___at_Lean_Elab_Tactic_BacktrackableState_restore___sp lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__3; lean_object* l_Lean_Elab_Tactic_SavedState_restore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSeq1___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_assignExprMVar___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSkip___rarg(lean_object*); @@ -6613,12 +6609,12 @@ x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTa return x_3; } } -lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = lean_apply_6(x_1, x_2, x_5, x_6, x_7, x_8, x_9); -return x_10; +lean_object* x_12; +x_12 = lean_apply_6(x_1, x_2, x_7, x_8, x_9, x_10, x_11); +return x_12; } } lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -6661,7 +6657,7 @@ lean_object* x_11; x_11 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -6673,24 +6669,20 @@ x_15 = lean_ctor_get(x_12, 1); lean_inc(x_15); lean_dec(x_12); lean_inc(x_14); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1___boxed), 9, 2); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1___boxed), 11, 2); lean_closure_set(x_16, 0, x_1); lean_closure_set(x_16, 1, x_14); -x_17 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_17, 0, x_16); -x_18 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_18, 0, x_17); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_19, 0, x_15); -x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_19); -x_21 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_14, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -return x_21; +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_17, 0, x_15); +x_18 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_18, 0, x_16); +lean_closure_set(x_18, 1, x_17); +x_19 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_14, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +return x_19; } else { -uint8_t x_22; +uint8_t x_20; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6700,23 +6692,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_22 = !lean_is_exclusive(x_11); -if (x_22 == 0) +x_20 = !lean_is_exclusive(x_11); +if (x_20 == 0) { return x_11; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_11, 0); -x_24 = lean_ctor_get(x_11, 1); -lean_inc(x_24); -lean_inc(x_23); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_11, 0); +x_22 = lean_ctor_get(x_11, 1); +lean_inc(x_22); +lean_inc(x_21); lean_dec(x_11); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +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; } } } @@ -6729,14 +6721,16 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg), 1 return x_2; } } -lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_12; } } lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -6755,64 +6749,64 @@ lean_dec(x_3); return x_12; } } -lean_object* l_Lean_Elab_Tactic_liftMetaTactic___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Tactic_liftMetaTactic___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = lean_apply_6(x_1, x_2, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_10) == 0) +lean_object* x_12; +x_12 = lean_apply_6(x_1, x_2, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_box(0); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -lean_ctor_set(x_10, 0, x_14); -return x_10; +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_12, 0, x_16); +return x_12; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_10, 0); -x_16 = lean_ctor_get(x_10, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_10); -x_17 = lean_box(0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_15); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_16); -return x_19; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_12, 0); +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_12); +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_18); +return x_21; } } else { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_10); -if (x_20 == 0) +uint8_t x_22; +x_22 = !lean_is_exclusive(x_12); +if (x_22 == 0) { -return x_10; +return x_12; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_10, 0); -x_22 = lean_ctor_get(x_10, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_10); -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* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_12, 0); +x_24 = lean_ctor_get(x_12, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_12); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } } @@ -6824,7 +6818,7 @@ lean_object* x_11; x_11 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -6836,24 +6830,20 @@ x_15 = lean_ctor_get(x_12, 1); lean_inc(x_15); lean_dec(x_12); lean_inc(x_14); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTactic___lambda__1___boxed), 9, 2); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTactic___lambda__1___boxed), 11, 2); lean_closure_set(x_16, 0, x_1); lean_closure_set(x_16, 1, x_14); -x_17 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_17, 0, x_16); -x_18 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_18, 0, x_17); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_19, 0, x_15); -x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_19); -x_21 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_14, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -return x_21; +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_17, 0, x_15); +x_18 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_18, 0, x_16); +lean_closure_set(x_18, 1, x_17); +x_19 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_14, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +return x_19; } else { -uint8_t x_22; +uint8_t x_20; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6863,35 +6853,37 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_22 = !lean_is_exclusive(x_11); -if (x_22 == 0) +x_20 = !lean_is_exclusive(x_11); +if (x_20 == 0) { return x_11; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_11, 0); -x_24 = lean_ctor_get(x_11, 1); -lean_inc(x_24); -lean_inc(x_23); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_11, 0); +x_22 = lean_ctor_get(x_11, 1); +lean_inc(x_22); +lean_inc(x_21); lean_dec(x_11); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +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_Lean_Elab_Tactic_liftMetaTactic___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Tactic_liftMetaTactic___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_liftMetaTactic___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_liftMetaTactic___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_12; } } lean_object* l_Lean_Elab_Tactic_done(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -9848,57 +9840,57 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_9; -x_9 = l_Lean_Meta_assumption(x_1, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) +lean_object* x_11; +x_11 = l_Lean_Meta_assumption(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) { -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -lean_dec(x_11); -x_12 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; -lean_ctor_set(x_9, 0, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 1); -lean_inc(x_13); -lean_dec(x_9); +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_dec(x_13); x_14 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; } } else { -uint8_t x_16; -x_16 = !lean_is_exclusive(x_9); -if (x_16 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_11); +if (x_18 == 0) { -return x_9; +return x_11; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_9, 0); -x_18 = lean_ctor_get(x_9, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_9); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_11, 0); +x_20 = lean_ctor_get(x_11, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_11); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } @@ -9910,7 +9902,7 @@ lean_object* x_10; x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); @@ -9922,23 +9914,19 @@ x_14 = lean_ctor_get(x_11, 1); lean_inc(x_14); lean_dec(x_11); lean_inc(x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed), 8, 1); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed), 10, 1); lean_closure_set(x_15, 0, x_13); -x_16 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_16, 0, x_15); -x_17 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_17, 0, x_16); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_18, 0, x_14); -x_19 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_19, 0, x_17); -lean_closure_set(x_19, 1, x_18); -x_20 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_13, x_19, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); -return x_20; +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_16, 0, x_14); +x_17 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_17, 0, x_15); +lean_closure_set(x_17, 1, x_16); +x_18 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_13, x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +return x_18; } else { -uint8_t x_21; +uint8_t x_19; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -9947,23 +9935,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_21 = !lean_is_exclusive(x_10); -if (x_21 == 0) +x_19 = !lean_is_exclusive(x_10); +if (x_19 == 0) { return x_10; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_10, 0); -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); -lean_inc(x_22); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_10, 0); +x_21 = lean_ctor_get(x_10, 1); +lean_inc(x_21); +lean_inc(x_20); lean_dec(x_10); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } } @@ -9976,14 +9964,16 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAssumption___rarg), 9, 0 return x_2; } } -lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_9; -x_9 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_11; } } lean_object* l_Lean_Elab_Tactic_evalAssumption___boxed(lean_object* x_1) { @@ -10035,109 +10025,109 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab return x_2; } } -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = l_Lean_Meta_intro(x_1, x_2, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_10) == 0) +lean_object* x_12; +x_12 = l_Lean_Meta_intro(x_1, x_2, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_10, 0); +uint8_t x_13; x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_12, 1); -x_15 = lean_ctor_get(x_12, 0); -lean_dec(x_15); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_16); +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_14, 1); +x_17 = lean_ctor_get(x_14, 0); +lean_dec(x_17); x_18 = lean_box(0); -lean_ctor_set(x_12, 1, x_17); -lean_ctor_set(x_12, 0, x_18); -return x_10; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_12, 1); -lean_inc(x_19); -lean_dec(x_12); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); x_20 = lean_box(0); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_14, 1, x_19); +lean_ctor_set(x_14, 0, x_20); +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_dec(x_14); x_22 = lean_box(0); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -lean_ctor_set(x_10, 0, x_23); -return x_10; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +lean_ctor_set(x_12, 0, x_25); +return x_12; } } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_24 = lean_ctor_get(x_10, 0); -x_25 = lean_ctor_get(x_10, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_10); -x_26 = lean_ctor_get(x_24, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_26 = lean_ctor_get(x_12, 0); +x_27 = lean_ctor_get(x_12, 1); +lean_inc(x_27); lean_inc(x_26); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - x_27 = x_24; +lean_dec(x_12); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_29 = x_26; } else { - lean_dec_ref(x_24); - x_27 = lean_box(0); + lean_dec_ref(x_26); + x_29 = lean_box(0); } -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_26); -lean_ctor_set(x_29, 1, x_28); x_30 = lean_box(0); -if (lean_is_scalar(x_27)) { - x_31 = lean_alloc_ctor(0, 2, 0); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_box(0); +if (lean_is_scalar(x_29)) { + x_33 = lean_alloc_ctor(0, 2, 0); } else { - x_31 = x_27; + x_33 = x_29; } -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_25); -return x_32; +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_27); +return x_34; } } else { -uint8_t x_33; -x_33 = !lean_is_exclusive(x_10); -if (x_33 == 0) +uint8_t x_35; +x_35 = !lean_is_exclusive(x_12); +if (x_35 == 0) { -return x_10; +return x_12; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_10, 0); -x_35 = lean_ctor_get(x_10, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_10); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_12, 0); +x_37 = lean_ctor_get(x_12, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_12); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } @@ -10149,7 +10139,7 @@ lean_object* x_11; x_11 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -10161,24 +10151,20 @@ x_15 = lean_ctor_get(x_12, 1); lean_inc(x_15); lean_dec(x_12); lean_inc(x_14); -x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1___boxed), 9, 2); +x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1___boxed), 11, 2); lean_closure_set(x_16, 0, x_14); lean_closure_set(x_16, 1, x_1); -x_17 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_17, 0, x_16); -x_18 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_18, 0, x_17); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_19, 0, x_15); -x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_19); -x_21 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_14, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -return x_21; +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_17, 0, x_15); +x_18 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_18, 0, x_16); +lean_closure_set(x_18, 1, x_17); +x_19 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_14, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +return x_19; } else { -uint8_t x_22; +uint8_t x_20; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10188,35 +10174,37 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_22 = !lean_is_exclusive(x_11); -if (x_22 == 0) +x_20 = !lean_is_exclusive(x_11); +if (x_20 == 0) { return x_11; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_11, 0); -x_24 = lean_ctor_get(x_11, 1); -lean_inc(x_24); -lean_inc(x_23); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_11, 0); +x_22 = lean_ctor_get(x_11, 1); +lean_inc(x_22); +lean_inc(x_21); lean_dec(x_11); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +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_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_12; +x_12 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_12; } } lean_object* l_Lean_Elab_Tactic_evalIntro_match__1___rarg(lean_object* x_1, lean_object* x_2) { @@ -10240,110 +10228,110 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro_match__1___rarg), return x_2; } } -lean_object* l_Lean_Elab_Tactic_evalIntro___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_Elab_Tactic_evalIntro___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = 0; -x_10 = l_Lean_Meta_intro1Core(x_1, x_9, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_10) == 0) +uint8_t x_11; lean_object* x_12; +x_11 = 0; +x_12 = l_Lean_Meta_intro1Core(x_1, x_11, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_10, 0); +uint8_t x_13; x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_12, 1); -x_15 = lean_ctor_get(x_12, 0); -lean_dec(x_15); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_16); +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_14, 1); +x_17 = lean_ctor_get(x_14, 0); +lean_dec(x_17); x_18 = lean_box(0); -lean_ctor_set(x_12, 1, x_17); -lean_ctor_set(x_12, 0, x_18); -return x_10; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_12, 1); -lean_inc(x_19); -lean_dec(x_12); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); x_20 = lean_box(0); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_14, 1, x_19); +lean_ctor_set(x_14, 0, x_20); +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_dec(x_14); x_22 = lean_box(0); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -lean_ctor_set(x_10, 0, x_23); -return x_10; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +lean_ctor_set(x_12, 0, x_25); +return x_12; } } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_24 = lean_ctor_get(x_10, 0); -x_25 = lean_ctor_get(x_10, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_10); -x_26 = lean_ctor_get(x_24, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_26 = lean_ctor_get(x_12, 0); +x_27 = lean_ctor_get(x_12, 1); +lean_inc(x_27); lean_inc(x_26); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - x_27 = x_24; +lean_dec(x_12); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_29 = x_26; } else { - lean_dec_ref(x_24); - x_27 = lean_box(0); + lean_dec_ref(x_26); + x_29 = lean_box(0); } -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_26); -lean_ctor_set(x_29, 1, x_28); x_30 = lean_box(0); -if (lean_is_scalar(x_27)) { - x_31 = lean_alloc_ctor(0, 2, 0); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_box(0); +if (lean_is_scalar(x_29)) { + x_33 = lean_alloc_ctor(0, 2, 0); } else { - x_31 = x_27; + x_33 = x_29; } -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_25); -return x_32; +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_27); +return x_34; } } else { -uint8_t x_33; -x_33 = !lean_is_exclusive(x_10); -if (x_33 == 0) +uint8_t x_35; +x_35 = !lean_is_exclusive(x_12); +if (x_35 == 0) { -return x_10; +return x_12; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_10, 0); -x_35 = lean_ctor_get(x_10, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_10); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_12, 0); +x_37 = lean_ctor_get(x_12, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_12); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } @@ -10506,7 +10494,7 @@ lean_dec(x_1); x_188 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_188) == 0) { -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; x_189 = lean_ctor_get(x_188, 0); lean_inc(x_189); x_190 = lean_ctor_get(x_188, 1); @@ -10518,23 +10506,19 @@ x_192 = lean_ctor_get(x_189, 1); lean_inc(x_192); lean_dec(x_189); lean_inc(x_191); -x_193 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro___lambda__1___boxed), 8, 1); +x_193 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro___lambda__1___boxed), 10, 1); lean_closure_set(x_193, 0, x_191); -x_194 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_194, 0, x_193); -x_195 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_195, 0, x_194); -x_196 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_196, 0, x_192); -x_197 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_197, 0, x_195); -lean_closure_set(x_197, 1, x_196); -x_198 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_191, x_197, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_190); -return x_198; +x_194 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_194, 0, x_192); +x_195 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_195, 0, x_193); +lean_closure_set(x_195, 1, x_194); +x_196 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_191, x_195, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_190); +return x_196; } else { -uint8_t x_199; +uint8_t x_197; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10543,23 +10527,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_199 = !lean_is_exclusive(x_188); -if (x_199 == 0) +x_197 = !lean_is_exclusive(x_188); +if (x_197 == 0) { return x_188; } else { -lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_200 = lean_ctor_get(x_188, 0); -x_201 = lean_ctor_get(x_188, 1); -lean_inc(x_201); -lean_inc(x_200); +lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_198 = lean_ctor_get(x_188, 0); +x_199 = lean_ctor_get(x_188, 1); +lean_inc(x_199); +lean_inc(x_198); lean_dec(x_188); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_200); -lean_ctor_set(x_202, 1, x_201); -return x_202; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_198); +lean_ctor_set(x_200, 1, x_199); +return x_200; } } } @@ -10934,14 +10918,16 @@ return x_178; } } } -lean_object* l_Lean_Elab_Tactic_evalIntro___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_Elab_Tactic_evalIntro___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_9; -x_9 = l_Lean_Elab_Tactic_evalIntro___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalIntro___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_11; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1() { @@ -11348,69 +11334,201 @@ goto _start; } } } -lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_10 = lean_array_get_size(x_1); -x_11 = lean_usize_of_nat(x_10); -x_12 = 0; -x_13 = x_1; -x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(x_11, x_12, x_13); -x_15 = x_14; -x_16 = lean_array_to_list(lean_box(0), x_15); -x_17 = 0; -x_18 = l_Lean_Meta_introNCore(x_2, x_10, x_16, x_17, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_18) == 0) +lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_12 = lean_array_get_size(x_1); +x_13 = lean_usize_of_nat(x_12); +x_14 = 0; +x_15 = x_1; +x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(x_13, x_14, x_15); +x_17 = x_16; +x_18 = lean_array_to_list(lean_box(0), x_17); +x_19 = 0; +x_20 = l_Lean_Meta_introNCore(x_2, x_12, x_18, x_19, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_20) == 0) { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_18, 0); +uint8_t x_21; x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_20, 1); -x_23 = lean_ctor_get(x_20, 0); -lean_dec(x_23); -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_22); -lean_ctor_set(x_25, 1, x_24); +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_20, 0); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_22, 1); +x_25 = lean_ctor_get(x_22, 0); +lean_dec(x_25); x_26 = lean_box(0); -lean_ctor_set(x_20, 1, x_25); -lean_ctor_set(x_20, 0, x_26); -return x_18; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_box(0); +lean_ctor_set(x_22, 1, x_27); +lean_ctor_set(x_22, 0, x_28); +return x_20; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_20, 1); -lean_inc(x_27); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_dec(x_22); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +lean_ctor_set(x_20, 0, x_33); +return x_20; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_34 = lean_ctor_get(x_20, 0); +x_35 = lean_ctor_get(x_20, 1); +lean_inc(x_35); +lean_inc(x_34); lean_dec(x_20); -x_28 = lean_box(0); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_37 = x_34; +} else { + lean_dec_ref(x_34); + x_37 = lean_box(0); +} +x_38 = lean_box(0); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_box(0); +if (lean_is_scalar(x_37)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_37; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_35); +return x_42; +} +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_20); +if (x_43 == 0) +{ +return x_20; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_20, 0); +x_45 = lean_ctor_get(x_20, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_20); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +lean_inc(x_1); +x_11 = l_Lean_Meta_getMVarType(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_14 = l_Lean_Meta_instantiateMVarsImp(x_12, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(x_15); +lean_dec(x_15); +x_18 = lean_box(0); +x_19 = 0; +x_20 = l_Lean_Meta_introNCore(x_1, x_17, x_18, x_19, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_20, 0); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_22, 1); +x_25 = lean_ctor_get(x_22, 0); +lean_dec(x_25); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_18); +x_27 = lean_box(0); +lean_ctor_set(x_22, 1, x_26); +lean_ctor_set(x_22, 0, x_27); +return x_20; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_22, 1); +lean_inc(x_28); +lean_dec(x_22); x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_18); x_30 = lean_box(0); x_31 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); -lean_ctor_set(x_18, 0, x_31); -return x_18; +lean_ctor_set(x_20, 0, x_31); +return x_20; } } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_32 = lean_ctor_get(x_18, 0); -x_33 = lean_ctor_get(x_18, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_32 = lean_ctor_get(x_20, 0); +x_33 = lean_ctor_get(x_20, 1); lean_inc(x_33); lean_inc(x_32); -lean_dec(x_18); +lean_dec(x_20); x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); if (lean_is_exclusive(x_32)) { @@ -11421,231 +11539,99 @@ if (lean_is_exclusive(x_32)) { lean_dec_ref(x_32); x_35 = lean_box(0); } -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_box(0); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_18); +x_37 = lean_box(0); if (lean_is_scalar(x_35)) { - x_39 = lean_alloc_ctor(0, 2, 0); + x_38 = lean_alloc_ctor(0, 2, 0); } else { - x_39 = x_35; + x_38 = x_35; } +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_33); -return x_40; +lean_ctor_set(x_39, 1, x_33); +return x_39; } } else { -uint8_t x_41; -x_41 = !lean_is_exclusive(x_18); -if (x_41 == 0) +uint8_t x_40; +x_40 = !lean_is_exclusive(x_20); +if (x_40 == 0) { -return x_18; +return x_20; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_18, 0); -x_43 = lean_ctor_get(x_18, 1); -lean_inc(x_43); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_20, 0); +x_42 = lean_ctor_get(x_20, 1); lean_inc(x_42); -lean_dec(x_18); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -} -lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -lean_inc(x_1); -x_9 = l_Lean_Meta_getMVarType(x_1, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_12 = l_Lean_Meta_instantiateMVarsImp(x_10, x_4, x_5, x_6, x_7, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(x_13); -lean_dec(x_13); -x_16 = lean_box(0); -x_17 = 0; -x_18 = l_Lean_Meta_introNCore(x_1, x_15, x_16, x_17, x_4, x_5, x_6, x_7, x_14); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_18, 0); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_20, 1); -x_23 = lean_ctor_get(x_20, 0); -lean_dec(x_23); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_16); -x_25 = lean_box(0); -lean_ctor_set(x_20, 1, x_24); -lean_ctor_set(x_20, 0, x_25); -return x_18; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_20, 1); -lean_inc(x_26); +lean_inc(x_41); lean_dec(x_20); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_16); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -lean_ctor_set(x_18, 0, x_29); -return x_18; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_30 = lean_ctor_get(x_18, 0); -x_31 = lean_ctor_get(x_18, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_18); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_33 = x_30; -} else { - lean_dec_ref(x_30); - x_33 = lean_box(0); -} -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_16); -x_35 = lean_box(0); -if (lean_is_scalar(x_33)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_33; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_31); -return x_37; -} -} -else -{ -uint8_t x_38; -x_38 = !lean_is_exclusive(x_18); -if (x_38 == 0) -{ -return x_18; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_18, 0); -x_40 = lean_ctor_get(x_18, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_18); -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; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } else { -uint8_t x_42; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_42 = !lean_is_exclusive(x_12); -if (x_42 == 0) -{ -return x_12; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_12, 0); -x_44 = lean_ctor_get(x_12, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_12); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -else -{ -uint8_t x_46; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_46 = !lean_is_exclusive(x_9); -if (x_46 == 0) -{ -return x_9; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_9, 0); -x_48 = lean_ctor_get(x_9, 1); -lean_inc(x_48); -lean_inc(x_47); +uint8_t x_44; lean_dec(x_9); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_44 = !lean_is_exclusive(x_14); +if (x_44 == 0) +{ +return x_14; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_14, 0); +x_46 = lean_ctor_get(x_14, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_14); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +uint8_t x_48; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_48 = !lean_is_exclusive(x_11); +if (x_48 == 0) +{ +return x_11; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_11, 0); +x_50 = lean_ctor_get(x_11, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_11); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } @@ -11698,72 +11684,68 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_39; uint8_t x_40; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_37; uint8_t x_38; x_19 = lean_unsigned_to_nat(1u); x_20 = l_Lean_Syntax_getArg(x_1, x_19); lean_dec(x_1); -x_39 = l_Lean_nullKind___closed__2; +x_37 = l_Lean_nullKind___closed__2; lean_inc(x_20); -x_40 = l_Lean_Syntax_isOfKind(x_20, x_39); -if (x_40 == 0) +x_38 = l_Lean_Syntax_isOfKind(x_20, x_37); +if (x_38 == 0) { -lean_object* x_41; -x_41 = lean_box(0); -x_21 = x_41; -goto block_38; +lean_object* x_39; +x_39 = lean_box(0); +x_21 = x_39; +goto block_36; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_42 = l_Lean_Syntax_getArgs(x_20); -x_43 = lean_array_get_size(x_42); -lean_dec(x_42); -x_44 = lean_unsigned_to_nat(0u); -x_45 = lean_nat_dec_eq(x_43, x_44); -lean_dec(x_43); -if (x_45 == 0) +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_40 = l_Lean_Syntax_getArgs(x_20); +x_41 = lean_array_get_size(x_40); +lean_dec(x_40); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_nat_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) { -lean_object* x_46; -x_46 = lean_box(0); -x_21 = x_46; -goto block_38; +lean_object* x_44; +x_44 = lean_box(0); +x_21 = x_44; +goto block_36; } else { -lean_object* x_47; +lean_object* x_45; lean_dec(x_20); -x_47 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_47) == 0) +x_45 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_48 = lean_ctor_get(x_47, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_ctor_get(x_46, 0); lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); +x_49 = lean_ctor_get(x_46, 1); lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_ctor_get(x_48, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_48, 1); -lean_inc(x_51); -lean_dec(x_48); -lean_inc(x_50); -x_52 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros___lambda__2___boxed), 8, 1); +lean_dec(x_46); +lean_inc(x_48); +x_50 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros___lambda__2___boxed), 10, 1); +lean_closure_set(x_50, 0, x_48); +x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_51, 0, x_49); +x_52 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_52, 0, x_50); -x_53 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_53, 0, x_52); -x_54 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_54, 0, x_53); -x_55 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_55, 0, x_51); -x_56 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_56, 0, x_54); -lean_closure_set(x_56, 1, x_55); -x_57 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_50, x_56, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_49); -return x_57; +lean_closure_set(x_52, 1, x_51); +x_53 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_48, x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_47); +return x_53; } else { -uint8_t x_58; +uint8_t x_54; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -11772,28 +11754,28 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_58 = !lean_is_exclusive(x_47); -if (x_58 == 0) +x_54 = !lean_is_exclusive(x_45); +if (x_54 == 0) { -return x_47; +return x_45; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_47, 0); -x_60 = lean_ctor_get(x_47, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_47); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_45, 0); +x_56 = lean_ctor_get(x_45, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_45); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } } -block_38: +block_36: { lean_object* x_22; lean_object* x_23; lean_dec(x_21); @@ -11802,7 +11784,7 @@ lean_dec(x_20); x_23 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); @@ -11814,24 +11796,20 @@ x_27 = lean_ctor_get(x_24, 1); lean_inc(x_27); lean_dec(x_24); lean_inc(x_26); -x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed), 9, 2); +x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed), 11, 2); lean_closure_set(x_28, 0, x_22); lean_closure_set(x_28, 1, x_26); -x_29 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_29, 0, x_28); -x_30 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_30, 0, x_29); -x_31 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_31, 0, x_27); -x_32 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_32, 0, x_30); -lean_closure_set(x_32, 1, x_31); -x_33 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_26, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25); -return x_33; +x_29 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_29, 0, x_27); +x_30 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_30, 0, x_28); +lean_closure_set(x_30, 1, x_29); +x_31 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_26, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25); +return x_31; } else { -uint8_t x_34; +uint8_t x_32; lean_dec(x_22); lean_dec(x_9); lean_dec(x_8); @@ -11841,23 +11819,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_34 = !lean_is_exclusive(x_23); -if (x_34 == 0) +x_32 = !lean_is_exclusive(x_23); +if (x_32 == 0) { return x_23; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_23, 0); -x_36 = lean_ctor_get(x_23, 1); -lean_inc(x_36); -lean_inc(x_35); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_23, 0); +x_34 = lean_ctor_get(x_23, 1); +lean_inc(x_34); +lean_inc(x_33); lean_dec(x_23); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } @@ -11877,24 +11855,28 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(x_4, x_5 return x_6; } } -lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_evalIntros___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_evalIntros___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_12; } } -lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_9; -x_9 = l_Lean_Elab_Tactic_evalIntros___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalIntros___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_11; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1() { @@ -13136,7 +13118,19 @@ return x_8; } } } -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -13156,50 +13150,18 @@ return x_17; static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarWithIdCore___rarg___closed__1; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__2; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__3; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1___boxed), 9, 0); +return x_1; } } lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1___boxed), 11, 1); +x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__2___boxed), 11, 1); lean_closure_set(x_11, 0, x_1); -x_12 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__4; +x_12 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1; x_13 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_13, 0, x_12); lean_closure_set(x_13, 1, x_11); @@ -13234,11 +13196,27 @@ lean_dec(x_4); return x_5; } } -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -13271,12 +13249,12 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalClear_match__1___rarg), return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = l_Lean_Meta_clear(x_1, x_2, x_5, x_6, x_7, x_8, x_9); -return x_10; +lean_object* x_12; +x_12 = l_Lean_Meta_clear(x_1, x_2, x_7, x_8, x_9, x_10, x_11); +return x_12; } } lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -13319,7 +13297,7 @@ x_16 = lean_array_uget(x_1, x_3); x_17 = l_Lean_Elab_Tactic_getMainGoal(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_17) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -13331,18 +13309,14 @@ x_21 = lean_ctor_get(x_18, 1); lean_inc(x_21); lean_dec(x_18); lean_inc(x_20); -x_22 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1___boxed), 9, 2); +x_22 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1___boxed), 11, 2); lean_closure_set(x_22, 0, x_20); lean_closure_set(x_22, 1, x_16); -x_23 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_23, 0, x_22); -x_24 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_24, 0, x_23); -x_25 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__2___boxed), 11, 1); -lean_closure_set(x_25, 0, x_21); -x_26 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_26, 0, x_24); -lean_closure_set(x_26, 1, x_25); +x_23 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__2___boxed), 11, 1); +lean_closure_set(x_23, 0, x_21); +x_24 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_24, 0, x_22); +lean_closure_set(x_24, 1, x_23); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -13351,24 +13325,24 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_27 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_20, x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); -if (lean_obj_tag(x_27) == 0) +x_25 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_20, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); -x_29 = 1; -x_30 = x_3 + x_29; -x_31 = lean_box(0); -x_3 = x_30; -x_4 = x_31; -x_13 = x_28; +lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = 1; +x_28 = x_3 + x_27; +x_29 = lean_box(0); +x_3 = x_28; +x_4 = x_29; +x_13 = x_26; goto _start; } else { -uint8_t x_33; +uint8_t x_31; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -13377,29 +13351,29 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_33 = !lean_is_exclusive(x_27); -if (x_33 == 0) +x_31 = !lean_is_exclusive(x_25); +if (x_31 == 0) { -return x_27; +return x_25; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_27, 0); -x_35 = lean_ctor_get(x_27, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_27); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_25, 0); +x_33 = lean_ctor_get(x_25, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_25); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } } else { -uint8_t x_37; +uint8_t x_35; lean_dec(x_16); lean_dec(x_12); lean_dec(x_11); @@ -13409,23 +13383,23 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_37 = !lean_is_exclusive(x_17); -if (x_37 == 0) +x_35 = !lean_is_exclusive(x_17); +if (x_35 == 0) { return x_17; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_17, 0); -x_39 = lean_ctor_get(x_17, 1); -lean_inc(x_39); -lean_inc(x_38); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_17, 0); +x_37 = lean_ctor_get(x_17, 1); +lean_inc(x_37); +lean_inc(x_36); lean_dec(x_17); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } @@ -13636,14 +13610,16 @@ return x_48; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_12; +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_12; } } lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -15495,12 +15471,6 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1); -l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__2 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__2); -l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__3 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__3); -l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__4 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__4); l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1); res = l___regBuiltin_Lean_Elab_Tactic_evalClear(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Generalize.c b/stage0/stdlib/Lean/Elab/Tactic/Generalize.c index 624a32c2af..99a08897ce 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Generalize.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Generalize.c @@ -18,34 +18,32 @@ lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGen lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1___closed__2; lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux_match__1(lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___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*); extern lean_object* l_Lean_Parser_Tactic_generalize___closed__2; lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__4; lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq_match__1(lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1___closed__3; -lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_BacktrackableState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqReflImp___closed__2; lean_object* lean_expr_lift_loose_bvars(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_getVarName___boxed(lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFinalize_match__1___rarg(lean_object*, lean_object*); -lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_getAuxHypothesisName___boxed(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Meta_generalize(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux___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_Lean_Meta_getMVarDecl___at_Lean_Meta_isReadOnlyExprMVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___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_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalGeneralize___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_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -464,353 +462,353 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_12; uint8_t x_27; lean_object* x_28; -x_27 = 0; +lean_object* x_14; uint8_t x_29; lean_object* x_30; +x_29 = 0; +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); lean_inc(x_3); lean_inc(x_2); -x_28 = l_Lean_Meta_generalize(x_1, x_2, x_3, x_27, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_28) == 0) +x_30 = l_Lean_Meta_generalize(x_1, x_2, x_3, x_29, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -lean_inc(x_29); -x_31 = l_Lean_Meta_getMVarDecl___at_Lean_Meta_isReadOnlyExprMVar___spec__1(x_29, x_7, x_8, x_9, x_10, x_30); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_31, 0); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_32, 2); -lean_inc(x_33); -lean_dec(x_32); -if (lean_obj_tag(x_33) == 7) +lean_dec(x_30); +lean_inc(x_31); +x_33 = l_Lean_Meta_getMVarDecl___at_Lean_Meta_isReadOnlyExprMVar___spec__1(x_31, x_9, x_10, x_11, x_12, x_32); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_31, 1); +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_ctor_get(x_33, 2); +x_35 = lean_ctor_get(x_34, 2); lean_inc(x_35); +lean_dec(x_34); +if (lean_obj_tag(x_35) == 7) +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); lean_dec(x_33); -x_36 = 1; +x_37 = lean_ctor_get(x_35, 2); +lean_inc(x_37); +lean_dec(x_35); +x_38 = 1; +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_37 = l_Lean_Meta_intro1Core(x_29, x_36, x_7, x_8, x_9, x_10, x_34); -if (lean_obj_tag(x_37) == 0) +x_39 = l_Lean_Meta_intro1Core(x_31, x_38, x_9, x_10, x_11, x_12, x_36); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_ctor_get(x_38, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec(x_38); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); lean_inc(x_2); -x_41 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_2, x_7, x_8, x_9, x_10, x_39); -if (lean_obj_tag(x_41) == 0) +x_43 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_2, x_9, x_10, x_11, x_12, x_41); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_42); -x_44 = l___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp(x_42, x_7, x_8, x_9, x_10, x_43); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_45 = lean_ctor_get(x_44, 0); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_box(0); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_45); -lean_ctor_set(x_48, 1, x_47); -x_49 = l_myMacro____x40_Init_Notation___hyg_2549____closed__4; -x_50 = l_Lean_mkConst(x_49, x_48); -x_51 = l_Lean_Meta_assertExt___lambda__1___closed__1; +lean_dec(x_43); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_44); +x_46 = l___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp(x_44, x_9, x_10, x_11, x_12, x_45); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_box(0); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_myMacro____x40_Init_Notation___hyg_2549____closed__4; +x_52 = l_Lean_mkConst(x_51, x_50); +x_53 = l_Lean_Meta_assertExt___lambda__1___closed__1; lean_inc(x_2); -lean_inc(x_42); -x_52 = l_Lean_mkApp3(x_50, x_42, x_2, x_51); -x_53 = lean_unsigned_to_nat(0u); -x_54 = lean_unsigned_to_nat(1u); -x_55 = lean_expr_lift_loose_bvars(x_35, x_53, x_54); -lean_dec(x_35); -x_56 = 0; -x_57 = l_Lean_mkForall(x_4, x_56, x_52, x_55); -x_58 = l_Lean_mkForall(x_3, x_56, x_42, x_57); -x_59 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFinalize(x_40, x_2, x_58, x_7, x_8, x_9, x_10, x_46); -x_12 = x_59; -goto block_26; -} -else -{ -uint8_t x_60; -lean_dec(x_42); -lean_dec(x_40); -lean_dec(x_35); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_60 = !lean_is_exclusive(x_44); -if (x_60 == 0) -{ -x_12 = x_44; -goto block_26; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_44, 0); -x_62 = lean_ctor_get(x_44, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_44); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_12 = x_63; -goto block_26; -} -} -} -else -{ -uint8_t x_64; -lean_dec(x_40); -lean_dec(x_35); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_64 = !lean_is_exclusive(x_41); -if (x_64 == 0) -{ -x_12 = x_41; -goto block_26; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_41, 0); -x_66 = lean_ctor_get(x_41, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_41); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -x_12 = x_67; -goto block_26; -} -} -} -else -{ -uint8_t x_68; -lean_dec(x_35); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_68 = !lean_is_exclusive(x_37); -if (x_68 == 0) -{ -x_12 = x_37; -goto block_26; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_37, 0); -x_70 = lean_ctor_get(x_37, 1); -lean_inc(x_70); -lean_inc(x_69); +lean_inc(x_44); +x_54 = l_Lean_mkApp3(x_52, x_44, x_2, x_53); +x_55 = lean_unsigned_to_nat(0u); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_expr_lift_loose_bvars(x_37, x_55, x_56); lean_dec(x_37); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -x_12 = x_71; -goto block_26; +x_58 = 0; +x_59 = l_Lean_mkForall(x_4, x_58, x_54, x_57); +x_60 = l_Lean_mkForall(x_3, x_58, x_44, x_59); +x_61 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFinalize(x_42, x_2, x_60, x_9, x_10, x_11, x_12, x_48); +x_14 = x_61; +goto block_28; +} +else +{ +uint8_t x_62; +lean_dec(x_44); +lean_dec(x_42); +lean_dec(x_37); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_62 = !lean_is_exclusive(x_46); +if (x_62 == 0) +{ +x_14 = x_46; +goto block_28; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_46, 0); +x_64 = lean_ctor_get(x_46, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_46); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +x_14 = x_65; +goto block_28; } } } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -lean_dec(x_33); -lean_dec(x_29); +uint8_t x_66; +lean_dec(x_42); +lean_dec(x_37); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_72 = lean_ctor_get(x_31, 1); +x_66 = !lean_is_exclusive(x_43); +if (x_66 == 0) +{ +x_14 = x_43; +goto block_28; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_43, 0); +x_68 = lean_ctor_get(x_43, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_43); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +x_14 = x_69; +goto block_28; +} +} +} +else +{ +uint8_t x_70; +lean_dec(x_37); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_70 = !lean_is_exclusive(x_39); +if (x_70 == 0) +{ +x_14 = x_39; +goto block_28; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_39, 0); +x_72 = lean_ctor_get(x_39, 1); lean_inc(x_72); -lean_dec(x_31); -x_73 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1___closed__3; -x_74 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1022____spec__1(x_73, lean_box(0), x_7, x_8, x_9, x_10, x_72); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_12 = x_74; -goto block_26; +lean_inc(x_71); +lean_dec(x_39); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +x_14 = x_73; +goto block_28; +} } } else { -uint8_t x_75; -lean_dec(x_29); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_35); +lean_dec(x_31); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_75 = !lean_is_exclusive(x_31); -if (x_75 == 0) -{ -x_12 = x_31; -goto block_26; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_31, 0); -x_77 = lean_ctor_get(x_31, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_31); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -x_12 = x_78; -goto block_26; -} -} -} -else -{ -uint8_t x_79; +x_74 = lean_ctor_get(x_33, 1); +lean_inc(x_74); +lean_dec(x_33); +x_75 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1___closed__3; +x_76 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1022____spec__1(x_75, lean_box(0), x_9, x_10, x_11, x_12, x_74); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_14 = x_76; +goto block_28; +} +} +else +{ +uint8_t x_77; +lean_dec(x_31); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_79 = !lean_is_exclusive(x_28); -if (x_79 == 0) +x_77 = !lean_is_exclusive(x_33); +if (x_77 == 0) { -x_12 = x_28; -goto block_26; +x_14 = x_33; +goto block_28; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_28, 0); -x_81 = lean_ctor_get(x_28, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_28); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -x_12 = x_82; -goto block_26; +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_33, 0); +x_79 = lean_ctor_get(x_33, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_33); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +x_14 = x_80; +goto block_28; } } -block_26: -{ -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_box(0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -lean_ctor_set(x_12, 0, x_16); -return x_12; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_12, 0); -x_18 = lean_ctor_get(x_12, 1); -lean_inc(x_18); -lean_inc(x_17); +uint8_t x_81; lean_dec(x_12); -x_19 = lean_box(0); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_17); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_18); -return x_21; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_81 = !lean_is_exclusive(x_30); +if (x_81 == 0) +{ +x_14 = x_30; +goto block_28; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_30, 0); +x_83 = lean_ctor_get(x_30, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_30); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_14 = x_84; +goto block_28; +} +} +block_28: +{ +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_14); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_19); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_20); +return x_23; } } else { -uint8_t x_22; -x_22 = !lean_is_exclusive(x_12); -if (x_22 == 0) +uint8_t x_24; +x_24 = !lean_is_exclusive(x_14); +if (x_24 == 0) { -return x_12; +return x_14; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_12, 0); -x_24 = lean_ctor_get(x_12, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_12); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_14, 0); +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_14); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } @@ -823,7 +821,7 @@ lean_object* x_13; x_13 = l_Lean_Elab_Tactic_getMainGoal(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -835,26 +833,22 @@ x_17 = lean_ctor_get(x_14, 1); lean_inc(x_17); lean_dec(x_14); lean_inc(x_16); -x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1___boxed), 11, 4); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1___boxed), 13, 4); lean_closure_set(x_18, 0, x_16); lean_closure_set(x_18, 1, x_2); lean_closure_set(x_18, 2, x_3); lean_closure_set(x_18, 3, x_1); -x_19 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_19, 0, x_18); -x_20 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_20, 0, x_19); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_21, 0, x_17); -x_22 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_22, 0, x_20); -lean_closure_set(x_22, 1, x_21); -x_23 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_16, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -return x_23; +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_19, 0, x_17); +x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_19); +x_21 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_16, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +return x_21; } else { -uint8_t x_24; +uint8_t x_22; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -866,242 +860,244 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_24 = !lean_is_exclusive(x_13); -if (x_24 == 0) +x_22 = !lean_is_exclusive(x_13); +if (x_22 == 0) { return x_13; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_13, 0); -x_26 = lean_ctor_get(x_13, 1); -lean_inc(x_26); -lean_inc(x_25); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_13, 0); +x_24 = lean_ctor_get(x_13, 1); +lean_inc(x_24); +lean_inc(x_23); lean_dec(x_13); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } } } -lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_12; -x_12 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_14; +x_14 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_12; +return x_14; } } -lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_12; +lean_object* x_14; +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); lean_inc(x_1); -x_12 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_1, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) +x_14 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_1, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_13); -x_15 = l___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp(x_13, x_7, x_8, x_9, x_10, x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -lean_inc(x_2); -x_18 = l_Lean_Meta_getMVarType(x_2, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_18) == 0) +lean_dec(x_14); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_15); +x_17 = l___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp(x_15, x_9, x_10, x_11, x_12, x_16); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_19 = lean_ctor_get(x_18, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_16); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_myMacro____x40_Init_Notation___hyg_2549____closed__4; -x_24 = l_Lean_mkConst(x_23, x_22); -x_25 = l_Lean_Meta_assertExt___lambda__1___closed__1; +lean_dec(x_17); +lean_inc(x_2); +x_20 = l_Lean_Meta_getMVarType(x_2, x_9, x_10, x_11, x_12, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_myMacro____x40_Init_Notation___hyg_2549____closed__4; +x_26 = l_Lean_mkConst(x_25, x_24); +x_27 = l_Lean_Meta_assertExt___lambda__1___closed__1; lean_inc(x_1); -lean_inc(x_13); -x_26 = l_Lean_mkApp3(x_24, x_13, x_1, x_25); -x_27 = 0; -x_28 = l_Lean_mkForall(x_3, x_27, x_26, x_19); -x_29 = l_Lean_mkForall(x_4, x_27, x_13, x_28); -x_30 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFinalize(x_2, x_1, x_29, x_7, x_8, x_9, x_10, x_20); -if (lean_obj_tag(x_30) == 0) +lean_inc(x_15); +x_28 = l_Lean_mkApp3(x_26, x_15, x_1, x_27); +x_29 = 0; +x_30 = l_Lean_mkForall(x_3, x_29, x_28, x_21); +x_31 = l_Lean_mkForall(x_4, x_29, x_15, x_30); +x_32 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFinalize(x_2, x_1, x_31, x_9, x_10, x_11, x_12, x_22); +if (lean_obj_tag(x_32) == 0) { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_30, 0); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_30, 0, x_34); -return x_30; +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_32, 0); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +lean_ctor_set(x_32, 0, x_36); +return x_32; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_35 = lean_ctor_get(x_30, 0); -x_36 = lean_ctor_get(x_30, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_30); -x_37 = lean_box(0); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_35); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -return x_39; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_32, 0); +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_32); +x_39 = lean_box(0); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_37); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; } } else { -uint8_t x_40; -x_40 = !lean_is_exclusive(x_30); -if (x_40 == 0) +uint8_t x_42; +x_42 = !lean_is_exclusive(x_32); +if (x_42 == 0) { -return x_30; +return x_32; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_30, 0); -x_42 = lean_ctor_get(x_30, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_30); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_32, 0); +x_44 = lean_ctor_get(x_32, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_32); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } else { -uint8_t x_44; -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_44 = !lean_is_exclusive(x_18); -if (x_44 == 0) -{ -return x_18; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_18, 0); -x_46 = lean_ctor_get(x_18, 1); -lean_inc(x_46); -lean_inc(x_45); +uint8_t x_46; lean_dec(x_18); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -} -else -{ -uint8_t x_48; -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_48 = !lean_is_exclusive(x_15); -if (x_48 == 0) -{ -return x_15; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_15, 0); -x_50 = lean_ctor_get(x_15, 1); -lean_inc(x_50); -lean_inc(x_49); lean_dec(x_15); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} -} -} -else -{ -uint8_t x_52; +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_12); -if (x_52 == 0) +x_46 = !lean_is_exclusive(x_20); +if (x_46 == 0) { -return x_12; +return x_20; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_12, 0); -x_54 = lean_ctor_get(x_12, 1); -lean_inc(x_54); -lean_inc(x_53); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_20, 0); +x_48 = lean_ctor_get(x_20, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_20); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_15); lean_dec(x_12); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_17); +if (x_50 == 0) +{ +return x_17; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_17, 0); +x_52 = lean_ctor_get(x_17, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_17); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_54 = !lean_is_exclusive(x_14); +if (x_54 == 0) +{ +return x_14; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_14, 0); +x_56 = lean_ctor_get(x_14, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_14); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } @@ -1113,7 +1109,7 @@ lean_object* x_13; x_13 = l_Lean_Elab_Tactic_getMainGoal(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -1125,26 +1121,22 @@ x_17 = lean_ctor_get(x_14, 1); lean_inc(x_17); lean_dec(x_14); lean_inc(x_16); -x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1___boxed), 11, 4); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1___boxed), 13, 4); lean_closure_set(x_18, 0, x_2); lean_closure_set(x_18, 1, x_16); lean_closure_set(x_18, 2, x_1); lean_closure_set(x_18, 3, x_3); -x_19 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_19, 0, x_18); -x_20 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_20, 0, x_19); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_21, 0, x_17); -x_22 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_22, 0, x_20); -lean_closure_set(x_22, 1, x_21); -x_23 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_16, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -return x_23; +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_19, 0, x_17); +x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_19); +x_21 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_16, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +return x_21; } else { -uint8_t x_24; +uint8_t x_22; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -1156,35 +1148,37 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_24 = !lean_is_exclusive(x_13); -if (x_24 == 0) +x_22 = !lean_is_exclusive(x_13); +if (x_22 == 0) { return x_13; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_13, 0); -x_26 = lean_ctor_get(x_13, 1); -lean_inc(x_26); -lean_inc(x_25); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_13, 0); +x_24 = lean_ctor_get(x_13, 1); +lean_inc(x_24); +lean_inc(x_23); lean_dec(x_13); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } } } -lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_12; -x_12 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_14; +x_14 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_12; +return x_14; } } lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux_match__1___rarg(lean_object* x_1, lean_object* x_2) { @@ -1239,151 +1233,151 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalGeneralizeAux_match__2__ return x_2; } } -lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = 0; +uint8_t x_13; lean_object* x_14; +x_13 = 0; +lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_12 = l_Lean_Meta_generalize(x_1, x_2, x_3, x_11, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) +x_14 = l_Lean_Meta_generalize(x_1, x_2, x_3, x_13, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = 1; -x_16 = l_Lean_Meta_intro1Core(x_13, x_15, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(x_16) == 0) +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = 1; +x_18 = l_Lean_Meta_intro1Core(x_15, x_17, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_18) == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -x_18 = lean_ctor_get(x_16, 0); +uint8_t x_19; x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_18, 1); -x_21 = lean_ctor_get(x_18, 0); -lean_dec(x_21); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_22); +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_18, 0); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_20, 1); +x_23 = lean_ctor_get(x_20, 0); +lean_dec(x_23); x_24 = lean_box(0); -lean_ctor_set(x_18, 1, x_23); -lean_ctor_set(x_18, 0, x_24); -return x_16; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_18, 1); -lean_inc(x_25); -lean_dec(x_18); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_24); x_26 = lean_box(0); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_20, 1, x_25); +lean_ctor_set(x_20, 0, x_26); +return x_18; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); +lean_dec(x_20); x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -lean_ctor_set(x_16, 0, x_29); -return x_16; +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_18, 0, x_31); +return x_18; } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_ctor_get(x_30, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_32 = lean_ctor_get(x_18, 0); +x_33 = lean_ctor_get(x_18, 1); +lean_inc(x_33); lean_inc(x_32); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_33 = x_30; +lean_dec(x_18); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + x_35 = x_32; } else { - lean_dec_ref(x_30); - x_33 = lean_box(0); + lean_dec_ref(x_32); + x_35 = lean_box(0); } -x_34 = lean_box(0); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_32); -lean_ctor_set(x_35, 1, x_34); x_36 = lean_box(0); -if (lean_is_scalar(x_33)) { - x_37 = lean_alloc_ctor(0, 2, 0); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_box(0); +if (lean_is_scalar(x_35)) { + x_39 = lean_alloc_ctor(0, 2, 0); } else { - x_37 = x_33; + x_39 = x_35; } -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_31); -return x_38; +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_33); +return x_40; } } else { -uint8_t x_39; -x_39 = !lean_is_exclusive(x_16); -if (x_39 == 0) +uint8_t x_41; +x_41 = !lean_is_exclusive(x_18); +if (x_41 == 0) { -return x_16; +return x_18; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_16, 0); -x_41 = lean_ctor_get(x_16, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_16); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_18, 0); +x_43 = lean_ctor_get(x_18, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_18); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } else { -uint8_t x_43; +uint8_t x_45; +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_43 = !lean_is_exclusive(x_12); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_14); +if (x_45 == 0) { -return x_12; +return x_14; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_12, 0); -x_45 = lean_ctor_get(x_12, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_12); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_14, 0); +x_47 = lean_ctor_get(x_14, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_14); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } @@ -1397,7 +1391,7 @@ lean_object* x_13; x_13 = l_Lean_Elab_Tactic_getMainGoal(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -1409,25 +1403,21 @@ x_17 = lean_ctor_get(x_14, 1); lean_inc(x_17); lean_dec(x_14); lean_inc(x_16); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1___boxed), 10, 3); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1___boxed), 12, 3); lean_closure_set(x_18, 0, x_16); lean_closure_set(x_18, 1, x_2); lean_closure_set(x_18, 2, x_3); -x_19 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_19, 0, x_18); -x_20 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_20, 0, x_19); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_21, 0, x_17); -x_22 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_22, 0, x_20); -lean_closure_set(x_22, 1, x_21); -x_23 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_16, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -return x_23; +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_19, 0, x_17); +x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_19); +x_21 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_16, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +return x_21; } else { -uint8_t x_24; +uint8_t x_22; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -1438,38 +1428,38 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_24 = !lean_is_exclusive(x_13); -if (x_24 == 0) +x_22 = !lean_is_exclusive(x_13); +if (x_22 == 0) { return x_13; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_13, 0); -x_26 = lean_ctor_get(x_13, 1); -lean_inc(x_26); -lean_inc(x_25); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_13, 0); +x_24 = lean_ctor_get(x_13, 1); +lean_inc(x_24); +lean_inc(x_23); lean_dec(x_13); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_ctor_get(x_1, 0); -lean_inc(x_28); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_1, 0); +lean_inc(x_26); lean_dec(x_1); -x_29 = l_Lean_Elab_Tactic_saveBacktrackableState___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); +x_27 = l_Lean_Elab_Tactic_saveBacktrackableState___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -1480,12 +1470,12 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_28); -x_32 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_32) == 0) +lean_inc(x_26); +x_30 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq(x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +if (lean_obj_tag(x_30) == 0) { -lean_dec(x_30); lean_dec(x_28); +lean_dec(x_26); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -1496,32 +1486,34 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_32; +return x_30; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); -x_34 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_30, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_33); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); -return x_36; +x_34 = l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback(x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_33); +return x_34; } } } } -lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_11; +return x_13; } } lean_object* l_Lean_Elab_Tactic_evalGeneralize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index 00af5ebe7e..fa259d30e1 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -24,7 +24,7 @@ lean_object* l_Lean_Elab_Tactic_evalCasesUsing_match__1(lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_match__10___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lambda__1___closed__2; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); @@ -33,11 +33,12 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalInduction___spec__ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkCasesResult_loop___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_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4438_(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Elab_Tactic_withMainMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__2(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__7(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getFType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__4___closed__4; @@ -49,6 +50,7 @@ extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkCasesResult_loop___closed__1; lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__2___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTargets(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -67,7 +69,6 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___closed__2; lean_object* l_Lean_Elab_Tactic_evalCasesOn_match__2(lean_object*); lean_object* l_List_map___at_Lean_Elab_Tactic_evalCasesOn___spec__7(lean_object*); -extern lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__4; lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1(lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_induction___closed__2; @@ -79,13 +80,12 @@ lean_object* l_Lean_Meta_getElimInfo(lean_object*, lean_object*, lean_object*, l lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__3; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfoDefault_match__5___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfoDefault(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__4___closed__2; -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___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* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalCases___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_Lean_Elab_Tactic_evalCasesUsing_match__1___rarg(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -105,20 +105,18 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generali lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields_match__1___rarg(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -extern lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__2; extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; lean_object* l_Lean_Elab_Tactic_evalCasesUsing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); uint8_t l_Lean_Meta_RecursorInfo_isMinor(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_match__1(lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_setMotiveArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalCasesUsing___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalCasesUsing___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames(lean_object*); lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getFType___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getParamNamesImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__2___closed__1; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfo_match__5___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_setMotiveArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -172,7 +170,6 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecIn uint8_t l_Lean_Elab_Tactic_isHoleRHS(lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalCasesOn___spec__5(size_t, size_t, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__5; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm_match__1(lean_object*); lean_object* l_Lean_Meta_appendTag(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalInduction___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -200,7 +197,6 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTagg lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltRHS___boxed(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___boxed(lean_object*); -lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalInduction___lambda__4___closed__1; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfoDefault___spec__1___closed__4; @@ -248,11 +244,10 @@ lean_object* l_Lean_Elab_Tactic_closeUsingOrAdmit(lean_object*, lean_object*, le lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_processResult___closed__1; uint8_t l_List_foldr___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__1(lean_object*, uint8_t, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalAlt___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_Lean_Elab_Tactic_evalAlt___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__1___boxed(lean_object**); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___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* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__4; +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getInductiveValFromMajor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltDArrow___boxed(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_processResult___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*); @@ -278,7 +273,6 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVa lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__4___closed__3; lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__5; lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getParamNames___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -292,6 +286,7 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__1___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1; lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getTargetTerm___boxed(lean_object*); @@ -360,7 +355,8 @@ lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0_ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfoDefault_match__1(lean_object*); lean_object* l_Lean_mkFVar(lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___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* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Elab_Tactic_evalCases___lambda__2___closed__1; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecFromUsingLoop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -399,7 +395,7 @@ lean_object* l_Lean_Elab_Tactic_evalCases___lambda__2___closed__2; lean_object* l_Lean_Elab_Tactic_evalCases___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__13; -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isMissing(lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -438,6 +434,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltsO lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalInduction___spec__7___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfoDefault___spec__1___closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_getRecFromUsing___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__1; @@ -460,7 +457,6 @@ uint8_t l_Lean_Name_isSuffixOf(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_saveBacktrackableState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__3; lean_object* l_Lean_Elab_Tactic_evalInduction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalAlt___closed__2; lean_object* l_Lean_Elab_Tactic_setGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalCasesOn___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__4___closed__5; @@ -491,7 +487,7 @@ lean_object* l_Lean_Elab_Tactic_getRecFromUsing___closed__2; lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_match__10(lean_object*); lean_object* l_Lean_Core_mkFreshUserName___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getTargetHypothesisName_x3f___boxed(lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; @@ -499,7 +495,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecFr lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_getRecFromUsing___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalCasesUsing___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalCasesUsing___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_Lean_Elab_Tactic_evalCasesOn___closed__4; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1; @@ -560,7 +556,7 @@ lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Tactic_Induction_0_ lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName___boxed(lean_object*); lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfo___spec__2___closed__2; @@ -591,7 +587,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_ lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_match__11(lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_match__1(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTargets___boxed__const__1; @@ -742,7 +738,19 @@ x_3 = lean_box(x_2); return x_3; } } -lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_7, 3); +lean_inc(x_10); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; uint8_t x_14; @@ -1126,21 +1134,9 @@ return x_86; static lean_object* _init_l_Lean_Elab_Tactic_evalAlt___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__5; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalAlt___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalAlt___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed), 9, 0); +return x_1; } } lean_object* l_Lean_Elab_Tactic_evalAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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) { @@ -1226,10 +1222,10 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_inc(x_1); -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed), 12, 2); +x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAlt___lambda__2___boxed), 12, 2); lean_closure_set(x_34, 0, x_16); lean_closure_set(x_34, 1, x_1); -x_35 = l_Lean_Elab_Tactic_evalAlt___closed__2; +x_35 = l_Lean_Elab_Tactic_evalAlt___closed__1; x_36 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_36, 0, x_35); lean_closure_set(x_36, 1, x_34); @@ -1372,10 +1368,10 @@ else { lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_inc(x_1); -x_67 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed), 12, 2); +x_67 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAlt___lambda__2___boxed), 12, 2); lean_closure_set(x_67, 0, x_16); lean_closure_set(x_67, 1, x_1); -x_68 = l_Lean_Elab_Tactic_evalAlt___closed__2; +x_68 = l_Lean_Elab_Tactic_evalAlt___closed__1; x_69 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_69, 0, x_68); lean_closure_set(x_69, 1, x_67); @@ -1435,11 +1431,27 @@ return x_79; } } } -lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_evalAlt___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Elab_Tactic_evalAlt___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Elab_Tactic_evalAlt___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -7663,7 +7675,19 @@ lean_dec(x_1); return x_16; } } -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_7, 0); +lean_inc(x_10); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -7690,7 +7714,7 @@ return x_17; } } } -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -7715,41 +7739,9 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__2; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__3; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__4; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1___boxed), 9, 0); +return x_1; } } lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -7772,14 +7764,14 @@ lean_dec(x_15); lean_ctor_set(x_8, 3, x_16); x_17 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__1; lean_inc(x_12); -x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1___boxed), 12, 2); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2___boxed), 12, 2); lean_closure_set(x_18, 0, x_17); lean_closure_set(x_18, 1, x_12); -x_19 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__5; +x_19 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__2; x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_20, 0, x_19); lean_closure_set(x_20, 1, x_18); -x_21 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2___boxed), 11, 1); +x_21 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__3___boxed), 11, 1); lean_closure_set(x_21, 0, x_12); x_22 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_22, 0, x_20); @@ -7808,14 +7800,14 @@ lean_ctor_set(x_29, 2, x_26); lean_ctor_set(x_29, 3, x_28); x_30 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__1; lean_inc(x_12); -x_31 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1___boxed), 12, 2); +x_31 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2___boxed), 12, 2); lean_closure_set(x_31, 0, x_30); lean_closure_set(x_31, 1, x_12); -x_32 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__5; +x_32 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__2; x_33 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_33, 0, x_32); lean_closure_set(x_33, 1, x_31); -x_34 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2___boxed), 11, 1); +x_34 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__3___boxed), 11, 1); lean_closure_set(x_34, 0, x_12); x_35 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_35, 0, x_33); @@ -7844,11 +7836,27 @@ return x_38; } } } -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -7861,11 +7869,11 @@ lean_dec(x_3); return x_13; } } -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); lean_dec(x_1); return x_12; @@ -7983,145 +7991,145 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = 0; +uint8_t x_13; lean_object* x_14; +x_13 = 0; +lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_1); -x_12 = l_Lean_Meta_revert(x_1, x_2, x_11, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) +x_14 = l_Lean_Meta_revert(x_1, x_2, x_13, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -x_16 = lean_ctor_get(x_13, 1); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -lean_dec(x_13); -x_17 = lean_array_get_size(x_3); -x_18 = lean_unsigned_to_nat(0u); -x_19 = lean_nat_dec_lt(x_18, x_17); -if (x_19 == 0) +lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_array_get_size(x_3); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_nat_dec_lt(x_20, x_19); +if (x_21 == 0) { -lean_object* x_20; lean_object* x_21; +lean_object* x_22; lean_object* x_23; +lean_dec(x_19); +lean_dec(x_1); +x_22 = lean_box(0); +x_23 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__1(x_17, x_18, x_22, x_8, x_9, x_10, x_11, x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_17); -lean_dec(x_1); -x_20 = lean_box(0); -x_21 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__1(x_15, x_16, x_20, x_6, x_7, x_8, x_9, x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_15); -return x_21; +return x_23; } else { -uint8_t x_22; -x_22 = lean_nat_dec_le(x_17, x_17); -if (x_22 == 0) +uint8_t x_24; +x_24 = lean_nat_dec_le(x_19, x_19); +if (x_24 == 0) { -lean_object* x_23; lean_object* x_24; +lean_object* x_25; lean_object* x_26; +lean_dec(x_19); +lean_dec(x_1); +x_25 = lean_box(0); +x_26 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__1(x_17, x_18, x_25, x_8, x_9, x_10, x_11, x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_17); -lean_dec(x_1); -x_23 = lean_box(0); -x_24 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__1(x_15, x_16, x_23, x_6, x_7, x_8, x_9, x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_15); -return x_24; +return x_26; } else { -size_t x_25; size_t x_26; uint8_t x_27; -x_25 = 0; -x_26 = lean_usize_of_nat(x_17); +size_t x_27; size_t x_28; uint8_t x_29; +x_27 = 0; +x_28 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_29 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1(x_17, x_3, x_27, x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_1); +x_30 = lean_box(0); +x_31 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__1(x_17, x_18, x_30, x_8, x_9, x_10, x_11, x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_17); -x_27 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1(x_15, x_3, x_25, x_26); -if (x_27 == 0) +return x_31; +} +else { -lean_object* x_28; lean_object* x_29; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_dec(x_18); +lean_dec(x_17); +x_32 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__1; +x_33 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___closed__3; +x_34 = lean_box(0); +x_35 = l_Lean_Meta_throwTacticEx___rarg(x_32, x_1, x_33, x_34, x_8, x_9, x_10, x_11, x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +return x_35; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_35, 0); +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_35); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_1); -x_28 = lean_box(0); -x_29 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__1(x_15, x_16, x_28, x_6, x_7, x_8, x_9, x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_15); -return x_29; +x_40 = !lean_is_exclusive(x_14); +if (x_40 == 0) +{ +return x_14; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -lean_dec(x_16); -lean_dec(x_15); -x_30 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__1; -x_31 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___closed__3; -x_32 = lean_box(0); -x_33 = l_Lean_Meta_throwTacticEx___rarg(x_30, x_1, x_31, x_32, x_6, x_7, x_8, x_9, x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -return x_33; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_33, 0); -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_33); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -} -} -else -{ -uint8_t x_38; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_38 = !lean_is_exclusive(x_12); -if (x_38 == 0) -{ -return x_12; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_12, 0); -x_40 = lean_ctor_get(x_12, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_12); -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_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_14, 0); +x_42 = lean_ctor_get(x_14, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_14); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } @@ -8150,7 +8158,7 @@ lean_dec(x_12); x_15 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); if (lean_obj_tag(x_15) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -8162,25 +8170,21 @@ x_19 = lean_ctor_get(x_16, 1); lean_inc(x_19); lean_dec(x_16); lean_inc(x_18); -x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___boxed), 10, 3); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___boxed), 12, 3); lean_closure_set(x_20, 0, x_18); lean_closure_set(x_20, 1, x_13); lean_closure_set(x_20, 2, x_2); -x_21 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_21, 0, x_20); -x_22 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_22, 0, x_21); -x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_23, 0, x_19); -x_24 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_24, 0, x_22); -lean_closure_set(x_24, 1, x_23); -x_25 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_18, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -return x_25; +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_21, 0, x_19); +x_22 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_22, 0, x_20); +lean_closure_set(x_22, 1, x_21); +x_23 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_18, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +return x_23; } else { -uint8_t x_26; +uint8_t x_24; lean_dec(x_13); lean_dec(x_10); lean_dec(x_9); @@ -8191,29 +8195,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_26 = !lean_is_exclusive(x_15); -if (x_26 == 0) +x_24 = !lean_is_exclusive(x_15); +if (x_24 == 0) { return x_15; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_15, 0); -x_28 = lean_ctor_get(x_15, 1); -lean_inc(x_28); -lean_inc(x_27); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_15, 0); +x_26 = lean_ctor_get(x_15, 1); +lean_inc(x_26); +lean_inc(x_25); lean_dec(x_15); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } else { -uint8_t x_30; +uint8_t x_28; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -8223,23 +8227,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_30 = !lean_is_exclusive(x_12); -if (x_30 == 0) +x_28 = !lean_is_exclusive(x_12); +if (x_28 == 0) { return x_12; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_12, 0); -x_32 = lean_ctor_get(x_12, 1); -lean_inc(x_32); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_12, 0); +x_30 = lean_ctor_get(x_12, 1); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_12); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } @@ -8273,15 +8277,17 @@ lean_dec(x_1); return x_9; } } -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_11; -x_11 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_13; +x_13 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_11; +return x_13; } } lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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) { @@ -14717,154 +14723,154 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_ return x_2; } } -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_10 = l_Lean_Meta_mkArrow___rarg___closed__2; -x_11 = 0; +lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_12 = l_Lean_Meta_mkArrow___rarg___closed__2; +x_13 = 0; +lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_12 = l_Lean_Meta_generalize(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_12) == 0) +x_14 = l_Lean_Meta_generalize(x_1, x_2, x_12, x_13, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Meta_intro1Core(x_13, x_11, x_5, x_6, x_7, x_8, x_14); -if (lean_obj_tag(x_15) == 0) +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Meta_intro1Core(x_15, x_13, x_7, x_8, x_9, x_10, x_16); +if (lean_obj_tag(x_17) == 0) { -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_ctor_get(x_15, 0); +uint8_t x_18; x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_19; uint8_t x_20; x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -x_21 = l_Lean_mkFVar(x_19); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_17, 1, x_23); -lean_ctor_set(x_17, 0, x_21); -return x_15; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +x_23 = l_Lean_mkFVar(x_21); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_19, 1, x_25); +lean_ctor_set(x_19, 0, x_23); +return x_17; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_24 = lean_ctor_get(x_17, 0); -x_25 = lean_ctor_get(x_17, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_17); -x_26 = l_Lean_mkFVar(x_24); -x_27 = lean_box(0); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_25); -lean_ctor_set(x_28, 1, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_26); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_15, 0, x_29); -return x_15; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = l_Lean_mkFVar(x_26); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_17, 0, x_31); +return x_17; } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_30 = lean_ctor_get(x_15, 0); -x_31 = lean_ctor_get(x_15, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_15); -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_30, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = lean_ctor_get(x_17, 0); +x_33 = lean_ctor_get(x_17, 1); lean_inc(x_33); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_34 = x_30; +lean_inc(x_32); +lean_dec(x_17); +x_34 = lean_ctor_get(x_32, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + x_36 = x_32; } else { - lean_dec_ref(x_30); - x_34 = lean_box(0); + lean_dec_ref(x_32); + x_36 = lean_box(0); } -x_35 = l_Lean_mkFVar(x_32); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_36); -if (lean_is_scalar(x_34)) { - x_38 = lean_alloc_ctor(0, 2, 0); +x_37 = l_Lean_mkFVar(x_34); +x_38 = lean_box(0); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_38); +if (lean_is_scalar(x_36)) { + x_40 = lean_alloc_ctor(0, 2, 0); } else { - x_38 = x_34; + x_40 = x_36; } -lean_ctor_set(x_38, 0, x_35); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_31); -return x_39; +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_33); +return x_41; } } else { -uint8_t x_40; -x_40 = !lean_is_exclusive(x_15); -if (x_40 == 0) +uint8_t x_42; +x_42 = !lean_is_exclusive(x_17); +if (x_42 == 0) { -return x_15; +return x_17; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_15, 0); -x_42 = lean_ctor_get(x_15, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_15); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_17, 0); +x_44 = lean_ctor_get(x_17, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_17); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } else { -uint8_t x_44; +uint8_t x_46; +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_44 = !lean_is_exclusive(x_12); -if (x_44 == 0) +x_46 = !lean_is_exclusive(x_14); +if (x_46 == 0) { -return x_12; +return x_14; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_12, 0); -x_46 = lean_ctor_get(x_12, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_12); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_14, 0); +x_48 = lean_ctor_get(x_14, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_14); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } } @@ -14894,7 +14900,7 @@ lean_object* x_12; x_12 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_12) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -14906,24 +14912,20 @@ x_16 = lean_ctor_get(x_13, 1); lean_inc(x_16); lean_dec(x_13); lean_inc(x_15); -x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1___boxed), 9, 2); +x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1___boxed), 11, 2); lean_closure_set(x_17, 0, x_15); lean_closure_set(x_17, 1, x_1); -x_18 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_18, 0, x_17); -x_19 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_19, 0, x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_20, 0, x_16); -x_21 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_21, 0, x_19); -lean_closure_set(x_21, 1, x_20); -x_22 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_15, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -return x_22; +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_18, 0, x_16); +x_19 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_19, 0, x_17); +lean_closure_set(x_19, 1, x_18); +x_20 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_15, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +return x_20; } else { -uint8_t x_23; +uint8_t x_21; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -14933,36 +14935,38 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_23 = !lean_is_exclusive(x_12); -if (x_23 == 0) +x_21 = !lean_is_exclusive(x_12); +if (x_21 == 0) { return x_12; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_12, 0); -x_25 = lean_ctor_get(x_12, 1); -lean_inc(x_25); -lean_inc(x_24); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_12, 0); +x_23 = lean_ctor_get(x_12, 1); +lean_inc(x_23); +lean_inc(x_22); lean_dec(x_12); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } } } -lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_12; +x_12 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_12; } } lean_object* l_Lean_Elab_Tactic_evalInduction_match__1___rarg(lean_object* x_1, lean_object* x_2) { @@ -15709,7 +15713,7 @@ lean_closure_set(x_37, 1, x_20); lean_closure_set(x_37, 2, x_28); lean_closure_set(x_37, 3, x_3); lean_closure_set(x_37, 4, x_35); -x_38 = l_Lean_Elab_Tactic_evalAlt___closed__2; +x_38 = l_Lean_Elab_Tactic_evalAlt___closed__1; x_39 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_39, 0, x_38); lean_closure_set(x_39, 1, x_37); @@ -16797,7 +16801,7 @@ lean_inc(x_30); lean_dec(x_29); x_31 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lambda__1___boxed), 11, 1); lean_closure_set(x_31, 0, x_27); -x_32 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__4; +x_32 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1; x_33 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_33, 0, x_32); lean_closure_set(x_33, 1, x_31); @@ -16959,7 +16963,7 @@ lean_inc(x_60); lean_dec(x_59); x_61 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lambda__1___boxed), 11, 1); lean_closure_set(x_61, 0, x_57); -x_62 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__4; +x_62 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1; x_63 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_63, 0, x_62); lean_closure_set(x_63, 1, x_61); @@ -17046,7 +17050,7 @@ x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Induction_0__Lean lean_closure_set(x_13, 0, x_2); lean_closure_set(x_13, 1, x_12); lean_closure_set(x_13, 2, x_1); -x_14 = l_Lean_Elab_Tactic_evalAlt___closed__2; +x_14 = l_Lean_Elab_Tactic_evalAlt___closed__1; x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_15, 0, x_14); lean_closure_set(x_15, 1, x_13); @@ -18228,12 +18232,12 @@ return x_34; } } } -lean_object* l_Lean_Elab_Tactic_evalCasesUsing___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Tactic_evalCasesUsing___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10); -return x_11; +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg(x_1, x_2, x_3, x_8, x_9, x_10, x_11, x_12); +return x_13; } } lean_object* l_Lean_Elab_Tactic_evalCasesUsing___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { @@ -18357,7 +18361,7 @@ lean_inc(x_42); x_45 = l_Lean_Meta_introNCore(x_40, x_42, x_43, x_44, x_9, x_10, x_11, x_12, x_41); if (lean_obj_tag(x_45) == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); x_47 = lean_ctor_get(x_45, 1); @@ -18371,31 +18375,27 @@ lean_dec(x_46); x_50 = l_Lean_Expr_mvarId_x21(x_35); lean_dec(x_35); lean_inc(x_49); -x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCasesUsing___lambda__1___boxed), 10, 3); +x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCasesUsing___lambda__1___boxed), 12, 3); lean_closure_set(x_51, 0, x_49); lean_closure_set(x_51, 1, x_50); lean_closure_set(x_51, 2, x_48); -x_52 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_52, 0, x_51); -x_53 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_53, 0, x_52); lean_inc(x_49); -x_54 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCasesUsing___lambda__2___boxed), 16, 6); -lean_closure_set(x_54, 0, x_49); -lean_closure_set(x_54, 1, x_14); -lean_closure_set(x_54, 2, x_4); -lean_closure_set(x_54, 3, x_3); -lean_closure_set(x_54, 4, x_1); -lean_closure_set(x_54, 5, x_42); -x_55 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_55, 0, x_53); -lean_closure_set(x_55, 1, x_54); -x_56 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_49, x_55, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); -return x_56; +x_52 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCasesUsing___lambda__2___boxed), 16, 6); +lean_closure_set(x_52, 0, x_49); +lean_closure_set(x_52, 1, x_14); +lean_closure_set(x_52, 2, x_4); +lean_closure_set(x_52, 3, x_3); +lean_closure_set(x_52, 4, x_1); +lean_closure_set(x_52, 5, x_42); +x_53 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_53, 0, x_51); +lean_closure_set(x_53, 1, x_52); +x_54 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_49, x_53, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); +return x_54; } else { -uint8_t x_57; +uint8_t x_55; lean_dec(x_42); lean_dec(x_35); lean_dec(x_14); @@ -18410,29 +18410,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_57 = !lean_is_exclusive(x_45); -if (x_57 == 0) +x_55 = !lean_is_exclusive(x_45); +if (x_55 == 0) { return x_45; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_45, 0); -x_59 = lean_ctor_get(x_45, 1); -lean_inc(x_59); -lean_inc(x_58); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_45, 0); +x_57 = lean_ctor_get(x_45, 1); +lean_inc(x_57); +lean_inc(x_56); lean_dec(x_45); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } else { -uint8_t x_61; +uint8_t x_59; lean_dec(x_35); lean_dec(x_31); lean_dec(x_14); @@ -18447,29 +18447,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_61 = !lean_is_exclusive(x_39); -if (x_61 == 0) +x_59 = !lean_is_exclusive(x_39); +if (x_59 == 0) { return x_39; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_39, 0); -x_63 = lean_ctor_get(x_39, 1); -lean_inc(x_63); -lean_inc(x_62); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_39, 0); +x_61 = lean_ctor_get(x_39, 1); +lean_inc(x_61); +lean_inc(x_60); lean_dec(x_39); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -uint8_t x_65; +uint8_t x_63; lean_dec(x_35); lean_dec(x_31); lean_dec(x_14); @@ -18485,29 +18485,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_65 = !lean_is_exclusive(x_36); -if (x_65 == 0) +x_63 = !lean_is_exclusive(x_36); +if (x_63 == 0) { return x_36; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_36, 0); -x_67 = lean_ctor_get(x_36, 1); -lean_inc(x_67); -lean_inc(x_66); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_36, 0); +x_65 = lean_ctor_get(x_36, 1); +lean_inc(x_65); +lean_inc(x_64); lean_dec(x_36); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +x_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 { -uint8_t x_69; +uint8_t x_67; lean_dec(x_21); lean_dec(x_14); lean_dec(x_12); @@ -18522,23 +18522,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_69 = !lean_is_exclusive(x_30); -if (x_69 == 0) +x_67 = !lean_is_exclusive(x_30); +if (x_67 == 0) { return x_30; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_30, 0); -x_71 = lean_ctor_get(x_30, 1); -lean_inc(x_71); -lean_inc(x_70); +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_30, 0); +x_69 = lean_ctor_get(x_30, 1); +lean_inc(x_69); +lean_inc(x_68); lean_dec(x_30); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } @@ -18605,7 +18605,7 @@ lean_closure_set(x_31, 1, x_14); lean_closure_set(x_31, 2, x_22); lean_closure_set(x_31, 3, x_3); lean_closure_set(x_31, 4, x_29); -x_32 = l_Lean_Elab_Tactic_evalAlt___closed__2; +x_32 = l_Lean_Elab_Tactic_evalAlt___closed__1; x_33 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_33, 0, x_32); lean_closure_set(x_33, 1, x_31); @@ -18746,14 +18746,16 @@ lean_dec(x_1); return x_16; } } -lean_object* l_Lean_Elab_Tactic_evalCasesUsing___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Tactic_evalCasesUsing___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalCasesUsing___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_evalCasesUsing___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_11; +return x_13; } } lean_object* l_Lean_Elab_Tactic_evalCasesUsing___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { @@ -19039,8 +19041,6 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Tactic_evalAlt___closed__1 = _init_l_Lean_Elab_Tactic_evalAlt___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_evalAlt___closed__1); -l_Lean_Elab_Tactic_evalAlt___closed__2 = _init_l_Lean_Elab_Tactic_evalAlt___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalAlt___closed__2); l_Lean_Elab_Tactic_ElimApp_State_argPos___default = _init_l_Lean_Elab_Tactic_ElimApp_State_argPos___default(); lean_mark_persistent(l_Lean_Elab_Tactic_ElimApp_State_argPos___default); l_Lean_Elab_Tactic_ElimApp_State_targetPos___default = _init_l_Lean_Elab_Tactic_ElimApp_State_targetPos___default(); @@ -19105,12 +19105,6 @@ l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarId lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__1); l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__2 = _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__2); -l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__3 = _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__3); -l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__4 = _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__4); -l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__5 = _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___closed__5); l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___closed__1 = _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___closed__1); l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___closed__2 = _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__2___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Injection.c b/stage0/stdlib/Lean/Elab/Tactic/Injection.c index e32317331b..282ba6b344 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Injection.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Injection.c @@ -16,7 +16,6 @@ extern "C" { extern lean_object* l_Lean_Meta_injectionCore___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); extern lean_object* l_Lean_Parser_Tactic_injection___closed__2; -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___closed__2; @@ -24,7 +23,6 @@ lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnu lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___closed__1; lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_getInjectionNewIds(lean_object*); -lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjection(lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___spec__1(lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_getInjectionNewIds___spec__1(lean_object*); @@ -43,10 +41,10 @@ lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___ lean_object* l_Lean_Elab_Tactic_evalInjection_match__1(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalInjection___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalInjection___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabAsFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalInjection___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalInjection___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___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Meta_injection(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -274,382 +272,382 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalInjection_match__1___rar return x_2; } } -lean_object* l_Lean_Elab_Tactic_evalInjection___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Tactic_evalInjection___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_11; -x_11 = l_List_isEmpty___rarg(x_1); -if (x_11 == 0) +uint8_t x_13; +x_13 = l_List_isEmpty___rarg(x_1); +if (x_13 == 0) { -uint8_t x_12; lean_object* x_13; -x_12 = 1; +uint8_t x_14; lean_object* x_15; +x_14 = 1; +lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_1); lean_inc(x_2); -x_13 = l_Lean_Meta_injection(x_2, x_3, x_1, x_12, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_13) == 0) +x_15 = l_Lean_Meta_injection(x_2, x_3, x_1, x_14, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_14; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_2, x_1, x_6, x_7, x_8, x_9, x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); if (lean_obj_tag(x_16) == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_2, x_1, x_8, x_9, x_10, x_11, x_17); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -x_19 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; -lean_ctor_set(x_16, 0, x_19); -return x_16; -} -else +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_dec(x_16); +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); x_21 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; +lean_ctor_set(x_18, 0, x_21); +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; } } else { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) +uint8_t x_25; +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) { -return x_16; +return x_18; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_16); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_1); -x_27 = lean_ctor_get(x_13, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_ctor_get(x_18, 1); lean_inc(x_27); -lean_dec(x_13); -x_28 = lean_ctor_get(x_14, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_14, 2); +lean_inc(x_26); +lean_dec(x_18); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_1); +x_29 = lean_ctor_get(x_15, 1); lean_inc(x_29); -lean_dec(x_14); -x_30 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_2, x_29, x_6, x_7, x_8, x_9, x_27); +lean_dec(x_15); +x_30 = lean_ctor_get(x_16, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_16, 2); +lean_inc(x_31); +lean_dec(x_16); +x_32 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_2, x_31, x_8, x_9, x_10, x_11, x_29); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -if (lean_obj_tag(x_30) == 0) +if (lean_obj_tag(x_32) == 0) { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_28); -lean_ctor_set(x_34, 1, x_33); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_34 = lean_ctor_get(x_32, 0); +lean_dec(x_34); x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -lean_ctor_set(x_30, 0, x_36); -return x_30; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_box(0); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_32, 0, x_38); +return x_32; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_37 = lean_ctor_get(x_30, 1); -lean_inc(x_37); -lean_dec(x_30); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_28); -lean_ctor_set(x_39, 1, x_38); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_39 = lean_ctor_get(x_32, 1); +lean_inc(x_39); +lean_dec(x_32); x_40 = lean_box(0); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_37); -return x_42; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_30); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_box(0); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_39); +return x_44; } } else { -uint8_t x_43; -lean_dec(x_28); -x_43 = !lean_is_exclusive(x_30); -if (x_43 == 0) -{ -return x_30; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_30, 0); -x_45 = lean_ctor_get(x_30, 1); -lean_inc(x_45); -lean_inc(x_44); +uint8_t x_45; lean_dec(x_30); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +x_45 = !lean_is_exclusive(x_32); +if (x_45 == 0) +{ +return x_32; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_32, 0); +x_47 = lean_ctor_get(x_32, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_32); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } } else { -uint8_t x_47; +uint8_t x_49; +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_47 = !lean_is_exclusive(x_13); -if (x_47 == 0) +x_49 = !lean_is_exclusive(x_15); +if (x_49 == 0) { -return x_13; +return x_15; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_13, 0); -x_49 = lean_ctor_get(x_13, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_13); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -} -else -{ -uint8_t x_51; lean_object* x_52; -x_51 = 0; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_1); -lean_inc(x_2); -x_52 = l_Lean_Meta_injection(x_2, x_3, x_1, x_51, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -if (lean_obj_tag(x_53) == 0) -{ -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_2, x_1, x_6, x_7, x_8, x_9, x_54); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -if (lean_obj_tag(x_55) == 0) -{ -uint8_t x_56; -x_56 = !lean_is_exclusive(x_55); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_55, 0); -lean_dec(x_57); -x_58 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; -lean_ctor_set(x_55, 0, x_58); -return x_55; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_55, 1); -lean_inc(x_59); -lean_dec(x_55); -x_60 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -return x_61; -} -} -else -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_55); -if (x_62 == 0) -{ -return x_55; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_55, 0); -x_64 = lean_ctor_get(x_55, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_55); -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; -} -} -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_dec(x_1); -x_66 = lean_ctor_get(x_52, 1); -lean_inc(x_66); -lean_dec(x_52); -x_67 = lean_ctor_get(x_53, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_53, 2); -lean_inc(x_68); -lean_dec(x_53); -x_69 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_2, x_68, x_6, x_7, x_8, x_9, x_66); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -if (lean_obj_tag(x_69) == 0) -{ -uint8_t x_70; -x_70 = !lean_is_exclusive(x_69); -if (x_70 == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_71 = lean_ctor_get(x_69, 0); -lean_dec(x_71); -x_72 = lean_box(0); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_67); -lean_ctor_set(x_73, 1, x_72); -x_74 = lean_box(0); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -lean_ctor_set(x_69, 0, x_75); -return x_69; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_76 = lean_ctor_get(x_69, 1); -lean_inc(x_76); -lean_dec(x_69); -x_77 = lean_box(0); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_67); -lean_ctor_set(x_78, 1, x_77); -x_79 = lean_box(0); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_76); -return x_81; -} -} -else -{ -uint8_t x_82; -lean_dec(x_67); -x_82 = !lean_is_exclusive(x_69); -if (x_82 == 0) -{ -return x_69; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_69, 0); -x_84 = lean_ctor_get(x_69, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_69); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; -} -} -} -} -else -{ -uint8_t x_86; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_86 = !lean_is_exclusive(x_52); -if (x_86 == 0) -{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_15, 0); +x_51 = lean_ctor_get(x_15, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_15); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); return x_52; } +} +} else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_52, 0); -x_88 = lean_ctor_get(x_52, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_52); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +uint8_t x_53; lean_object* x_54; +x_53 = 0; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_1); +lean_inc(x_2); +x_54 = l_Lean_Meta_injection(x_2, x_3, x_1, x_53, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_2, x_1, x_8, x_9, x_10, x_11, x_56); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +if (lean_obj_tag(x_57) == 0) +{ +uint8_t x_58; +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +x_60 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; +lean_ctor_set(x_57, 0, x_60); +return x_57; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +lean_dec(x_57); +x_62 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +uint8_t x_64; +x_64 = !lean_is_exclusive(x_57); +if (x_64 == 0) +{ +return x_57; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_57, 0); +x_66 = lean_ctor_get(x_57, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_57); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_1); +x_68 = lean_ctor_get(x_54, 1); +lean_inc(x_68); +lean_dec(x_54); +x_69 = lean_ctor_get(x_55, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_55, 2); +lean_inc(x_70); +lean_dec(x_55); +x_71 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_2, x_70, x_8, x_9, x_10, x_11, x_68); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +if (lean_obj_tag(x_71) == 0) +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_73 = lean_ctor_get(x_71, 0); +lean_dec(x_73); +x_74 = lean_box(0); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_69); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_box(0); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_71, 0, x_77); +return x_71; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_78 = lean_ctor_get(x_71, 1); +lean_inc(x_78); +lean_dec(x_71); +x_79 = lean_box(0); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_69); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_box(0); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_78); +return x_83; +} +} +else +{ +uint8_t x_84; +lean_dec(x_69); +x_84 = !lean_is_exclusive(x_71); +if (x_84 == 0) +{ +return x_71; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_71, 0); +x_86 = lean_ctor_get(x_71, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_71); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; +} +} +} +} +else +{ +uint8_t x_88; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_88 = !lean_is_exclusive(x_54); +if (x_88 == 0) +{ +return x_54; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_54, 0); +x_90 = lean_ctor_get(x_54, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_54); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; } } } @@ -686,7 +684,7 @@ lean_dec(x_18); x_20 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); if (lean_obj_tag(x_20) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); @@ -698,25 +696,21 @@ x_24 = lean_ctor_get(x_21, 1); lean_inc(x_24); lean_dec(x_21); lean_inc(x_23); -x_25 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalInjection___lambda__1___boxed), 10, 3); +x_25 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalInjection___lambda__1___boxed), 12, 3); lean_closure_set(x_25, 0, x_19); lean_closure_set(x_25, 1, x_23); lean_closure_set(x_25, 2, x_15); -x_26 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_26, 0, x_25); -x_27 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_27, 0, x_26); -x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); -lean_closure_set(x_28, 0, x_24); -x_29 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_29, 0, x_27); -lean_closure_set(x_29, 1, x_28); -x_30 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_23, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -return x_30; +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed), 11, 1); +lean_closure_set(x_26, 0, x_24); +x_27 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_27, 0, x_25); +lean_closure_set(x_27, 1, x_26); +x_28 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_23, x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); +return x_28; } else { -uint8_t x_31; +uint8_t x_29; lean_dec(x_19); lean_dec(x_15); lean_dec(x_9); @@ -727,29 +721,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_31 = !lean_is_exclusive(x_20); -if (x_31 == 0) +x_29 = !lean_is_exclusive(x_20); +if (x_29 == 0) { return x_20; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_20, 0); -x_33 = lean_ctor_get(x_20, 1); -lean_inc(x_33); -lean_inc(x_32); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_20, 0); +x_31 = lean_ctor_get(x_20, 1); +lean_inc(x_31); +lean_inc(x_30); lean_dec(x_20); -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; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } else { -uint8_t x_35; +uint8_t x_33; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -758,35 +752,37 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_35 = !lean_is_exclusive(x_14); -if (x_35 == 0) +x_33 = !lean_is_exclusive(x_14); +if (x_33 == 0) { return x_14; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_14, 0); -x_37 = lean_ctor_get(x_14, 1); -lean_inc(x_37); -lean_inc(x_36); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_14, 0); +x_35 = lean_ctor_get(x_14, 1); +lean_inc(x_35); +lean_inc(x_34); lean_dec(x_14); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } } -lean_object* l_Lean_Elab_Tactic_evalInjection___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Tactic_evalInjection___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalInjection___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_evalInjection___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_11; +return x_13; } } lean_object* l_Lean_Elab_Tactic_evalInjection___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c index 7e995ca01a..c2c3c036a9 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c @@ -25,7 +25,6 @@ extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -extern lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__4; lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId_match__1(lean_object*); @@ -58,6 +57,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewrite___closed__1; lean_object* l_Lean_Elab_Tactic_rewriteTarget_match__1(lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__3; lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1; extern lean_object* l_Lean_Parser_Tactic_rewrite___closed__2; lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1221,7 +1221,7 @@ x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteAll___lambda__1___bo lean_closure_set(x_18, 0, x_1); lean_closure_set(x_18, 1, x_17); lean_closure_set(x_18, 2, x_15); -x_19 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__4; +x_19 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1; x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); lean_closure_set(x_20, 0, x_19); lean_closure_set(x_20, 1, x_18); diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 570b129180..fb044f36dc 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -29,8 +29,8 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1; lean_object* l_Lean_Elab_Term_elabTypeOf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__8; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__6; lean_object* l_Lean_Elab_Term_withUnboundImplicitLocal(lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__1; lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar_match__1(lean_object*); @@ -41,10 +41,9 @@ lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___s lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__6; -lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); -extern lean_object* l_Lean_Core_instMonadEnvCoreM___closed__2; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isType___at_Lean_Elab_Term_ensureType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,11 +82,10 @@ lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2(lean_ob lean_object* l_Lean_Elab_Term_instMonadResolveNameTermElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -extern lean_object* l_Lean_Meta_setInlineAttribute___rarg___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__9; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Term_instAddErrorMessageContextTermElabM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -109,14 +107,13 @@ lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__2; lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__6; extern lean_object* l_Lean_Level_LevelToFormat_toResult___closed__3; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_addLevelMVarDecl(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2; lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1060____closed__2; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2; lean_object* l_Lean_Elab_Term_elabTypeWithUnboundImplicit_loop(lean_object*); @@ -132,10 +129,8 @@ extern lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1; lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4; lean_object* l_Lean_Elab_Term_instMonadResolveNameTermElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__6; lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__2(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1; @@ -145,7 +140,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3; lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarsAtDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1; extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__8; lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1; lean_object* l_Lean_Elab_Term_isMonadApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -210,14 +204,13 @@ extern lean_object* l_Lean_MessageData_nil; lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_traceAtCmdPos___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort_match__1(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__6; -lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponing(lean_object*); lean_object* l_Lean_Elab_Term_State_mvarErrorInfos___default; lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__4; extern lean_object* l_Lean_Meta_mkAppM___rarg___closed__2; -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux_match__1(lean_object*); lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_elabNumLit___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); @@ -234,11 +227,10 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMessageLog___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_Term_mkAuxName___closed__3; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabProp(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -352,7 +344,6 @@ lean_object* l_Lean_Elab_Term_observing_match__1___rarg(lean_object*, lean_objec lean_object* l_Lean_Elab_Term_ensureHasType_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__1(lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -360,7 +351,7 @@ extern lean_object* l_Lean_Meta_commitWhen___at___private_Lean_Meta_ExprDefEq_0_ lean_object* l_Lean_Elab_Term_elabTypeWithUnboundImplicit_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_AttributeApplicationTime_beq(uint8_t, uint8_t); lean_object* l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Core_instMonadRefCoreM___closed__2; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__2; lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__5; extern lean_object* l_myMacro____x40_Init_Coe___hyg_176____closed__4; @@ -390,7 +381,6 @@ lean_object* l_Lean_Elab_Term_elabByTactic(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Elab_Term_observing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr(lean_object*); -extern lean_object* l_Lean_Core_instMonadRefCoreM___closed__1; lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__4; uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Term_withMacroExpansion(lean_object*); @@ -458,7 +448,9 @@ lean_object* l_Lean_Elab_Term_elabQuotedName(lean_object*, lean_object*, lean_ob lean_object* l_List_foldlM___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_trySynthInstance___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_liftAttrM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1; extern lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__2; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__6(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType(lean_object*); @@ -479,7 +471,7 @@ lean_object* l_Lean_Elab_Term_getMVarDecl___boxed(lean_object*, lean_object*, le lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__7; lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabCharLit_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -487,9 +479,9 @@ lean_object* l_Lean_MessageLog_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___ lean_object* l_Lean_Elab_Term_instMonadResolveNameTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedKeyedDeclsAttribute___closed__1; -lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__8; lean_object* l_Lean_Elab_Term_elabNumLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLiftTMetaMTermElabM(lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__4; lean_object* l_Lean_Elab_Term_blockImplicitLambda___boxed(lean_object*); lean_object* l_Lean_Elab_throwUnboundImplicitLocal___at_Lean_Elab_Term_resolveName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__1; @@ -508,6 +500,7 @@ uint8_t l_Char_isLower(uint32_t); lean_object* l_Lean_Elab_Term_levelMVarToParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__2; lean_object* l_Lean_Elab_Term_instMonadResolveNameTermElabM___closed__2; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___closed__2; lean_object* l_Lean_Elab_Term_withFreshMacroScope(lean_object*); lean_object* l_Lean_Name_toExprAux(lean_object*); @@ -559,13 +552,15 @@ lean_object* l_Lean_Meta_getMVarsAtDecl___at_Lean_Elab_Term_ensureNoUnassignedMV lean_object* l_Lean_Elab_Term_instMonadResolveNameTermElabM___closed__1; lean_object* l_Lean_Elab_Term_liftCoreM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__5; -lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLetRecAuxMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___closed__1; uint8_t l_Lean_Elab_Term_Context_errToSorry___default; lean_object* l_Lean_Elab_Term_instInhabitedTermElabResult; lean_object* l_Lean_Elab_Term_resolveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__2; +lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabProp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLiftTMetaMTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -597,7 +592,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; size_t lean_usize_modn(size_t, lean_object*); lean_object* l_Lean_Elab_Term_isValidUnboundImplicitName___boxed(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__10; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -645,7 +639,7 @@ lean_object* l_Lean_Elab_Term_isValidUnboundImplicitName_match__1___rarg(lean_ob size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__3(lean_object*); lean_object* l_Lean_Elab_Term_throwTypeMismatchError_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDelayedRoot(lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; @@ -665,7 +659,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_evalNat___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; size_t l_USize_land(size_t, size_t); @@ -701,7 +695,6 @@ lean_object* l_Lean_Elab_Term_levelMVarToParam_x27(lean_object*, lean_object*, l lean_object* l_Lean_Elab_Term_elabEnsureTypeOf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_traceAtCmdPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__12; lean_object* l_Lean_Elab_Term_synthesizeInst_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); @@ -842,6 +835,7 @@ lean_object* l_Lean_Elab_Term_elabHole___boxed(lean_object*, lean_object*, lean_ lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__3(lean_object*); lean_object* l_Lean_Elab_Term_Context_macroStack___default; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__1(lean_object*); +lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole(lean_object*); lean_object* l_Lean_Elab_Term_elabSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -861,6 +855,7 @@ lean_object* l_Lean_Elab_Term_isLocalIdent_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Context_currMacroScope___default; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__7; extern lean_object* l_Lean_Meta_throwAppTypeMismatch___rarg___lambda__1___closed__3; lean_object* l_Lean_Meta_decLevel___at_Lean_Meta_getDecLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName(lean_object*); @@ -921,11 +916,12 @@ lean_object* l_Lean_Elab_Term_elabByTactic___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLetRecsToLift___boxed(lean_object*); extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Exception___hyg_3____closed__1; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MonadEnv_0__Lean_mkAuxNameAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnf___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__5; lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__4; lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -960,6 +956,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts(lean_object*, lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isMonad_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__10; lean_object* l_Lean_Elab_Term_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3; lean_object* l_Lean_Elab_Term_throwTypeMismatchError_match__1(lean_object*); lean_object* l_ReaderT_read___at_Lean_Elab_Term_instMonadLogTermElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run_x27(lean_object*); @@ -986,7 +983,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__13; lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkPure___rarg___closed__4; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__1; -lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__7; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f_match__2(lean_object*); lean_object* l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_Unhygienic_run___rarg___closed__1; @@ -995,7 +991,6 @@ lean_object* l_Lean_mkStrLit(lean_object*); lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___closed__2; lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__9; lean_object* l_Lean_Elab_Term_Context_openDecls___default; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -1007,6 +1002,7 @@ lean_object* l_Lean_Elab_Term_elabTypeWithUnboundImplicit_loop_match__1(lean_obj lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__11; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__2___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___at_Lean_Elab_Term_ensureType___spec__2___boxed(lean_object*, lean_object*, lean_object*); @@ -1055,7 +1051,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__1___rarg lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__2; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__4; lean_object* l_Lean_Elab_Term_registerMVarErrorCustomInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; lean_object* l_Lean_Elab_Term_elabEnsureTypeOf_match__1(lean_object*); lean_object* l_Lean_Elab_Term_resolveName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1068,11 +1063,9 @@ lean_object* l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Ter lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSimpleThunk(lean_object*); lean_object* l_Lean_Elab_Term_registerSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__11; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_Term_ensureHasTypeAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_bind___at_Lean_Core_instMonadRefCoreM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwAppTypeMismatch___at_Lean_Elab_Term_throwTypeMismatchError___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_getMacroStackOption(lean_object*); @@ -1089,7 +1082,6 @@ lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__1___boxed(l lean_object* l_Lean_getAttributeImpl(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppOptM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_throwLetTypeMismatchMessage___rarg___closed__8; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; lean_object* l_Lean_Elab_Term_saveAllState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__8; @@ -1149,7 +1141,6 @@ uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Context_mayPostpone___default; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1; lean_object* l_Lean_Elab_Term_setElabConfig(lean_object* x_1) { _start: @@ -2662,7 +2653,19 @@ x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLog return x_3; } } -lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___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_Elab_Term_instMonadLogTermElabM___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; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 3); +lean_inc(x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -2674,7 +2677,7 @@ lean_ctor_set(x_10, 1, x_8); return x_10; } } -lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -2686,7 +2689,7 @@ lean_ctor_set(x_10, 1, x_8); return x_10; } } -lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -2875,84 +2878,12 @@ return x_64; static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Core_instMonadRefCoreM___closed__1; -x_2 = l_Lean_Core_instMonadRefCoreM___closed__2; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Core_instMonadRefCoreM___spec__2___rarg), 5, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__1; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__3; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__4; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__6() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_ReaderT_read___at_Lean_Elab_Term_instMonadLogTermElabM___spec__1___boxed), 7, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMonadLogTermElabM___lambda__1___boxed), 8, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__6; -x_2 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__7; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__9() { +static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__2() { _start: { lean_object* x_1; @@ -2960,19 +2891,19 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMonadLogTermElabM___lambda return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__10() { +static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__6; -x_2 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__9; +x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__1; +x_2 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__2; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__11() { +static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__4() { _start: { lean_object* x_1; @@ -2980,14 +2911,42 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMonadLogTermElabM___lambda return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__12() { +static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__1; +x_2 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__4; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMonadLogTermElabM___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4___boxed), 8, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__5; -x_2 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__8; -x_3 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__10; -x_4 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__11; +x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__6; +x_2 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__3; +x_3 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__5; +x_4 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__7; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -3000,7 +2959,7 @@ static lean_object* _init_l_Lean_Elab_Term_instMonadLogTermElabM() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__12; +x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__8; return x_1; } } @@ -3017,19 +2976,18 @@ lean_dec(x_2); return x_8; } } -lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___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_Elab_Term_instMonadLogTermElabM___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_9; -x_9 = l_Lean_Elab_Term_instMonadLogTermElabM___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); +lean_object* x_8; +x_8 = l_Lean_Elab_Term_instMonadLogTermElabM___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_9; +return x_8; } } lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -3058,6 +3016,21 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); return x_9; } } @@ -3737,7 +3710,7 @@ static lean_object* _init_l_Lean_Elab_Term_instMonadResolveNameTermElabM___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__6; +x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__1; x_2 = l_Lean_Elab_Term_instMonadResolveNameTermElabM___closed__1; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); lean_closure_set(x_3, 0, x_1); @@ -3757,7 +3730,7 @@ static lean_object* _init_l_Lean_Elab_Term_instMonadResolveNameTermElabM___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__6; +x_1 = l_Lean_Elab_Term_instMonadLogTermElabM___closed__1; x_2 = l_Lean_Elab_Term_instMonadResolveNameTermElabM___closed__3; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); lean_closure_set(x_3, 0, x_1); @@ -20506,7 +20479,32 @@ x_12 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns(x_1, x_2, x return x_12; } } -lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___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_Elab_Term_instMonadMacroAdapterTermElabM___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; uint8_t x_9; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +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); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -20518,7 +20516,7 @@ lean_ctor_set(x_10, 1, x_8); return x_10; } } -lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -20600,64 +20598,12 @@ return x_29; static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Core_instMonadEnvCoreM___closed__2; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__2; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__3; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__5() { -_start: -{ lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1___boxed), 8, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1___boxed), 7, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__4; -x_2 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__5; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__7() { +static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__2() { _start: { lean_object* x_1; @@ -20665,13 +20611,33 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMonadMacroAdapterTermElabM return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__8() { +static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__1; +x_2 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__3___boxed), 8, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__1; -x_2 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__6; -x_3 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__7; +x_2 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__3; +x_3 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -20683,15 +20649,29 @@ static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__8; +x_1 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__5; return x_1; } } -lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___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_Elab_Term_instMonadMacroAdapterTermElabM___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_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -20702,11 +20682,11 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -24984,7 +24964,41 @@ return x_20; } } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___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; uint8_t x_9; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_4) == 0) @@ -25006,7 +25020,7 @@ return x_15; } } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_47; lean_object* x_48; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; @@ -25164,7 +25178,7 @@ if (x_4 == 0) { lean_object* x_15; lean_object* x_16; x_15 = lean_box(0); -x_16 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_14); +x_16 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(x_1, x_2, x_3, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_14); return x_16; } else @@ -25185,7 +25199,7 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -x_20 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +x_20 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(x_1, x_2, x_3, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_19); return x_20; } else @@ -25344,27 +25358,15 @@ goto block_46; } } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_setInlineAttribute___rarg___closed__2; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1___boxed), 7, 0); +return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__2() { _start: { lean_object* x_1; @@ -25372,16 +25374,16 @@ x_1 = lean_mk_string("expected type: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__4() { _start: { lean_object* x_1; @@ -25389,20 +25391,20 @@ x_1 = lean_mk_string(", term\n"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3; x_2 = l_Lean_instToMessageDataOptionExpr___closed__3; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25410,19 +25412,19 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__8() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; -x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__6; +x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__5; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -25478,12 +25480,12 @@ block_26: lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_20 = lean_box(x_4); x_21 = lean_box(x_5); -x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 4); +x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed), 12, 4); lean_closure_set(x_22, 0, x_2); lean_closure_set(x_22, 1, x_3); lean_closure_set(x_22, 2, x_20); lean_closure_set(x_22, 3, x_21); -x_23 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2; +x_23 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1; x_24 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); lean_closure_set(x_24, 0, x_23); lean_closure_set(x_24, 1, x_22); @@ -25507,7 +25509,7 @@ lean_ctor_set(x_29, 0, x_2); if (lean_obj_tag(x_3) == 0) { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_30 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__8; +x_30 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__7; x_31 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); @@ -25529,11 +25531,11 @@ x_36 = lean_ctor_get(x_3, 0); lean_inc(x_36); x_37 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_37, 0, x_36); -x_38 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4; +x_38 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3; x_39 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); -x_40 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6; +x_40 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__5; x_41 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); @@ -25612,12 +25614,12 @@ block_70: lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; x_64 = lean_box(x_4); x_65 = lean_box(x_5); -x_66 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 4); +x_66 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed), 12, 4); lean_closure_set(x_66, 0, x_2); lean_closure_set(x_66, 1, x_3); lean_closure_set(x_66, 2, x_64); lean_closure_set(x_66, 3, x_65); -x_67 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2; +x_67 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1; x_68 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); lean_closure_set(x_68, 0, x_67); lean_closure_set(x_68, 1, x_66); @@ -25641,7 +25643,7 @@ lean_ctor_set(x_73, 0, x_2); if (lean_obj_tag(x_3) == 0) { lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_74 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__8; +x_74 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__7; x_75 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); @@ -25663,11 +25665,11 @@ x_80 = lean_ctor_get(x_3, 0); lean_inc(x_80); x_81 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_81, 0, x_80); -x_82 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4; +x_82 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3; x_83 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_83, 0, x_82); lean_ctor_set(x_83, 1, x_81); -x_84 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6; +x_84 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__5; x_85 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_85, 0, x_83); lean_ctor_set(x_85, 1, x_84); @@ -25730,7 +25732,7 @@ if (x_25 == 0) lean_object* x_26; lean_object* x_27; lean_object* x_28; x_26 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_841____closed__2; x_27 = lean_box(0); -x_28 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_23, x_4, x_1, x_2, x_3, x_26, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_28 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_23, x_4, x_1, x_2, x_3, x_26, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_20); lean_dec(x_23); return x_28; } @@ -25811,7 +25813,7 @@ if (x_48 == 0) lean_object* x_49; lean_object* x_50; lean_object* x_51; x_49 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_841____closed__2; x_50 = lean_box(0); -x_51 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_46, x_4, x_1, x_2, x_3, x_49, x_50, x_45, x_6, x_7, x_8, x_9, x_10, x_20); +x_51 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_46, x_4, x_1, x_2, x_3, x_49, x_50, x_45, x_6, x_7, x_8, x_9, x_10, x_20); lean_dec(x_46); return x_51; } @@ -25932,7 +25934,7 @@ if (x_81 == 0) lean_object* x_82; lean_object* x_83; lean_object* x_84; x_82 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_841____closed__2; x_83 = lean_box(0); -x_84 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_79, x_4, x_1, x_2, x_3, x_82, x_83, x_78, x_6, x_7, x_8, x_9, x_10, x_66); +x_84 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_79, x_4, x_1, x_2, x_3, x_82, x_83, x_78, x_6, x_7, x_8, x_9, x_10, x_66); lean_dec(x_79); return x_84; } @@ -26000,17 +26002,31 @@ lean_dec(x_2); return x_8; } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_3); lean_dec(x_3); -x_13 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_13; } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; uint8_t x_14; lean_object* x_15; @@ -26018,12 +26034,12 @@ x_13 = lean_unbox(x_3); lean_dec(x_3); x_14 = lean_unbox(x_4); lean_dec(x_4); -x_15 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); return x_15; } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; uint8_t x_16; lean_object* x_17; @@ -26031,7 +26047,7 @@ x_15 = lean_unbox(x_4); lean_dec(x_4); x_16 = lean_unbox(x_5); lean_dec(x_5); -x_17 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_7); lean_dec(x_1); return x_17; @@ -35761,14 +35777,6 @@ l_Lean_Elab_Term_instMonadLogTermElabM___closed__7 = _init_l_Lean_Elab_Term_inst lean_mark_persistent(l_Lean_Elab_Term_instMonadLogTermElabM___closed__7); l_Lean_Elab_Term_instMonadLogTermElabM___closed__8 = _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__8(); lean_mark_persistent(l_Lean_Elab_Term_instMonadLogTermElabM___closed__8); -l_Lean_Elab_Term_instMonadLogTermElabM___closed__9 = _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_instMonadLogTermElabM___closed__9); -l_Lean_Elab_Term_instMonadLogTermElabM___closed__10 = _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_instMonadLogTermElabM___closed__10); -l_Lean_Elab_Term_instMonadLogTermElabM___closed__11 = _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_instMonadLogTermElabM___closed__11); -l_Lean_Elab_Term_instMonadLogTermElabM___closed__12 = _init_l_Lean_Elab_Term_instMonadLogTermElabM___closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_instMonadLogTermElabM___closed__12); l_Lean_Elab_Term_instMonadLogTermElabM = _init_l_Lean_Elab_Term_instMonadLogTermElabM(); lean_mark_persistent(l_Lean_Elab_Term_instMonadLogTermElabM); l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__1 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__1(); @@ -35977,12 +35985,6 @@ l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__4 = _init_l_Lean_Elab_ lean_mark_persistent(l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__4); l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__5 = _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__5(); lean_mark_persistent(l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__5); -l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__6 = _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__6); -l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__7 = _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__7); -l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__8 = _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__8); l_Lean_Elab_Term_instMonadMacroAdapterTermElabM = _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM(); lean_mark_persistent(l_Lean_Elab_Term_instMonadMacroAdapterTermElabM); l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__1(); @@ -35997,22 +35999,20 @@ l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__1 = lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__1); l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__8 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__8); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__2); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__4); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__5 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__5); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__6 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__6); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__7 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__7); l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__1); l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index 497cf8852a..c5406b62b8 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -334,7 +334,6 @@ lean_object* l_Lean_Meta_mkIdRhs(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkPure___rarg___closed__3; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrArgImp___closed__2; -extern lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__4; lean_object* l_Lean_Meta_mkArrayLit___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; lean_object* l_Lean_Meta_mkDecideProof___rarg___lambda__1___closed__1; @@ -433,6 +432,7 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop(lean_ lean_object* l_Lean_Meta_mkIdRhsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp___closed__4; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__3; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqMPR___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkArbitrary___rarg___closed__2; @@ -7242,7 +7242,7 @@ static lean_object* _init_l_Lean_Meta_mkAppM___rarg___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__4; +x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__3; x_2 = l_Lean_Meta_mkAppM___rarg___closed__3; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Meta/Basic.c b/stage0/stdlib/Lean/Meta/Basic.c index f15ff6e74e..20ef6e867f 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -20,9 +20,11 @@ lean_object* l_Lean_Meta_mkFreshExprMVarWithIdImpl___boxed(lean_object*, lean_ob lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkArrow___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instInhabitedInfoCacheKey; lean_object* l_Lean_Meta_resettingSynthInstanceCacheWhen___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getConstNoEx_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarAtCore___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*); @@ -42,7 +44,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_getParamNamesImp___spec__2___ uint8_t l_Lean_Meta_Config_transparency___default; lean_object* l_Lean_Meta_withLetDecl(lean_object*); lean_object* l_Lean_Meta_isExprDefEqAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_StateRefT_x27_get___at_Lean_Meta_instMonadMCtxMetaM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedParamInfo___closed__1; lean_object* l_Lean_Meta_mkFreshExprMVar___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_Lean_Meta_TransparencyMode_hash(uint8_t); @@ -63,9 +64,8 @@ lean_object* l_Lean_Meta_mkForallFVars(lean_object*); lean_object* l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEqAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux_match__1(lean_object*); -lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -lean_object* l_Lean_Meta_setInlineAttribute___rarg___closed__2; uint8_t l_Lean_Meta_Config_zetaNonDep___default; lean_object* l_Lean_Meta_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at_Lean_Meta_instantiateMVarsImp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -79,6 +79,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaMetaTelescopeImp_pro lean_object* l_Lean_Meta_mapMetaM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___rarg(lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___rarg___closed__2; lean_object* l_Lean_Meta_mkForallUsedOnly___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_InternalExceptionId_toString___closed__1; @@ -114,7 +115,7 @@ lean_object* l_Lean_Meta_mkLetFVars(lean_object*); lean_object* l_Lean_Meta_resettingSynthInstanceCache___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarDecl___rarg___lambda__1___closed__2; lean_object* l_Lean_Meta_mkFreshLevelMVar___at___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl___spec__1(lean_object*); -lean_object* l_Lean_Meta_setPostponed___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_setPostponed___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instOrElseMetaM___closed__1; extern lean_object* l_StateRefT_x27_instMonadLiftStateRefT_x27___closed__1; lean_object* l_Lean_Meta_getLocalDeclFromUserName_match__1(lean_object*); @@ -145,7 +146,7 @@ lean_object* l_Lean_Meta_lambdaTelescope(lean_object*); lean_object* l_Lean_Meta_elimMVarDeps(lean_object*); lean_object* l_Lean_MetavarContext_setMVarKind(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Meta_dependsOn___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_modifyPostponed___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_modifyPostponed___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getTransparency___rarg(lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1022____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -172,11 +173,10 @@ lean_object* l_Lean_Meta_mkFreshExprMVarAt___rarg___boxed(lean_object*, lean_obj lean_object* l_Lean_Meta_instantiateLevelMVars(lean_object*); lean_object* l_Lean_Meta_map1MetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_delayed_assignment(lean_object*, lean_object*); -lean_object* l_Lean_Meta_setMCtx___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_setMCtx___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getParamNamesImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isReadOnlyLevelMVar___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Core_mkFreshUserName___at_Lean_Meta_mkArrow___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); lean_object* l_Lean_getReducibilityStatus___at_Lean_Meta_getConst_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -189,7 +189,7 @@ lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Lean_Meta_isReadOnlyExprMVar___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_State_zetaFVarIds___default; lean_object* lean_array_push(lean_object*, lean_object*); -lean_object* l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateMVarsImp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVarWithIdImpl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -197,7 +197,7 @@ lean_object* l_Lean_Meta_mkFreshExprMVarAt___at___private_Lean_Meta_Basic_0__Lea lean_object* l_Lean_Meta_setMVarKind___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstance___at___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImp___spec__1(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1091____lambda__1___closed__3; -lean_object* l_Lean_Meta_setMCtx___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_setMCtx___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVarAt___rarg___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Meta_setMVarType(lean_object*); @@ -207,7 +207,6 @@ lean_object* l_Lean_Meta_Cache_funInfo___default; lean_object* l_Lean_Meta_withReducible___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaMetaTelescopeImp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_resetZetaFVarIds___rarg___closed__2; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImpAux(lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1022____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_approxDefEqImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -232,7 +231,6 @@ lean_object* l_Lean_Meta_whnfD___rarg___lambda__1(lean_object*, lean_object*, le lean_object* l_Lean_Meta_isReadOnlyExprMVar___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_shouldReduceReducibleOnly___at_Lean_Meta_getConst_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVarAt___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Core_instMonadEnvCoreM___closed__4; lean_object* l_Lean_Meta_findLocalDecl_x3f___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallMetaTelescope___rarg(lean_object*, lean_object*, uint8_t); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___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*); @@ -263,7 +261,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_mapMetaM(lean_object*); extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__2; lean_object* l_Lean_Meta_withTransparency___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedException___closed__1; lean_object* l_Array_isEqvAux___at___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__1; @@ -283,6 +281,7 @@ lean_object* l_Lean_Meta_getExprMVarAssignment_x3f___rarg___lambda__1(lean_objec lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateForall(lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwUnknownFVar___rarg___closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuickConst_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwUnknownFVar___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -296,7 +295,6 @@ lean_object* l_Lean_Meta_instInhabitedMetaM(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Meta_withNewLocalInstance___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_elimMVarDeps___rarg(lean_object*, lean_object*, lean_object*, uint8_t); extern lean_object* l_Lean_Compiler_inlineAttrs; -lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_restoreSynthInstanceCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadEnvCoreM; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__2; @@ -307,7 +305,7 @@ lean_object* l_Lean_Meta_setPostponed___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_assignLevelMVar___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Config_isDefEqStuckEx___default; lean_object* l_Lean_Meta_instMonadLCtxMetaM___closed__3; -lean_object* l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getConfig___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Meta_getZetaFVarIds(lean_object*); @@ -326,7 +324,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp(lean_ob lean_object* l_Lean_Meta_map2MetaM(lean_object*); lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); lean_object* l_Lean_Meta_throwIsDefEqStuck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaMetaTelescopeImp_process_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MetaM_toIO(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -341,7 +339,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f_match__2( lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_ReaderT_instMonadLiftReaderT___closed__1; lean_object* lean_metavar_ctx_get_level_assignment(lean_object*, lean_object*); lean_object* l_Lean_Meta_isReadOnlyExprMVar___rarg___closed__1; lean_object* l_Lean_Meta_ppExprImp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -363,7 +360,6 @@ lean_object* l_Lean_Meta_inferType___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_ParamInfo_isExplicit___boxed(lean_object*); lean_object* l_IO_mkRef___at_IO_FS_withIsolatedStreams___spec__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_instMonadMCtxMetaM___closed__6; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMCtxImp(lean_object*); lean_object* l_Lean_Meta_isReadOnlyOrSyntheticOpaqueExprMVar_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewMCtxDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -664,7 +660,7 @@ lean_object* lean_metavar_ctx_assign_level(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1160____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isReadOnlyOrSyntheticOpaqueExprMVar___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_normalize(lean_object*); -lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallBoundedTelescopeImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_incDepth(lean_object*); @@ -750,7 +746,6 @@ lean_object* l_Lean_Meta_hasAssignableMVar___rarg___lambda__1(lean_object*, lean lean_object* l_Lean_Meta_isDelayedAssigned(lean_object*); uint8_t l_Array_isEqvAux___at___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isReadOnlyLevelMVar___rarg___lambda__1___closed__2; -lean_object* l_StateRefT_x27_get___at_Lean_Meta_instMonadMCtxMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassExpensive_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVarWithIdImpl_match__1(lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*); @@ -815,7 +810,7 @@ lean_object* l_List_foldl___at___private_Lean_Meta_Basic_0__Lean_Meta_withExisti lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f_match__3(lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_setPostponed___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_setPostponed___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_fullApproxDefEqImp(lean_object*); lean_object* l_Lean_Meta_withTrackingZeta___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*); @@ -882,7 +877,7 @@ lean_object* l_Lean_Meta_withNewLocalInstance(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_orelseMergeErrorsImp_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setMVarType___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setPostponed(lean_object*); -lean_object* l_Lean_Meta_modifyPostponed___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_modifyPostponed___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withReducible(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_fvarsSizeLtMaxFVars_match__1(lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_getParamNamesImp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -912,6 +907,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarCore___boxe lean_object* l_Lean_Meta_shouldReduceAll___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ppExpr___rarg(lean_object*, lean_object*); lean_object* lean_expr_update_const(lean_object*, lean_object*); +lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getConfig___rarg___closed__2; uint8_t lean_is_class(lean_object*, lean_object*); lean_object* l_Lean_Meta_shouldReduceReducibleOnly___rarg(lean_object*); @@ -920,6 +916,7 @@ lean_object* l_Lean_Meta_instAddMessageContextMetaM; lean_object* l_Lean_Meta_mapError___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_shouldReduceReducibleOnly___rarg___closed__1; +lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_instantiateForall___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1727,32 +1724,32 @@ lean_dec(x_1); return x_7; } } -lean_object* l_StateRefT_x27_get___at_Lean_Meta_instMonadMCtxMetaM___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; uint8_t x_6; -x_5 = lean_st_ref_get(x_1, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) +lean_object* x_6; uint8_t x_7; +x_6 = lean_st_ref_get(x_2, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) { -return x_5; +return x_6; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_dec(x_5); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_7); -lean_ctor_set(x_9, 1, x_8); -return x_9; +lean_dec(x_6); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +return x_10; } } } -lean_object* l_Lean_Meta_instMonadMCtxMetaM___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* l_Lean_Meta_instMonadMCtxMetaM___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) { _start: { lean_object* x_7; lean_object* x_8; @@ -1764,7 +1761,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l_Lean_Meta_instMonadMCtxMetaM___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* l_Lean_Meta_instMonadMCtxMetaM___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) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -1850,54 +1847,44 @@ static lean_object* _init_l_Lean_Meta_instMonadMCtxMetaM___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_StateRefT_x27_get___at_Lean_Meta_instMonadMCtxMetaM___spec__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instMonadMCtxMetaM___lambda__1___boxed), 5, 0); return x_1; } } static lean_object* _init_l_Lean_Meta_instMonadMCtxMetaM___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_instMonadMCtxMetaM___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_instMonadMCtxMetaM___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instMonadMCtxMetaM___lambda__1___boxed), 6, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_instMonadMCtxMetaM___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_instMonadMCtxMetaM___closed__2; -x_2 = l_Lean_Meta_instMonadMCtxMetaM___closed__3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_instMonadMCtxMetaM___closed__5() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instMonadMCtxMetaM___lambda__2___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_instMonadMCtxMetaM___closed__6() { +static lean_object* _init_l_Lean_Meta_instMonadMCtxMetaM___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_instMonadMCtxMetaM___closed__4; -x_2 = l_Lean_Meta_instMonadMCtxMetaM___closed__5; +x_1 = l_Lean_Meta_instMonadMCtxMetaM___closed__1; +x_2 = l_Lean_Meta_instMonadMCtxMetaM___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_instMonadMCtxMetaM___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instMonadMCtxMetaM___lambda__3___boxed), 6, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_instMonadMCtxMetaM___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_instMonadMCtxMetaM___closed__3; +x_2 = l_Lean_Meta_instMonadMCtxMetaM___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -1908,26 +1895,27 @@ static lean_object* _init_l_Lean_Meta_instMonadMCtxMetaM() { _start: { lean_object* x_1; -x_1 = l_Lean_Meta_instMonadMCtxMetaM___closed__6; +x_1 = l_Lean_Meta_instMonadMCtxMetaM___closed__5; return x_1; } } -lean_object* l_StateRefT_x27_get___at_Lean_Meta_instMonadMCtxMetaM___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; -x_5 = l_StateRefT_x27_get___at_Lean_Meta_instMonadMCtxMetaM___spec__1(x_1, x_2, x_3, x_4); +lean_object* x_6; +x_6 = l_Lean_Meta_instMonadMCtxMetaM___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_5; +return x_6; } } -lean_object* l_Lean_Meta_instMonadMCtxMetaM___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* l_Lean_Meta_instMonadMCtxMetaM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_instMonadMCtxMetaM___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_instMonadMCtxMetaM___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1936,11 +1924,11 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_instMonadMCtxMetaM___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_instMonadMCtxMetaM___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_instMonadMCtxMetaM___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3076,175 +3064,63 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Meta_setMCtx___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Meta_setMCtx___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_st_ref_take(x_2, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_take(x_3, x_6); +x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); -lean_dec(x_6); -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 0); -lean_dec(x_10); -lean_ctor_set(x_7, 0, x_1); -x_11 = lean_st_ref_set(x_2, x_7, x_8); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_dec(x_13); -x_14 = lean_box(0); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_11, 1); -lean_inc(x_15); -lean_dec(x_11); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_18 = lean_ctor_get(x_7, 1); -x_19 = lean_ctor_get(x_7, 2); -x_20 = lean_ctor_get(x_7, 3); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); lean_dec(x_7); -x_21 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_21, 0, x_1); -lean_ctor_set(x_21, 1, x_18); -lean_ctor_set(x_21, 2, x_19); -lean_ctor_set(x_21, 3, x_20); -x_22 = lean_st_ref_set(x_2, x_21, x_8); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - x_24 = x_22; -} else { - lean_dec_ref(x_22); - x_24 = lean_box(0); -} -x_25 = lean_box(0); -if (lean_is_scalar(x_24)) { - x_26 = lean_alloc_ctor(0, 2, 0); -} else { - x_26 = x_24; -} -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_23); -return x_26; -} -} -} -lean_object* l_Lean_Meta_setMCtx___rarg(lean_object* x_1, lean_object* x_2) { -_start: +x_10 = !lean_is_exclusive(x_8); +if (x_10 == 0) { -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_setMCtx___rarg___lambda__1___boxed), 5, 1); -lean_closure_set(x_3, 0, x_2); -x_4 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_4, 0, x_3); -x_5 = lean_apply_2(x_1, lean_box(0), x_4); -return x_5; -} -} -lean_object* l_Lean_Meta_setMCtx(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_setMCtx___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Meta_setMCtx___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_Meta_setMCtx___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_st_ref_take(x_1, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = lean_ctor_get(x_6, 2); -lean_dec(x_9); -x_10 = l_Lean_NameSet_empty; -lean_ctor_set(x_6, 2, x_10); -x_11 = lean_st_ref_set(x_1, x_6, x_7); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_dec(x_13); -x_14 = lean_box(0); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_11, 1); -lean_inc(x_15); +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_8, 0); lean_dec(x_11); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; +lean_ctor_set(x_8, 0, x_1); +x_12 = lean_st_ref_set(x_3, x_8, x_9); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_dec(x_14); +x_15 = lean_box(0); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 1); +lean_inc(x_16); +lean_dec(x_12); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; } } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_18 = lean_ctor_get(x_6, 0); -x_19 = lean_ctor_get(x_6, 1); -x_20 = lean_ctor_get(x_6, 3); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_19 = lean_ctor_get(x_8, 1); +x_20 = lean_ctor_get(x_8, 2); +x_21 = lean_ctor_get(x_8, 3); +lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_6); -x_21 = l_Lean_NameSet_empty; +lean_dec(x_8); x_22 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_22, 0, x_18); +lean_ctor_set(x_22, 0, x_1); lean_ctor_set(x_22, 1, x_19); -lean_ctor_set(x_22, 2, x_21); -lean_ctor_set(x_22, 3, x_20); -x_23 = lean_st_ref_set(x_1, x_22, x_7); +lean_ctor_set(x_22, 2, x_20); +lean_ctor_set(x_22, 3, x_21); +x_23 = lean_st_ref_set(x_3, x_22, x_9); x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); if (lean_is_exclusive(x_23)) { @@ -3267,29 +3143,130 @@ return x_27; } } } +lean_object* l_Lean_Meta_setMCtx___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_setMCtx___rarg___lambda__1___boxed), 6, 1); +lean_closure_set(x_3, 0, x_2); +x_4 = lean_apply_2(x_1, lean_box(0), x_3); +return x_4; +} +} +lean_object* l_Lean_Meta_setMCtx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_setMCtx___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_setMCtx___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_setMCtx___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_st_ref_take(x_2, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = !lean_is_exclusive(x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_7, 2); +lean_dec(x_10); +x_11 = l_Lean_NameSet_empty; +lean_ctor_set(x_7, 2, x_11); +x_12 = lean_st_ref_set(x_2, x_7, x_8); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_dec(x_14); +x_15 = lean_box(0); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 1); +lean_inc(x_16); +lean_dec(x_12); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_19 = lean_ctor_get(x_7, 0); +x_20 = lean_ctor_get(x_7, 1); +x_21 = lean_ctor_get(x_7, 3); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_7); +x_22 = l_Lean_NameSet_empty; +x_23 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_23, 0, x_19); +lean_ctor_set(x_23, 1, x_20); +lean_ctor_set(x_23, 2, x_22); +lean_ctor_set(x_23, 3, x_21); +x_24 = lean_st_ref_set(x_2, x_23, x_8); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_26 = x_24; +} else { + lean_dec_ref(x_24); + x_26 = lean_box(0); +} +x_27 = lean_box(0); +if (lean_is_scalar(x_26)) { + x_28 = lean_alloc_ctor(0, 2, 0); +} else { + x_28 = x_26; +} +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_25); +return x_28; +} +} +} static lean_object* _init_l_Lean_Meta_resetZetaFVarIds___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_resetZetaFVarIds___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_resetZetaFVarIds___rarg___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} lean_object* l_Lean_Meta_resetZetaFVarIds___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_resetZetaFVarIds___rarg___closed__2; +x_2 = l_Lean_Meta_resetZetaFVarIds___rarg___closed__1; x_3 = lean_apply_2(x_1, lean_box(0), x_2); return x_3; } @@ -3302,15 +3279,16 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_resetZetaFVarIds___rarg), 1, 0); return x_2; } } -lean_object* l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; -x_5 = l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1(x_1, x_2, x_3, x_4); +lean_object* x_6; +x_6 = l_Lean_Meta_resetZetaFVarIds___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_5; +return x_6; } } lean_object* l_Lean_Meta_getZetaFVarIds___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -3337,7 +3315,7 @@ static lean_object* _init_l_Lean_Meta_getZetaFVarIds___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_instMonadMCtxMetaM___closed__2; +x_1 = l_Lean_Meta_instMonadMCtxMetaM___closed__1; x_2 = l_Lean_Meta_getZetaFVarIds___rarg___closed__1; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -3399,7 +3377,7 @@ static lean_object* _init_l_Lean_Meta_getPostponed___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_instMonadMCtxMetaM___closed__2; +x_1 = l_Lean_Meta_instMonadMCtxMetaM___closed__1; x_2 = l_Lean_Meta_getPostponed___rarg___closed__1; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -3437,134 +3415,24 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Meta_setPostponed___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Meta_setPostponed___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_st_ref_take(x_2, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_take(x_3, x_6); +x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); -lean_dec(x_6); -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -lean_dec(x_10); -lean_ctor_set(x_7, 3, x_1); -x_11 = lean_st_ref_set(x_2, x_7, x_8); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_dec(x_13); -x_14 = lean_box(0); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_11, 1); -lean_inc(x_15); -lean_dec(x_11); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_18 = lean_ctor_get(x_7, 0); -x_19 = lean_ctor_get(x_7, 1); -x_20 = lean_ctor_get(x_7, 2); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); lean_dec(x_7); -x_21 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_21, 0, x_18); -lean_ctor_set(x_21, 1, x_19); -lean_ctor_set(x_21, 2, x_20); -lean_ctor_set(x_21, 3, x_1); -x_22 = lean_st_ref_set(x_2, x_21, x_8); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - x_24 = x_22; -} else { - lean_dec_ref(x_22); - x_24 = lean_box(0); -} -x_25 = lean_box(0); -if (lean_is_scalar(x_24)) { - x_26 = lean_alloc_ctor(0, 2, 0); -} else { - x_26 = x_24; -} -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_23); -return x_26; -} -} -} -lean_object* l_Lean_Meta_setPostponed___rarg(lean_object* x_1, lean_object* x_2) { -_start: +x_10 = !lean_is_exclusive(x_8); +if (x_10 == 0) { -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_setPostponed___rarg___lambda__1___boxed), 5, 1); -lean_closure_set(x_3, 0, x_2); -x_4 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_4, 0, x_3); -x_5 = lean_apply_2(x_1, lean_box(0), x_4); -return x_5; -} -} -lean_object* l_Lean_Meta_setPostponed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_setPostponed___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Meta_setPostponed___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_Meta_setPostponed___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Lean_Meta_modifyPostponed___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_st_ref_take(x_2, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_ctor_get(x_7, 3); -x_11 = lean_apply_1(x_1, x_10); -lean_ctor_set(x_7, 3, x_11); -x_12 = lean_st_ref_set(x_2, x_7, x_8); +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_8, 3); +lean_dec(x_11); +lean_ctor_set(x_8, 3, x_1); +x_12 = lean_st_ref_set(x_3, x_8, x_9); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -3590,55 +3458,162 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_19 = lean_ctor_get(x_7, 0); -x_20 = lean_ctor_get(x_7, 1); -x_21 = lean_ctor_get(x_7, 2); -x_22 = lean_ctor_get(x_7, 3); -lean_inc(x_22); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_19 = lean_ctor_get(x_8, 0); +x_20 = lean_ctor_get(x_8, 1); +x_21 = lean_ctor_get(x_8, 2); lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); -lean_dec(x_7); -x_23 = lean_apply_1(x_1, x_22); -x_24 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_24, 0, x_19); -lean_ctor_set(x_24, 1, x_20); -lean_ctor_set(x_24, 2, x_21); -lean_ctor_set(x_24, 3, x_23); -x_25 = lean_st_ref_set(x_2, x_24, x_8); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); +lean_dec(x_8); +x_22 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_20); +lean_ctor_set(x_22, 2, x_21); +lean_ctor_set(x_22, 3, x_1); +x_23 = lean_st_ref_set(x_3, x_22, x_9); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_25 = x_23; +} else { + lean_dec_ref(x_23); + x_25 = lean_box(0); +} +x_26 = lean_box(0); +if (lean_is_scalar(x_25)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { x_27 = x_25; -} else { - lean_dec_ref(x_25); - x_27 = lean_box(0); } -x_28 = lean_box(0); -if (lean_is_scalar(x_27)) { - x_29 = lean_alloc_ctor(0, 2, 0); -} else { - x_29 = x_27; +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_24); +return x_27; } -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; +} +} +lean_object* l_Lean_Meta_setPostponed___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_setPostponed___rarg___lambda__1___boxed), 6, 1); +lean_closure_set(x_3, 0, x_2); +x_4 = lean_apply_2(x_1, lean_box(0), x_3); +return x_4; +} +} +lean_object* l_Lean_Meta_setPostponed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_setPostponed___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_setPostponed___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_setPostponed___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Meta_modifyPostponed___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_take(x_3, x_6); +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); +x_10 = !lean_is_exclusive(x_8); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_8, 3); +x_12 = lean_apply_1(x_1, x_11); +lean_ctor_set(x_8, 3, x_12); +x_13 = lean_st_ref_set(x_3, x_8, x_9); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_15); +x_16 = lean_box(0); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_20 = lean_ctor_get(x_8, 0); +x_21 = lean_ctor_get(x_8, 1); +x_22 = lean_ctor_get(x_8, 2); +x_23 = lean_ctor_get(x_8, 3); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_8); +x_24 = lean_apply_1(x_1, x_23); +x_25 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_25, 0, x_20); +lean_ctor_set(x_25, 1, x_21); +lean_ctor_set(x_25, 2, x_22); +lean_ctor_set(x_25, 3, x_24); +x_26 = lean_st_ref_set(x_3, x_25, x_9); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_28 = x_26; +} else { + lean_dec_ref(x_26); + x_28 = lean_box(0); +} +x_29 = lean_box(0); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; } } } lean_object* l_Lean_Meta_modifyPostponed___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_modifyPostponed___rarg___lambda__1___boxed), 5, 1); +lean_object* x_3; lean_object* x_4; +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_modifyPostponed___rarg___lambda__1___boxed), 6, 1); lean_closure_set(x_3, 0, x_2); -x_4 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_4, 0, x_3); -x_5 = lean_apply_2(x_1, lean_box(0), x_4); -return x_5; +x_4 = lean_apply_2(x_1, lean_box(0), x_3); +return x_4; } } lean_object* l_Lean_Meta_modifyPostponed(lean_object* x_1) { @@ -3649,15 +3624,16 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_modifyPostponed___rarg), 2, 0); return x_2; } } -lean_object* l_Lean_Meta_modifyPostponed___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Meta_modifyPostponed___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_6; -x_6 = l_Lean_Meta_modifyPostponed___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_object* x_7; +x_7 = l_Lean_Meta_modifyPostponed___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_6; +return x_7; } } lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1022____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -6024,7 +6000,7 @@ _start: lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_alloc_closure((void*)(l_Lean_Meta_getMVarDecl___rarg___lambda__1___boxed), 7, 1); lean_closure_set(x_3, 0, x_2); -x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__4; +x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__3; x_5 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_5, 0, x_4); lean_closure_set(x_5, 1, x_3); @@ -6803,7 +6779,7 @@ _start: lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_alloc_closure((void*)(l_Lean_Meta_isReadOnlyLevelMVar___rarg___lambda__1___boxed), 7, 1); lean_closure_set(x_3, 0, x_2); -x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__4; +x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__3; x_5 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_5, 0, x_4); lean_closure_set(x_5, 1, x_3); @@ -6962,7 +6938,7 @@ _start: lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_alloc_closure((void*)(l_Lean_Meta_isExprMVarAssigned___rarg___lambda__1___boxed), 7, 1); lean_closure_set(x_3, 0, x_2); -x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__4; +x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__3; x_5 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_5, 0, x_4); lean_closure_set(x_5, 1, x_3); @@ -7007,7 +6983,7 @@ _start: lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_alloc_closure((void*)(l_Lean_Meta_getExprMVarAssignment_x3f___rarg___lambda__1___boxed), 7, 1); lean_closure_set(x_3, 0, x_2); -x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__4; +x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__3; x_5 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_5, 0, x_4); lean_closure_set(x_5, 1, x_3); @@ -7166,7 +7142,7 @@ _start: lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___rarg___lambda__1___boxed), 7, 1); lean_closure_set(x_3, 0, x_2); -x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__4; +x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__3; x_5 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_5, 0, x_4); lean_closure_set(x_5, 1, x_3); @@ -7211,7 +7187,7 @@ _start: lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_alloc_closure((void*)(l_Lean_Meta_getDelayedAssignment_x3f___rarg___lambda__1___boxed), 7, 1); lean_closure_set(x_3, 0, x_2); -x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__4; +x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__3; x_5 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_5, 0, x_4); lean_closure_set(x_5, 1, x_3); @@ -7257,7 +7233,7 @@ _start: lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_alloc_closure((void*)(l_Lean_Meta_hasAssignableMVar___rarg___lambda__1___boxed), 7, 1); lean_closure_set(x_3, 0, x_2); -x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__4; +x_4 = l_Lean_Meta_instMonadMCtxMetaM___closed__3; x_5 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_5, 0, x_4); lean_closure_set(x_5, 1, x_3); @@ -25332,7 +25308,41 @@ return x_27; } } } -lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_st_ref_get(x_4, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +lean_ctor_set(x_6, 0, x_9); +return x_6; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_6); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +} +} +lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -25366,21 +25376,9 @@ return x_17; static lean_object* _init_l_Lean_Meta_setInlineAttribute___rarg___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Core_instMonadEnvCoreM___closed__4; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_setInlineAttribute___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_setInlineAttribute___rarg___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_setInlineAttribute___rarg___lambda__1___boxed), 5, 0); +return x_1; } } lean_object* l_Lean_Meta_setInlineAttribute___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3) { @@ -25388,10 +25386,10 @@ _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_box(x_3); -x_5 = lean_alloc_closure((void*)(l_Lean_Meta_setInlineAttribute___rarg___lambda__1___boxed), 8, 2); +x_5 = lean_alloc_closure((void*)(l_Lean_Meta_setInlineAttribute___rarg___lambda__2___boxed), 8, 2); lean_closure_set(x_5, 0, x_2); lean_closure_set(x_5, 1, x_4); -x_6 = l_Lean_Meta_setInlineAttribute___rarg___closed__2; +x_6 = l_Lean_Meta_setInlineAttribute___rarg___closed__1; x_7 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_7, 0, x_6); lean_closure_set(x_7, 1, x_5); @@ -25419,13 +25417,25 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Meta_setInlineAttribute___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Meta_setInlineAttribute___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_2); lean_dec(x_2); -x_10 = l_Lean_Meta_setInlineAttribute___rarg___lambda__1(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Meta_setInlineAttribute___rarg___lambda__2(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -25858,7 +25868,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_alloc_closure((void*)(l_Lean_Meta_dependsOn___rarg___lambda__1___boxed), 8, 2); lean_closure_set(x_4, 0, x_2); lean_closure_set(x_4, 1, x_3); -x_5 = l_Lean_Meta_instMonadMCtxMetaM___closed__4; +x_5 = l_Lean_Meta_instMonadMCtxMetaM___closed__3; x_6 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_6, 0, x_5); lean_closure_set(x_6, 1, x_4); @@ -26864,14 +26874,24 @@ return x_3; static lean_object* _init_l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_ReaderT_instMonadLiftReaderT), 3, 2); +lean_closure_set(x_1, 0, lean_box(0)); +lean_closure_set(x_1, 1, lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__1; -x_2 = l_ReaderT_instMonadLiftReaderT___closed__1; +x_2 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; x_3 = l_Lean_instMonadEnv___rarg(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3() { +static lean_object* _init_l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4() { _start: { lean_object* x_1; @@ -26918,7 +26938,7 @@ lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); -x_40 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; +x_40 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; lean_inc(x_10); x_41 = l_Lean_setEnv___rarg(x_40, x_10); lean_inc(x_5); @@ -26932,7 +26952,7 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); lean_dec(x_42); -x_44 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_44 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; lean_inc(x_14); x_45 = l_Lean_Meta_setMCtx___rarg(x_44, x_14); lean_inc(x_5); @@ -27073,7 +27093,7 @@ goto block_36; block_36: { lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; +x_17 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; x_18 = l_Lean_setEnv___rarg(x_17, x_10); lean_inc(x_5); lean_inc(x_4); @@ -27086,7 +27106,7 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); lean_dec(x_19); -x_21 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_21 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; x_22 = l_Lean_Meta_setMCtx___rarg(x_21, x_14); x_23 = lean_apply_5(x_22, x_2, x_3, x_4, x_5, x_20); if (lean_obj_tag(x_23) == 0) @@ -27328,8 +27348,6 @@ l_Lean_Meta_instMonadMCtxMetaM___closed__4 = _init_l_Lean_Meta_instMonadMCtxMeta lean_mark_persistent(l_Lean_Meta_instMonadMCtxMetaM___closed__4); l_Lean_Meta_instMonadMCtxMetaM___closed__5 = _init_l_Lean_Meta_instMonadMCtxMetaM___closed__5(); lean_mark_persistent(l_Lean_Meta_instMonadMCtxMetaM___closed__5); -l_Lean_Meta_instMonadMCtxMetaM___closed__6 = _init_l_Lean_Meta_instMonadMCtxMetaM___closed__6(); -lean_mark_persistent(l_Lean_Meta_instMonadMCtxMetaM___closed__6); l_Lean_Meta_instMonadMCtxMetaM = _init_l_Lean_Meta_instMonadMCtxMetaM(); lean_mark_persistent(l_Lean_Meta_instMonadMCtxMetaM); l_Lean_Meta_instAddMessageContextMetaM___closed__1 = _init_l_Lean_Meta_instAddMessageContextMetaM___closed__1(); @@ -27363,8 +27381,6 @@ l_Lean_Meta_getConfig___rarg___closed__2 = _init_l_Lean_Meta_getConfig___rarg___ lean_mark_persistent(l_Lean_Meta_getConfig___rarg___closed__2); l_Lean_Meta_resetZetaFVarIds___rarg___closed__1 = _init_l_Lean_Meta_resetZetaFVarIds___rarg___closed__1(); lean_mark_persistent(l_Lean_Meta_resetZetaFVarIds___rarg___closed__1); -l_Lean_Meta_resetZetaFVarIds___rarg___closed__2 = _init_l_Lean_Meta_resetZetaFVarIds___rarg___closed__2(); -lean_mark_persistent(l_Lean_Meta_resetZetaFVarIds___rarg___closed__2); l_Lean_Meta_getZetaFVarIds___rarg___closed__1 = _init_l_Lean_Meta_getZetaFVarIds___rarg___closed__1(); lean_mark_persistent(l_Lean_Meta_getZetaFVarIds___rarg___closed__1); l_Lean_Meta_getZetaFVarIds___rarg___closed__2 = _init_l_Lean_Meta_getZetaFVarIds___rarg___closed__2(); @@ -27483,8 +27499,6 @@ l_Lean_Meta_normalizeLevel___rarg___closed__1 = _init_l_Lean_Meta_normalizeLevel lean_mark_persistent(l_Lean_Meta_normalizeLevel___rarg___closed__1); l_Lean_Meta_setInlineAttribute___rarg___closed__1 = _init_l_Lean_Meta_setInlineAttribute___rarg___closed__1(); lean_mark_persistent(l_Lean_Meta_setInlineAttribute___rarg___closed__1); -l_Lean_Meta_setInlineAttribute___rarg___closed__2 = _init_l_Lean_Meta_setInlineAttribute___rarg___closed__2(); -lean_mark_persistent(l_Lean_Meta_setInlineAttribute___rarg___closed__2); l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__1 = _init_l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__1); l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__2 = _init_l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__2(); @@ -27505,6 +27519,8 @@ l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2 = _init_l_Lean_Meta_commitWhen lean_mark_persistent(l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2); l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3 = _init_l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3(); lean_mark_persistent(l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3); +l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4 = _init_l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4(); +lean_mark_persistent(l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Closure.c b/stage0/stdlib/Lean/Meta/Closure.c index 2455f03cae..d96d05c421 100644 --- a/stage0/stdlib/Lean/Meta/Closure.c +++ b/stage0/stdlib/Lean/Meta/Closure.c @@ -19,13 +19,14 @@ lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_o lean_object* l_Lean_addDecl___at___private_Lean_Meta_Closure_0__Lean_Meta_mkAuxDefinitionImp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_stringToMessageData(lean_object*); +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(lean_object*, lean_object*); lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkBinding___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_Closure_visitLevel___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_resetZetaFVarIds___at_Lean_Meta_Closure_mkValueTypeClosureAux___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_pushFVarArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); extern lean_object* l_Lean_Level_LevelToFormat_toResult___closed__3; lean_object* lean_expr_update_mdata(lean_object*, lean_object*); @@ -33,7 +34,7 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_getMVarDecl___rarg___lambda__1___closed__2; -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_process___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMVar(lean_object*); @@ -49,7 +50,6 @@ lean_object* l_Lean_LocalContext_get_x21(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateApp_x21___closed__2; size_t l_Lean_Level_hash(lean_object*); lean_object* l_Lean_Meta_Closure_collectExprAux_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_visitLevel_match__1(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -73,14 +73,12 @@ lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__ uint32_t l_UInt32_add(uint32_t, uint32_t); uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_hasUnsafe(lean_object*, lean_object*); lean_object* lean_expr_lower_loose_bvars(lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMap___at_Lean_Meta_Closure_State_visitedExpr___default___spec__1(lean_object*); -lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_visitExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg___closed__2; -extern lean_object* l_Lean_Core_instMonadTraceCoreM___closed__2; lean_object* l_Lean_Meta_Closure_pushFVarArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_visitLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_collectLevelAux_match__1(lean_object*); @@ -122,6 +120,7 @@ lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__ lean_object* l_Lean_Meta_Closure_State_visitedLevel___default; lean_object* l_Array_back___at_Lean_Meta_Closure_pickNextToProcess_x3f___spec__1(lean_object*); lean_object* l_Lean_Meta_Closure_collectExprAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Level_updateSucc_x21___closed__3; extern lean_object* l_Lean_Level_instInhabitedLevel; lean_object* l_Lean_Meta_Closure_process___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -201,7 +200,7 @@ lean_object* l_Lean_Meta_getZetaFVarIds___at_Lean_Meta_Closure_process___spec__1 lean_object* l_Lean_Meta_Closure_State_visitedExpr___default; lean_object* l_Lean_Meta_Closure_State_visitedLevel___default___closed__1; uint8_t lean_expr_equal(lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_sort(lean_object*, lean_object*); lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_Closure_visitExpr___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_collectLevelAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -250,7 +249,7 @@ lean_object* l_Std_AssocList_replace___at_Lean_Meta_Closure_visitExpr___spec__8( lean_object* lean_expr_abstract(lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_pickNextToProcessAux(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_HashMap_instInhabitedHashMap___closed__1; -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f___boxed(lean_object*); lean_object* l___private_Lean_Meta_Closure_0__Lean_Meta_mkAuxDefinitionImp(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1022____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -258,7 +257,7 @@ lean_object* l_Lean_Meta_Closure_instInhabitedToProcessElement; uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); lean_object* l_Lean_Meta_getZetaFVarIds___at_Lean_Meta_Closure_process___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateLet_x21___closed__2; -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkForall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAuxDefinition___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t); lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*); @@ -280,7 +279,6 @@ extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hy lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__2___rarg(lean_object*, lean_object*); lean_object* l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_resetZetaFVarIds___at_Lean_Meta_Closure_mkValueTypeClosureAux___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___closed__4; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_mkBinding___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateForallE_x21___closed__2; @@ -12128,7 +12126,41 @@ x_13 = l___private_Lean_Meta_Closure_0__Lean_Meta_mkAuxDefinitionImp(x_1, x_2, x return x_13; } } -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_st_ref_get(x_4, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_8, 3); +lean_inc(x_9); +lean_dec(x_8); +lean_ctor_set(x_6, 0, x_9); +return x_6; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_6); +x_12 = lean_ctor_get(x_10, 3); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +} +} +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___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: { uint8_t x_8; @@ -12152,7 +12184,7 @@ return x_12; } } } -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { if (x_5 == 0) @@ -12203,7 +12235,7 @@ return x_25; } } } -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -12215,8 +12247,8 @@ static lean_object* _init_l_Lean_Meta_mkAuxDefinition___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Core_instMonadTraceCoreM___closed__2; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_510____closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_mkAuxDefinition___rarg___lambda__2___boxed), 7, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -12224,29 +12256,17 @@ return x_2; static lean_object* _init_l_Lean_Meta_mkAuxDefinition___rarg___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_mkAuxDefinition___rarg___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_mkAuxDefinition___rarg___lambda__1___boxed), 5, 0); +return x_1; } } static lean_object* _init_l_Lean_Meta_mkAuxDefinition___rarg___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_510____closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_mkAuxDefinition___rarg___lambda__1___boxed), 7, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_mkAuxDefinition___rarg___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_mkAuxDefinition___rarg___closed__2; -x_2 = l_Lean_Meta_mkAuxDefinition___rarg___closed__3; +x_2 = l_Lean_Meta_mkAuxDefinition___rarg___closed__1; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -12261,18 +12281,18 @@ x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_510____closed__4; lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_8 = lean_alloc_closure((void*)(l_Lean_Meta_mkAuxDefinition___rarg___lambda__2___boxed), 10, 4); +x_8 = lean_alloc_closure((void*)(l_Lean_Meta_mkAuxDefinition___rarg___lambda__3___boxed), 10, 4); lean_closure_set(x_8, 0, x_2); lean_closure_set(x_8, 1, x_3); lean_closure_set(x_8, 2, x_4); lean_closure_set(x_8, 3, x_7); -x_9 = l_Lean_Meta_mkAuxDefinition___rarg___closed__4; +x_9 = l_Lean_Meta_mkAuxDefinition___rarg___closed__3; x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_10, 0, x_9); lean_closure_set(x_10, 1, x_8); x_11 = lean_box(x_5); x_12 = lean_box(x_6); -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_mkAuxDefinition___rarg___lambda__3___boxed), 11, 5); +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_mkAuxDefinition___rarg___lambda__4___boxed), 11, 5); lean_closure_set(x_13, 0, x_2); lean_closure_set(x_13, 1, x_3); lean_closure_set(x_13, 2, x_4); @@ -12293,11 +12313,23 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_mkAuxDefinition___rarg___boxed), 6, return x_2; } } -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Meta_mkAuxDefinition___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___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_Lean_Meta_mkAuxDefinition___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_mkAuxDefinition___rarg___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); @@ -12306,13 +12338,13 @@ lean_dec(x_2); return x_8; } } -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_5); lean_dec(x_5); -x_12 = l_Lean_Meta_mkAuxDefinition___rarg___lambda__2(x_1, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9, x_10); +x_12 = l_Lean_Meta_mkAuxDefinition___rarg___lambda__3(x_1, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12320,7 +12352,7 @@ lean_dec(x_6); return x_12; } } -lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Meta_mkAuxDefinition___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; uint8_t x_13; lean_object* x_14; @@ -12328,7 +12360,7 @@ x_12 = lean_unbox(x_4); lean_dec(x_4); x_13 = lean_unbox(x_5); lean_dec(x_5); -x_14 = l_Lean_Meta_mkAuxDefinition___rarg___lambda__3(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Lean_Meta_mkAuxDefinition___rarg___lambda__4(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); return x_14; } @@ -12568,8 +12600,6 @@ l_Lean_Meta_mkAuxDefinition___rarg___closed__2 = _init_l_Lean_Meta_mkAuxDefiniti lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___rarg___closed__2); l_Lean_Meta_mkAuxDefinition___rarg___closed__3 = _init_l_Lean_Meta_mkAuxDefinition___rarg___closed__3(); lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___rarg___closed__3); -l_Lean_Meta_mkAuxDefinition___rarg___closed__4 = _init_l_Lean_Meta_mkAuxDefinition___rarg___closed__4(); -lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___rarg___closed__4); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index 9f9d7c57d7..baa98cd7d8 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -51,6 +51,7 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldBothDefEq(lean_o lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_1373_(lean_object*); lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_1358_(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldBothDefEq_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* l_Lean_Meta_CheckAssignment_checkMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -140,7 +141,6 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldComparingHeadsDe lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__62(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_check___spec__60___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDelayedAssignedHead(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -183,7 +183,6 @@ lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_isPropImp(lean_object* lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_check___spec__10___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_etaEq___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__2; -extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__1; @@ -205,6 +204,7 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssignable_match__1( lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDelayedAssignedHead_match__1(lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_check___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_etaEq(lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; lean_object* l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArgAux_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDeltaCandidate_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -221,6 +221,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___sp uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_check___spec__35(lean_object*, lean_object*, size_t, size_t); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfold_match__1(lean_object*); uint8_t lean_metavar_ctx_is_expr_assigned(lean_object*, lean_object*); +lean_object* l_ReaderT_instMonadLiftReaderT___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CheckAssignment_check___spec__66___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_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_checkMVar___lambda__1___boxed(lean_object*, lean_object*); @@ -263,7 +264,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___sp lean_object* l_Lean_addTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -extern lean_object* l_ReaderT_instMonadLiftReaderT___closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__2; lean_object* l_Lean_Expr_constLevels_x21(lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -9492,7 +9492,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_CheckAssignment_checkFVar___closed__3; -x_2 = l_ReaderT_instMonadLiftReaderT___closed__1; +x_2 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; x_3 = l_Lean_instMonadTrace___rarg(x_1, x_2); return x_3; } @@ -9512,7 +9512,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_CheckAssignment_checkFVar___closed__5; -x_2 = l_ReaderT_instMonadLiftReaderT___closed__1; +x_2 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; x_3 = l_Lean_instMonadTrace___rarg(x_1, x_2); return x_3; } @@ -9534,7 +9534,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Meta_CheckAssignment_checkFVar___closed__7; x_2 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__11; -x_3 = l_ReaderT_instMonadLiftReaderT___closed__1; +x_3 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); return x_4; } @@ -9580,7 +9580,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; x_2 = l_Lean_Meta_CheckAssignment_checkFVar___closed__11; -x_3 = l_ReaderT_instMonadLiftReaderT___closed__1; +x_3 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); return x_4; } @@ -9602,7 +9602,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_CheckAssignment_checkFVar___closed__13; -x_2 = l_ReaderT_instMonadLiftReaderT___closed__1; +x_2 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_instAddMessageContext___rarg), 3, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -9624,7 +9624,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Meta_CheckAssignment_checkFVar___closed__15; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadLiftReaderT___rarg___boxed), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -9644,7 +9644,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Meta_CheckAssignment_checkFVar___closed__17; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadLiftReaderT___rarg___boxed), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -55367,7 +55367,7 @@ lean_dec(x_3); x_20 = lean_ctor_get(x_15, 1); lean_inc(x_20); lean_dec(x_15); -x_21 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_21 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; x_22 = l_Lean_Meta_instantiateMVars___rarg(x_21, x_1); lean_inc(x_7); lean_inc(x_6); diff --git a/stage0/stdlib/Lean/Meta/LevelDefEq.c b/stage0/stdlib/Lean/Meta/LevelDefEq.c index bda093edfe..f0d434b098 100644 --- a/stage0/stdlib/Lean/Meta/LevelDefEq.c +++ b/stage0/stdlib/Lean/Meta/LevelDefEq.c @@ -31,6 +31,7 @@ lean_object* l_Lean_Meta_decLevel_x3f___at_Lean_Meta_decLevel___spec__1___boxed( lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Meta_isExprDefEqGuarded___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; lean_object* l_Lean_Meta_isDefEqNoConstantApprox___rarg___closed__1; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -73,7 +74,6 @@ lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decLevelImp_match__1_ lean_object* l_Lean_Meta_isDefEqNoConstantApprox___rarg___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_strictOccursMax_match__1(lean_object*); lean_object* l_Lean_Level_mvarId_x21(lean_object*); -extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_decLevel___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -90,6 +90,7 @@ lean_object* l_Lean_Meta_getLevel___at___private_Lean_Meta_InferType_0__Lean_Met lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqNoConstantApprox___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVarsImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_strictOccursMax___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEq___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isLevelDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -118,7 +119,6 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_ReaderT_instMonadLiftReaderT___closed__1; lean_object* lean_metavar_ctx_get_level_assignment(lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_strictOccursMax_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -22904,7 +22904,7 @@ lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_9 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; x_10 = l_Lean_Meta_setPostponed___rarg(x_9, x_1); x_11 = lean_apply_5(x_10, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_11) == 0) @@ -23068,7 +23068,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__10; x_2 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__11; -x_3 = l_ReaderT_instMonadLiftReaderT___closed__1; +x_3 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); return x_4; } @@ -23144,7 +23144,7 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_17 = lean_ctor_get(x_14, 1); lean_inc(x_17); lean_dec(x_14); -x_18 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_18 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; x_19 = l_Lean_Meta_getPostponed___rarg(x_18); lean_inc(x_5); lean_inc(x_4); @@ -23420,7 +23420,7 @@ lean_inc(x_79); x_80 = lean_ctor_get(x_78, 1); lean_inc(x_80); lean_dec(x_78); -x_81 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_81 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; x_82 = l_Lean_Meta_setPostponed___rarg(x_81, x_8); x_83 = lean_apply_5(x_82, x_2, x_3, x_4, x_5, x_80); if (lean_obj_tag(x_83) == 0) @@ -23483,7 +23483,7 @@ lean_inc(x_92); x_93 = lean_ctor_get(x_14, 1); lean_inc(x_93); lean_dec(x_14); -x_94 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_94 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; x_95 = l_Lean_Meta_setPostponed___rarg(x_94, x_8); x_96 = lean_apply_5(x_95, x_2, x_3, x_4, x_5, x_93); if (lean_obj_tag(x_96) == 0) @@ -23544,7 +23544,7 @@ lean_inc(x_105); x_106 = lean_ctor_get(x_10, 1); lean_inc(x_106); lean_dec(x_10); -x_107 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_107 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; x_108 = l_Lean_Meta_setPostponed___rarg(x_107, x_8); x_109 = lean_apply_5(x_108, x_2, x_3, x_4, x_5, x_106); if (lean_obj_tag(x_109) == 0) diff --git a/stage0/stdlib/Lean/Meta/Match/CaseValues.c b/stage0/stdlib/Lean/Meta/Match/CaseValues.c index 01ab9b93da..36fed948a4 100644 --- a/stage0/stdlib/Lean/Meta/Match/CaseValues.c +++ b/stage0/stdlib/Lean/Meta/Match/CaseValues.c @@ -98,7 +98,6 @@ lean_object* l_Lean_Meta_caseValues_loop___closed__1; lean_object* l_Lean_Meta_caseValues_loop_match__3(lean_object*); lean_object* l_Lean_Meta_caseValueAux___lambda__3___closed__7; lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__2; -extern lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__4; lean_object* l_Lean_Meta_caseValue___closed__3; lean_object* l_Lean_Meta_caseValues_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_caseValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -119,6 +118,7 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Meta_caseValueAux_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_caseValueAux___lambda__3___closed__6; lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__3; lean_object* l_Lean_Meta_caseValues_loop_match__3___rarg(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_caseValues_loop___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -565,7 +565,7 @@ static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__3___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__4; +x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__3; x_2 = l_Lean_Meta_caseValueAux___lambda__3___closed__8; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index 93a64f516b..32c01a0b3f 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -58,7 +58,6 @@ lean_object* l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1___boxed uint8_t l_Std_AssocList_contains___at_Lean_Meta_FVarSubst_contains___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__6; extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -extern lean_object* l_Lean_Meta_setInlineAttribute___rarg___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkMinorType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); @@ -503,7 +502,6 @@ lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_RecursorInfo_0__Lean lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__1; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_assignGoalOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__4; lean_object* l_Lean_Meta_MatcherApp_addArg_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_admit(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_replaceFVarId(lean_object*, lean_object*, lean_object*); @@ -619,6 +617,7 @@ lean_object* l_Lean_Meta_Match_mkMatcher_match__1___rarg(lean_object*, lean_obje lean_object* l_Lean_indentD(lean_object*); lean_object* l_Lean_Meta_Match_State_used___default___closed__1; lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1022____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_setInlineAttribute___rarg___closed__1; lean_object* l_Lean_EnumAttributes_setValue___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_State_used___default; @@ -693,6 +692,7 @@ lean_object* l_Lean_Meta_Match_Unify_expandIfVar___boxed(lean_object*, lean_obje lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__7___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__2___boxed(lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__6; +extern lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_applyFVarSubst(lean_object*, lean_object*); @@ -8627,7 +8627,7 @@ x_10 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta lean_closure_set(x_10, 0, x_2); lean_closure_set(x_10, 1, x_3); lean_closure_set(x_10, 2, x_1); -x_11 = l_Lean_Meta_setInlineAttribute___rarg___closed__2; +x_11 = l_Lean_Meta_setInlineAttribute___rarg___closed__1; x_12 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_12, 0, x_11); lean_closure_set(x_12, 1, x_10); @@ -17709,7 +17709,7 @@ static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_t _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__4; +x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__3; x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceState___closed__1; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Meta/SynthInstance.c b/stage0/stdlib/Lean/Meta/SynthInstance.c index 3f06850758..8ea38c5d39 100644 --- a/stage0/stdlib/Lean/Meta/SynthInstance.c +++ b/stage0/stdlib/Lean/Meta/SynthInstance.c @@ -28,9 +28,10 @@ lean_object* l_Lean_Meta_SynthInstance_mkGeneratorNode_x3f(lean_object*, lean_ob uint8_t lean_is_out_param(lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_addAnswer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at_Lean_Meta_SynthInstance_mkTableKeyFor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_findEntry_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__2(lean_object*, lean_object*); @@ -85,7 +86,6 @@ extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Meta_SynthInstance_consume_match__1(lean_object*); lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_SynthInstance_isNewAnswer___spec__1(lean_object*, lean_object*, size_t, size_t); -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__2; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_List_mapM___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__9(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); @@ -98,7 +98,7 @@ extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_emap___default___closed__1; extern lean_object* l_Std_PersistentArray_empty___closed__1; lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normLevel_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addNode___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -106,14 +106,13 @@ lean_object* l_Lean_Meta_SynthInstance_getSubgoals_match__1___rarg(lean_object*, lean_object* l_Lean_Meta_SynthInstance_resume_match__1(lean_object*); lean_object* l_Lean_Meta_SynthInstance_mkTableKey___closed__1; lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_findEntry_x3f___spec__2(lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMap___at_Lean_Meta_SynthInstance_MkTableKey_State_lmap___default___spec__1(lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_findEntry_x3f___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__4; lean_object* l_Lean_Meta_SynthInstance_resume_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_instInhabitedSynthM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__3; @@ -123,29 +122,28 @@ lean_object* l_Lean_Meta_SynthInstance_getEntry___closed__3; lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__7; lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_instInhabitedSynthM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* l_Lean_Meta_SynthInstance_resume(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__1; lean_object* l_Lean_Meta_synthInstance_x3f___rarg(lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getAppArgs___closed__1; +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__4; size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_Meta_SynthInstance_findEntry_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__1; +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__2; lean_object* l_Lean_Meta_SynthInstance_wakeUp_match__2(lean_object*); lean_object* l_Lean_Meta_SynthInstance_wakeUp_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed(lean_object*, 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_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__1; @@ -160,7 +158,6 @@ lean_object* l_Lean_Meta_hasAssignableMVar___at___private_Lean_Meta_SynthInstanc lean_object* l_Lean_Meta_isExprDefEqImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedException___closed__1; lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVarsImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Core_instMonadOptionsCoreM___closed__2; lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_getMaxSteps___boxed(lean_object*); lean_object* l_Lean_Meta_SynthInstance_State_result___default; lean_object* l_Lean_Meta_SynthInstance_findEntry_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -172,6 +169,7 @@ lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAn lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp_match__3(lean_object*); lean_object* l_Lean_Meta_SynthInstance_resume_match__2(lean_object*); +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__2; lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_SynthInstance_isNewAnswer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_SynthInstance_tryResolveCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__4___boxed(lean_object*, lean_object*); @@ -184,14 +182,13 @@ lean_object* l_Lean_profileitM___at___private_Lean_Meta_SynthInstance_0__Lean_Me lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f_match__2(lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Core_instMonadTraceCoreM___closed__2; lean_object* l_Lean_Meta_SynthInstance_wakeUp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_5_(lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_tryResolveCore_match__1(lean_object*); uint8_t l_Lean_Meta_SynthInstance_Waiter_isRoot(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__2___closed__1; -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_isLevelDefEqAux___closed__6; lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); @@ -208,8 +205,8 @@ lean_object* l_Lean_Meta_SynthInstance_tryResolve(lean_object*, lean_object*, le lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_synth___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__2; lean_object* l_Lean_Meta_SynthInstance_getSubgoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__2; lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getConfig___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_synth_match__2(lean_object*); @@ -221,19 +218,19 @@ lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_SynthInstance_MkTableKe lean_object* l_Lean_Meta_SynthInstance_generate___closed__3; lean_object* l_Lean_Meta_withMCtx___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_tryAnswer_match__1(lean_object*); -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__3; lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed__const__1; lean_object* l_Lean_Meta_SynthInstance_mapMetaM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getInstances_match__2(lean_object*); lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode; extern lean_object* l_Lean_Meta_isDefEqStuckExceptionId; -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_generate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__1; lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp___closed__1; +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getInstances_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); @@ -243,7 +240,7 @@ lean_object* l_Lean_Meta_SynthInstance_getEntry___boxed(lean_object*, lean_objec lean_object* l_Std_PersistentHashMap_findAux___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_modifyTop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_510____closed__2; lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_SynthInstance_tryResolveCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -270,7 +267,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___ lean_object* l_Lean_Meta_SynthInstance_wakeUp_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Meta_SynthInstance_getNextToResume___spec__1___boxed(lean_object*); -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__3; lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam_match__1(lean_object*); lean_object* l_Lean_Meta_SynthInstance_instInhabitedConsumerNode; lean_object* l_Lean_Meta_SynthInstance_Waiter_isRoot_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -397,7 +393,7 @@ lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__2; uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l_Lean_Meta_isClass_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_withNewFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_resume_match__3___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_toArray___rarg(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3247____closed__6; lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_5____closed__3; @@ -405,6 +401,7 @@ lean_object* l_Lean_Meta_SynthInstance_Waiter_isRoot___boxed(lean_object*); extern lean_object* l_Lean_Meta_synthPendingRef; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__4; +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__3; lean_object* l_Lean_Meta_SynthInstance_generate_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_resume___lambda__1___closed__3; lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -459,7 +456,7 @@ lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor(lean_object*, lean_object*, lean_object* lean_array_pop(lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normLevel_match__2(lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; extern lean_object* l_Std_HashMap_instInhabitedHashMap___closed__1; lean_object* l_Lean_Meta_SynthInstance_tryResolveCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -485,7 +482,9 @@ lean_object* l_Lean_Meta_SynthInstance_consume_match__2___rarg(lean_object*, lea lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_5____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_synth___closed__2; lean_object* l_Lean_Meta_SynthInstance_consume(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__1; lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -511,7 +510,7 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normExpr(lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_SynthInstance_newSubgoal___spec__8(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_main___closed__2; -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_tryAnswer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_has_out_params(lean_object*, lean_object*); uint8_t l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__4(lean_object*, lean_object*); @@ -5159,7 +5158,41 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withMCtx___at_Lean_Meta_SynthInstan return x_2; } } -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___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_SynthInstance_newSubgoal___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_st_ref_get(x_4, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_8, 3); +lean_inc(x_9); +lean_dec(x_8); +lean_ctor_set(x_6, 0, x_9); +return x_6; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_6); +x_12 = lean_ctor_get(x_10, 3); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +} +} +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -5183,7 +5216,7 @@ return x_13; } } } -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (x_3 == 0) @@ -5207,7 +5240,7 @@ return x_13; } } } -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -5390,11 +5423,9 @@ return x_3; static lean_object* _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Core_instMonadTraceCoreM___closed__2; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__1___boxed), 5, 0); +return x_1; } } static lean_object* _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__4() { @@ -5402,7 +5433,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__3; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); +x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -5411,8 +5442,8 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__4; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__2___boxed), 8, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -5420,19 +5451,9 @@ return x_2; static lean_object* _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__1___boxed), 8, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__7() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__5; -x_2 = l_Lean_Meta_SynthInstance_newSubgoal___closed__6; +x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__4; +x_2 = l_Lean_Meta_SynthInstance_newSubgoal___closed__5; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_SynthInstance_newSubgoal___spec__2___rarg), 8, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -5445,14 +5466,14 @@ _start: lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_11 = l_Lean_Meta_SynthInstance_newSubgoal___closed__2; lean_inc(x_2); -x_12 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__2___boxed), 9, 2); +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___boxed), 9, 2); lean_closure_set(x_12, 0, x_2); lean_closure_set(x_12, 1, x_11); -x_13 = l_Lean_Meta_SynthInstance_newSubgoal___closed__7; +x_13 = l_Lean_Meta_SynthInstance_newSubgoal___closed__6; x_14 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_SynthInstance_newSubgoal___spec__2___rarg), 8, 2); lean_closure_set(x_14, 0, x_13); lean_closure_set(x_14, 1, x_12); -x_15 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___boxed), 10, 3); +x_15 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___boxed), 10, 3); lean_closure_set(x_15, 0, x_2); lean_closure_set(x_15, 1, x_3); lean_closure_set(x_15, 2, x_4); @@ -5500,11 +5521,23 @@ x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___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_SynthInstance_newSubgoal___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5514,13 +5547,13 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_3); lean_dec(x_3); -x_11 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__2(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -5529,11 +5562,11 @@ lean_dec(x_4); return x_11; } } -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_5); lean_dec(x_4); return x_11; @@ -9801,7 +9834,7 @@ static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_Synth _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__4; +x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__3; x_2 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__3; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -12448,7 +12481,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Meta_SynthInstance_resume___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__1___boxed), 8, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__2___boxed), 8, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -12457,7 +12490,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_resume___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__5; +x_1 = l_Lean_Meta_SynthInstance_newSubgoal___closed__4; x_2 = l_Lean_Meta_SynthInstance_resume___closed__6; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_SynthInstance_newSubgoal___spec__2___rarg), 8, 2); lean_closure_set(x_3, 0, x_1); @@ -17076,7 +17109,19 @@ x_2 = lean_alloc_closure((void*)(l_Lean_profileitM___at___private_Lean_Meta_Synt return x_2; } } -static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__1() { +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +return x_7; +} +} +static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -17084,16 +17129,16 @@ x_1 = lean_mk_string("FOUND result "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__1; +x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__3() { +static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -17101,16 +17146,16 @@ x_1 = lean_mk_string(" ==> "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__4() { +static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__3; +x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___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___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_73; lean_object* x_74; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; @@ -17379,7 +17424,7 @@ lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean lean_inc(x_19); x_47 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_47, 0, x_19); -x_48 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__2; +x_48 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__2; x_49 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); @@ -17442,7 +17487,7 @@ x_76 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__ x_77 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_77, 0, x_76); lean_ctor_set(x_77, 1, x_75); -x_78 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__4; +x_78 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__4; x_79 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_79, 0, x_77); lean_ctor_set(x_79, 1, x_78); @@ -17466,7 +17511,7 @@ goto block_72; } } } -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___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___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___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: { uint8_t x_8; @@ -17642,7 +17687,7 @@ return x_50; } } } -static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__1() { +static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -17650,16 +17695,16 @@ x_1 = lean_mk_string("result "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__2() { +static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__1; +x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___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___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -17743,7 +17788,7 @@ lean_inc(x_26); x_35 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam), 6, 1); lean_closure_set(x_35, 0, x_26); lean_inc(x_26); -x_36 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1), 8, 2); +x_36 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2), 8, 2); lean_closure_set(x_36, 0, x_8); lean_closure_set(x_36, 1, x_26); x_37 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); @@ -17769,7 +17814,7 @@ x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); lean_dec(x_38); x_41 = lean_box(0); -x_42 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_26, x_41, x_3, x_4, x_5, x_6, x_40); +x_42 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_26, x_41, x_3, x_4, x_5, x_6, x_40); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -17887,7 +17932,7 @@ x_58 = lean_ctor_get(x_55, 1); lean_inc(x_58); lean_dec(x_55); x_59 = lean_box(0); -x_60 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_26, x_59, x_3, x_4, x_5, x_6, x_58); +x_60 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_26, x_59, x_3, x_4, x_5, x_6, x_58); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -17936,7 +17981,7 @@ if (lean_is_scalar(x_49)) { x_69 = x_49; } lean_ctor_set(x_69, 0, x_67); -x_70 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_26, x_69, x_3, x_4, x_5, x_6, x_68); +x_70 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_26, x_69, x_3, x_4, x_5, x_6, x_68); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -18066,7 +18111,7 @@ lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean lean_inc(x_48); x_90 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_90, 0, x_48); -x_91 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__2; +x_91 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__2; x_92 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); @@ -18157,7 +18202,7 @@ lean_inc(x_26); x_120 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam), 6, 1); lean_closure_set(x_120, 0, x_26); lean_inc(x_26); -x_121 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1), 8, 2); +x_121 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2), 8, 2); lean_closure_set(x_121, 0, x_8); lean_closure_set(x_121, 1, x_26); x_122 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); @@ -18183,7 +18228,7 @@ x_125 = lean_ctor_get(x_123, 1); lean_inc(x_125); lean_dec(x_123); x_126 = lean_box(0); -x_127 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_26, x_126, x_3, x_4, x_5, x_6, x_125); +x_127 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_26, x_126, x_3, x_4, x_5, x_6, x_125); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -18303,7 +18348,7 @@ x_143 = lean_ctor_get(x_140, 1); lean_inc(x_143); lean_dec(x_140); x_144 = lean_box(0); -x_145 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_26, x_144, x_3, x_4, x_5, x_6, x_143); +x_145 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_26, x_144, x_3, x_4, x_5, x_6, x_143); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -18354,7 +18399,7 @@ if (lean_is_scalar(x_134)) { x_154 = x_134; } lean_ctor_set(x_154, 0, x_152); -x_155 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_26, x_154, x_3, x_4, x_5, x_6, x_153); +x_155 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_26, x_154, x_3, x_4, x_5, x_6, x_153); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -18492,7 +18537,7 @@ lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_inc(x_133); x_175 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_175, 0, x_133); -x_176 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__2; +x_176 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__2; x_177 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_177, 0, x_176); lean_ctor_set(x_177, 1, x_175); @@ -18705,7 +18750,7 @@ lean_inc(x_221); x_230 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam), 6, 1); lean_closure_set(x_230, 0, x_221); lean_inc(x_221); -x_231 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1), 8, 2); +x_231 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2), 8, 2); lean_closure_set(x_231, 0, x_8); lean_closure_set(x_231, 1, x_221); x_232 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); @@ -18731,7 +18776,7 @@ x_235 = lean_ctor_get(x_233, 1); lean_inc(x_235); lean_dec(x_233); x_236 = lean_box(0); -x_237 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_221, x_236, x_3, x_4, x_5, x_6, x_235); +x_237 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_221, x_236, x_3, x_4, x_5, x_6, x_235); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -18851,7 +18896,7 @@ x_253 = lean_ctor_get(x_250, 1); lean_inc(x_253); lean_dec(x_250); x_254 = lean_box(0); -x_255 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_221, x_254, x_3, x_4, x_5, x_6, x_253); +x_255 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_221, x_254, x_3, x_4, x_5, x_6, x_253); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -18902,7 +18947,7 @@ if (lean_is_scalar(x_244)) { x_264 = x_244; } lean_ctor_set(x_264, 0, x_262); -x_265 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_221, x_264, x_3, x_4, x_5, x_6, x_263); +x_265 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_221, x_264, x_3, x_4, x_5, x_6, x_263); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -19040,7 +19085,7 @@ lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_inc(x_243); x_285 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_285, 0, x_243); -x_286 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__2; +x_286 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__2; x_287 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_287, 0, x_286); lean_ctor_set(x_287, 1, x_285); @@ -19278,7 +19323,7 @@ lean_inc(x_335); x_344 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam), 6, 1); lean_closure_set(x_344, 0, x_335); lean_inc(x_335); -x_345 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1), 8, 2); +x_345 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2), 8, 2); lean_closure_set(x_345, 0, x_8); lean_closure_set(x_345, 1, x_335); x_346 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); @@ -19304,7 +19349,7 @@ x_349 = lean_ctor_get(x_347, 1); lean_inc(x_349); lean_dec(x_347); x_350 = lean_box(0); -x_351 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_335, x_350, x_329, x_4, x_5, x_6, x_349); +x_351 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_335, x_350, x_329, x_4, x_5, x_6, x_349); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -19424,7 +19469,7 @@ x_367 = lean_ctor_get(x_364, 1); lean_inc(x_367); lean_dec(x_364); x_368 = lean_box(0); -x_369 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_335, x_368, x_329, x_4, x_5, x_6, x_367); +x_369 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_335, x_368, x_329, x_4, x_5, x_6, x_367); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -19475,7 +19520,7 @@ if (lean_is_scalar(x_358)) { x_378 = x_358; } lean_ctor_set(x_378, 0, x_376); -x_379 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2(x_335, x_378, x_329, x_4, x_5, x_6, x_377); +x_379 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_335, x_378, x_329, x_4, x_5, x_6, x_377); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -19613,7 +19658,7 @@ lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_inc(x_357); x_399 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_399, 0, x_357); -x_400 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__2; +x_400 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__2; x_401 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_401, 0, x_400); lean_ctor_set(x_401, 1, x_399); @@ -19761,26 +19806,14 @@ return x_432; static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Core_instMonadOptionsCoreM___closed__2; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___boxed), 5, 0); +return x_1; } } static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__3() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("typeclass inference"); return x_1; @@ -19790,13 +19823,13 @@ lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_7 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___boxed), 7, 1); +x_7 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___boxed), 7, 1); lean_closure_set(x_7, 0, x_1); -x_8 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__2; +x_8 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__1; x_9 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); lean_closure_set(x_9, 0, x_8); lean_closure_set(x_9, 1, x_7); -x_10 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__3; +x_10 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__2; x_11 = l_Lean_importModules___closed__1; x_12 = l_Lean_profileitM___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___spec__9___rarg(x_10, x_11, x_9, x_2, x_3, x_4, x_5, x_6); return x_12; @@ -19880,16 +19913,16 @@ lean_dec(x_1); return x_9; } } -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___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___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_8; -x_8 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___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_object* x_6; +x_6 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +lean_dec(x_1); +return x_6; } } lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___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) { @@ -19897,6 +19930,18 @@ _start: { lean_object* x_8; x_8 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); return x_8; } @@ -21429,8 +21474,6 @@ l_Lean_Meta_SynthInstance_newSubgoal___closed__5 = _init_l_Lean_Meta_SynthInstan lean_mark_persistent(l_Lean_Meta_SynthInstance_newSubgoal___closed__5); l_Lean_Meta_SynthInstance_newSubgoal___closed__6 = _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__6(); lean_mark_persistent(l_Lean_Meta_SynthInstance_newSubgoal___closed__6); -l_Lean_Meta_SynthInstance_newSubgoal___closed__7 = _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__7(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_newSubgoal___closed__7); l_Lean_Meta_SynthInstance_getEntry___closed__1 = _init_l_Lean_Meta_SynthInstance_getEntry___closed__1(); lean_mark_persistent(l_Lean_Meta_SynthInstance_getEntry___closed__1); l_Lean_Meta_SynthInstance_getEntry___closed__2 = _init_l_Lean_Meta_SynthInstance_getEntry___closed__2(); @@ -21532,24 +21575,22 @@ lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_324 res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3247_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__1 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__1); -l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__2 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__2); -l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__3 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__3); -l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__4 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__4(); -lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__1___closed__4); -l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__1 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__1); -l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__2 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__3___closed__2); +l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__1 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__1); +l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__2 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__2); +l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__3 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__3); +l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__4 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__2___closed__4); +l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__1 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__1); +l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__2 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___lambda__4___closed__2); l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__1 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__1(); lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__1); l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__2 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__2(); lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__2); -l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__3 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp_x3f___closed__3); l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp___closed__1 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp___closed__1(); lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp___closed__1); l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp___closed__2 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthInstanceImp___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Intro.c b/stage0/stdlib/Lean/Meta/Tactic/Intro.c index 8b7099a80f..44606b0e33 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Intro.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Intro.c @@ -23,6 +23,7 @@ lean_object* l_Lean_Meta_intro1Core___boxed(lean_object*, lean_object*, lean_obj lean_object* lean_local_ctx_get_unused_name(lean_object*, lean_object*); lean_object* l_Lean_Meta_introN(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__1___closed__4; uint8_t l_Lean_Meta_hygienicIntroDefault; @@ -49,7 +50,6 @@ lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(l lean_object* l_Lean_Meta_whnf___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___at_Lean_Meta_introNCore___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Meta_introNCore___lambda__1(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_checkNotAssigned___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -58,6 +58,7 @@ lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___ra lean_object* l_Lean_Meta_intro_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__1; +extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_533_(lean_object*); lean_object* l_Lean_Meta_intro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -70,7 +71,6 @@ lean_object* l_Lean_Meta_introNP(lean_object*, lean_object*, lean_object*, lean_ lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -extern lean_object* l_ReaderT_instMonadLiftReaderT___closed__1; lean_object* l_Lean_Meta_introNCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_monadNameGeneratorLift___rarg(lean_object*, lean_object*); uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); @@ -378,7 +378,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_14 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; lean_inc(x_12); lean_inc(x_2); x_15 = l_Lean_Meta_mkLambdaFVars___rarg(x_14, x_2, x_12); @@ -516,7 +516,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__2; -x_2 = l_ReaderT_instMonadLiftReaderT___closed__1; +x_2 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__2; x_3 = l_Lean_monadNameGeneratorLift___rarg(x_1, x_2); return x_3; } @@ -821,7 +821,7 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean x_81 = lean_array_get_size(x_5); x_82 = lean_expr_instantiate_rev_range(x_8, x_6, x_81, x_5); lean_dec(x_8); -x_83 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_83 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; x_84 = l_Lean_Meta_whnf___rarg(x_83, x_82); lean_inc(x_5); lean_inc(x_4); diff --git a/stage0/stdlib/Lean/Meta/Transform.c b/stage0/stdlib/Lean/Meta/Transform.c index 8a1f58f213..b03f5bf8d6 100644 --- a/stage0/stdlib/Lean/Meta/Transform.c +++ b/stage0/stdlib/Lean/Meta/Transform.c @@ -17,12 +17,11 @@ lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_transform_visit___spec__ lean_object* l_Lean_Meta_transform_visit_visitLambda_match__1(lean_object*); lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_transform___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Meta_mkForallFVars___at_Lean_Meta_transform_visit_visitForall___spec__3(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); -lean_object* l_Lean_Meta_transform___rarg___closed__2; lean_object* l_Lean_Core_transform(lean_object*); lean_object* l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___at_Lean_Meta_transform_visit_visitForall___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -45,6 +44,7 @@ lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLambda___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitLambda___spec__7(lean_object*); lean_object* l_Lean_Core_transform___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -73,7 +73,6 @@ lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__4(lean_obj lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLet___spec__5(lean_object*); lean_object* l_Lean_Meta_mkForallFVars___at_Lean_Meta_transform_visit_visitForall___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLambda___spec__6(lean_object*); lean_object* l_Lean_Meta_transform_visit_visitForall_match__1(lean_object*); lean_object* l_Lean_Core_transform___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -111,6 +110,7 @@ lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2(lean_obj lean_object* l_Lean_Core_transform_visit_visitPost_match__1(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l_Lean_Core_transform_visit_visitPost_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___rarg___lambda__6(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_transform_visit_visitLambda___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -130,12 +130,13 @@ lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLambd lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLambda___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitPost_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Core_transform_visit___spec__2___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_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Core_transform___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_transform___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___rarg___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___at_Lean_Meta_transform_visit_visitForall___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLambda___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -170,7 +171,7 @@ lean_object* l_Lean_Meta_transform_visit_match__1___rarg(lean_object*, lean_obje lean_object* l_ReaderT_bind___at_Lean_Core_transform_visit___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLet___spec__10(lean_object*); lean_object* l_Lean_Meta_transform_visit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_transform___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLambda___spec__3(lean_object*); @@ -187,12 +188,14 @@ lean_object* l_Lean_Core_transform_visit_visitPost___rarg___lambda__1(lean_objec lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitPost_match__1(lean_object*); lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_transform_visit_match__2(lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLet___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_transform_visit_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLet___spec__8(lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLambda___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_transform_visit___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); @@ -267,6 +270,7 @@ lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_transform_visit_visitLet___s lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_transform_visit_visitLet___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_transform_visit___spec__4(lean_object*); +lean_object* l_Lean_Meta_transform___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -6110,39 +6114,106 @@ lean_dec(x_1); return x_15; } } -lean_object* l_Lean_Meta_transform___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Meta_transform___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_alloc_closure((void*)(l_Lean_Core_transform___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_4, 0, x_3); -x_5 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_5, 0, x_4); -x_6 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_6, 0, x_5); -x_7 = lean_apply_2(x_1, lean_box(0), x_6); +lean_object* x_7; uint8_t x_8; +x_7 = lean_apply_1(x_1, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ return x_7; } -} -lean_object* l_Lean_Meta_transform___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: +else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_6 = lean_alloc_closure((void*)(l_Lean_Core_transform___rarg___lambda__4___boxed), 4, 1); -lean_closure_set(x_6, 0, x_1); -x_7 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_7, 0, x_6); -x_8 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_8, 0, x_7); -x_9 = lean_apply_2(x_2, lean_box(0), x_8); -x_10 = lean_alloc_closure((void*)(l_StateRefT_x27_run___rarg___lambda__1), 3, 2); -lean_closure_set(x_10, 0, x_3); -lean_closure_set(x_10, 1, x_5); -x_11 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_9, x_10); +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_10); +lean_inc(x_9); +lean_dec(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); return x_11; } } -lean_object* l_Lean_Meta_transform___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +} +lean_object* l_Lean_Meta_transform___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__1___boxed), 6, 1); +lean_closure_set(x_4, 0, x_3); +x_5 = lean_apply_2(x_1, lean_box(0), x_4); +return x_5; +} +} +lean_object* l_Lean_Meta_transform___rarg___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) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_mk_ref(x_1, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +return x_7; +} +else +{ +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_10); +lean_inc(x_9); +lean_dec(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +} +} +lean_object* l_Lean_Meta_transform___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_get(x_1, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +return x_7; +} +else +{ +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_10); +lean_inc(x_9); +lean_dec(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +} +} +lean_object* l_Lean_Meta_transform___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__4___boxed), 6, 1); +lean_closure_set(x_6, 0, x_1); +x_7 = lean_apply_2(x_2, lean_box(0), x_6); +x_8 = lean_alloc_closure((void*)(l_StateRefT_x27_run___rarg___lambda__1), 3, 2); +lean_closure_set(x_8, 0, x_3); +lean_closure_set(x_8, 1, x_5); +x_9 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_7, x_8); +return x_9; +} +} +lean_object* l_Lean_Meta_transform___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -6151,7 +6222,7 @@ lean_inc(x_2); lean_inc(x_1); x_11 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10); lean_inc(x_9); -x_12 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__2), 5, 4); +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__5), 5, 4); lean_closure_set(x_12, 0, x_10); lean_closure_set(x_12, 1, x_2); lean_closure_set(x_12, 2, x_1); @@ -6164,18 +6235,8 @@ static lean_object* _init_l_Lean_Meta_transform___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Core_transform___rarg___closed__1; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_transform___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_transform___rarg___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); +x_1 = l_Std_HashMap_instInhabitedHashMap___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__3___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -6186,16 +6247,16 @@ _start: lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_7 = lean_box(0); lean_inc(x_2); -x_8 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__1), 3, 1); +x_8 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__2), 3, 1); lean_closure_set(x_8, 0, x_2); x_9 = lean_ctor_get(x_1, 1); lean_inc(x_9); -x_10 = l_Lean_Meta_transform___rarg___closed__2; +x_10 = l_Lean_Meta_transform___rarg___closed__1; lean_inc(x_2); x_11 = lean_apply_2(x_2, lean_box(0), x_10); lean_inc(x_9); lean_inc(x_1); -x_12 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__3), 10, 9); +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__6), 10, 9); lean_closure_set(x_12, 0, x_1); lean_closure_set(x_12, 1, x_2); lean_closure_set(x_12, 2, x_3); @@ -6221,6 +6282,43 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg), 6, 0); return x_2; } } +lean_object* l_Lean_Meta_transform___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_transform___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Meta_transform___rarg___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_transform___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Meta_transform___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_transform___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Meta_Basic(lean_object*); static bool _G_initialized = false; @@ -6242,8 +6340,6 @@ l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda_ lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__2___boxed__const__1); l_Lean_Meta_transform___rarg___closed__1 = _init_l_Lean_Meta_transform___rarg___closed__1(); lean_mark_persistent(l_Lean_Meta_transform___rarg___closed__1); -l_Lean_Meta_transform___rarg___closed__2 = _init_l_Lean_Meta_transform___rarg___closed__2(); -lean_mark_persistent(l_Lean_Meta_transform___rarg___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/WHNF.c b/stage0/stdlib/Lean/Meta/WHNF.c index c3a407d6e8..290bf9c96d 100644 --- a/stage0/stdlib/Lean/Meta/WHNF.c +++ b/stage0/stdlib/Lean/Meta/WHNF.c @@ -42,6 +42,7 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getStuckMVarImp_x3f_match__ lean_object* l_Lean_Meta_reduceMatcher_x3f_match__3(lean_object*); lean_object* l_Lean_Meta_reduceBinNatOp___closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); @@ -116,7 +117,6 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg___lambda__ lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNatNative___rarg(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__2(lean_object*); -extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*); @@ -5100,7 +5100,7 @@ case 1: lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); -x_13 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_13 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; lean_inc(x_12); x_14 = l_Lean_Meta_getLocalDecl___rarg(x_13, x_12); lean_inc(x_6); @@ -5417,7 +5417,7 @@ case 2: lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; x_88 = lean_ctor_get(x_1, 0); lean_inc(x_88); -x_89 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; +x_89 = l_Lean_Meta_commitWhenSome_x3f___rarg___closed__4; x_90 = l_Lean_Meta_getExprMVarAssignment_x3f___rarg(x_89, x_88); lean_inc(x_6); lean_inc(x_5); diff --git a/stage0/stdlib/Lean/MetavarContext.c b/stage0/stdlib/Lean/MetavarContext.c index 5aa553a2e7..0518f3aa4c 100644 --- a/stage0/stdlib/Lean/MetavarContext.c +++ b/stage0/stdlib/Lean/MetavarContext.c @@ -65,7 +65,6 @@ lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_exprDependsO lean_object* l_Array_anyMUnsafe_any___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_collectDeps___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_collectDeps___spec__12___boxed(lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); -extern lean_object* l_EStateM_instMonadStateOfEStateM___closed__2; lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_instantiateExprMVars___spec__21(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_MetavarContext_instantiateExprMVars___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateMVars(lean_object*, lean_object*); @@ -151,7 +150,7 @@ uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_exprDependsOn___spec lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_MetavarContext_exprDependsOn___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVarDepsAux_elimApp___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1___boxed(lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_MetavarContext_instantiateExprMVars___spec__39___rarg___lambda__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_instantiateExprMVars___spec__22___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); @@ -210,7 +209,6 @@ uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_exprDependsOn___spec__12 lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___closed__1; extern lean_object* l_instInhabitedNat; lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_instantiateExprMVars___spec__27___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_abstractRange(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Exception_toString___closed__2; lean_object* l_Lean_MetavarContext_getDelayedRoot_match__2(lean_object*); @@ -646,6 +644,7 @@ lean_object* l_Lean_mkLambda(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_instantiateExprMVars___spec__31___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVarDepsAux_elim___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); size_t l_USize_mul(size_t, size_t); +lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__3(lean_object*, uint8_t, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVarDepsAux_elimApp_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at_Lean_MetavarContext_instantiateExprMVars___spec__11(lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_collectDeps___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -756,7 +755,7 @@ lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_de lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_instantiateExprMVars___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_localDeclDependsOn___spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1(lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1(uint8_t, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_localDeclDependsOn___spec__35(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_instantiateExprMVars___spec__20___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVarDepsAux_elimApp___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -881,6 +880,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_instantiateExprMVar lean_object* l_Std_PersistentHashMap_findAux___at_Lean_MetavarContext_findLevelDepth_x3f___spec__2(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_MetavarContext_exprDependsOn___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_instantiateExprMVars___spec__19___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_localDeclDependsOn___spec__32(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_collectDeps___spec__57(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_MetavarContext_renameMVar___closed__1; @@ -32037,7 +32037,18 @@ x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_MetavarContext_MkBindi return x_3; } } -lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1(uint8_t x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_inc(x_2); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; @@ -32049,7 +32060,7 @@ lean_ctor_set(x_5, 1, x_3); return x_5; } } -lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__3(lean_object* x_1, uint8_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -32092,18 +32103,16 @@ return x_15; static lean_object* _init_l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_EStateM_instMonadStateOfEStateM___closed__2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1___boxed), 2, 0); +return x_1; } } static lean_object* _init_l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__2___boxed), 3, 0); return x_1; } } @@ -32123,7 +32132,7 @@ static lean_object* _init_l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheA _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__2___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__3___boxed), 3, 0); return x_1; } } @@ -32157,15 +32166,14 @@ x_6 = l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAda return x_6; } } -lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_4; lean_object* x_5; -x_4 = lean_unbox(x_2); -lean_dec(x_2); -x_5 = l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1(x_1, x_4, x_3); +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_1); lean_dec(x_1); -return x_5; +x_4 = l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__1(x_3, x_2); +return x_4; } } lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -32175,6 +32183,17 @@ uint8_t x_4; lean_object* x_5; x_4 = lean_unbox(x_2); lean_dec(x_2); x_5 = l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__2(x_1, x_4, x_3); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprExprM___lambda__3(x_1, x_4, x_3); return x_5; } } diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index 3575ed97f9..4b36de936c 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -58,7 +58,6 @@ lean_object* l_Lean_Parser_Command_structure_formatter(lean_object*, lean_object lean_object* l_Lean_Parser_Command_open___closed__3; lean_object* l_Lean_Parser_Command_printAxioms___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_structCtor___closed__8; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_quot_parenthesizer___closed__4; lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__5; @@ -161,6 +160,7 @@ lean_object* l_Lean_Parser_Command_example___closed__3; lean_object* l_Lean_Parser_Command_ctor___closed__6; lean_object* l_Lean_Parser_Command_theorem_formatter___closed__7; lean_object* l_Lean_Parser_Command_ctor___elambda__1___closed__9; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; lean_object* l_Lean_Parser_Command_structCtor___closed__9; lean_object* l_Lean_Parser_Command_structureTk___closed__4; lean_object* l_Lean_Parser_Command_structImplicitBinder___closed__1; @@ -478,7 +478,6 @@ lean_object* l_Lean_Parser_Command_initialize___closed__1; lean_object* l_Lean_Parser_Command_in___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_inferMod___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_def___elambda__1___closed__5; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; lean_object* l_Lean_Parser_Command_mutual___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_attribute_parenthesizer___closed__5; lean_object* l_Lean_Parser_Command_openHiding___closed__7; @@ -2253,6 +2252,7 @@ lean_object* l_Lean_Parser_Command_open___closed__10; lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_quot___closed__6; lean_object* l_Lean_Parser_Command_structCtor___elambda__1(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; lean_object* l_Lean_Parser_Command_partial; lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__11; @@ -11632,7 +11632,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_docComment_formatter___closed__3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -12101,7 +12101,7 @@ static lean_object* _init_l_Lean_Parser_Command_declModifiers_formatter___closed _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_2 = lean_alloc_closure((void*)(l_Lean_ppDedent_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -14410,7 +14410,7 @@ static lean_object* _init_l_Lean_Parser_Command_structFields_formatter___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_2 = l_Lean_Parser_Command_structFields_formatter___closed__9; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -14984,7 +14984,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_docComment_parenthesizer___closed__2; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -15391,7 +15391,7 @@ static lean_object* _init_l_Lean_Parser_Command_declModifiers_parenthesizer___cl _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_ppDedent_parenthesizer), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -17340,7 +17340,7 @@ static lean_object* _init_l_Lean_Parser_Command_structFields_parenthesizer___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_2 = l_Lean_Parser_Command_structFields_parenthesizer___closed__9; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Parser/Do.c b/stage0/stdlib/Lean/Parser/Do.c index 8ff2fc6439..6f4dc1ba62 100644 --- a/stage0/stdlib/Lean/Parser/Do.c +++ b/stage0/stdlib/Lean/Parser/Do.c @@ -34,7 +34,6 @@ lean_object* l_Lean_Parser_Term_doNested___elambda__1(lean_object*, lean_object* lean_object* l_Lean_Parser_Term_doSeqItem___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_doSeqIndent___elambda__1___closed__1; lean_object* l_Lean_Parser_doElemParser(lean_object*); -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; lean_object* l_Lean_Parser_Term_doUnless_formatter___closed__2; lean_object* l_Lean_Parser_Term_doSeqBracketed___closed__1; lean_object* l_Lean_Parser_Term_doLet___closed__6; @@ -86,6 +85,7 @@ lean_object* l_Lean_Parser_Term_doContinue___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doMatch_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_doCatch___closed__8; lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___closed__7; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; lean_object* l_Lean_Parser_Term_doUnless___closed__6; lean_object* l_Lean_Parser_Term_doIf_formatter___closed__20; lean_object* l_Lean_Parser_Term_liftMethod___elambda__1___closed__6; @@ -274,7 +274,6 @@ lean_object* l_Lean_Parser_Term_doLet___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_doHave___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_doElem_quot_formatter___closed__3; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; lean_object* l_Lean_Parser_Term_doCatchMatch___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_termUnless_formatter___closed__1; lean_object* l_Lean_Parser_Term_doTry_formatter___closed__8; @@ -356,6 +355,7 @@ lean_object* l_Lean_Parser_Term_doCatchMatch___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_doReturn___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_doIf___elambda__1___closed__22; lean_object* l_Lean_Parser_Term_doReassign_formatter___closed__4; +extern lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__9; lean_object* l_Lean_Parser_Term_doAssert___closed__2; lean_object* l_Lean_Parser_Term_termUnless_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_group_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -610,7 +610,6 @@ lean_object* l_Lean_Parser_Term_doMatchAlts___elambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_withForbidden_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_termReturn; lean_object* l_Lean_Parser_Term_doFor; -lean_object* l_Lean_Parser_Term_doSeqItem___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_doLetArrow; lean_object* l_Lean_Parser_Term_termUnless___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__2; @@ -958,6 +957,7 @@ lean_object* l_Lean_Parser_Term_doUnless___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_doSeqBracketed_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__23; lean_object* l_Lean_Parser_Term_doCatch_parenthesizer___closed__1; +extern lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_doSeqIndent___closed__6; lean_object* l_Lean_Parser_Term_doFor___closed__6; @@ -1157,7 +1157,6 @@ lean_object* l_Lean_Parser_Term_termTry_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doFor_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doSeqItem___closed__2; lean_object* l_Lean_Parser_Term_letIdDeclNoBinders_parenthesizer___closed__3; -lean_object* l_Lean_Parser_Term_doSeqItem___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__36; lean_object* l_Lean_Parser_Term_doDbgTrace___closed__5; lean_object* l_Lean_Parser_Term_doElem_quot___elambda__1___closed__11; @@ -1326,6 +1325,7 @@ lean_object* l_Lean_Parser_Term_termFor___elambda__1___closed__3; lean_object* l_Lean_Parser_doElemParser_formatter___boxed(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_doUnless_formatter___closed__1; lean_object* l_Lean_Parser_Term_doLetRec_formatter___closed__1; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; extern lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__1; extern lean_object* l_Lean_Parser_Term_matchAlts___closed__5; lean_object* l_Lean_Parser_Term_doIdDecl___elambda__1___closed__10; @@ -2167,43 +2167,25 @@ return x_5; static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("doSeqItem"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__2; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__4() { +static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__3; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__7; +x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__5() { +static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -2212,27 +2194,27 @@ x_2 = l_String_trim(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6() { +static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__5; +x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__3; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__7() { +static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6; +x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__8() { +static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2244,13 +2226,37 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6; +x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_instInhabitedParser___closed__2; +x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__8; -x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__7; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; +x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -2260,32 +2266,8 @@ static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__10 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_instInhabitedParser___closed__2; -x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__9; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__11; +x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__9; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -2296,10 +2278,10 @@ lean_object* l_Lean_Parser_Term_doSeqItem___elambda__1(lean_object* x_1, lean_ob _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; -x_3 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__4; +x_3 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__2; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__12; +x_5 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__10; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -2319,7 +2301,7 @@ static lean_object* _init_l_Lean_Parser_Term_doSeqItem___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__5; +x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__3; x_2 = l_Lean_Parser_symbolInfo(x_1); return x_2; } @@ -2359,7 +2341,7 @@ static lean_object* _init_l_Lean_Parser_Term_doSeqItem___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__2; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; x_2 = l_Lean_Parser_Term_doSeqItem___closed__5; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -2379,7 +2361,7 @@ static lean_object* _init_l_Lean_Parser_Term_doSeqItem___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__4; +x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_doSeqItem___closed__7; @@ -4528,7 +4510,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__7; -x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -4763,7 +4745,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__9; -x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -4784,7 +4766,7 @@ static lean_object* _init_l_Lean_Parser_Term_doPatDecl___elambda__1___closed__12 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6; x_2 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__11; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -8490,8 +8472,8 @@ static lean_object* _init_l_Lean_Parser_Term_doSeqItem_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__3; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__7; +x_2 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); @@ -8537,7 +8519,7 @@ static lean_object* _init_l_Lean_Parser_Term_doSeqItem_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_2 = l_Lean_Parser_Term_doSeqItem_formatter___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -8549,7 +8531,7 @@ static lean_object* _init_l_Lean_Parser_Term_doSeqItem_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__2; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_doSeqItem_formatter___closed__5; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -9101,7 +9083,7 @@ static lean_object* _init_l_Lean_Parser_Term_doSeqItem_parenthesizer___closed__1 _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__3; +x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__1; x_2 = 1; x_3 = lean_box(x_2); x_4 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___rarg___boxed), 7, 2); @@ -9126,7 +9108,7 @@ static lean_object* _init_l_Lean_Parser_Term_doSeqItem_parenthesizer___closed__3 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_2 = l_Lean_Parser_Term_doSeqItem_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -9138,7 +9120,7 @@ static lean_object* _init_l_Lean_Parser_Term_doSeqItem_parenthesizer___closed__4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__2; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_doSeqItem_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -15440,7 +15422,7 @@ static lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -15450,7 +15432,7 @@ static lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__7; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__9; x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -15473,7 +15455,7 @@ static lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10; x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -15524,7 +15506,7 @@ static lean_object* _init_l_Lean_Parser_Term_doExpr___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10; x_2 = l_Lean_Parser_Term_doExpr___closed__1; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -15585,7 +15567,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Do___hyg_4____closed__4; -x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; +x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10; x_4 = 1; x_5 = l_Lean_Parser_Term_doExpr; x_6 = lean_unsigned_to_nat(0u); @@ -15597,7 +15579,7 @@ static lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__7; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__9; x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -15624,7 +15606,7 @@ static lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_doExpr_formatter___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -15657,7 +15639,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; +x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10; x_4 = l___regBuiltin_Lean_Parser_Term_doExpr_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -15692,7 +15674,7 @@ static lean_object* _init_l_Lean_Parser_Term_doExpr_parenthesizer___closed__3() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -15725,7 +15707,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; +x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10; x_4 = l___regBuiltin_Lean_Parser_Term_doExpr_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -16311,7 +16293,7 @@ static lean_object* _init_l_Lean_Parser_Term_doElem_quot___elambda__1___closed__ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_toggleInsideQuotFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -17862,10 +17844,6 @@ l_Lean_Parser_Term_doSeqItem___elambda__1___closed__9 = _init_l_Lean_Parser_Term lean_mark_persistent(l_Lean_Parser_Term_doSeqItem___elambda__1___closed__9); l_Lean_Parser_Term_doSeqItem___elambda__1___closed__10 = _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__10(); lean_mark_persistent(l_Lean_Parser_Term_doSeqItem___elambda__1___closed__10); -l_Lean_Parser_Term_doSeqItem___elambda__1___closed__11 = _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__11(); -lean_mark_persistent(l_Lean_Parser_Term_doSeqItem___elambda__1___closed__11); -l_Lean_Parser_Term_doSeqItem___elambda__1___closed__12 = _init_l_Lean_Parser_Term_doSeqItem___elambda__1___closed__12(); -lean_mark_persistent(l_Lean_Parser_Term_doSeqItem___elambda__1___closed__12); l_Lean_Parser_Term_doSeqItem___closed__1 = _init_l_Lean_Parser_Term_doSeqItem___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_doSeqItem___closed__1); l_Lean_Parser_Term_doSeqItem___closed__2 = _init_l_Lean_Parser_Term_doSeqItem___closed__2(); diff --git a/stage0/stdlib/Lean/Parser/Extra.c b/stage0/stdlib/Lean/Parser/Extra.c index 04ed1df27f..fbe56c0c65 100644 --- a/stage0/stdlib/Lean/Parser/Extra.c +++ b/stage0/stdlib/Lean/Parser/Extra.c @@ -13,12 +13,11 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__15; lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_indent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Indent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__15; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__49; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__9; lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); @@ -26,21 +25,20 @@ lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); lean_object* l_Lean_Parser_ppHardSpace_parenthesizer___rarg(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__5; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__3; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__4; lean_object* l_Lean_Parser_ppSpace_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ppHardSpace_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__7; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; lean_object* l_Lean_PrettyPrinter_Formatter_nonReservedSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2398____closed__27; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__13; lean_object* l_Lean_Parser_notFollowedByFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__49; extern lean_object* l_Lean_identKind___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__47; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__26; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__48; lean_object* l_Lean_Parser_ppSpace_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_many_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__8; @@ -55,35 +53,35 @@ lean_object* l_Lean_PrettyPrinter_Formatter_atomic_formatter(lean_object*, lean_ extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13; lean_object* l_Lean_Parser_group_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__21; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__48; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__47; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__2; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__25; lean_object* l_Lean_ppSpace_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_group(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__28; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__28; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__14; lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__29; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__14; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3894____closed__4; lean_object* l_Lean_Parser_many1Indent___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__30; lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__30; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__5; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__29; extern lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__7; lean_object* l_Lean_PrettyPrinter_Formatter_pushLine(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__15; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; lean_object* l_Lean_Parser_strLit_formatter___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__14; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__5; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__18; lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__8; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__25; lean_object* l_Lean_Parser_ppIndent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_charLitKind___closed__1; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__25; @@ -103,6 +101,7 @@ lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed_ lean_object* l_Lean_Parser_group_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__7; lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeWithAntiquot_parenthesizer___boxed(lean_object*); @@ -119,64 +118,65 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____closed__13; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__31; extern lean_object* l_Lean_Parser_mkAntiquot___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__6; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__6; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_optional_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__23; extern lean_object* l_Lean_Parser_Tactic_letrec___closed__4; lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__34; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__46; +lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__35; +lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__36; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__34; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__23; lean_object* l_Lean_ppIndent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_termParser_formatter___boxed(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__46; lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__41; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__19; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__21; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____closed__10; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__35; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__13; lean_object* l_Lean_Parser_ppSpace_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); extern lean_object* l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; lean_object* l_Lean_Parser_ppHardSpace_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__31; extern lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__4; extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2398____closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_setExpected_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__35; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__23; lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLit_parenthesizer___closed__1; lean_object* l_Lean_Parser_charLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__13; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__41; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__13; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__31; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__22; lean_object* l_Lean_Parser_strLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkPrec_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__36; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__4; lean_object* l_Lean_Parser_nodeWithAntiquot_formatter(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_skip___closed__1; lean_object* l_Lean_Parser_manyIndent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit_formatter___closed__1; lean_object* l_Lean_Parser_notSymbol_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__17; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____closed__16; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__4; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__21; lean_object* l_Lean_Parser_ppHardSpace_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__44; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__38; extern lean_object* l_Lean_numLitKind___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__8; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__20; extern lean_object* l_Lean_strLitKind___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_toggleInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__38; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__21; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__44; lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__6; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__8; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__17; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__16; lean_object* l_Lean_Parser_manyIndent(lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -203,37 +203,35 @@ lean_object* l_Lean_Parser_many1Indent_formatter(lean_object*, lean_object*, lea lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__12; lean_object* l_Lean_Parser_nodeWithAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ppLine_parenthesizer___rarg(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__40; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__19; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__27; lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__10; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__45; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__9; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__7; extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2398____closed__22; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__45; lean_object* l_Lean_Parser_antiquotExpr_parenthesizer___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__24; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____closed__15; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__39; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___boxed(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__27; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__39; lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbol_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__40; lean_object* l_Lean_Parser_ppIndent___boxed(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__9; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__3; extern lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__6; lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__1; lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__11; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__19; lean_object* l_Lean_Parser_commandParser_formatter(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__5; lean_object* l_Lean_Parser_manyAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit_parenthesizer___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__43; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__6; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__29; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__10; lean_object* l_Lean_Parser_mkAntiquot_formatter(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; lean_object* l_Lean_ppHardSpace_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -241,8 +239,11 @@ extern lean_object* l_Lean_Parser_nameLit___elambda__1___closed__1; lean_object* l_Lean_Parser_notSymbol(lean_object*); extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__43; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145_; lean_object* l_Lean_Parser_termParser_formatter(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__32; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__10; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___boxed(lean_object*); lean_object* l_Lean_Parser_ppLine_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__32; @@ -254,6 +255,7 @@ lean_object* l_Lean_Parser_checkColGeFn(lean_object*, lean_object*, lean_object* lean_object* l_Lean_ppGroup_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_commandParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__11; extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2460____closed__3; lean_object* l_Lean_Parser_nameLit_parenthesizer___closed__1; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195_(lean_object*, lean_object*, lean_object*); @@ -263,25 +265,26 @@ lean_object* l_Lean_Parser_charLit_formatter___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__21; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____closed__12; extern lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__26; lean_object* l_Lean_Parser_ppDedent___boxed(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__11; lean_object* l_Lean_PrettyPrinter_Formatter_push(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585_(lean_object*); extern lean_object* l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__20; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__11; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Parser_ppGroup_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_commandParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__4; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__36; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__12; lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__7; extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2460____closed__32; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__26; extern lean_object* l_Lean_ppGoal_pushPending___closed__1; lean_object* l_Lean_Parser_charLit_parenthesizer___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__1; lean_object* l_Lean_Parser_charLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__16; lean_object* l_Lean_Parser_many1Indent___lambda__1___closed__1; @@ -294,7 +297,6 @@ lean_object* l_Lean_Parser_many1Indent(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoImmediateColon_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_pushNone_formatter___boxed(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__1; extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2460____closed__12; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__1; @@ -311,6 +313,7 @@ extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrin extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_checkNoImmediateColon_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__9; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__12; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__7; @@ -320,27 +323,27 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer(lean_obje lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2398____closed__12; lean_object* l_Lean_Parser_nameLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__12; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__42; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__42; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; lean_object* l_Lean_ppLine_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_sub(lean_object*, lean_object*); lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__33; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____closed__1; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__5; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__28; lean_object* l_Lean_ppLine_formatter___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__37; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__37; lean_object* l_Lean_Parser_ppGroup(lean_object*); lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____closed__4; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__4; extern lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__4; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__15; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__33; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__18; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__4; @@ -349,6 +352,7 @@ lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____clo lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__1; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__6; lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__12; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__20; lean_object* l_Lean_PrettyPrinter_Parenthesizer_many1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__16; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__2; @@ -356,8 +360,7 @@ lean_object* l_Lean_Parser_notSymbol_parenthesizer(lean_object*, lean_object*, l lean_object* l_Lean_Parser_antiquotExpr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_instInhabitedParser___closed__1; lean_object* l_Lean_Parser_numLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__32; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__20; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__33; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____closed__8; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__9; @@ -377,7 +380,6 @@ lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_145____clo lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__25; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__8; lean_object* l_Lean_Parser_nodeWithAntiquot_parenthesizer(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16; extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2; lean_object* l_Lean_Parser_ppDedent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeWithAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2768,7 +2770,7 @@ static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_1 _start: { lean_object* x_1; -x_1 = lean_mk_string("doExpr"); +x_1 = lean_mk_string("doSeqItem"); return x_1; } } @@ -2786,26 +2788,44 @@ static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_1 _start: { lean_object* x_1; -x_1 = lean_mk_string("Parser.registerAlias"); +x_1 = lean_mk_string("doExpr"); return x_1; } } static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__9; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__11() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("Parser.registerAlias"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__11; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__13() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__9; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__11; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10; +x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__12; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2813,7 +2833,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__12() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2823,7 +2843,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__13() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__15() { _start: { lean_object* x_1; @@ -2831,35 +2851,13 @@ x_1 = lean_mk_string("registerAlias"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__12; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__4; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__14; x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__15; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -2867,15 +2865,37 @@ static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_1 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__4; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__15; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__16; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__17; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__18; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__18() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__20() { _start: { lean_object* x_1; @@ -2883,22 +2903,22 @@ x_1 = lean_mk_string("PrettyPrinter.Formatter.registerAlias"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__19() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__18; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__20; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__20() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__18; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__20; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__19; +x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__21; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2906,7 +2926,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__21() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2916,35 +2936,13 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__21; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_mkFormatterAttribute___closed__8; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__23; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__23; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__15; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -2952,15 +2950,37 @@ static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_1 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_mkFormatterAttribute___closed__8; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__15; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__24; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__25; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__26; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__26() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__28() { _start: { lean_object* x_1; @@ -2968,22 +2988,22 @@ x_1 = lean_mk_string("PrettyPrinter.Parenthesizer.registerAlias"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__27() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__29() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__26; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__28; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__28() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__26; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__28; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__27; +x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__29; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2991,31 +3011,11 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4; -x_2 = l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__30() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__29; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_mkFormatterAttribute___closed__6; +x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4; x_2 = l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -3026,7 +3026,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__31; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__13; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__15; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3035,11 +3035,9 @@ static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_1 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__32; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_PrettyPrinter_mkFormatterAttribute___closed__6; +x_2 = l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3047,8 +3045,30 @@ static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_1 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__33; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__15; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__33; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__34; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__35; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -3095,7 +3115,7 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; x_14 = lean_unsigned_to_nat(1u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); x_16 = lean_unsigned_to_nat(2u); @@ -3106,13 +3126,13 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_2, 1); lean_inc(x_19); lean_dec(x_2); -x_20 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__14; +x_20 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__16; lean_inc(x_18); lean_inc(x_19); x_21 = l_Lean_addMacroScope(x_19, x_20, x_18); x_22 = l_Lean_instInhabitedSourceInfo___closed__1; -x_23 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__11; -x_24 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__17; +x_23 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__13; +x_24 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__19; x_25 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_23); @@ -3134,108 +3154,109 @@ x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); x_35 = lean_array_push(x_26, x_34); -x_36 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; +x_36 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__10; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_array_push(x_26, x_37); x_39 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_40 = lean_array_push(x_38, x_39); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_30); -lean_ctor_set(x_41, 1, x_40); -x_42 = lean_array_push(x_26, x_41); -x_43 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__22; +x_41 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__8; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = lean_array_push(x_26, x_42); +x_44 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__24; lean_inc(x_18); lean_inc(x_19); -x_44 = l_Lean_addMacroScope(x_19, x_43, x_18); -x_45 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__20; -x_46 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__25; -x_47 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_47, 0, x_22); -lean_ctor_set(x_47, 1, x_45); -lean_ctor_set(x_47, 2, x_44); -lean_ctor_set(x_47, 3, x_46); -x_48 = lean_array_push(x_26, x_47); -x_49 = l_Lean_Syntax_getId(x_17); -x_50 = l_Lean_PrettyPrinter_mkFormatterAttribute___closed__4; -x_51 = l_Lean_Name_append(x_49, x_50); -x_52 = l_Lean_mkIdentFrom(x_17, x_51); +x_45 = l_Lean_addMacroScope(x_19, x_44, x_18); +x_46 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__22; +x_47 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__27; +x_48 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_48, 0, x_22); +lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 2, x_45); +lean_ctor_set(x_48, 3, x_47); +x_49 = lean_array_push(x_26, x_48); +x_50 = l_Lean_Syntax_getId(x_17); +x_51 = l_Lean_PrettyPrinter_mkFormatterAttribute___closed__4; +x_52 = l_Lean_Name_append(x_50, x_51); +x_53 = l_Lean_mkIdentFrom(x_17, x_52); lean_inc(x_28); -x_53 = lean_array_push(x_28, x_52); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_30); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_array_push(x_48, x_54); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_33); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_array_push(x_26, x_56); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_36); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_array_push(x_26, x_58); -x_60 = lean_array_push(x_59, x_39); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_30); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_array_push(x_42, x_61); -x_63 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__30; -x_64 = l_Lean_addMacroScope(x_19, x_63, x_18); -x_65 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__28; -x_66 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__34; -x_67 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_67, 0, x_22); -lean_ctor_set(x_67, 1, x_65); -lean_ctor_set(x_67, 2, x_64); -lean_ctor_set(x_67, 3, x_66); -x_68 = lean_array_push(x_26, x_67); -x_69 = l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__4; -x_70 = l_Lean_Name_append(x_49, x_69); -lean_dec(x_49); -x_71 = l_Lean_mkIdentFrom(x_17, x_70); +x_54 = lean_array_push(x_28, x_53); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_30); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_array_push(x_49, x_55); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_33); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_array_push(x_26, x_57); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_36); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_array_push(x_26, x_59); +x_61 = lean_array_push(x_60, x_39); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_41); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_array_push(x_43, x_62); +x_64 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__32; +x_65 = l_Lean_addMacroScope(x_19, x_64, x_18); +x_66 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__30; +x_67 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__36; +x_68 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_68, 0, x_22); +lean_ctor_set(x_68, 1, x_66); +lean_ctor_set(x_68, 2, x_65); +lean_ctor_set(x_68, 3, x_67); +x_69 = lean_array_push(x_26, x_68); +x_70 = l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__4; +x_71 = l_Lean_Name_append(x_50, x_70); +lean_dec(x_50); +x_72 = l_Lean_mkIdentFrom(x_17, x_71); lean_dec(x_17); -x_72 = lean_array_push(x_28, x_71); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_30); -lean_ctor_set(x_73, 1, x_72); -x_74 = lean_array_push(x_68, x_73); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_33); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_array_push(x_26, x_75); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_36); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_array_push(x_26, x_77); -x_79 = lean_array_push(x_78, x_39); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_30); -lean_ctor_set(x_80, 1, x_79); -x_81 = lean_array_push(x_62, x_80); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_30); -lean_ctor_set(x_82, 1, x_81); -x_83 = lean_array_push(x_26, x_82); -x_84 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__6; -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__4; -x_87 = lean_array_push(x_86, x_85); -x_88 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__2; -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_87); -x_90 = lean_alloc_ctor(0, 2, 0); +x_73 = lean_array_push(x_28, x_72); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_30); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_array_push(x_69, x_74); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_33); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_array_push(x_26, x_76); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_36); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_array_push(x_26, x_78); +x_80 = lean_array_push(x_79, x_39); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_41); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_array_push(x_63, x_81); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_30); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_array_push(x_26, x_83); +x_85 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__6; +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +x_87 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__4; +x_88 = lean_array_push(x_87, x_86); +x_89 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__2; +x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_3); -return x_90; +lean_ctor_set(x_90, 1, x_88); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_3); +return x_91; } } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__1() { _start: { lean_object* x_1; @@ -3243,17 +3264,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_group), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__1; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__1; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__3() { _start: { lean_object* x_1; @@ -3261,17 +3282,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_group_formatter), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__3; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__3; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__5() { _start: { lean_object* x_1; @@ -3279,17 +3300,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_group_parenthesizer), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__5; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__5; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__7() { _start: { lean_object* x_1; @@ -3297,17 +3318,17 @@ x_1 = lean_mk_string("ppHardSpace"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__7; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -3317,7 +3338,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__10() { _start: { lean_object* x_1; @@ -3325,17 +3346,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppHardSpace_formatter___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__10; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__10; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__12() { _start: { lean_object* x_1; @@ -3343,17 +3364,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppHardSpace_parenthesizer___boxed return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__12; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__12; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__14() { _start: { lean_object* x_1; @@ -3361,17 +3382,17 @@ x_1 = lean_mk_string("ppSpace"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__14; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16() { _start: { lean_object* x_1; @@ -3379,17 +3400,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppSpace_formatter___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18() { _start: { lean_object* x_1; @@ -3397,17 +3418,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppSpace_parenthesizer___boxed), 4 return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__19() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__20() { _start: { lean_object* x_1; @@ -3415,17 +3436,17 @@ x_1 = lean_mk_string("ppLine"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__20; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22() { _start: { lean_object* x_1; @@ -3433,17 +3454,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppLine_formatter___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__23() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__23() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24() { _start: { lean_object* x_1; @@ -3451,17 +3472,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppLine_parenthesizer___boxed), 4, return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__25() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__25() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__26() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__26() { _start: { lean_object* x_1; @@ -3469,17 +3490,17 @@ x_1 = lean_mk_string("ppGroup"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__27() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__26; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__26; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__28() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__28() { _start: { lean_object* x_1; @@ -3487,17 +3508,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppGroup___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__29() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__29() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__28; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__28; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__30() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__30() { _start: { lean_object* x_1; @@ -3505,17 +3526,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppGroup_formatter), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__31() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__31() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__30; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__30; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__32() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__32() { _start: { lean_object* x_1; @@ -3523,17 +3544,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppGroup_parenthesizer), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__33() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__33() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__32; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__32; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__34() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__34() { _start: { lean_object* x_1; @@ -3541,17 +3562,17 @@ x_1 = lean_mk_string("ppIndent"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__35() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__34; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__34; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__36() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__36() { _start: { lean_object* x_1; @@ -3559,17 +3580,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppIndent___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__37() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__37() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__36; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__36; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__38() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__38() { _start: { lean_object* x_1; @@ -3577,17 +3598,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppIndent_formatter), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__39() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__39() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__38; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__38; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__40() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__40() { _start: { lean_object* x_1; @@ -3595,17 +3616,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppIndent_parenthesizer), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__41() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__41() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__40; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__40; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__42() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__42() { _start: { lean_object* x_1; @@ -3613,17 +3634,17 @@ x_1 = lean_mk_string("ppDedent"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__43() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__42; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__42; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__44() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__44() { _start: { lean_object* x_1; @@ -3631,17 +3652,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppDedent___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__45() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__45() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__44; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__44; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__46() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__46() { _start: { lean_object* x_1; @@ -3649,17 +3670,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppDedent_formatter), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__47() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__47() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__46; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__46; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__48() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__48() { _start: { lean_object* x_1; @@ -3667,23 +3688,23 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppDedent_parenthesizer), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__49() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__49() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__48; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__48; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Parser_parserAliasesRef; x_3 = l_Lean_Parser_Tactic_letrec___closed__4; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__2; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__2; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -3692,7 +3713,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); x_7 = l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; -x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__4; +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__4; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_3, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -3701,7 +3722,7 @@ x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__6; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__6; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_3, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -3709,8 +3730,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__8; -x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__9; +x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__8; +x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__9; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -3718,7 +3739,7 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__11; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__11; x_20 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_15, x_19, x_18); if (lean_obj_tag(x_20) == 0) { @@ -3726,7 +3747,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__13; +x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__13; x_23 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_15, x_22, x_21); if (lean_obj_tag(x_23) == 0) { @@ -3734,7 +3755,7 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__15; +x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__15; x_26 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_25, x_16, x_24); if (lean_obj_tag(x_26) == 0) { @@ -3742,7 +3763,7 @@ lean_object* x_27; lean_object* x_28; lean_object* x_29; x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); -x_28 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__17; +x_28 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__17; x_29 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_25, x_28, x_27); if (lean_obj_tag(x_29) == 0) { @@ -3750,7 +3771,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); lean_dec(x_29); -x_31 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__19; +x_31 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__19; x_32 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_25, x_31, x_30); if (lean_obj_tag(x_32) == 0) { @@ -3758,7 +3779,7 @@ lean_object* x_33; lean_object* x_34; lean_object* x_35; x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); -x_34 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__21; +x_34 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__21; x_35 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_34, x_16, x_33); if (lean_obj_tag(x_35) == 0) { @@ -3766,7 +3787,7 @@ lean_object* x_36; lean_object* x_37; lean_object* x_38; x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); lean_dec(x_35); -x_37 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__23; +x_37 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__23; x_38 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_34, x_37, x_36); if (lean_obj_tag(x_38) == 0) { @@ -3774,7 +3795,7 @@ lean_object* x_39; lean_object* x_40; lean_object* x_41; x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); lean_dec(x_38); -x_40 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__25; +x_40 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__25; x_41 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_34, x_40, x_39); if (lean_obj_tag(x_41) == 0) { @@ -3782,8 +3803,8 @@ lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; x_42 = lean_ctor_get(x_41, 1); lean_inc(x_42); lean_dec(x_41); -x_43 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__27; -x_44 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__29; +x_43 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__27; +x_44 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__29; x_45 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_43, x_44, x_42); if (lean_obj_tag(x_45) == 0) { @@ -3791,7 +3812,7 @@ lean_object* x_46; lean_object* x_47; lean_object* x_48; x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec(x_45); -x_47 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__31; +x_47 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__31; x_48 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_43, x_47, x_46); if (lean_obj_tag(x_48) == 0) { @@ -3799,7 +3820,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; x_49 = lean_ctor_get(x_48, 1); lean_inc(x_49); lean_dec(x_48); -x_50 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__33; +x_50 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__33; x_51 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_43, x_50, x_49); if (lean_obj_tag(x_51) == 0) { @@ -3807,8 +3828,8 @@ lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; x_52 = lean_ctor_get(x_51, 1); lean_inc(x_52); lean_dec(x_51); -x_53 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__35; -x_54 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__37; +x_53 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__35; +x_54 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__37; x_55 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_53, x_54, x_52); if (lean_obj_tag(x_55) == 0) { @@ -3816,7 +3837,7 @@ lean_object* x_56; lean_object* x_57; lean_object* x_58; x_56 = lean_ctor_get(x_55, 1); lean_inc(x_56); lean_dec(x_55); -x_57 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__39; +x_57 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__39; x_58 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_53, x_57, x_56); if (lean_obj_tag(x_58) == 0) { @@ -3824,7 +3845,7 @@ lean_object* x_59; lean_object* x_60; lean_object* x_61; x_59 = lean_ctor_get(x_58, 1); lean_inc(x_59); lean_dec(x_58); -x_60 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__41; +x_60 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__41; x_61 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_53, x_60, x_59); if (lean_obj_tag(x_61) == 0) { @@ -3832,8 +3853,8 @@ lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; x_62 = lean_ctor_get(x_61, 1); lean_inc(x_62); lean_dec(x_61); -x_63 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__43; -x_64 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__45; +x_63 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__43; +x_64 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__45; x_65 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_63, x_64, x_62); if (lean_obj_tag(x_65) == 0) { @@ -3841,7 +3862,7 @@ lean_object* x_66; lean_object* x_67; lean_object* x_68; x_66 = lean_ctor_get(x_65, 1); lean_inc(x_66); lean_dec(x_65); -x_67 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__47; +x_67 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__47; x_68 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_63, x_67, x_66); if (lean_obj_tag(x_68) == 0) { @@ -3849,7 +3870,7 @@ lean_object* x_69; lean_object* x_70; lean_object* x_71; x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); lean_dec(x_68); -x_70 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__49; +x_70 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__49; x_71 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_63, x_70, x_69); return x_71; } @@ -4571,105 +4592,109 @@ l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__33 = _init_l lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__33); l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__34 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__34(); lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__34); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__21); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__23(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__23); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__25(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__25); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__26(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__26); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__27(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__27); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__28(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__28); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__29(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__29); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__30(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__30); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__31(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__31); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__32(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__32); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__33(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__33); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__34(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__34); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__35(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__35); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__36(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__36); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__37 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__37(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__37); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__38 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__38(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__38); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__39 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__39(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__39); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__40 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__40(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__40); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__41 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__41(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__41); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__42 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__42(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__42); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__43 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__43(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__43); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__44 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__44(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__44); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__45 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__45(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__45); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__46 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__46(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__46); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__47 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__47(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__47); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__48 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__48(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__48); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__49 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__49(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__49); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567_(lean_io_mk_world()); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__35 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__35(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__35); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__36 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__36(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____closed__36); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__21); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__23(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__23); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__25(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__25); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__26(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__26); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__27(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__27); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__28(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__28); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__29(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__29); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__30(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__30); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__31(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__31); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__32(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__32); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__33(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__33); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__34(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__34); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__35(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__35); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__36(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__36); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__37 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__37(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__37); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__38 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__38(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__38); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__39 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__39(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__39); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__40 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__40(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__40); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__41 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__41(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__41); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__42 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__42(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__42); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__43 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__43(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__43); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__44 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__44(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__44); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__45 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__45(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__45); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__46 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__46(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__46); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__47 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__47(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__47); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__48 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__48(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__48); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__49 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__49(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__49); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Parser/Module.c b/stage0/stdlib/Lean/Parser/Module.c index 9e72b34a86..4d294f183f 100644 --- a/stage0/stdlib/Lean/Parser/Module.c +++ b/stage0/stdlib/Lean/Parser/Module.c @@ -15,7 +15,6 @@ extern "C" { #endif lean_object* lean_string_push(lean_object*, uint32_t); lean_object* l_Lean_Parser_Module_import___elambda__1___closed__5; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__10; lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__6; lean_object* l_Lean_Parser_Module_module_formatter___closed__2; @@ -36,6 +35,7 @@ lean_object* l_Lean_Parser_Module_import___closed__8; lean_object* lean_io_timeit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__4; lean_object* l_Lean_Parser_Module_import___closed__4; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; lean_object* l_Std_PersistentArray_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module_formatter___closed__9; lean_object* l_Lean_Parser_parseModule(lean_object*, lean_object*, lean_object*, lean_object*); @@ -81,7 +81,6 @@ lean_object* l_Lean_MessageLog_forM___at___private_Lean_Parser_Module_0__Lean_Pa lean_object* l_Lean_Parser_Module_header___elambda__1___closed__9; lean_object* l_Lean_Parser_Module_prelude_formatter___closed__2; lean_object* l_Lean_Parser_Module_module___closed__3; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__1; lean_object* l_IO_println___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header___elambda__1___closed__8; @@ -305,6 +304,7 @@ lean_object* l_Lean_Parser_ModuleParserState_pos___default; lean_object* l_IO_println___at_Lean_instEval___spec__1(lean_object*, lean_object*); uint8_t l_Lean_Parser_isEOI(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; lean_object* l_Lean_Parser_Module_prelude_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___lambda__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_manyFn(lean_object*, lean_object*, lean_object*); @@ -1237,7 +1237,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_header_formatter___closed__2; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -1267,7 +1267,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_header_formatter___closed__5; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -1289,7 +1289,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_header_formatter___closed__7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -1379,7 +1379,7 @@ static lean_object* _init_l_Lean_Parser_Module_module_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_2, 0, x_1); lean_closure_set(x_2, 1, x_1); @@ -1576,7 +1576,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_header_parenthesizer___closed__2; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -1606,7 +1606,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_header_parenthesizer___closed__5; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -1628,7 +1628,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_header_parenthesizer___closed__7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -1688,7 +1688,7 @@ static lean_object* _init_l_Lean_Parser_Module_module_parenthesizer___closed__2( _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_2, 0, x_1); lean_closure_set(x_2, 1, x_1); diff --git a/stage0/stdlib/Lean/Parser/Syntax.c b/stage0/stdlib/Lean/Parser/Syntax.c index 743cb6bf57..cbc730e4a6 100644 --- a/stage0/stdlib/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Lean/Parser/Syntax.c @@ -216,6 +216,7 @@ lean_object* l_Lean_Parser_Syntax_unary_parenthesizer___closed__4; extern lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__5; lean_object* l_Lean_Parser_Command_identPrec_parenthesizer___closed__1; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18; lean_object* l_Lean_Parser_maxSymbol___elambda__1___closed__1; lean_object* l_Lean_Parser_Syntax_unary_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_darrow; @@ -234,7 +235,6 @@ lean_object* l_Lean_Parser_Command_parserKindPrio___elambda__1(lean_object*, lea lean_object* l_Lean_Parser_Command_elabTail_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Command_elab__rules_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__6; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18; lean_object* l___regBuiltinParser_Lean_Parser_Term_stx_quot(lean_object*); lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__13; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__7; @@ -1276,6 +1276,7 @@ lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__9; lean_object* l_Lean_PrettyPrinter_Formatter_suppressInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_syntax___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_atom(lean_object*); +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16; lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__2; lean_object* l_Lean_Parser_maxSymbol___closed__4; lean_object* l_Lean_Parser_Command_elabTail___closed__5; @@ -1360,7 +1361,6 @@ lean_object* l_Lean_Parser_Syntax_binary_parenthesizer___closed__6; lean_object* l_Lean_Parser_Syntax_unary_formatter___closed__1; lean_object* l_Lean_Parser_Command_mixfix_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__3; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16; lean_object* l_Lean_Parser_Command_prefix___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_strLit___closed__2; lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__4; @@ -6390,7 +6390,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16; x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -6773,7 +6773,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__3 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18; x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -7597,7 +7597,7 @@ lean_object* l_Lean_Parser_Command_notationItem_formatter(lean_object* x_1, lean _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16; +x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16; x_7 = l_Lean_Parser_Command_notationItem_formatter___closed__4; x_8 = l_Lean_PrettyPrinter_Formatter_andthen_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; @@ -7811,7 +7811,7 @@ lean_object* l_Lean_Parser_Command_notationItem_parenthesizer(lean_object* x_1, _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18; +x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18; x_7 = l_Lean_Parser_Command_notationItem_parenthesizer___closed__4; x_8 = l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 7df5c90ee0..a607eacbc5 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -66,7 +66,6 @@ lean_object* l_Lean_Parser_Term_uminus___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_let_x2a_formatter___closed__2; lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter___closed__3; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchDiscr___closed__4; lean_object* l_Lean_Parser_Term_sufficesDecl_parenthesizer___closed__1; @@ -207,6 +206,7 @@ lean_object* l_Lean_Parser_Term_show; lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_matchDiscr___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_num_formatter___closed__1; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__4; lean_object* l_Lean_Parser_Term_binderType_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -577,6 +577,7 @@ lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_cdot_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_macroDollarArg___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__10; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18; lean_object* l___regBuiltin_Lean_Parser_Term_type_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_prop_parenthesizer(lean_object*); lean_object* l_Lean_Parser_darrow; @@ -638,7 +639,6 @@ lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_byTactic___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_let_x2a_formatter___closed__1; lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__3; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18; lean_object* l_Lean_Parser_Term_hole___closed__2; lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__4; @@ -659,7 +659,6 @@ lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__7; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_syntheticHole(lean_object*); -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_attributes_formatter___closed__1; lean_object* l_Lean_Parser_Term_optIdent_formatter___closed__1; @@ -2162,7 +2161,6 @@ lean_object* l_Lean_PrettyPrinter_Formatter_withPosition_formatter(lean_object*, lean_object* l___regBuiltinParser_Lean_Parser_Term_str___closed__1; lean_object* l_Lean_Parser_Term_sort___closed__5; lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__4; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__10; lean_object* l_Lean_Parser_Term_optType___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_structInst_formatter(lean_object*); @@ -2254,6 +2252,7 @@ lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__2; lean_object* l_Lean_Parser_Level_quot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__10; lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_haveDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__3; @@ -2904,6 +2903,7 @@ lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_tupleTail_parenthesizer___closed__1; extern lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__3___closed__2; lean_object* l_Lean_Parser_Term_structInstArrayRef; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__12; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__7; @@ -3038,7 +3038,6 @@ lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_macroDollarArg_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_nativeDecide_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__12; lean_object* l_Lean_Parser_Term_tparser_x21___closed__1; lean_object* l_Lean_Parser_Term_proj_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__3; @@ -3189,6 +3188,7 @@ lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_namedPattern(lean_object*); lean_object* l_Lean_Parser_Term_attrInstance___closed__3; lean_object* l_Lean_Parser_Term_typeAscription___closed__6; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; lean_object* l_Lean_Parser_Term_namedPattern_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_haveDecl___closed__6; lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__5; @@ -3437,6 +3437,7 @@ lean_object* l_Lean_Parser_Term_binderIdent___elambda__1(lean_object*, lean_obje lean_object* l_Lean_Parser_Term_parser_x21_formatter___closed__5; lean_object* l_Lean_Parser_Term_simpleBinder___closed__6; lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__6; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16; lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_borrowed(lean_object*); lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__11; @@ -3625,7 +3626,6 @@ lean_object* l_Lean_Parser_Term_bracketedBinder___boxed(lean_object*); lean_object* l_Lean_Parser_Term_depArrow___closed__3; lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter___closed__2; extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__5; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16; lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_parenthesizer(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__8; extern lean_object* l_Lean_Parser_strLit___closed__2; @@ -5353,7 +5353,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_2 = l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -5395,7 +5395,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_2 = l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__10; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -5696,7 +5696,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_2 = l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -5728,7 +5728,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_2 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -12484,7 +12484,7 @@ lean_object* l_Lean_Parser_Term_optSemicolon_formatter(lean_object* x_1, lean_ob _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_8 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_8, 0, x_7); lean_closure_set(x_8, 1, x_1); @@ -12795,7 +12795,7 @@ lean_object* l_Lean_Parser_Term_optSemicolon_parenthesizer(lean_object* x_1, lea _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_8 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_8, 0, x_7); lean_closure_set(x_8, 1, x_1); @@ -15592,7 +15592,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst_formatter___closed__19() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__10; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__10; x_2 = l_Lean_Parser_Term_structInst_formatter___closed__18; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -16014,7 +16014,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst_parenthesizer___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__12; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__12; x_2 = l_Lean_Parser_Term_structInst_parenthesizer___closed__12; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -20093,7 +20093,7 @@ static lean_object* _init_l_Lean_Parser_Term_forall_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16; x_2 = l_Lean_Parser_Term_forall_formatter___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -20349,7 +20349,7 @@ static lean_object* _init_l_Lean_Parser_Term_forall_parenthesizer___closed__5() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18; x_2 = l_Lean_Parser_Term_forall_parenthesizer___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -21716,7 +21716,7 @@ static lean_object* _init_l_Lean_Parser_Term_matchAlts_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_2 = l_Lean_Parser_Term_matchAlts_formatter___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -21752,7 +21752,7 @@ static lean_object* _init_l_Lean_Parser_Term_matchAlts_formatter___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_2 = l_Lean_Parser_Term_matchAlts_formatter___closed__8; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -21820,7 +21820,7 @@ static lean_object* _init_l_Lean_Parser_Term_matchAlts_formatter___closed__15() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__22; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__22; x_2 = l_Lean_Parser_Term_matchAlts_formatter___closed__14; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -22231,7 +22231,7 @@ static lean_object* _init_l_Lean_Parser_Term_matchAlts_parenthesizer___closed__5 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_2 = l_Lean_Parser_Term_matchAlts_parenthesizer___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -22267,7 +22267,7 @@ static lean_object* _init_l_Lean_Parser_Term_matchAlts_parenthesizer___closed__8 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_2 = l_Lean_Parser_Term_matchAlts_parenthesizer___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -22325,7 +22325,7 @@ static lean_object* _init_l_Lean_Parser_Term_matchAlts_parenthesizer___closed__1 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__24; x_2 = l_Lean_Parser_Term_matchAlts_parenthesizer___closed__12; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -23763,7 +23763,7 @@ static lean_object* _init_l_Lean_Parser_Term_basicFun_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16; x_2 = l_Lean_Parser_Term_basicFun_formatter___closed__1; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -24087,7 +24087,7 @@ static lean_object* _init_l_Lean_Parser_Term_basicFun_parenthesizer___closed__2( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18; x_2 = l_Lean_Parser_Term_basicFun_parenthesizer___closed__1; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -27444,7 +27444,7 @@ static lean_object* _init_l_Lean_Parser_Term_letIdLhs_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16; x_2 = l_Lean_Parser_Term_letIdLhs_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -27886,7 +27886,7 @@ static lean_object* _init_l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__3( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18; x_2 = l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -30211,7 +30211,7 @@ static lean_object* _init_l_Lean_Parser_Term_attrInstance_formatter___closed__3( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__16; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__16; x_2 = l_Lean_Parser_Term_attrInstance_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -30606,7 +30606,7 @@ static lean_object* _init_l_Lean_Parser_Term_attrInstance_parenthesizer___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__18; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18; x_2 = l_Lean_Parser_Term_attrInstance_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Parser/Transform.c b/stage0/stdlib/Lean/Parser/Transform.c new file mode 100644 index 0000000000..72e50963f4 --- /dev/null +++ b/stage0/stdlib/Lean/Parser/Transform.c @@ -0,0 +1,1588 @@ +// Lean compiler output +// Module: Lean.Parser.Transform +// Imports: Init Lean.Parser.Basic +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); +lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); +lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_removeParen_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_manyToSepBy_match__1(lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; +lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedSyntax; +lean_object* l_Lean_Syntax_manyToSepBy(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__21; +lean_object* l_Lean_Syntax_getNumArgs(lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_manyToSepBy_match__2(lean_object*); +extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; +lean_object* l_Lean_Syntax_removeParen(lean_object*); +uint8_t l_Lean_Syntax_isNone(lean_object*); +lean_object* l_Lean_Syntax_getTailInfo(lean_object*); +lean_object* l_Lean_Syntax_manyToSepBy_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +extern lean_object* l_Lean_mkOptionalNode___closed__2; +lean_object* l_Lean_Syntax_removeParen_match__1(lean_object*); +lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); +lean_object* l_Lean_Syntax_manyToSepBy_match__2___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__8; +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_manyToSepBy_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_Lean_Syntax_manyToSepBy_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_manyToSepBy_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_manyToSepBy_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_2, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = lean_apply_1(x_3, x_1); +return x_7; +} +} +} +lean_object* l_Lean_Syntax_manyToSepBy_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_manyToSepBy_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_nat_dec_le(x_7, x_5); +if (x_8 == 0) +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_4, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_4, x_11); +lean_dec(x_4); +x_13 = l_Lean_instInhabitedSyntax; +x_14 = lean_array_get(x_13, x_2, x_5); +x_15 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_6); +x_16 = l_Lean_Syntax_getTailInfo(x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_15); +x_17 = l_Lean_instInhabitedSourceInfo___closed__1; +lean_inc(x_1); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_1); +x_19 = lean_array_push(x_6, x_18); +x_20 = lean_array_push(x_19, x_14); +x_21 = lean_ctor_get(x_3, 2); +x_22 = lean_nat_add(x_5, x_21); +lean_dec(x_5); +x_4 = x_12; +x_5 = x_22; +x_6 = x_20; +goto _start; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_24 = lean_ctor_get(x_16, 0); +lean_inc(x_24); +lean_dec(x_16); +x_25 = lean_array_get_size(x_6); +x_26 = lean_nat_sub(x_25, x_11); +lean_dec(x_25); +x_27 = lean_array_set(x_6, x_26, x_15); +lean_dec(x_26); +lean_inc(x_1); +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_1); +x_29 = lean_array_push(x_27, x_28); +x_30 = lean_array_push(x_29, x_14); +x_31 = lean_ctor_get(x_3, 2); +x_32 = lean_nat_add(x_5, x_31); +lean_dec(x_5); +x_4 = x_12; +x_5 = x_32; +x_6 = x_30; +goto _start; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +} +lean_object* l_Lean_Syntax_manyToSepBy(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_array_get_size(x_4); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_nat_dec_eq(x_5, x_6); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_9 = lean_ctor_get(x_1, 1); +lean_dec(x_9); +x_10 = lean_ctor_get(x_1, 0); +lean_dec(x_10); +x_11 = l_Lean_instInhabitedSyntax; +x_12 = lean_array_get(x_11, x_4, x_6); +x_13 = l_Lean_mkOptionalNode___closed__2; +x_14 = lean_array_push(x_13, x_12); +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_5); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_5); +lean_ctor_set(x_16, 2, x_15); +x_17 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_2, x_4, x_16, x_5, x_15, x_14); +lean_dec(x_16); +lean_dec(x_4); +lean_ctor_set(x_1, 1, x_17); +return x_1; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_1); +x_18 = l_Lean_instInhabitedSyntax; +x_19 = lean_array_get(x_18, x_4, x_6); +x_20 = l_Lean_mkOptionalNode___closed__2; +x_21 = lean_array_push(x_20, x_19); +x_22 = lean_unsigned_to_nat(1u); +lean_inc(x_5); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_5); +lean_ctor_set(x_23, 2, x_22); +x_24 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_2, x_4, x_23, x_5, x_22, x_21); +lean_dec(x_23); +lean_dec(x_4); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_3); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_1; +} +} +else +{ +lean_dec(x_2); +return x_1; +} +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Syntax_removeParen_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 2) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_5, 2); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +lean_dec(x_3); +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_5, 2); +lean_dec(x_10); +x_11 = lean_ctor_get(x_5, 1); +lean_dec(x_11); +x_12 = lean_ctor_get(x_5, 0); +lean_dec(x_12); +x_13 = !lean_is_exclusive(x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_1, 0); +lean_dec(x_14); +lean_ctor_set(x_5, 0, x_8); +x_15 = lean_apply_2(x_4, x_1, x_2); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_dec(x_1); +lean_ctor_set(x_5, 0, x_8); +x_17 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_apply_2(x_4, x_17, x_2); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_5); +x_19 = lean_ctor_get(x_1, 1); +lean_inc(x_19); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_20 = x_1; +} else { + lean_dec_ref(x_1); + x_20 = lean_box(0); +} +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_8); +lean_ctor_set(x_21, 1, x_7); +lean_ctor_set(x_21, 2, x_8); +if (lean_is_scalar(x_20)) { + x_22 = lean_alloc_ctor(2, 2, 0); +} else { + x_22 = x_20; +} +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_19); +x_23 = lean_apply_2(x_4, x_22, x_2); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_1, 1); +lean_inc(x_24); +x_25 = lean_ctor_get(x_8, 0); +lean_inc(x_25); +x_26 = l_myMacro____x40_Init_Notation___hyg_5739____closed__21; +x_27 = lean_string_dec_eq(x_24, x_26); +lean_dec(x_24); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +x_28 = lean_apply_2(x_4, x_1, x_2); +return x_28; +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_1); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_1, 1); +lean_dec(x_30); +x_31 = lean_ctor_get(x_1, 0); +lean_dec(x_31); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_32; +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_3); +lean_ctor_set(x_1, 1, x_26); +x_32 = lean_apply_2(x_4, x_1, x_2); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_2, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_5); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_5, 2); +lean_dec(x_36); +x_37 = lean_ctor_get(x_5, 1); +lean_dec(x_37); +x_38 = lean_ctor_get(x_5, 0); +lean_dec(x_38); +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_2); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_2, 0); +lean_dec(x_41); +x_42 = lean_ctor_get(x_33, 2); +lean_inc(x_42); +if (lean_obj_tag(x_42) == 0) +{ +uint8_t x_43; +lean_dec(x_25); +lean_dec(x_3); +x_43 = !lean_is_exclusive(x_33); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_33, 2); +lean_dec(x_44); +x_45 = lean_ctor_get(x_33, 1); +lean_dec(x_45); +x_46 = lean_ctor_get(x_33, 0); +lean_dec(x_46); +lean_ctor_set(x_33, 2, x_8); +lean_ctor_set(x_33, 0, x_42); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_33); +lean_ctor_set(x_5, 2, x_42); +lean_ctor_set(x_5, 1, x_39); +lean_ctor_set(x_5, 0, x_42); +lean_ctor_set(x_2, 0, x_5); +x_47 = lean_apply_2(x_4, x_1, x_2); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_33); +x_48 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_48, 0, x_42); +lean_ctor_set(x_48, 1, x_39); +lean_ctor_set(x_48, 2, x_8); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_48); +lean_ctor_set(x_5, 2, x_42); +lean_ctor_set(x_5, 1, x_39); +lean_ctor_set(x_5, 0, x_42); +lean_ctor_set(x_2, 0, x_5); +x_49 = lean_apply_2(x_4, x_1, x_2); +return x_49; +} +} +else +{ +lean_object* x_50; lean_object* x_51; +lean_free_object(x_2); +lean_free_object(x_5); +lean_free_object(x_1); +lean_dec(x_8); +lean_dec(x_4); +x_50 = lean_ctor_get(x_42, 0); +lean_inc(x_50); +lean_dec(x_42); +x_51 = lean_apply_3(x_3, x_25, x_33, x_50); +return x_51; +} +} +else +{ +lean_object* x_52; +lean_dec(x_2); +x_52 = lean_ctor_get(x_33, 2); +lean_inc(x_52); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_25); +lean_dec(x_3); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + lean_ctor_release(x_33, 2); + x_53 = x_33; +} else { + lean_dec_ref(x_33); + x_53 = lean_box(0); +} +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(0, 3, 0); +} else { + x_54 = x_53; +} +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_39); +lean_ctor_set(x_54, 2, x_8); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_54); +lean_ctor_set(x_5, 2, x_52); +lean_ctor_set(x_5, 1, x_39); +lean_ctor_set(x_5, 0, x_52); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_5); +x_56 = lean_apply_2(x_4, x_1, x_55); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; +lean_free_object(x_5); +lean_free_object(x_1); +lean_dec(x_8); +lean_dec(x_4); +x_57 = lean_ctor_get(x_52, 0); +lean_inc(x_57); +lean_dec(x_52); +x_58 = lean_apply_3(x_3, x_25, x_33, x_57); +return x_58; +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_39); +lean_free_object(x_5); +lean_dec(x_25); +lean_dec(x_3); +x_59 = !lean_is_exclusive(x_33); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_33, 2); +lean_dec(x_60); +x_61 = lean_ctor_get(x_33, 1); +lean_dec(x_61); +x_62 = lean_ctor_get(x_33, 0); +lean_dec(x_62); +lean_ctor_set(x_33, 2, x_8); +lean_ctor_set(x_33, 1, x_7); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_33); +x_63 = lean_apply_2(x_4, x_1, x_2); +return x_63; +} +else +{ +lean_object* x_64; lean_object* x_65; +lean_dec(x_33); +x_64 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_64, 0, x_34); +lean_ctor_set(x_64, 1, x_7); +lean_ctor_set(x_64, 2, x_8); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_64); +x_65 = lean_apply_2(x_4, x_1, x_2); +return x_65; +} +} +} +else +{ +lean_object* x_66; +lean_dec(x_5); +x_66 = lean_ctor_get(x_33, 1); +lean_inc(x_66); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + x_67 = x_2; +} else { + lean_dec_ref(x_2); + x_67 = lean_box(0); +} +x_68 = lean_ctor_get(x_33, 2); +lean_inc(x_68); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_25); +lean_dec(x_3); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + lean_ctor_release(x_33, 2); + x_69 = x_33; +} else { + lean_dec_ref(x_33); + x_69 = lean_box(0); +} +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(0, 3, 0); +} else { + x_70 = x_69; +} +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_66); +lean_ctor_set(x_70, 2, x_8); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_70); +x_71 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_66); +lean_ctor_set(x_71, 2, x_68); +if (lean_is_scalar(x_67)) { + x_72 = lean_alloc_ctor(1, 1, 0); +} else { + x_72 = x_67; +} +lean_ctor_set(x_72, 0, x_71); +x_73 = lean_apply_2(x_4, x_1, x_72); +return x_73; +} +else +{ +lean_object* x_74; lean_object* x_75; +lean_dec(x_67); +lean_free_object(x_1); +lean_dec(x_8); +lean_dec(x_4); +x_74 = lean_ctor_get(x_68, 0); +lean_inc(x_74); +lean_dec(x_68); +x_75 = lean_apply_3(x_3, x_25, x_33, x_74); +return x_75; +} +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_dec(x_66); +lean_dec(x_25); +lean_dec(x_3); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + lean_ctor_release(x_33, 2); + x_76 = x_33; +} else { + lean_dec_ref(x_33); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 3, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_34); +lean_ctor_set(x_77, 1, x_7); +lean_ctor_set(x_77, 2, x_8); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_77); +x_78 = lean_apply_2(x_4, x_1, x_2); +return x_78; +} +} +} +else +{ +lean_object* x_79; +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_3); +lean_ctor_set(x_1, 1, x_26); +x_79 = lean_apply_2(x_4, x_1, x_2); +return x_79; +} +} +} +else +{ +lean_dec(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_80; lean_object* x_81; +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_3); +x_80 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_80, 0, x_5); +lean_ctor_set(x_80, 1, x_26); +x_81 = lean_apply_2(x_4, x_80, x_2); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_2, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + lean_ctor_release(x_5, 2); + x_84 = x_5; +} else { + lean_dec_ref(x_5); + x_84 = lean_box(0); +} +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; lean_object* x_87; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + x_86 = x_2; +} else { + lean_dec_ref(x_2); + x_86 = lean_box(0); +} +x_87 = lean_ctor_get(x_82, 2); +lean_inc(x_87); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_25); +lean_dec(x_3); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + lean_ctor_release(x_82, 2); + x_88 = x_82; +} else { + lean_dec_ref(x_82); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(0, 3, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_85); +lean_ctor_set(x_89, 2, x_8); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_26); +if (lean_is_scalar(x_84)) { + x_91 = lean_alloc_ctor(0, 3, 0); +} else { + x_91 = x_84; +} +lean_ctor_set(x_91, 0, x_87); +lean_ctor_set(x_91, 1, x_85); +lean_ctor_set(x_91, 2, x_87); +if (lean_is_scalar(x_86)) { + x_92 = lean_alloc_ctor(1, 1, 0); +} else { + x_92 = x_86; +} +lean_ctor_set(x_92, 0, x_91); +x_93 = lean_apply_2(x_4, x_90, x_92); +return x_93; +} +else +{ +lean_object* x_94; lean_object* x_95; +lean_dec(x_86); +lean_dec(x_84); +lean_dec(x_8); +lean_dec(x_4); +x_94 = lean_ctor_get(x_87, 0); +lean_inc(x_94); +lean_dec(x_87); +x_95 = lean_apply_3(x_3, x_25, x_82, x_94); +return x_95; +} +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_25); +lean_dec(x_3); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + lean_ctor_release(x_82, 2); + x_96 = x_82; +} else { + lean_dec_ref(x_82); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(0, 3, 0); +} else { + x_97 = x_96; +} +lean_ctor_set(x_97, 0, x_83); +lean_ctor_set(x_97, 1, x_7); +lean_ctor_set(x_97, 2, x_8); +x_98 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_26); +x_99 = lean_apply_2(x_4, x_98, x_2); +return x_99; +} +} +else +{ +lean_object* x_100; lean_object* x_101; +lean_dec(x_83); +lean_dec(x_82); +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_3); +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_5); +lean_ctor_set(x_100, 1, x_26); +x_101 = lean_apply_2(x_4, x_100, x_2); +return x_101; +} +} +} +} +} +} +else +{ +lean_object* x_102; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +x_102 = lean_apply_2(x_4, x_1, x_2); +return x_102; +} +} +else +{ +lean_object* x_103; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_103 = lean_apply_2(x_4, x_1, x_2); +return x_103; +} +} +else +{ +lean_object* x_104; +lean_dec(x_3); +x_104 = lean_apply_2(x_4, x_1, x_2); +return x_104; +} +} +} +lean_object* l_Lean_Syntax_removeParen_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_removeParen_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_removeParen(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; +x_5 = lean_name_eq(x_2, x_4); +if (x_5 == 0) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_1; +} +else +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = lean_ctor_get(x_1, 1); +lean_dec(x_7); +x_8 = lean_ctor_get(x_1, 0); +lean_dec(x_8); +lean_inc(x_3); +x_9 = l_Lean_instInhabitedSyntax; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_array_get(x_9, x_3, x_10); +lean_inc(x_11); +x_12 = l_Lean_Syntax_getNumArgs(x_11); +x_13 = lean_unsigned_to_nat(2u); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_dec(x_11); +lean_dec(x_3); +return x_1; +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_Syntax_getArg(x_11, x_10); +x_16 = l_Lean_Syntax_isNone(x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_dec(x_11); +lean_dec(x_3); +return x_1; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_unsigned_to_nat(0u); +x_18 = l_Lean_Syntax_getArg(x_11, x_17); +lean_dec(x_11); +x_19 = lean_array_get(x_9, x_3, x_13); +lean_dec(x_3); +if (lean_obj_tag(x_19) == 2) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Syntax_getTailInfo(x_18); +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_20, 2); +lean_inc(x_25); +lean_dec(x_20); +if (lean_obj_tag(x_25) == 0) +{ +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_18); +return x_1; +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_myMacro____x40_Init_Notation___hyg_5739____closed__21; +x_28 = lean_string_dec_eq(x_21, x_27); +lean_dec(x_21); +if (x_28 == 0) +{ +lean_dec(x_26); +lean_dec(x_22); +lean_dec(x_18); +return x_1; +} +else +{ +if (lean_obj_tag(x_22) == 0) +{ +lean_dec(x_26); +lean_dec(x_18); +return x_1; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_22, 0); +lean_inc(x_29); +lean_dec(x_22); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_29); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 2); +x_34 = lean_ctor_get(x_29, 1); +lean_dec(x_34); +x_35 = lean_ctor_get(x_29, 0); +lean_dec(x_35); +if (lean_obj_tag(x_33) == 0) +{ +lean_free_object(x_29); +lean_dec(x_26); +lean_dec(x_18); +return x_1; +} +else +{ +uint8_t x_36; +lean_dec(x_1); +x_36 = !lean_is_exclusive(x_33); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_37 = lean_ctor_get(x_33, 0); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +x_40 = lean_ctor_get(x_37, 2); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_string_utf8_extract(x_38, x_39, x_40); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_38); +x_42 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; +x_43 = lean_string_append(x_41, x_42); +x_44 = !lean_is_exclusive(x_26); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_45 = lean_ctor_get(x_26, 0); +x_46 = lean_ctor_get(x_26, 1); +x_47 = lean_ctor_get(x_26, 2); +x_48 = lean_string_utf8_extract(x_45, x_46, x_47); +lean_dec(x_47); +lean_dec(x_46); +lean_dec(x_45); +x_49 = lean_string_append(x_43, x_48); +lean_dec(x_48); +x_50 = lean_string_utf8_byte_size(x_49); +lean_ctor_set(x_26, 2, x_50); +lean_ctor_set(x_26, 1, x_17); +lean_ctor_set(x_26, 0, x_49); +lean_ctor_set(x_33, 0, x_26); +x_51 = l_Lean_Syntax_setTailInfo(x_18, x_29); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_52 = lean_ctor_get(x_26, 0); +x_53 = lean_ctor_get(x_26, 1); +x_54 = lean_ctor_get(x_26, 2); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_26); +x_55 = lean_string_utf8_extract(x_52, x_53, x_54); +lean_dec(x_54); +lean_dec(x_53); +lean_dec(x_52); +x_56 = lean_string_append(x_43, x_55); +lean_dec(x_55); +x_57 = lean_string_utf8_byte_size(x_56); +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_17); +lean_ctor_set(x_58, 2, x_57); +lean_ctor_set(x_33, 0, x_58); +x_59 = l_Lean_Syntax_setTailInfo(x_18, x_29); +return x_59; +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_60 = lean_ctor_get(x_33, 0); +lean_inc(x_60); +lean_dec(x_33); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +x_63 = lean_ctor_get(x_60, 2); +lean_inc(x_63); +lean_dec(x_60); +x_64 = lean_string_utf8_extract(x_61, x_62, x_63); +lean_dec(x_63); +lean_dec(x_62); +lean_dec(x_61); +x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; +x_66 = lean_string_append(x_64, x_65); +x_67 = lean_ctor_get(x_26, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_26, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_26, 2); +lean_inc(x_69); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + x_70 = x_26; +} else { + lean_dec_ref(x_26); + x_70 = lean_box(0); +} +x_71 = lean_string_utf8_extract(x_67, x_68, x_69); +lean_dec(x_69); +lean_dec(x_68); +lean_dec(x_67); +x_72 = lean_string_append(x_66, x_71); +lean_dec(x_71); +x_73 = lean_string_utf8_byte_size(x_72); +if (lean_is_scalar(x_70)) { + x_74 = lean_alloc_ctor(0, 3, 0); +} else { + x_74 = x_70; +} +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_17); +lean_ctor_set(x_74, 2, x_73); +x_75 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_29, 2, x_75); +x_76 = l_Lean_Syntax_setTailInfo(x_18, x_29); +return x_76; +} +} +} +else +{ +lean_object* x_77; +x_77 = lean_ctor_get(x_29, 2); +lean_inc(x_77); +lean_dec(x_29); +if (lean_obj_tag(x_77) == 0) +{ +lean_dec(x_26); +lean_dec(x_18); +return x_1; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_dec(x_1); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + x_79 = x_77; +} else { + lean_dec_ref(x_77); + x_79 = lean_box(0); +} +x_80 = lean_ctor_get(x_78, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_78, 1); +lean_inc(x_81); +x_82 = lean_ctor_get(x_78, 2); +lean_inc(x_82); +lean_dec(x_78); +x_83 = lean_string_utf8_extract(x_80, x_81, x_82); +lean_dec(x_82); +lean_dec(x_81); +lean_dec(x_80); +x_84 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; +x_85 = lean_string_append(x_83, x_84); +x_86 = lean_ctor_get(x_26, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_26, 1); +lean_inc(x_87); +x_88 = lean_ctor_get(x_26, 2); +lean_inc(x_88); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + x_89 = x_26; +} else { + lean_dec_ref(x_26); + x_89 = lean_box(0); +} +x_90 = lean_string_utf8_extract(x_86, x_87, x_88); +lean_dec(x_88); +lean_dec(x_87); +lean_dec(x_86); +x_91 = lean_string_append(x_85, x_90); +lean_dec(x_90); +x_92 = lean_string_utf8_byte_size(x_91); +if (lean_is_scalar(x_89)) { + x_93 = lean_alloc_ctor(0, 3, 0); +} else { + x_93 = x_89; +} +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_17); +lean_ctor_set(x_93, 2, x_92); +if (lean_is_scalar(x_79)) { + x_94 = lean_alloc_ctor(1, 1, 0); +} else { + x_94 = x_79; +} +lean_ctor_set(x_94, 0, x_93); +x_95 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_95, 0, x_30); +lean_ctor_set(x_95, 1, x_31); +lean_ctor_set(x_95, 2, x_94); +x_96 = l_Lean_Syntax_setTailInfo(x_18, x_95); +return x_96; +} +} +} +else +{ +lean_dec(x_31); +lean_dec(x_29); +lean_dec(x_26); +lean_dec(x_18); +return x_1; +} +} +else +{ +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_26); +lean_dec(x_18); +return x_1; +} +} +} +} +} +else +{ +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_18); +return x_1; +} +} +else +{ +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_18); +return x_1; +} +} +else +{ +lean_dec(x_19); +lean_dec(x_18); +return x_1; +} +} +} +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; +lean_dec(x_1); +lean_inc(x_3); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_2); +lean_ctor_set(x_97, 1, x_3); +x_98 = l_Lean_instInhabitedSyntax; +x_99 = lean_unsigned_to_nat(1u); +x_100 = lean_array_get(x_98, x_3, x_99); +lean_inc(x_100); +x_101 = l_Lean_Syntax_getNumArgs(x_100); +x_102 = lean_unsigned_to_nat(2u); +x_103 = lean_nat_dec_eq(x_101, x_102); +lean_dec(x_101); +if (x_103 == 0) +{ +lean_dec(x_100); +lean_dec(x_3); +return x_97; +} +else +{ +lean_object* x_104; uint8_t x_105; +x_104 = l_Lean_Syntax_getArg(x_100, x_99); +x_105 = l_Lean_Syntax_isNone(x_104); +lean_dec(x_104); +if (x_105 == 0) +{ +lean_dec(x_100); +lean_dec(x_3); +return x_97; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_unsigned_to_nat(0u); +x_107 = l_Lean_Syntax_getArg(x_100, x_106); +lean_dec(x_100); +x_108 = lean_array_get(x_98, x_3, x_102); +lean_dec(x_3); +if (lean_obj_tag(x_108) == 2) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); +x_111 = l_Lean_Syntax_getTailInfo(x_107); +x_112 = lean_ctor_get(x_109, 0); +lean_inc(x_112); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; +x_113 = lean_ctor_get(x_109, 1); +lean_inc(x_113); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; +x_114 = lean_ctor_get(x_109, 2); +lean_inc(x_114); +lean_dec(x_109); +if (lean_obj_tag(x_114) == 0) +{ +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_107); +return x_97; +} +else +{ +lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +lean_dec(x_114); +x_116 = l_myMacro____x40_Init_Notation___hyg_5739____closed__21; +x_117 = lean_string_dec_eq(x_110, x_116); +lean_dec(x_110); +if (x_117 == 0) +{ +lean_dec(x_115); +lean_dec(x_111); +lean_dec(x_107); +return x_97; +} +else +{ +if (lean_obj_tag(x_111) == 0) +{ +lean_dec(x_115); +lean_dec(x_107); +return x_97; +} +else +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_111, 0); +lean_inc(x_118); +lean_dec(x_111); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_121; lean_object* x_122; +x_121 = lean_ctor_get(x_118, 2); +lean_inc(x_121); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + lean_ctor_release(x_118, 2); + x_122 = x_118; +} else { + lean_dec_ref(x_118); + x_122 = lean_box(0); +} +if (lean_obj_tag(x_121) == 0) +{ +lean_dec(x_122); +lean_dec(x_115); +lean_dec(x_107); +return x_97; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_dec(x_97); +x_123 = lean_ctor_get(x_121, 0); +lean_inc(x_123); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + x_124 = x_121; +} else { + lean_dec_ref(x_121); + x_124 = lean_box(0); +} +x_125 = lean_ctor_get(x_123, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_123, 1); +lean_inc(x_126); +x_127 = lean_ctor_get(x_123, 2); +lean_inc(x_127); +lean_dec(x_123); +x_128 = lean_string_utf8_extract(x_125, x_126, x_127); +lean_dec(x_127); +lean_dec(x_126); +lean_dec(x_125); +x_129 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; +x_130 = lean_string_append(x_128, x_129); +x_131 = lean_ctor_get(x_115, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_115, 1); +lean_inc(x_132); +x_133 = lean_ctor_get(x_115, 2); +lean_inc(x_133); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + lean_ctor_release(x_115, 2); + x_134 = x_115; +} else { + lean_dec_ref(x_115); + x_134 = lean_box(0); +} +x_135 = lean_string_utf8_extract(x_131, x_132, x_133); +lean_dec(x_133); +lean_dec(x_132); +lean_dec(x_131); +x_136 = lean_string_append(x_130, x_135); +lean_dec(x_135); +x_137 = lean_string_utf8_byte_size(x_136); +if (lean_is_scalar(x_134)) { + x_138 = lean_alloc_ctor(0, 3, 0); +} else { + x_138 = x_134; +} +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_106); +lean_ctor_set(x_138, 2, x_137); +if (lean_is_scalar(x_124)) { + x_139 = lean_alloc_ctor(1, 1, 0); +} else { + x_139 = x_124; +} +lean_ctor_set(x_139, 0, x_138); +if (lean_is_scalar(x_122)) { + x_140 = lean_alloc_ctor(0, 3, 0); +} else { + x_140 = x_122; +} +lean_ctor_set(x_140, 0, x_119); +lean_ctor_set(x_140, 1, x_120); +lean_ctor_set(x_140, 2, x_139); +x_141 = l_Lean_Syntax_setTailInfo(x_107, x_140); +return x_141; +} +} +else +{ +lean_dec(x_120); +lean_dec(x_118); +lean_dec(x_115); +lean_dec(x_107); +return x_97; +} +} +else +{ +lean_dec(x_119); +lean_dec(x_118); +lean_dec(x_115); +lean_dec(x_107); +return x_97; +} +} +} +} +} +else +{ +lean_dec(x_113); +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_109); +lean_dec(x_107); +return x_97; +} +} +else +{ +lean_dec(x_112); +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_109); +lean_dec(x_107); +return x_97; +} +} +else +{ +lean_dec(x_108); +lean_dec(x_107); +return x_97; +} +} +} +} +} +} +else +{ +return x_1; +} +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Parser_Basic(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Parser_Transform(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Parser_Basic(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/ParserCompiler.c b/stage0/stdlib/Lean/ParserCompiler.c index 346b17b61c..9f9504b6d9 100644 --- a/stage0/stdlib/Lean/ParserCompiler.c +++ b/stage0/stdlib/Lean/ParserCompiler.c @@ -66,11 +66,9 @@ lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__20(lean_ob lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__43(lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___closed__9; lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__13___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_MetaM_run_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_ParserCompiler_compileParserExpr___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_Context_tyName___rarg(lean_object*); @@ -85,9 +83,7 @@ lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__38___boxed lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__9(lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__37___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__1; lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__10(lean_object*); lean_object* l_Lean_Meta_mkLambdaFVarsImp(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__38___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -96,13 +92,16 @@ lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr__ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__12(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__2; lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__6___rarg___closed__1; lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr_match__4(lean_object*); +lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getAppArgs___closed__1; lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__47(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__51___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_Core_instInhabitedCoreM___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__1___rarg___closed__2; @@ -112,6 +111,7 @@ lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__18(lean_ob lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__51(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__42(lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__11(lean_object*); +lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_addAttribute(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__11___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -372,7 +372,7 @@ lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___closed__8; lean_object* l_Nat_min(lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__43___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__3___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -24470,7 +24470,76 @@ return x_16; } } } -static lean_object* _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__1() { +lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_9 = lean_st_mk_ref(x_1, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = 1; +lean_inc(x_10); +x_13 = l_Lean_ParserCompiler_compileParserExpr___rarg(x_2, x_12, x_3, x_4, x_10, x_6, x_7, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_st_ref_get(x_10, x_15); +lean_dec(x_10); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +lean_ctor_set(x_16, 0, x_14); +return x_16; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +uint8_t x_21; +lean_dec(x_10); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +static lean_object* _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -24480,7 +24549,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__2() { +static lean_object* _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -24490,7 +24559,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_29; @@ -24506,12 +24575,12 @@ lean_inc(x_31); lean_dec(x_29); x_32 = l_Lean_ConstantInfo_type(x_30); lean_dec(x_30); -x_33 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__1; +x_33 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__1; x_34 = l_Lean_Expr_isConstOf(x_32, x_33); if (x_34 == 0) { lean_object* x_35; uint8_t x_36; -x_35 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__2; +x_35 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__2; x_36 = l_Lean_Expr_isConstOf(x_32, x_35); lean_dec(x_32); if (x_36 == 0) @@ -24526,37 +24595,50 @@ return x_38; } else { -lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; x_39 = lean_box(0); x_40 = l_Lean_mkConst(x_3, x_39); -x_41 = 1; -x_42 = lean_box(x_41); -x_43 = lean_alloc_closure((void*)(l_Lean_ParserCompiler_compileParserExpr___rarg___boxed), 8, 3); -lean_closure_set(x_43, 0, x_1); -lean_closure_set(x_43, 1, x_42); +x_41 = l_Lean_Meta_instMetaEvalMetaM___rarg___closed__2; +x_42 = l_Lean_Meta_instMetaEvalMetaM___rarg___closed__1; +x_43 = lean_alloc_closure((void*)(l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___boxed), 8, 4); +lean_closure_set(x_43, 0, x_41); +lean_closure_set(x_43, 1, x_1); lean_closure_set(x_43, 2, x_40); -x_44 = l_Lean_Meta_instMetaEvalMetaM___rarg___closed__1; -x_45 = l_Lean_Meta_instMetaEvalMetaM___rarg___closed__2; -x_46 = lean_alloc_closure((void*)(l_Lean_Meta_MetaM_run_x27___rarg), 6, 3); -lean_closure_set(x_46, 0, x_43); -lean_closure_set(x_46, 1, x_44); -lean_closure_set(x_46, 2, x_45); -x_47 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_47, 0, x_46); -x_48 = l_Functor_discard___at_Lean_ParserCompiler_registerParserCompiler___spec__1(x_47, x_5, x_6, x_7, x_31); -return x_48; +lean_closure_set(x_43, 3, x_42); +x_44 = l_Functor_discard___at_Lean_ParserCompiler_registerParserCompiler___spec__1(x_43, x_5, x_6, x_7, x_31); +return x_44; } } else { -lean_object* x_49; +lean_object* x_45; lean_inc(x_3); -x_49 = l_Lean_evalConstCheck___at_Lean_KeyedDeclsAttribute_init___spec__5___rarg(x_33, x_3, x_5, x_6, x_7, x_31); +x_45 = l_Lean_evalConstCheck___at_Lean_KeyedDeclsAttribute_init___spec__5___rarg(x_33, x_3, x_5, x_6, x_7, x_31); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_5); +lean_dec(x_3); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_9 = x_46; +x_10 = x_47; +goto block_28; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_evalConstCheck___at_Lean_KeyedDeclsAttribute_init___spec__5___rarg(x_35, x_3, x_5, x_6, x_7, x_48); +lean_dec(x_5); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; lean_object* x_51; -lean_dec(x_5); -lean_dec(x_3); x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); x_51 = lean_ctor_get(x_49, 1); @@ -24568,47 +24650,27 @@ goto block_28; } else { -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = l_Lean_evalConstCheck___at_Lean_KeyedDeclsAttribute_init___spec__5___rarg(x_35, x_3, x_5, x_6, x_7, x_52); -lean_dec(x_5); -if (lean_obj_tag(x_53) == 0) -{ -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_9 = x_54; -x_10 = x_55; -goto block_28; -} -else -{ -uint8_t x_56; +uint8_t x_52; lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_53); -if (x_56 == 0) +x_52 = !lean_is_exclusive(x_49); +if (x_52 == 0) { -return x_53; +return x_49; } else { -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_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; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_49, 0); +x_54 = lean_ctor_get(x_49, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_49); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } @@ -24616,98 +24678,98 @@ return x_59; } else { -lean_object* x_60; +lean_object* x_56; lean_dec(x_32); lean_inc(x_3); -x_60 = l_Lean_evalConstCheck___at_Lean_KeyedDeclsAttribute_init___spec__5___rarg(x_33, x_3, x_5, x_6, x_7, x_31); -if (lean_obj_tag(x_60) == 0) +x_56 = l_Lean_evalConstCheck___at_Lean_KeyedDeclsAttribute_init___spec__5___rarg(x_33, x_3, x_5, x_6, x_7, x_31); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_61; lean_object* x_62; +lean_object* x_57; lean_object* x_58; lean_dec(x_5); lean_dec(x_3); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_9 = x_61; -x_10 = x_62; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_9 = x_57; +x_10 = x_58; goto block_28; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_60, 1); -lean_inc(x_63); -lean_dec(x_60); -x_64 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__2; -x_65 = l_Lean_evalConstCheck___at_Lean_KeyedDeclsAttribute_init___spec__5___rarg(x_64, x_3, x_5, x_6, x_7, x_63); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__2; +x_61 = l_Lean_evalConstCheck___at_Lean_KeyedDeclsAttribute_init___spec__5___rarg(x_60, x_3, x_5, x_6, x_7, x_59); lean_dec(x_5); -if (lean_obj_tag(x_65) == 0) +if (lean_obj_tag(x_61) == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_9 = x_66; -x_10 = x_67; +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_9 = x_62; +x_10 = x_63; goto block_28; } else { +uint8_t x_64; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_64 = !lean_is_exclusive(x_61); +if (x_64 == 0) +{ +return x_61; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_61, 0); +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_61); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +} +} +else +{ uint8_t x_68; lean_dec(x_7); lean_dec(x_6); -lean_dec(x_1); -x_68 = !lean_is_exclusive(x_65); -if (x_68 == 0) -{ -return x_65; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_65, 0); -x_70 = lean_ctor_get(x_65, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_65); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -} -} -} -else -{ -uint8_t x_72; -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_29); -if (x_72 == 0) +x_68 = !lean_is_exclusive(x_29); +if (x_68 == 0) { return x_29; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_29, 0); -x_74 = lean_ctor_get(x_29, 1); -lean_inc(x_74); -lean_inc(x_73); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_29, 0); +x_70 = lean_ctor_get(x_29, 1); +lean_inc(x_70); +lean_inc(x_69); lean_dec(x_29); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } block_28: @@ -24784,7 +24846,7 @@ lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg(lean_object* x_ _start: { lean_object* x_3; lean_object* x_4; -x_3 = lean_alloc_closure((void*)(l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___boxed), 8, 1); +x_3 = lean_alloc_closure((void*)(l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___boxed), 8, 1); lean_closure_set(x_3, 0, x_1); x_4 = l_Lean_Parser_registerParserAttributeHook(x_3, x_2); return x_4; @@ -24801,10 +24863,19 @@ return x_2; lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { +lean_object* x_9; +x_9 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_5); +return x_9; +} +} +lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_4); lean_dec(x_4); -x_10 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +x_10 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); lean_dec(x_2); return x_10; } @@ -24880,10 +24951,10 @@ l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__4 = _init_l_Lean_Pa lean_mark_persistent(l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__4); l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__5 = _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__5(); lean_mark_persistent(l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__5); -l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__1 = _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__1); -l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__2 = _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__2); +l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__1 = _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__1); +l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__2 = _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__2___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/PrettyPrinter/Formatter.c b/stage0/stdlib/Lean/PrettyPrinter/Formatter.c index 2b9ac31067..dd3c46e000 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Formatter.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Formatter.c @@ -103,7 +103,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1__ lean_object* lean_string_utf8_prev(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2460____closed__51; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkColGt_formatter___rarg(lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1887____closed__29; lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2460____closed__19; @@ -122,9 +122,8 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Pre lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_pushLine(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedByCategoryToken_formatter(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__10; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -168,7 +167,6 @@ lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_pushToken_match__2(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkStackTop_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__2(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instCoeArrowFormatterFormatterFormatterAliasValue(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__4; extern lean_object* l_Lean_nameLitKind; @@ -194,6 +192,7 @@ lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Formatter_many_formatter___ lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_checkPrec_formatter___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkColGe_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -224,6 +223,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_identEq_formatter___rarg(lean_object lean_object* l_Lean_PrettyPrinter_Formatter_checkLineEq_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_setExpected_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_strLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_eoi_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; @@ -282,7 +282,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_visitAtom_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2460____closed__22; lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__3; -lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__4; @@ -312,7 +312,7 @@ extern lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__4; lean_object* l_Lean_PrettyPrinter_formatterAttribute; uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__5; -lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_rawIdent_formatter_match__1(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -411,7 +411,6 @@ extern lean_object* l_Lean_ParserCompiler_CombinatorAttribute_instInhabitedCombi extern lean_object* l_Lean_Format_getWidth___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___boxed(lean_object*); lean_object* lean_pretty_printer_formatter_interpret_parser_descr(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_String_isPrefixOf(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_error_formatter___rarg(lean_object*); @@ -426,6 +425,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM; uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2460____closed__10; lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2460____closed__32; +lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isNum(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize___boxed(lean_object*); @@ -442,7 +442,6 @@ lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Formatter_many_formatter___ lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter(lean_object*); extern lean_object* l_Int_instInhabitedInt___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr___elambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__7; extern lean_object* l_Lean_Name_toStringWithSep___closed__1; lean_object* l_Lean_Format_getIndent(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedByCategoryToken_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -527,16 +526,15 @@ extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1887 lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__8; -lean_object* l_StateRefT_x27_get___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_concat___spec__1(lean_object*, size_t, size_t, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__16; -lean_object* l_StateRefT_x27_get___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__11; extern lean_object* l_Lean_PrettyPrinter_backtrackExceptionId; lean_object* l_Lean_PrettyPrinter_Formatter_suppressInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_Syntax_Traverser_left(lean_object*); +lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_throwBacktrack___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Formatter_visitAtom___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1232,32 +1230,7 @@ x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_instMonadTravers return x_3; } } -lean_object* l_StateRefT_x27_get___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_st_ref_get(x_1, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -return x_5; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -lean_inc(x_8); -lean_inc(x_7); -lean_dec(x_5); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_7); -lean_ctor_set(x_9, 1, x_8); -return x_9; -} -} -} -lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -1314,11 +1287,11 @@ return x_19; } } } -lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__2___rarg), 7, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1___rarg), 7, 0); return x_3; } } @@ -1331,7 +1304,32 @@ lean_inc(x_2); return x_2; } } -lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___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* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_st_ref_get(x_2, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +return x_6; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_6); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +} +lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___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) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -1407,7 +1405,7 @@ return x_26; } } } -lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___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_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -1497,63 +1495,53 @@ static lean_object* _init_l_Lean_PrettyPrinter_Formatter_instMonadTraverserForma _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_StateRefT_x27_get___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__1___boxed), 1, 0); return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2___boxed), 5, 0); +return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__3() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__1___boxed), 1, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__1; +x_2 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1___rarg), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__3; -x_2 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__2; -x_3 = lean_alloc_closure((void*)(l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__2___rarg), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__3___boxed), 6, 0); +return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__4___boxed), 7, 0); return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__6() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__3___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__7() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__4; -x_2 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__5; -x_3 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__6; +x_1 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__3; +x_2 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__4; +x_3 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__5; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1565,21 +1553,10 @@ static lean_object* _init_l_Lean_PrettyPrinter_Formatter_instMonadTraverserForma _start: { lean_object* x_1; -x_1 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__7; +x_1 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__6; return x_1; } } -lean_object* l_StateRefT_x27_get___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_StateRefT_x27_get___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__1___boxed(lean_object* x_1) { _start: { @@ -1589,11 +1566,23 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___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) { _start: { lean_object* x_7; -x_7 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1601,11 +1590,11 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___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_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__4(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); @@ -11949,8 +11938,6 @@ l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__5 = _init_ lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__5); l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__6 = _init_l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__6(); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__6); -l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__7 = _init_l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__7(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__7); l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM = _init_l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM(); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM); l_Lean_PrettyPrinter_Formatter_visitArgs___closed__1 = _init_l_Lean_PrettyPrinter_Formatter_visitArgs___closed__1(); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c index 48c16802e9..5fa2570a77 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c @@ -73,12 +73,12 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer(lean_obje lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitToken___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2398____closed__34; lean_object* l_Lean_Parser_getBinaryAlias___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8; -lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1___closed__3; extern lean_object* l_Lean_List_format___rarg___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -109,7 +109,6 @@ lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthes uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2398____closed__36; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__7; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1887____closed__29; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2951_(lean_object*); @@ -130,7 +129,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__20; lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15; lean_object* l_Lean_PrettyPrinter_ParenthesizerM_orelse(lean_object*); -lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLineEq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -205,6 +203,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_skip_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2398____closed__47; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__17; +lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__3; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(lean_object*); @@ -238,7 +237,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1_ lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__2; extern lean_object* l_Lean_Option_format___rarg___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2398____closed__3; -lean_object* l_StateRefT_x27_get___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__6(lean_object*, uint8_t); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -309,7 +307,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__2(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_location___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__22; lean_object* l_Lean_PrettyPrinter_Parenthesizer_liftCoreM(lean_object*); @@ -441,7 +438,7 @@ uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__2(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedByCategoryToken_parenthesizer___rarg(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -449,7 +446,7 @@ lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__10; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_fmt___at_Lean_Level_LevelToFormat_Result_format___spec__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_ite___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -464,12 +461,11 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Parenthesizer_int lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_addPrecCheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__5___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__2; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1887____closed__53; -lean_object* l_StateRefT_x27_get___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Format_paren___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__22; lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___spec__1(lean_object*); @@ -496,6 +492,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___ lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2398____closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2398____closed__32; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__5; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer(lean_object*); @@ -525,7 +522,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16; lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailInfo(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_mkAntiquot_parenthesizer_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -566,6 +563,7 @@ lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__1___bo lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__5; extern lean_object* l_Lean_Format_paren___closed__3; +lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer_match__1___rarg(lean_object*, lean_object*); lean_object* lean_nat_mod(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withForbidden_parenthesizer___boxed(lean_object*); @@ -1639,32 +1637,7 @@ x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_instMonadTra return x_3; } } -lean_object* l_StateRefT_x27_get___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_st_ref_get(x_1, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -return x_5; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -lean_inc(x_8); -lean_inc(x_7); -lean_dec(x_5); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_7); -lean_ctor_set(x_9, 1, x_8); -return x_9; -} -} -} -lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -1721,11 +1694,11 @@ return x_19; } } } -lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__2___rarg), 7, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1___rarg), 7, 0); return x_3; } } @@ -1738,7 +1711,32 @@ lean_inc(x_2); return x_2; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___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* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_st_ref_get(x_2, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +return x_6; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_6); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +} +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___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) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -1825,7 +1823,7 @@ return x_30; } } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___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_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -1926,63 +1924,53 @@ static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserP _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_StateRefT_x27_get___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__1___boxed), 1, 0); return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2___boxed), 5, 0); +return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__3() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__1___boxed), 1, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__1; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1___rarg), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__3; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__2; -x_3 = lean_alloc_closure((void*)(l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__2___rarg), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__3___boxed), 6, 0); +return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__4___boxed), 7, 0); return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__6() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__3___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__7() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__4; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__5; -x_3 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__6; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__3; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__4; +x_3 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__5; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1994,21 +1982,10 @@ static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserP _start: { lean_object* x_1; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__7; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__6; return x_1; } } -lean_object* l_StateRefT_x27_get___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_StateRefT_x27_get___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__1___boxed(lean_object* x_1) { _start: { @@ -2018,11 +1995,23 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___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) { _start: { lean_object* x_7; -x_7 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2030,11 +2019,11 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___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_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__4(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); @@ -13166,8 +13155,6 @@ l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__5 lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__5); l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__6(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__6); -l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__7(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__7); l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM); l_Lean_PrettyPrinter_Parenthesizer_visitArgs___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_visitArgs___closed__1(); diff --git a/stage0/stdlib/Lean/Server/ServerBin.c b/stage0/stdlib/Lean/Server/ServerBin.c new file mode 100644 index 0000000000..edda8e79fa --- /dev/null +++ b/stage0/stdlib/Lean/Server/ServerBin.c @@ -0,0 +1,330 @@ +// Lean compiler output +// Module: Lean.Server.ServerBin +// Imports: Init Init.System.IO Lean.Server +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* lean_get_stdin(lean_object*); +lean_object* lean_io_error_to_string(lean_object*); +lean_object* _lean_main(lean_object*, lean_object*); +lean_object* lean_get_stderr(lean_object*); +lean_object* l_main___boxed__const__1; +lean_object* l_IO_getStdin___at_main___spec__1(lean_object*); +lean_object* lean_init_search_path(lean_object*, lean_object*); +lean_object* lean_get_stdout(lean_object*); +lean_object* l_IO_FS_Stream_putStrLn___at_Lean_Server_Test_runWithInputFile___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_initAndRunServer(lean_object*, lean_object*, lean_object*); +lean_object* l_IO_getStdin___at_main___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_get_stdin(x_1); +return x_2; +} +} +static lean_object* _init_l_main___boxed__const__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +lean_object* _lean_main(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_get_stdin(x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_get_stdout(x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_get_stderr(x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = lean_init_search_path(x_12, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Server_initAndRunServer(x_4, x_7, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_dec(x_17); +x_18 = l_main___boxed__const__1; +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_dec(x_15); +x_20 = l_main___boxed__const__1; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_15, 1); +lean_inc(x_23); +lean_dec(x_15); +x_24 = lean_io_error_to_string(x_22); +x_25 = l_IO_FS_Stream_putStrLn___at_Lean_Server_Test_runWithInputFile___spec__1(x_10, x_24, x_23); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +x_28 = l_main___boxed__const__1; +lean_ctor_set(x_25, 0, x_28); +return x_25; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = l_main___boxed__const__1; +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_25); +if (x_32 == 0) +{ +return x_25; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_25, 0); +x_34 = lean_ctor_get(x_25, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_25); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_4); +x_36 = !lean_is_exclusive(x_13); +if (x_36 == 0) +{ +return x_13; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_13, 0); +x_38 = lean_ctor_get(x_13, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_13); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_7); +lean_dec(x_4); +x_40 = !lean_is_exclusive(x_9); +if (x_40 == 0) +{ +return x_9; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_9, 0); +x_42 = lean_ctor_get(x_9, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_9); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_4); +x_44 = !lean_is_exclusive(x_6); +if (x_44 == 0) +{ +return x_6; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_6, 0); +x_46 = lean_ctor_get(x_6, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_6); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +uint8_t x_48; +x_48 = !lean_is_exclusive(x_3); +if (x_48 == 0) +{ +return x_3; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_3, 0); +x_50 = lean_ctor_get(x_3, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_3); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Init_System_IO(lean_object*); +lean_object* initialize_Lean_Server(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Server_ServerBin(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_System_IO(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Server(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_main___boxed__const__1 = _init_l_main___boxed__const__1(); +lean_mark_persistent(l_main___boxed__const__1); +return lean_io_result_mk_ok(lean_box(0)); +} +void lean_initialize(); + + #if defined(WIN32) || defined(_WIN32) + #include + #endif + + int main(int argc, char ** argv) { + #if defined(WIN32) || defined(_WIN32) + SetErrorMode(SEM_FAILCRITICALERRORS); + #endif + lean_object* in; lean_object* res; +lean_initialize(); +res = initialize_Lean_Server_ServerBin(lean_io_mk_world()); +lean_io_mark_end_initialization(); +if (lean_io_result_is_ok(res)) { +lean_dec_ref(res); +lean_init_task_manager(); +in = lean_box(0); +int i = argc; +while (i > 1) { + lean_object* n; + i--; + n = lean_alloc_ctor(1,2,0); lean_ctor_set(n, 0, lean_mk_string(argv[i])); lean_ctor_set(n, 1, in); + in = n; +} +res = _lean_main(in, lean_io_mk_world()); +} +if (lean_io_result_is_ok(res)) { + int ret = lean_unbox(lean_io_result_get_value(res)); + lean_dec_ref(res); + return ret; +} else { + lean_io_result_show_error(res); + lean_dec_ref(res); + return 1; +} +} +#ifdef __cplusplus +} +#endif