From d65691626cfb1ad3f02eac35e656f98f7756e510 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Tue, 5 Apr 2022 17:38:43 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Classical.lean | 28 +- stage0/src/Init/Data/Array/Basic.lean | 6 +- stage0/src/Init/Data/Array/Mem.lean | 14 + stage0/src/Init/Data/List/Basic.lean | 8 +- stage0/src/Init/Data/List/BasicAux.lean | 17 + stage0/src/Init/Data/Nat/Basic.lean | 2 + stage0/src/Init/Data/Range.lean | 28 +- stage0/src/Init/Notation.lean | 122 +- stage0/src/Init/NotationExtra.lean | 13 + stage0/src/Init/SizeOf.lean | 17 +- stage0/src/Lean/Elab/App.lean | 4 +- stage0/src/Lean/Elab/DefView.lean | 2 +- stage0/src/Lean/Elab/Extra.lean | 7 +- stage0/src/Lean/Elab/Inductive.lean | 253 +- stage0/src/Lean/Elab/Structure.lean | 14 +- .../src/Lean/Elab/Tactic/BuiltinTactic.lean | 50 +- stage0/src/Lean/Level.lean | 18 + stage0/src/Lean/Meta/PPGoal.lean | 57 +- stage0/src/Lean/Parser/Term.lean | 2 +- stage0/src/Lean/Widget/InteractiveGoal.lean | 8 +- stage0/src/stdlib_flags.h | 2 +- stage0/stdlib/Init/Classical.c | 1528 ++-- stage0/stdlib/Init/Data/Array/Basic.c | 2 +- stage0/stdlib/Init/Data/Array/Mem.c | 1439 +++- stage0/stdlib/Init/Data/List/BasicAux.c | 1781 +++++ stage0/stdlib/Init/Data/Range.c | 195 + stage0/stdlib/Init/Notation.c | 410 + stage0/stdlib/Lean/Elab/App.c | 190 +- stage0/stdlib/Lean/Elab/DefView.c | 280 +- stage0/stdlib/Lean/Elab/Extra.c | 301 +- stage0/stdlib/Lean/Elab/Inductive.c | 6764 ++++++++++++----- .../stdlib/Lean/Elab/PreDefinition/WF/Rel.c | 241 +- stage0/stdlib/Lean/Elab/Structure.c | 477 +- .../stdlib/Lean/Elab/Tactic/BuiltinTactic.c | 1222 ++- stage0/stdlib/Lean/Level.c | 369 + stage0/stdlib/Lean/Meta/PPGoal.c | 3097 ++++++-- .../Lean/Meta/Tactic/LinearArith/Solver.c | 590 +- stage0/stdlib/Lean/Parser/Term.c | 862 ++- 38 files changed, 15736 insertions(+), 4684 deletions(-) diff --git a/stage0/src/Init/Classical.lean b/stage0/src/Init/Classical.lean index 95262b0173..c4814d4682 100644 --- a/stage0/src/Init/Classical.lean +++ b/stage0/src/Init/Classical.lean @@ -22,7 +22,7 @@ noncomputable def choose {α : Sort u} {p : α → Prop} (h : ∃ x, p x) : α : theorem choose_spec {α : Sort u} {p : α → Prop} (h : ∃ x, p x) : p (choose h) := (indefiniteDescription p h).property -/- Diaconescu's theorem: excluded middle from choice, Function extensionality and propositional extensionality. -/ +/-- Diaconescu's theorem: excluded middle from choice, Function extensionality and propositional extensionality. -/ theorem em (p : Prop) : p ∨ ¬p := let U (x : Prop) : Prop := x = True ∨ p let V (x : Prop) : Prop := x = False ∨ p @@ -90,8 +90,7 @@ noncomputable def strongIndefiniteDescription {α : Sort u} (p : α → Prop) (h ⟨xp.val, fun h' => xp.property⟩) (fun hp => ⟨choice h, fun h => absurd h hp⟩) -/- the Hilbert epsilon Function -/ - +/-- the Hilbert epsilon Function -/ noncomputable def epsilon {α : Sort u} [h : Nonempty α] (p : α → Prop) : α := (strongIndefiniteDescription p h).val @@ -104,8 +103,7 @@ theorem epsilon_spec {α : Sort u} {p : α → Prop} (hex : ∃ y, p y) : p (@ep theorem epsilon_singleton {α : Sort u} (x : α) : @epsilon α ⟨x⟩ (fun y => y = x) = x := @epsilon_spec α (fun y => y = x) ⟨x, rfl⟩ -/- the axiom of choice -/ - +/-- the axiom of choice -/ theorem axiomOfChoice {α : Sort u} {β : α → Sort v} {r : ∀ x, β x → Prop} (h : ∀ x, ∃ y, r x y) : ∃ (f : ∀ x, β x), ∀ x, r x (f x) := ⟨_, fun x => choose_spec (h x)⟩ @@ -125,9 +123,21 @@ theorem byCases {p q : Prop} (hpq : p → q) (hnpq : ¬p → q) : q := theorem byContradiction {p : Prop} (h : ¬p → False) : p := Decidable.byContradiction (dec := propDecidable _) h -macro "by_cases" h:ident ":" e:term : tactic => - `(cases em $e:term with - | inl $h:ident => _ - | inr $h:ident => _) +/-- +`by_cases (h :)? p` splits the main goal into two cases, assuming `h : p` in the first branch, and `h : ¬ p` in the second branch. +-/ +syntax "by_cases" (atomic(ident ":"))? term : tactic + +macro_rules + | `(tactic| by_cases $h:ident : $e:term) => + `(tactic| + cases em $e:term with + | inl $h:ident => _ + | inr $h:ident => _) + | `(tactic| by_cases $e:term) => + `(tactic| + cases em $e:term with + | inl h => _ + | inr h => _) end Classical diff --git a/stage0/src/Init/Data/Array/Basic.lean b/stage0/src/Init/Data/Array/Basic.lean index e75faae253..8c737a95e8 100644 --- a/stage0/src/Init/Data/Array/Basic.lean +++ b/stage0/src/Init/Data/Array/Basic.lean @@ -628,8 +628,10 @@ def indexOf? [BEq α] (a : Array α) (v : α) : Option (Fin a.size) := show ((a.set i (a.get j)).set (size_set a i _ ▸ j) (a.get i)).size = a.size rw [size_set, size_set] -@[simp] theorem size_pop (a : Array α) : a.pop.size = a.size - 1 := - List.length_dropLast .. +@[simp] theorem size_pop (a : Array α) : a.pop.size = a.size - 1 := by + match a with + | ⟨[]⟩ => rfl + | ⟨a::as⟩ => simp [pop, Nat.succ_sub_succ_eq_sub] def popWhile (p : α → Bool) (as : Array α) : Array α := if h : as.size > 0 then diff --git a/stage0/src/Init/Data/Array/Mem.lean b/stage0/src/Init/Data/Array/Mem.lean index b9d7ce7b74..d17a746fb6 100644 --- a/stage0/src/Init/Data/Array/Mem.lean +++ b/stage0/src/Init/Data/Array/Mem.lean @@ -6,6 +6,7 @@ Authors: Leonardo de Moura prelude import Init.Data.Array.Basic import Init.Data.Nat.Linear +import Init.Data.List.BasicAux theorem List.sizeOf_get_lt [SizeOf α] (as : List α) (i : Fin as.length) : sizeOf (as.get i) < sizeOf as := by match as, i with @@ -40,4 +41,17 @@ theorem sizeOf_lt_of_mem [DecidableEq α] [SizeOf α] {as : Array α} (h : a ∈ apply aux 0 h termination_by aux j _ => as.size - j +@[simp] theorem sizeOf_get [SizeOf α] (as : Array α) (i : Fin as.size) : sizeOf (as.get i) < sizeOf as := by + cases as + simp [get] + apply Nat.lt_trans (List.sizeOf_get ..) + simp_arith + +macro "array_get_dec" : tactic => + `(first + | apply sizeOf_get + | apply Nat.lt_trans (sizeOf_get ..); simp_arith) + +macro_rules | `(tactic| decreasing_trivial) => `(tactic| array_get_dec) + end Array diff --git a/stage0/src/Init/Data/List/Basic.lean b/stage0/src/Init/Data/List/Basic.lean index d8dfa8fe54..15a629676e 100644 --- a/stage0/src/Init/Data/List/Basic.lean +++ b/stage0/src/Init/Data/List/Basic.lean @@ -485,14 +485,12 @@ def dropLast {α} : List α → List α | zero => rfl | succ i => simp [set, ih] -@[simp] theorem length_dropLast (as : List α) : as.dropLast.length = as.length - 1 := by +@[simp] theorem length_dropLast_cons (a : α) (as : List α) : (a :: as).dropLast.length = as.length := by match as with | [] => rfl - | [a] => rfl - | a::b::as => - have ih := length_dropLast (b::as) + | b::bs => + have ih := length_dropLast_cons b bs simp[dropLast, ih] - rfl @[simp] theorem length_append (as bs : List α) : (as ++ bs).length = as.length + bs.length := by induction as with diff --git a/stage0/src/Init/Data/List/BasicAux.lean b/stage0/src/Init/Data/List/BasicAux.lean index 7b4586d80d..a7a4451166 100644 --- a/stage0/src/Init/Data/List/BasicAux.lean +++ b/stage0/src/Init/Data/List/BasicAux.lean @@ -121,6 +121,15 @@ theorem sizeOf_lt_of_mem [SizeOf α] {as : List α} (h : a ∈ as) : sizeOf a < | head => simp_arith | tail _ _ ih => exact Nat.lt_trans ih (by simp_arith) +macro "sizeOf_list_dec" : tactic => + `(first + | apply sizeOf_lt_of_mem; assumption; done + | apply Nat.lt_trans (sizeOf_lt_of_mem ?h) + case' h => assumption + simp_arith) + +macro_rules | `(tactic| decreasing_trivial) => `(tactic| sizeOf_list_dec) + theorem append_cancel_left {as bs cs : List α} (h : as ++ bs = as ++ cs) : bs = cs := by induction as with | nil => assumption @@ -145,4 +154,12 @@ theorem append_cancel_right {as bs cs : List α} (h : as ++ bs = cs ++ bs) : as next => apply append_cancel_right next => intro h; simp [h] +@[simp] theorem sizeOf_get [SizeOf α] (as : List α) (i : Fin as.length) : sizeOf (as.get i) < sizeOf as := by + match as, i with + | a::as, ⟨0, _⟩ => simp_arith [get] + | a::as, ⟨i+1, h⟩ => + have ih := sizeOf_get as ⟨i, Nat.le_of_succ_le_succ h⟩ + apply Nat.lt_trans ih + simp_arith + end List diff --git a/stage0/src/Init/Data/Nat/Basic.lean b/stage0/src/Init/Data/Nat/Basic.lean index 185882eb2b..327601db66 100644 --- a/stage0/src/Init/Data/Nat/Basic.lean +++ b/stage0/src/Init/Data/Nat/Basic.lean @@ -301,6 +301,8 @@ theorem zero_lt_of_ne_zero {a : Nat} (h : a ≠ 0) : 0 < a := by | 0 => contradiction | a+1 => apply Nat.zero_lt_succ +attribute [simp] Nat.lt_irrefl + theorem ne_of_lt {a b : Nat} (h : a < b) : a ≠ b := fun he => absurd (he ▸ h) (Nat.lt_irrefl a) diff --git a/stage0/src/Init/Data/Range.lean b/stage0/src/Init/Data/Range.lean index 5073bc3eba..c9791906fc 100644 --- a/stage0/src/Init/Data/Range.lean +++ b/stage0/src/Init/Data/Range.lean @@ -14,6 +14,9 @@ structure Range where stop : Nat step : Nat := 1 +instance : Membership Nat Range where + mem i r := r.start ≤ i ∧ i < r.stop + namespace Range universe u v @@ -21,7 +24,7 @@ universe u v -- pass `stop` and `step` separately so the `range` object can be eliminated through inlining let rec @[specialize] loop (fuel i stop step : Nat) (b : β) : m β := do if i ≥ stop then - pure b + return b else match fuel with | 0 => pure b | fuel+1 => match (← f i b) with @@ -32,6 +35,21 @@ universe u v instance : ForIn m Range Nat where forIn := Range.forIn +@[inline] protected def forIn' {β : Type u} {m : Type u → Type v} [Monad m] (range : Range) (init : β) (f : (i : Nat) → i ∈ range → β → m (ForInStep β)) : m β := + let rec @[specialize] loop (start stop step : Nat) (f : (i : Nat) → start ≤ i ∧ i < stop → β → m (ForInStep β)) (fuel i : Nat) (hl : start ≤ i) (b : β) : m β := do + if hu : i < stop then + match fuel with + | 0 => pure b + | fuel+1 => match (← f i ⟨hl, hu⟩ b) with + | ForInStep.done b => pure b + | ForInStep.yield b => loop start stop step f fuel (i + step) (Nat.le_trans hl (Nat.le_add_right ..)) b + else + return b + loop range.start range.stop range.step f range.stop range.start (Nat.le_refl ..) init + +instance : ForIn' m Range Nat inferInstance where + forIn' := Range.forIn' + @[inline] protected def forM {m : Type u → Type v} [Monad m] (range : Range) (f : Nat → m PUnit) : m PUnit := let rec @[specialize] loop (fuel i stop step : Nat) : m PUnit := do if i ≥ stop then @@ -57,3 +75,11 @@ macro_rules end Range end Std + +theorem Membership.mem.upper {i : Nat} {r : Std.Range} (h : i ∈ r) : i < r.stop := by + simp [Membership.mem] at h + exact h.2 + +theorem Membership.mem.lower {i : Nat} {r : Std.Range} (h : i ∈ r) : r.start ≤ i := by + simp [Membership.mem] at h + exact h.1 diff --git a/stage0/src/Init/Notation.lean b/stage0/src/Init/Notation.lean index a6e6f90671..661ee7e37c 100644 --- a/stage0/src/Init/Notation.lean +++ b/stage0/src/Init/Notation.lean @@ -293,6 +293,12 @@ syntax (name := constructor) "constructor" : tactic `case tag => tac` focuses on the goal with case name `tag` and solves it using `tac`, or else fails. `case tag x₁ ... xₙ => tac` additionally renames the `n` most recent hypotheses with inaccessible names to the given names. -/ syntax (name := case) "case " (ident <|> "_") (ident <|> "_")* " => " tacticSeq : tactic +/-- +Similar to the `case tag => tac` tactic but for writing macros. Recall that `case` closes the goal using `sorry` when it fails, +and the tactic execution is not interrupted. +-/ +syntax (name := case') "case' " (ident <|> "_") (ident <|> "_")* " => " tacticSeq : tactic + /-- `next => tac` focuses on the next goal solves it using `tac`, or else fails. `next x₁ ... xₙ => tac` additionally renames the `n` most recent hypotheses with inaccessible names to the given names. -/ @@ -310,8 +316,11 @@ syntax (name := focus) "focus " tacticSeq : tactic syntax (name := skip) "skip" : tactic /-- `done` succeeds iff there are no remaining goals. -/ syntax (name := done) "done" : tactic +/-- This tactic displays the current state in the info view. -/ syntax (name := traceState) "trace_state" : tactic +/-- `trace msg` displays `msg` in the info view. -/ syntax (name := traceMessage) "trace " str : tactic +/-- Fails if the given tactic succeeds. -/ syntax (name := failIfSuccess) "fail_if_success " tacticSeq : tactic syntax (name := paren) "(" tacticSeq ")" : tactic syntax (name := withReducible) "with_reducible " tacticSeq : tactic @@ -340,6 +349,7 @@ syntax (name := ac_refl) "ac_refl " : tactic macro "admit" : tactic => `(exact sorry) /-- The `sorry` tactic is a shorthand for `exact sorry`. -/ macro "sorry" : tactic => `(exact sorry) +/-- `infer_instance` is an abbreviation for `exact inferInstance` -/ macro "infer_instance" : tactic => `(exact inferInstance) /-- Optional configuration option for tactics -/ @@ -355,8 +365,18 @@ syntax (name := changeWith) "change " term " with " term (location)? : tactic syntax rwRule := ("← " <|> "<- ")? term syntax rwRuleSeq := "[" rwRule,*,? "]" +/-- +`rewrite [e]` applies identity `e` as a rewrite rule to the target of the main goal. +If `e` is preceded by left arrow (`←` or `<-`), the rewrite is applied in the reverse direction. +If `e` is a defined constant, then the equational theorems associated with `e` are used. This provides a convenient way to unfold `e`. +- `rewrite [e₁, ..., eₙ]` applies the given rules sequentially. +- `rewrite [e] at l` rewrites `e` at location(s) `l`, where `l` is either `*` or a list of hypotheses in the local context. In the latter case, a turnstile `⊢` or `|-` can also be used, to signify the target of the goal. +-/ syntax (name := rewriteSeq) "rewrite " (config)? rwRuleSeq (location)? : tactic +/-- +An abbreviation for `rewrite`. +-/ syntax (name := rwSeq) "rw " (config)? rwRuleSeq (location)? : tactic def rwWithRfl (kind : SyntaxNodeKind) (atom : String) (stx : Syntax) : MacroM Syntax := do @@ -371,8 +391,17 @@ def rwWithRfl (kind : SyntaxNodeKind) (atom : String) (stx : Syntax) : MacroM Sy @[macro rwSeq] def expandRwSeq : Macro := rwWithRfl ``Lean.Parser.Tactic.rewriteSeq "rewrite" +/-- +The `injection` tactic is based on the fact that constructors of inductive data types are injections. +That means that if `c` is a constructor of an inductive datatype, and if `(c t₁)` and `(c t₂)` are two terms that are equal then `t₁` and `t₂` are equal too. +If `q` is a proof of a statement of conclusion `t₁ = t₂`, then injection applies injectivity to derive the equality of all arguments of `t₁` and `t₂` +placed in the same positions. For example, from `(a::b) = (c::d)` we derive `a=c` and `b=d`. To use this tactic `t₁` and `t₂` +should be constructor applications of the same constructor. +Given `h : a::b = c::d`, the tactic `injection h` adds two new hypothesis with types `a = c` and `b = d` to the main goal. +The tactic `injection h with h₁ h₂` uses the names `h₁` and `h₂` to name the new hypotheses. +-/ syntax (name := injection) "injection " term (" with " (colGt (ident <|> "_"))+)? : tactic - +-- TODO: add with syntax (name := injections) "injections" : tactic syntax discharger := atomic("(" (&"discharger" <|> &"disch")) " := " tacticSeq ")" @@ -382,7 +411,23 @@ syntax simpPost := "↑" syntax simpLemma := (simpPre <|> simpPost)? ("← " <|> "<- ")? term syntax simpErase := "-" term:max syntax simpStar := "*" +/-- +The `simp` tactic uses lemmas and hypotheses to simplify the main goal target or non-dependent hypotheses. It has many variants. +- `simp` simplifies the main goal target using lemmas tagged with the attribute `[simp]`. +- `simp [h₁, h₂, ..., hₙ]` simplifies the main goal target using the lemmas tagged with the attribute `[simp]` and the given `hᵢ`'s, where the `hᵢ`'s are expressions. If an `hᵢ` is a defined constant `f`, then the equational lemmas associated with `f` are used. This provides a convenient way to unfold `f`. +- `simp [*]` simplifies the main goal target using the lemmas tagged with the attribute `[simp]` and all hypotheses. +- `simp only [h₁, h₂, ..., hₙ]` is like `simp [h₁, h₂, ..., hₙ]` but does not use `[simp]` lemmas +- `simp [-id₁, ..., -idₙ]` simplifies the main goal target using the lemmas tagged with the attribute `[simp]`, but removes the ones named `idᵢ`. +- `simp at h₁ h₂ ... hₙ` simplifies the hypotheses `h₁ : T₁` ... `hₙ : Tₙ`. If the target or another hypothesis depends on `hᵢ`, a new simplified hypothesis `hᵢ` is introduced, but the old one remains in the local context. +- `simp at *` simplifies all the hypotheses and the target. +- `simp [*] at *` simplifies target and all (propositional) hypotheses using the other hypotheses. +-/ syntax (name := simp) "simp " (config)? (discharger)? (&"only ")? ("[" (simpStar <|> simpErase <|> simpLemma),* "]")? (location)? : tactic +/-- +A stronger version of `simp [*] at *` where the hypotheses and target are simplified +multiple times until no simplication is applicable. +Only non-dependent propositional hypotheses are considered. +-/ syntax (name := simpAll) "simp_all " (config)? (discharger)? (&"only ")? ("[" (simpErase <|> simpLemma),* "]")? : tactic /-- @@ -399,12 +444,38 @@ syntax (name := unfold) "unfold " ident (location)? : tactic -- It makes sure the "continuation" `?_` is the main goal after refining macro "refine_lift " e:term : tactic => `(focus (refine no_implicit_lambda% $e; rotate_right)) +/-- +`have h : t := e` adds the hypothesis `h : t` to the current goal if `e` a term of type `t`. If `t` is omitted, it will be inferred. +If `h` is omitted, the name `this` is used. +The variant `have pattern := e` is equivalent to `match e with | pattern => _`, and it is convenient for types that have only applicable constructor. +Example: given `h : p ∧ q ∧ r`, `have ⟨h₁, h₂, h₃⟩ := h` produces the hypotheses `h₁ : p`, `h₂ : q`, and `h₃ : r`. +-/ macro "have " d:haveDecl : tactic => `(refine_lift have $d:haveDecl; ?_) -/- We use a priority > default, to avoid ambiguity with previous `have` notation -/ + +/-- +`have h := e` adds the hypothesis `h : t` if `e : t`. +-/ macro (priority := high) "have" x:ident " := " p:term : tactic => `(have $x:ident : _ := $p) +/-- +Given a main goal `ctx |- t`, `suffices h : t' from e` replaces the main goal with `ctx |- t'`, +`e` must have type `t` in the context `ctx, h : t'`. + +The variant `suffices h : t' by tac` is a shorthand for `suffices h : t' from by tac`. +If `h :` is omitted, the name `this` is used. + -/ macro "suffices " d:sufficesDecl : tactic => `(refine_lift suffices $d:sufficesDecl; ?_) +/-- +`let h : t := e` adds the hypothesis `h : t := e` to the current goal if `e` a term of type `t`. +If `t` is omitted, it will be inferred. +The variant `let pattern := e` is equivalent to `match e with | pattern => _`, and it is convenient for types that have only applicable constructor. +Example: given `h : p ∧ q ∧ r`, `let ⟨h₁, h₂, h₃⟩ := h` produces the hypotheses `h₁ : p`, `h₂ : q`, and `h₃ : r`. +-/ macro "let " d:letDecl : tactic => `(refine_lift let $d:letDecl; ?_) -macro "show " e:term : tactic => `(refine_lift show $e:term from ?_) +/-- +`show t` finds the first goal whose target unifies with `t`. It makes that the main goal, + performs the unification, and replaces the target with the unified version of `t`. +-/ +macro "show " e:term : tactic => `(refine_lift show $e:term from ?_) -- TODO: fix, see comment syntax (name := letrec) withPosition(atomic(group("let " &"rec ")) letRecDecls) : tactic macro_rules | `(tactic| let rec $d:letRecDecls) => `(tactic| refine_lift let rec $d:letRecDecls; ?_) @@ -417,6 +488,20 @@ macro "let' " d:letDecl : tactic => `(refine_lift' let $d:letDecl; ?_) syntax inductionAlt := ppDedent(ppLine) "| " (group("@"? ident) <|> "_") (ident <|> "_")* " => " (hole <|> syntheticHole <|> tacticSeq) syntax inductionAlts := "with " (tactic)? withPosition( (colGe inductionAlt)+) +/-- +Assuming `x` is a variable in the local context with an inductive type, `induction x` applies induction on `x` to the main goal, +producing one goal for each constructor of the inductive type, in which the target is replaced by a general instance of that constructor +and an inductive hypothesis is added for each recursive argument to the constructor. +If the type of an element in the local context depends on `x`, that element is reverted and reintroduced afterward, +so that the inductive hypothesis incorporates that hypothesis as well. +For example, given `n : Nat` and a goal with a hypothesis `h : P n` and target `Q n`, `induction n` produces one goal +with hypothesis `h : P 0` and target `Q 0`, and one goal with hypotheses `h : P (Nat.succ a)` and `ih₁ : P a → Q a` and target `Q (Nat.succ a)`. +Here the names `a` and `ih₁` are chosen automatically and are not accessible. You can use `with` to provide the variables names for each constructor. +- `induction e`, where `e` is an expression instead of a variable, generalizes `e` in the goal, and then performs induction on the resulting variable. +- `induction e using r` allows the user to specify the principle of induction that should be used. Here `r` should be a theorem whose result type must be of the form `C t`, where `C` is a bound variable and `t` is a (possibly empty) sequence of bound variables +- `induction e generalizing z₁ ... zₙ`, where `z₁ ... zₙ` are variables in the local context, generalizes over `z₁ ... zₙ` before applying the induction but then introduces them in each goal. In other words, the net effect is that each inductive hypothesis is generalized. +- Given `x : Nat`, `induction x with | zero => tac₁ | succ x' ih => tac₂` uses tactic `tac₁` for the `zero` case, and `tac₂` for the `succ` case. +-/ syntax (name := induction) "induction " term,+ (" using " ident)? ("generalizing " (colGt term:max)+)? (inductionAlts)? : tactic syntax generalizeArg := atomic(ident " : ")? term:51 " = " ident @@ -426,6 +511,17 @@ If `h` is given, `h : e = x` is introduced as well. -/ syntax (name := generalize) "generalize " generalizeArg,+ : tactic syntax casesTarget := atomic(ident " : ")? term +/-- +Assuming `x` is a variable in the local context with an inductive type, `cases x` splits the main goal, +producing one goal for each constructor of the inductive type, in which the target is replaced by a general instance of that constructor. +If the type of an element in the local context depends on `x`, that element is reverted and reintroduced afterward, +so that the case split affects that hypothesis as well. `cases` detects unreachable cases and closes them automatically. +For example, given `n : Nat` and a goal with a hypothesis `h : P n` and target `Q n`, `cases n` produces one goal with hypothesis `h : P 0` and target `Q 0`, +and one goal with hypothesis `h : P (Nat.succ a)` and target `Q (Nat.succ a)`. Here the name `a` is chosen automatically and are not accessible. You can use `with` to provide the variables names for each constructor. +- `cases e`, where `e` is an expression instead of a variable, generalizes `e` in the goal, and then cases on the resulting variable. +- Given `as : List α`, `cases as with | nil => tac₁ | cons a as' => tac₂`, uses tactic `tac₁` for the `nil` case, and `tac₂` for the `cons` case, and `a` and `as'` are used as names for the new variables introduced. +- `cases h : e`, where `e` is a variable or an expression, performs cases on `e` as above, but also adds a hypothesis `h : e = ...` to each hypothesis, where `...` is the constructor instance for that particular case. +-/ syntax (name := cases) "cases " casesTarget,+ (" using " ident)? (inductionAlts)? : tactic syntax (name := existsIntro) "exists " term : tactic @@ -433,16 +529,35 @@ syntax (name := existsIntro) "exists " term : tactic /-- `rename_i x_1 ... x_n` renames the last `n` inaccessible names using the given names. -/ syntax (name := renameI) "rename_i " (colGt (ident <|> "_"))+ : tactic +/-- +`repeat tac` applies `tac` to main goal. If the application succeeds, +the tactic is applied recursively to the generated subgoals until it eventually fails. +-/ syntax "repeat " tacticSeq : tactic macro_rules | `(tactic| repeat $seq) => `(tactic| first | ($seq); repeat $seq | skip) +/-- +Tries different simple tactics (e.g., `rfl`, `contradiction`, ...) to close the current goal. +You can use the command `macro_rules` to extend the set of tactics used. Example: +``` +macro_rules | `(tactic| trivial) => `(tactic| simp) +``` +-/ syntax "trivial" : tactic +/-- +The `split` tactic is useful for breaking nested if-then-else and match expressions in cases. +For a `match` expression with `n` cases, the `split` tactic generates at most `n` subgoals +-/ syntax (name := split) "split " (colGt term)? (location)? : tactic syntax (name := dbgTrace) "dbg_trace " str : tactic +/-- Helper tactic for "discarding" the rest of a proof. It is useful when working on the middle of a complex proofs, + and less messy than commenting the remainder of the proof. -/ +macro "stop" s:tacticSeq : tactic => `(repeat sorry) + /-- The tactic `specialize h a₁ ... aₙ` works on local hypothesis `h`. The premises of this hypothesis, either universal quantifications or non-dependent implications, @@ -459,6 +574,7 @@ macro_rules | `(tactic| trivial) => `(tactic| apply And.intro <;> trivial) macro "unhygienic " t:tacticSeq : tactic => `(set_option tactic.hygienic false in $t:tacticSeq) +/-- `fail msg` is a tactic that always fail and produces an error using the given message. -/ syntax (name := fail) "fail " (str)? : tactic syntax (name := checkpoint) "checkpoint " tacticSeq : tactic diff --git a/stage0/src/Init/NotationExtra.lean b/stage0/src/Init/NotationExtra.lean index 412a67fbae..095d7fd50d 100644 --- a/stage0/src/Init/NotationExtra.lean +++ b/stage0/src/Init/NotationExtra.lean @@ -154,6 +154,19 @@ macro "calc " steps:withPosition(calcStep+) : tactic => `(exact calc $(steps.get | `($(_) fun $x:ident => $p) => `({ $x // $p }) | _ => throw () +/-- +Apply function extensionality and introduce new hypotheses. +The tactic `funext` will keep applying new the `funext` lemma until the goal target is not reducible to +``` + |- ((fun x => ...) = (fun x => ...)) +``` +The variant `funext h₁ ... hₙ` applies `funext` `n` times, and uses the given identifiers to name the new hypotheses. +Patterns can be used like in the `intro` tactic. Example, given a goal +``` + |- ((fun x : Nat × Bool => ...) = (fun x => ...)) +``` +`funext (a, b)` applies `funext` once and performs pattern matching on the newly introduced pair. +-/ syntax "funext " (colGt term:max)+ : tactic macro_rules diff --git a/stage0/src/Init/SizeOf.lean b/stage0/src/Init/SizeOf.lean index 0b11cf62af..ef87a14ab9 100644 --- a/stage0/src/Init/SizeOf.lean +++ b/stage0/src/Init/SizeOf.lean @@ -60,14 +60,25 @@ deriving instance SizeOf for EStateM.Result @[simp] theorem Unit.sizeOf (u : Unit) : sizeOf u = 1 := rfl @[simp] theorem Bool.sizeOf_eq_one (b : Bool) : sizeOf b = 1 := by cases b <;> rfl +namespace Lean + /- We manually define `Lean.Name` instance because we use an opaque function for computing the hashcode field. -/ -protected noncomputable def Lean.Name.sizeOf : Name → Nat +protected noncomputable def Name.sizeOf : Name → Nat | anonymous => 1 | str p s _ => 1 + Name.sizeOf p + sizeOf s | num p n _ => 1 + Name.sizeOf p + sizeOf n -noncomputable instance : SizeOf Lean.Name where +noncomputable instance : SizeOf Name where sizeOf n := n.sizeOf -deriving instance SizeOf for Lean.Syntax +@[simp] theorem Name.anonymous.sizeOf_spec : sizeOf anonymous = 1 := + rfl +@[simp] theorem Name.str.sizeOf_spec (p : Name) (s : String) (h : UInt64) : sizeOf (str p s h) = 1 + sizeOf p + sizeOf s := + rfl +@[simp] theorem Name.num.sizeOf_spec (p : Name) (n : Nat) (h : UInt64) : sizeOf (num p n h) = 1 + sizeOf p + sizeOf n := + rfl + +deriving instance SizeOf for Syntax + +end Lean diff --git a/stage0/src/Lean/Elab/App.lean b/stage0/src/Lean/Elab/App.lean index b79136b6b7..9150eb5442 100644 --- a/stage0/src/Lean/Elab/App.lean +++ b/stage0/src/Lean/Elab/App.lean @@ -866,9 +866,9 @@ private partial def elabAppFn (f : Syntax) (lvals : List LVal) (namedArgs : Arra let some expectedType := expectedType? | throwError "invalid dotted identifier notation, expected type must be known" forallTelescopeReducing expectedType fun _ resultType => do - let resultTypeFn := (← instantiateMVars resultType).getAppFn + let resultTypeFn := (← instantiateMVars resultType).consumeMData.getAppFn tryPostponeIfMVar resultTypeFn - let .const declName .. := resultTypeFn + let .const declName .. := resultTypeFn.consumeMData | throwError "invalid dotted identifier notation, expected type is not of the form (... → C ...) where C is a constant{indentExpr expectedType}" let idNew := declName ++ id.getId.eraseMacroScopes unless (← getEnv).contains idNew do diff --git a/stage0/src/Lean/Elab/DefView.lean b/stage0/src/Lean/Elab/DefView.lean index 0c3776bbb8..e3d7ae9fd3 100644 --- a/stage0/src/Lean/Elab/DefView.lean +++ b/stage0/src/Lean/Elab/DefView.lean @@ -127,7 +127,7 @@ def mkDefViewOfConstant (modifiers : Modifiers) (stx : Syntax) : CommandElabM De let val ← match stx[3].getOptional? with | some val => pure val | none => - let val ← `(default_or_ofNonempty%) + let val ← if modifiers.isUnsafe then `(default_or_ofNonempty% unsafe) else `(default_or_ofNonempty%) pure <| mkNode ``Parser.Command.declValSimple #[ mkAtomFrom stx ":=", val ] return { ref := stx, kind := DefKind.opaque, modifiers := modifiers, diff --git a/stage0/src/Lean/Elab/Extra.lean b/stage0/src/Lean/Elab/Extra.lean index 65460b0fb9..097674c7bd 100644 --- a/stage0/src/Lean/Elab/Extra.lean +++ b/stage0/src/Lean/Elab/Extra.lean @@ -350,7 +350,12 @@ def elabDefaultOrNonempty : TermElab := fun stx expectedType? => do catch ex => try mkOfNonempty expectedType catch _ => - throw ex + if stx[1].isNone then + throw ex + else + -- It is in the context of an `unsafe` constant. We can use sorry instead. + -- Another option is to make a recursive application since it is unsafe. + mkSorry expectedType false builtin_initialize registerTraceClass `Elab.binop diff --git a/stage0/src/Lean/Elab/Inductive.lean b/stage0/src/Lean/Elab/Inductive.lean index f6bd0bf91e..524de4d812 100644 --- a/stage0/src/Lean/Elab/Inductive.lean +++ b/stage0/src/Lean/Elab/Inductive.lean @@ -145,8 +145,8 @@ private def checkHeader (r : ElabHeaderResult) (numParams : Nat) (firstType? : O match firstType? with | none => pure type | some firstType => - withRef r.view.ref $ checkParamsAndResultType type firstType numParams - pure firstType + withRef r.view.ref <| checkParamsAndResultType type firstType numParams + return firstType -- Auxiliary function for checking whether the types in mutually inductive declaration are compatible. private partial def checkHeaders (rs : Array ElabHeaderResult) (numParams : Nat) (i : Nat) (firstType? : Option Expr) : TermElabM Unit := do @@ -173,7 +173,7 @@ private partial def withInductiveLocalDecls {α} (rs : Array ElabHeaderResult) ( pure (r.view.shortDeclName, type) let r0 := rs[0] let params := r0.params - withLCtx r0.lctx r0.localInsts $ withRef r0.view.ref do + withLCtx r0.lctx r0.localInsts <| withRef r0.view.ref do let rec loop (i : Nat) (indFVars : Array Expr) := do if h : i < namesAndTypes.size then let (id, type) := namesAndTypes.get ⟨i, h⟩ @@ -187,6 +187,86 @@ private def isInductiveFamily (numParams : Nat) (indFVar : Expr) : TermElabM Boo forallTelescopeReducing indFVarType fun xs _ => return xs.size > numParams +private def getArrowBinderNames (type : Expr) : Array Name := + go type #[] +where + go (type : Expr) (acc : Array Name) : Array Name := + match type with + | .forallE n _ b _ => go b (acc.push n) + | .mdata _ b _ => go b acc + | _ => acc + +/-- + Replace binder names in `type` with `newNames`. + Remark: we only replace the names for binder containing macroscopes. +-/ +private def replaceArrowBinderNames (type : Expr) (newNames : Array Name) : Expr := + go type 0 +where + go (type : Expr) (i : Nat) : Expr := + if i < newNames.size then + match type with + | .forallE n d b data => + if n.hasMacroScopes then + mkForall newNames[i] data.binderInfo d (go b (i+1)) + else + mkForall n data.binderInfo d (go b (i+1)) + | _ => type + else + type + +/-- + Reorder contructor arguments to improve the effectiveness of the `fixedIndicesToParams` method. + + The idea is quite simple. Given a constructor type of the form + ``` + (a₁ : A₁) → ... → (aₙ : Aₙ) → C b₁ ... bₘ + ``` + We try to find the longest prefix `b₁ ... bᵢ`, `i ≤ m` s.t. + - each `bₖ` is in `{a₁, ..., aₙ}` + - each `bₖ` only depends on variables in `{b₁, ..., bₖ₋₁}` + + Then, it moves this prefix `b₁ ... bᵢ` to the front. +-/ +private def reorderCtorArgs (ctorType : Expr) : MetaM Expr := do + forallTelescopeReducing ctorType fun as type => do + /- `type` is of the form `C ...` where `C` is the inductive datatype being defined. -/ + let bs := type.getAppArgs + let mut as := as + let mut bsPrefix := #[] + for b in bs do + unless b.isFVar && as.contains b do + break + let localDecl ← getFVarLocalDecl b + if (← localDeclDependsOnPred localDecl fun fvarId => as.any fun p => p.fvarId! == fvarId) then + break + bsPrefix := bsPrefix.push b + as := as.erase b + if bsPrefix.isEmpty then + return ctorType + else + let r ← mkForallFVars (bsPrefix ++ as) type + /- `r` already contains the resulting type. + To be able to produce more better error messages, we copy the first `bsPrefix.size` binder names from `C` to `r`. + This is important when some of contructor parameters were inferred using the auto-bound implicit feature. + For example, in the following declaration. + ``` + inductive Member : α → List α → Type u + | head : Member a (a::as) + | tail : Member a bs → Member a (b::bs) + ``` + if we do not copy the binder names + ``` + #check @Member.head + ``` + produces `@Member.head : {x : Type u_1} → {a : x} → {as : List x} → Member a (a :: as)` + which is correct, but a bit confusing. By copying the binder names, we obtain + `@Member.head : {α : Type u_1} → {a : α} → {as : List α} → Member a (a :: as)` + -/ + let C := type.getAppFn + let binderNames := getArrowBinderNames (← instantiateMVars (← inferType C)) + return replaceArrowBinderNames r binderNames[:bsPrefix.size] + /- Elaborate constructor types. @@ -223,6 +303,7 @@ private def elabCtors (indFVars : Array Expr) (indFVar : Expr) (params : Array E let type ← mkForallFVars ctorParams type let extraCtorParams ← Term.collectUnassignedMVars type let type ← mkForallFVars extraCtorParams type + let type ← reorderCtorArgs type let type ← mkForallFVars params type return { name := ctorView.declName, type } where @@ -278,58 +359,11 @@ def shouldInferResultUniverse (u : Level) : TermElabM Bool := do match u.getLevelOffset with | Level.mvar mvarId _ => do Term.assignLevelMVar mvarId tmpIndParam - pure true + return true | _ => throwError "cannot infer resulting universe level of inductive datatype, given level contains metavariables {mkSort u}, provide universe explicitly" else - pure false - -/- - Auxiliary function for `updateResultingUniverse` - `accLevelAtCtor u r rOffset us` add `u` components to `us` if they are not already there and it is different from the resulting universe level `r+rOffset`. - If `u` is a `max`, then its components are recursively processed. - If `u` is a `succ` and `rOffset > 0`, we process the `u`s child using `rOffset-1`. - - This method is used to infer the resulting universe level of an inductive datatype. -/ -def accLevelAtCtor : Level → Level → Nat → Array Level → TermElabM (Array Level) - | Level.max u v _, r, rOffset, us => do let us ← accLevelAtCtor u r rOffset us; accLevelAtCtor v r rOffset us - | Level.imax u v _, r, rOffset, us => do let us ← accLevelAtCtor u r rOffset us; accLevelAtCtor v r rOffset us - | Level.zero _, _, _, us => pure us - | Level.succ u _, r, rOffset+1, us => accLevelAtCtor u r rOffset us - | u, r, rOffset, us => - if rOffset == 0 && u == r then pure us - else if r.occurs u then throwError "failed to compute resulting universe level of inductive datatype, provide universe explicitly" - else if rOffset > 0 then throwError "failed to compute resulting universe level of inductive datatype, provide universe explicitly" - else if us.contains u then pure us - else pure (us.push u) - -/- Auxiliary function for `updateResultingUniverse` -/ -private partial def collectUniversesFromCtorTypeAux (r : Level) (rOffset : Nat) : Nat → Expr → Array Level → TermElabM (Array Level) - | 0, Expr.forallE n d b c, us => do - let u ← getLevel d - let u ← instantiateLevelMVars u - let us ← accLevelAtCtor u r rOffset us - withLocalDecl n c.binderInfo d fun x => - let e := b.instantiate1 x - collectUniversesFromCtorTypeAux r rOffset 0 e us - | i+1, Expr.forallE n d b c, us => do - withLocalDecl n c.binderInfo d fun x => - let e := b.instantiate1 x - collectUniversesFromCtorTypeAux r rOffset i e us - | _, _, us => pure us - -/- Auxiliary function for `updateResultingUniverse` -/ -private partial def collectUniversesFromCtorType - (r : Level) (rOffset : Nat) (ctorType : Expr) (numParams : Nat) (us : Array Level) : TermElabM (Array Level) := - collectUniversesFromCtorTypeAux r rOffset numParams ctorType us - -/- Auxiliary function for `updateResultingUniverse` -/ -private partial def collectUniverses (r : Level) (rOffset : Nat) (numParams : Nat) (indTypes : List InductiveType) : TermElabM (Array Level) := do - let mut us := #[] - for indType in indTypes do - for ctor in indType.ctors do - us ← collectUniversesFromCtorType r rOffset ctor.type numParams us - return us + return false def mkResultUniverse (us : Array Level) (rOffset : Nat) : Level := if us.isEmpty && rOffset == 0 then @@ -337,10 +371,51 @@ def mkResultUniverse (us : Array Level) (rOffset : Nat) : Level := else let r := Level.mkNaryMax us.toList if rOffset == 0 && !r.isZero && !r.isNeverZero then - (mkLevelMax r levelOne).normalize + mkLevelMax r levelOne |>.normalize else r.normalize +/-- + Auxiliary function for `updateResultingUniverse` + `accLevelAtCtor u r rOffset` add `u` to state if it is not already there and + it is different from the resulting universe level `r+rOffset`. + + If `u` is a `max`, then its components are recursively processed. + If `u` is a `succ` and `rOffset > 0`, we process the `u`s child using `rOffset-1`. + + This method is used to infer the resulting universe level of an inductive datatype. +-/ +def accLevelAtCtor (u : Level) (r : Level) (rOffset : Nat) : StateRefT (Array Level) TermElabM Unit := do + match u, rOffset with + | Level.max u v _, rOffset => accLevelAtCtor u r rOffset; accLevelAtCtor v r rOffset + | Level.imax u v _, rOffset => accLevelAtCtor u r rOffset; accLevelAtCtor v r rOffset + | Level.zero _, _ => return () + | Level.succ u _, rOffset+1 => accLevelAtCtor u r rOffset + | u, rOffset => + if rOffset == 0 && u == r then + return () + else if r.occurs u then + throwError "failed to compute resulting universe level of inductive datatype, provide universe explicitly" + else if rOffset > 0 then + throwError "failed to compute resulting universe level of inductive datatype, provide universe explicitly" + else if (← get).contains u then + return () + else + modify fun us => us.push u + +/-- Auxiliary function for `updateResultingUniverse` -/ +private partial def collectUniverses (r : Level) (rOffset : Nat) (numParams : Nat) (indTypes : List InductiveType) : TermElabM (Array Level) := do + let (_, us) ← go |>.run #[] + return us +where + go : StateRefT (Array Level) TermElabM Unit := + indTypes.forM fun indType => indType.ctors.forM fun ctor => + forallTelescopeReducing ctor.type fun ctorParams _ => + for ctorParam in ctorParams[numParams:] do + let type ← inferType ctorParam + let u ← instantiateLevelMVars (← getLevel type) + accLevelAtCtor u r rOffset + private def updateResultingUniverse (numParams : Nat) (indTypes : List InductiveType) : TermElabM (List InductiveType) := do let r ← getResultingUniverse indTypes let rOffset : Nat := r.getOffset @@ -368,8 +443,56 @@ def checkResultingUniverse (u : Level) : TermElabM Unit := do if !u.isZero && !u.isNeverZero then throwError "invalid universe polymorphic type, the resultant universe is not Prop (i.e., 0), but it may be Prop for some parameter values (solution: use 'u+1' or 'max 1 u'{indentD u}" -private def checkResultingUniverses (indTypes : List InductiveType) : TermElabM Unit := do - checkResultingUniverse (← getResultingUniverse indTypes) +/-- + Execute `k` using the `Syntax` reference associated with constructor `ctorName`. +-/ +def withCtorRef (views : Array InductiveView) (ctorName : Name) (k : TermElabM α) : TermElabM α := do + for view in views do + for ctorView in view.ctors do + if ctorView.declName == ctorName then + return (← withRef ctorView.ref k) + k + +private def checkResultingUniverses (views : Array InductiveView) (numParams : Nat) (indTypes : List InductiveType) : TermElabM Unit := do + let u := (← instantiateLevelMVars (← getResultingUniverse indTypes)).normalize + checkResultingUniverse u + unless u.isZero do + indTypes.forM fun indType => indType.ctors.forM fun ctor => + forallTelescopeReducing ctor.type fun ctorArgs type => do + for ctorArg in ctorArgs[numParams:] do + let type ← inferType ctorArg + let v := (← instantiateLevelMVars (← getLevel type)).normalize + let rec check (v' : Level) (u' : Level) : TermElabM Unit := + match v', u' with + | .succ v' _, .succ u' _ => check v' u' + | .mvar id _, .param .. => + /- Special case: + The constructor parameter `v` is at unverse level `?v+k` and + the resulting inductive universe level is `u'+k`, where `u'` is a parameter (or zero). + Thus, `?v := u'` is the only choice for satisfying the universe contraint `?v+k <= u'+k`. + Note that, we still generate an error for cases where there is more than one of satisfying the constraint. + Examples: + ----------------------------------------------------------- + | ctor universe level | inductive datatype universe level | + ----------------------------------------------------------- + | ?v | max u w | + ----------------------------------------------------------- + | ?v | u + 1 | + ----------------------------------------------------------- + -/ + assignLevelMVar id u' + | .mvar id _, .zero _ => assignLevelMVar id u' -- TODO: merge with previous case + | _, _ => + unless u.geq v do + let mut msg := m!"invalid universe level in constructor '{ctor.name}', parameter" + let localDecl ← getFVarLocalDecl ctorArg + unless localDecl.userName.hasMacroScopes do + msg := msg ++ m!" '{ctorArg}'" + msg := msg ++ m!" has type{indentExpr type}" + msg := msg ++ m!"\nat universe level{indentD v}" + msg := msg ++ m!"\nit must be smaller than or equal to the inductive datatype universe level{indentD u}" + withCtorRef views ctor.name <| throwError msg + check v u private def collectUsed (indTypes : List InductiveType) : StateRefT CollectFVars.State MetaM Unit := do indTypes.forM fun indType => do @@ -383,15 +506,15 @@ private def removeUnused (vars : Array Expr) (indTypes : List InductiveType) : T private def withUsed {α} (vars : Array Expr) (indTypes : List InductiveType) (k : Array Expr → TermElabM α) : TermElabM α := do let (lctx, localInsts, vars) ← removeUnused vars indTypes - withLCtx lctx localInsts $ k vars + withLCtx lctx localInsts <| k vars private def updateParams (vars : Array Expr) (indTypes : List InductiveType) : TermElabM (List InductiveType) := indTypes.mapM fun indType => do let type ← mkForallFVars vars indType.type let ctors ← indType.ctors.mapM fun ctor => do let ctorType ← mkForallFVars vars ctor.type - pure { ctor with type := ctorType } - pure { indType with type := type, ctors := ctors } + return { ctor with type := ctorType } + return { indType with type := type, ctors := ctors } private def collectLevelParamsInInductive (indTypes : List InductiveType) : Array Name := Id.run <| do let mut usedParams : CollectLevelParams.State := {} @@ -425,8 +548,8 @@ private def replaceIndFVarsWithConsts (views : Array InductiveView) (indFVars : | none => none | some c => mkAppN c (params.extract 0 numVars) mkForallFVars params type - pure { ctor with type := type } - pure { indType with ctors := ctors } + return { ctor with type := type } + return { indType with ctors := ctors } abbrev Ctor2InferMod := Std.HashMap Name Bool @@ -512,7 +635,6 @@ private def isDomainDefEq (arrowType : Expr) (type : Expr) : MetaM Bool := do /-- Convert fixed indices to parameters. - TODO: we currently only convert a prefix of the indices, and we do not try to reorder binders. -/ private partial def fixedIndicesToParams (numParams : Nat) (indTypes : Array InductiveType) (indFVars : Array Expr) : MetaM (Nat × List InductiveType) := do let masks ← indTypes.mapM (computeFixedIndexBitMask numParams · indFVars) @@ -560,15 +682,18 @@ private def mkInductiveDecl (vars : Array Expr) (views : Array InductiveView) : indTypesArray := indTypesArray.push { name := r.view.declName, type := type, ctors := ctors : InductiveType } Term.synthesizeSyntheticMVarsNoPostponing let (numExplicitParams, indTypes) ← fixedIndicesToParams params.size indTypesArray indFVars - trace[Meta.debug] "numExplicitParams: {numExplicitParams}" let u ← getResultingUniverse indTypes let inferLevel ← shouldInferResultUniverse u withUsed vars indTypes fun vars => do let numVars := vars.size let numParams := numVars + numExplicitParams let indTypes ← updateParams vars indTypes - let indTypes ← levelMVarToParam indTypes - let indTypes ← if inferLevel then updateResultingUniverse numParams indTypes else checkResultingUniverses indTypes; pure indTypes + let indTypes ← + if inferLevel then + updateResultingUniverse numParams (← levelMVarToParam indTypes) + else + checkResultingUniverses views numParams indTypes + levelMVarToParam indTypes let usedLevelNames := collectLevelParamsInInductive indTypes match sortDeclLevelParams scopeLevelNames allUserLevelNames usedLevelNames with | Except.error msg => throwError msg diff --git a/stage0/src/Lean/Elab/Structure.lean b/stage0/src/Lean/Elab/Structure.lean index 0ef256961e..cec52a5efe 100644 --- a/stage0/src/Lean/Elab/Structure.lean +++ b/stage0/src/Lean/Elab/Structure.lean @@ -623,11 +623,15 @@ private def levelMVarToParam (scopeVars : Array Expr) (params : Array Expr) (fie (levelMVarToParamAux scopeVars params fieldInfos).run' 1 private partial def collectUniversesFromFields (r : Level) (rOffset : Nat) (fieldInfos : Array StructFieldInfo) : TermElabM (Array Level) := do - fieldInfos.foldlM (init := #[]) fun (us : Array Level) (info : StructFieldInfo) => do - let type ← inferType info.fvar - let u ← getLevel type - let u ← instantiateLevelMVars u - accLevelAtCtor u r rOffset us + let (_, us) ← go |>.run #[] + return us +where + go : StateRefT (Array Level) TermElabM Unit := + for info in fieldInfos do + let type ← inferType info.fvar + let u ← getLevel type + let u ← instantiateLevelMVars u + accLevelAtCtor u r rOffset private def updateResultingUniverse (fieldInfos : Array StructFieldInfo) (type : Expr) : TermElabM Expr := do let r ← getResultUniverse type diff --git a/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean b/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean index fe9775cfba..0297839b1d 100644 --- a/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean +++ b/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean @@ -248,28 +248,38 @@ def renameInaccessibles (mvarId : MVarId) (hs : Array Syntax) : TacticM MVarId : assignExprMVar mvarId mvarNew return mvarNew.mvarId! -@[builtinTactic «case»] def evalCase : Tactic - | stx@`(tactic| case $tag $hs* =>%$arr $tac:tacticSeq) => do - let gs ← getUnsolvedGoals - let g ← - if tag.isIdent then - let tag := tag.getId - let some g ← findTag? gs tag | throwError "tag not found" - pure g - else - getMainGoal - let gs := gs.erase g - let g ← renameInaccessibles g hs - setGoals [g] - let savedTag ← getMVarTag g - setMVarTag g Name.anonymous - try +private def evalCaseCore (stx : Syntax) (tag : Syntax) (hs : Array Syntax) (arr : Syntax) (tac : Syntax) + (closeOnFailure : Bool) : TacticM Unit := do + let gs ← getUnsolvedGoals + let g ← + if tag.isIdent then + let tag := tag.getId + let some g ← findTag? gs tag | throwError "tag not found" + pure g + else + getMainGoal + let gs := gs.erase g + let g ← renameInaccessibles g hs + setGoals [g] + let savedTag ← getMVarTag g + setMVarTag g Name.anonymous + try + if closeOnFailure then withCaseRef arr tac do closeUsingOrAdmit (withTacticInfoContext stx (evalTactic tac)) - finally - setMVarTag g savedTag - done - setGoals gs + else + evalTactic tac + finally + setMVarTag g savedTag + done + setGoals gs + +@[builtinTactic «case»] def evalCase : Tactic + | stx@`(tactic| case $tag $hs* =>%$arr $tac:tacticSeq) => evalCaseCore stx tag hs arr tac (closeOnFailure := true) + | _ => throwUnsupportedSyntax + +@[builtinTactic «case'»] def evalCase' : Tactic + | stx@`(tactic| case' $tag $hs* =>%$arr $tac:tacticSeq) => evalCaseCore stx tag hs arr tac (closeOnFailure := false) | _ => throwUnsupportedSyntax @[builtinTactic «renameI»] def evalRenameInaccessibles : Tactic diff --git a/stage0/src/Lean/Level.lean b/stage0/src/Lean/Level.lean index 05d1b41ce8..744ca98773 100644 --- a/stage0/src/Lean/Level.lean +++ b/stage0/src/Lean/Level.lean @@ -553,6 +553,24 @@ def mkNaryMax : List Level → Level | none => u | u => u +def geq (u v : Level) : Bool := + go u.normalize v.normalize +where + go (u v : Level) : Bool := + u == v || + match u, v with + | u, zero _ => true + | u, max v₁ v₂ _ => go u v₁ && go u v₂ + | max u₁ u₂ _, v => go u₁ v || go u₂ v + | u, imax v₁ v₂ _ => go u v₁ && go u v₂ + | imax u₁ u₂ _, v => go u₂ v + | succ u _, succ v _ => go u v + | _, _ => + let v' := v.getLevelOffset + (u.getLevelOffset == v' || v'.isZero) + && u.getOffset ≥ v.getOffset +termination_by _ u v => (u, v) + end Level open Std (HashMap HashSet PHashMap PHashSet) diff --git a/stage0/src/Lean/Meta/PPGoal.lean b/stage0/src/Lean/Meta/PPGoal.lean index beba99f3f7..16ce1e8d7f 100644 --- a/stage0/src/Lean/Meta/PPGoal.lean +++ b/stage0/src/Lean/Meta/PPGoal.lean @@ -34,7 +34,12 @@ structure State where modified : Bool := false structure Context where - goalTarget : Expr + /-- + If true we make a declaration "visible" if it has visible backward dependencies. + Remark: recall that for the `Prop` case, the declaration is moved to `hiddenInaccessibleProp` + -/ + backwardDeps : Bool + goalTarget : Expr abbrev M := ReaderT Context $ StateRefT State MetaM @@ -95,17 +100,17 @@ def fixpointStep : M Unit := do (← getLCtx).forM fun localDecl => do let fvarId := localDecl.fvarId if (← get).hiddenInaccessible.contains fvarId then - if (← hasVisibleDep localDecl) then - /- localDecl is marked to be hidden, but it has a (backward) visible dependency. -/ - unmark fvarId - if (← isProp localDecl.type) then - unless (← hasInaccessibleNameDep localDecl) do - moveToHiddeProp fvarId + if (← read).backwardDeps then + if (← hasVisibleDep localDecl) then + /- localDecl is marked to be hidden, but it has a (backward) visible dependency. -/ + unmark fvarId + if (← isProp localDecl.type) then + unless (← hasInaccessibleNameDep localDecl) do + moveToHiddeProp fvarId else visitVisibleExpr localDecl.type - match localDecl.value? with - | some value => visitVisibleExpr value - | _ => pure () + let some value := localDecl.value? | return () + visitVisibleExpr value partial def fixpoint : M Unit := do modify fun s => { s with modified := false } @@ -113,6 +118,16 @@ partial def fixpoint : M Unit := do if (← get).modified then fixpoint +/-- + Construct initial `FVarIdSet` containting free variables ids that have inaccessible user names. +-/ +private def getInitialHiddenInaccessible (propOnly : Bool) : MetaM FVarIdSet := do + (← getLCtx).foldlM (init := {}) fun r localDecl => do + if localDecl.userName.isInaccessibleUserName then + if (← pure !propOnly <||> isProp localDecl.type) then + return r.insert localDecl.fvarId + return r + /- If pp.inaccessibleNames == false, then collect two sets of `FVarId`s : `hiddenInaccessible` and `hiddenInaccessibleProp` 1- `hiddenInaccessible` contains `FVarId`s of free variables with inaccessible names that @@ -123,19 +138,23 @@ Both sets do not contain `FVarId`s that contain visible backward or forward depe The `goalTarget` counts as a forward dependency. We say a name is visible if it is a free variable with FVarId not in `hiddenInaccessible` nor `hiddenInaccessibleProp` + +For propositions in `hiddenInaccessibleProp`, we show only their types when displaying a goal. + +Remark: when `pp.inaccessibleNames == true`, we still compute `hiddenInaccessibleProp` to prevent the +goal from being littered with irrelevant names. + -/ def collect (goalTarget : Expr) : MetaM (FVarIdSet × FVarIdSet) := do + let lctx ← getLCtx if pp.inaccessibleNames.get (← getOptions) then - /- Don't hide inaccessible names when `pp.inaccessibleNames` is set to true. -/ - return ({}, {}) + -- If `pp.inaccessibleNames == true`, we still must compute `hiddenInaccessibleProp`. + let hiddenInaccessible ← getInitialHiddenInaccessible (propOnly := true) + let (_, s) ← fixpoint.run { backwardDeps := false, goalTarget } |>.run { hiddenInaccessible } + return ({}, s.hiddenInaccessible) else - let lctx ← getLCtx - let hiddenInaccessible := lctx.foldl (init := {}) fun hiddenInaccessible localDecl => Id.run <| do - if localDecl.userName.isInaccessibleUserName then - hiddenInaccessible.insert localDecl.fvarId - else - hiddenInaccessible - let (_, s) ← fixpoint.run { goalTarget := goalTarget } |>.run { hiddenInaccessible := hiddenInaccessible } + let hiddenInaccessible ← getInitialHiddenInaccessible (propOnly := false) + let (_, s) ← fixpoint.run { backwardDeps := true, goalTarget } |>.run { hiddenInaccessible } return (s.hiddenInaccessible, s.hiddenInaccessibleProp) end ToHide diff --git a/stage0/src/Lean/Parser/Term.lean b/stage0/src/Lean/Parser/Term.lean index 402f19fe3e..ce2cdead49 100644 --- a/stage0/src/Lean/Parser/Term.lean +++ b/stage0/src/Lean/Parser/Term.lean @@ -245,7 +245,7 @@ def matchAltsWhereDecls := leading_parser matchAlts >> optional whereDecls @[builtinTermParser] def waitIfTypeContainsMVar := leading_parser "wait_if_type_contains_mvar% " >> "?" >> ident >> "; " >> termParser @[builtinTermParser] def waitIfContainsMVar := leading_parser "wait_if_contains_mvar% " >> "?" >> ident >> "; " >> termParser -@[builtinTermParser] def defaultOrOfNonempty := leading_parser "default_or_ofNonempty%" +@[builtinTermParser] def defaultOrOfNonempty := leading_parser "default_or_ofNonempty% " >> optional "unsafe" def namedArgument := leading_parser atomic ("(" >> ident >> " := ") >> termParser >> ")" def ellipsis := leading_parser ".." diff --git a/stage0/src/Lean/Widget/InteractiveGoal.lean b/stage0/src/Lean/Widget/InteractiveGoal.lean index 961bad568e..4709ab31e3 100644 --- a/stage0/src/Lean/Widget/InteractiveGoal.lean +++ b/stage0/src/Lean/Widget/InteractiveGoal.lean @@ -87,15 +87,15 @@ def goalToInteractive (mvarId : MVarId) : MetaM InteractiveGoal := do withLCtx lctx mvarDecl.localInstances do let (hidden, hiddenProp) ← ToHide.collect mvarDecl.type -- The following two `let rec`s are being used to control the generated code size. - -- Then should be remove after we rewrite the compiler in Lean + -- They should be removed after we rewrite the compiler in Lean let rec pushPending (ids : Array Name) (type? : Option Expr) (hyps : Array InteractiveHypothesis) : MetaM (Array InteractiveHypothesis) := if ids.isEmpty then pure hyps else - match ids, type? with - | _, none => pure hyps - | _, some type => addInteractiveHypothesis hyps ids type + match type? with + | none => pure hyps + | some type => addInteractiveHypothesis hyps ids type let rec ppVars (varNames : Array Name) (prevType? : Option Expr) (hyps : Array InteractiveHypothesis) (localDecl : LocalDecl) : MetaM (Array Name × Option Expr × Array InteractiveHypothesis) := do if hiddenProp.contains localDecl.fvarId then diff --git a/stage0/src/stdlib_flags.h b/stage0/src/stdlib_flags.h index af0dd83b01..77aa54db2d 100644 --- a/stage0/src/stdlib_flags.h +++ b/stage0/src/stdlib_flags.h @@ -8,7 +8,7 @@ options get_default_options() { // switch to `true` for ABI-breaking changes affecting meta code opts = opts.update({"interpreter", "prefer_native"}, false); // switch to `true` for changing built-in parsers used in quotations - opts = opts.update({"internal", "parseQuotWithCurrentStage"}, true); + opts = opts.update({"internal", "parseQuotWithCurrentStage"}, false); #endif return opts; } diff --git a/stage0/stdlib/Init/Classical.c b/stage0/stdlib/Init/Classical.c index e8d76edcbe..6cd3b24870 100644 --- a/stage0/stdlib/Init/Classical.c +++ b/stage0/stdlib/Init/Classical.c @@ -15,12 +15,16 @@ extern "C" { #endif lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__5; +extern lean_object* l_Lean_nullKind; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__16; lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__24; static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__9; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__49; +static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__22; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__7; +static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__25; +static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__23; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__13; lean_object* lean_array_push(lean_object*, lean_object*); @@ -50,15 +54,18 @@ static lean_object* l_Classical___aux__Init__Classical______macroRules__Classica static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__35; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__1; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__17; +static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__26; LEAN_EXPORT lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__8; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__45; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__9; static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__7; +static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__24; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__34; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__4; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__27; +uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__48; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__13; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__23; @@ -82,7 +89,9 @@ static lean_object* l_Classical___aux__Init__Classical______macroRules__Classica static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__25; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__2; +static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__54; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__50; +static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__55; static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__1; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__3; static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__4; @@ -93,6 +102,7 @@ static lean_object* l_Classical___aux__Init__Classical______macroRules__Classica static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__15; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__18; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__30; +static lean_object* l_Classical_tacticBy__cases_____x3a_____closed__21; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__28; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__22; static lean_object* l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__37; @@ -174,7 +184,7 @@ static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__9() { _start: { lean_object* x_1; -x_1 = lean_mk_string("ident"); +x_1 = lean_mk_string("optional"); return x_1; } } @@ -191,52 +201,74 @@ return x_3; static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__11() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Classical_tacticBy__cases_____x3a_____closed__10; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("atomic"); +return x_1; } } static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__12() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Classical_tacticBy__cases_____x3a_____closed__6; -x_2 = l_Classical_tacticBy__cases_____x3a_____closed__8; -x_3 = l_Classical_tacticBy__cases_____x3a_____closed__11; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Classical_tacticBy__cases_____x3a_____closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__13() { _start: { lean_object* x_1; +x_1 = lean_mk_string("ident"); +return x_1; +} +} +static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Classical_tacticBy__cases_____x3a_____closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Classical_tacticBy__cases_____x3a_____closed__14; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__16() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string(":"); return x_1; } } -static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__14() { +static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Classical_tacticBy__cases_____x3a_____closed__13; +x_1 = l_Classical_tacticBy__cases_____x3a_____closed__16; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__15() { +static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Classical_tacticBy__cases_____x3a_____closed__6; -x_2 = l_Classical_tacticBy__cases_____x3a_____closed__12; -x_3 = l_Classical_tacticBy__cases_____x3a_____closed__14; +x_2 = l_Classical_tacticBy__cases_____x3a_____closed__15; +x_3 = l_Classical_tacticBy__cases_____x3a_____closed__17; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -244,7 +276,45 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__16() { +static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Classical_tacticBy__cases_____x3a_____closed__12; +x_2 = l_Classical_tacticBy__cases_____x3a_____closed__18; +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_Classical_tacticBy__cases_____x3a_____closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Classical_tacticBy__cases_____x3a_____closed__10; +x_2 = l_Classical_tacticBy__cases_____x3a_____closed__19; +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_Classical_tacticBy__cases_____x3a_____closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Classical_tacticBy__cases_____x3a_____closed__6; +x_2 = l_Classical_tacticBy__cases_____x3a_____closed__8; +x_3 = l_Classical_tacticBy__cases_____x3a_____closed__20; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__22() { _start: { lean_object* x_1; @@ -252,21 +322,21 @@ x_1 = lean_mk_string("term"); return x_1; } } -static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__17() { +static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_tacticBy__cases_____x3a_____closed__16; +x_2 = l_Classical_tacticBy__cases_____x3a_____closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__18() { +static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_tacticBy__cases_____x3a_____closed__17; +x_1 = l_Classical_tacticBy__cases_____x3a_____closed__23; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -274,13 +344,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__19() { +static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Classical_tacticBy__cases_____x3a_____closed__6; -x_2 = l_Classical_tacticBy__cases_____x3a_____closed__15; -x_3 = l_Classical_tacticBy__cases_____x3a_____closed__18; +x_2 = l_Classical_tacticBy__cases_____x3a_____closed__21; +x_3 = l_Classical_tacticBy__cases_____x3a_____closed__24; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -288,13 +358,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__20() { +static lean_object* _init_l_Classical_tacticBy__cases_____x3a_____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Classical_tacticBy__cases_____x3a_____closed__4; x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Classical_tacticBy__cases_____x3a_____closed__19; +x_3 = l_Classical_tacticBy__cases_____x3a_____closed__25; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -306,7 +376,7 @@ static lean_object* _init_l_Classical_tacticBy__cases_____x3a__() { _start: { lean_object* x_1; -x_1 = l_Classical_tacticBy__cases_____x3a_____closed__20; +x_1 = l_Classical_tacticBy__cases_____x3a_____closed__26; return x_1; } } @@ -368,7 +438,7 @@ static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Cl _start: { lean_object* x_1; -x_1 = lean_mk_string("seq1"); +x_1 = lean_mk_string("cases"); return x_1; } } @@ -404,7 +474,7 @@ static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Cl _start: { lean_object* x_1; -x_1 = lean_mk_string("cases"); +x_1 = lean_mk_string("casesTarget"); return x_1; } } @@ -421,37 +491,19 @@ return x_3; static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__13() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("casesTarget"); -return x_1; -} -} -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__6; -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__15() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(0u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__16() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__10; -x_3 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__15; +x_3 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__13; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -459,7 +511,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__17() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__15() { _start: { lean_object* x_1; @@ -467,11 +519,29 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__18() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__4; +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__15; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__16; x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -481,44 +551,26 @@ static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Cl _start: { lean_object* x_1; -x_1 = lean_mk_string("app"); +x_1 = lean_mk_string("em"); return x_1; } } static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__20() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__18; -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__19; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__19; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__21() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("em"); -return x_1; -} -} -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__21; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__23() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__21; +x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__19; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__22; +x_3 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__20; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -526,13 +578,35 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__19; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Classical_tacticBy__cases_____x3a_____closed__2; +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__19; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__21; -x_3 = lean_name_mk_string(x_1, x_2); +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___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); return x_3; } } @@ -540,37 +614,15 @@ static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_tacticBy__cases_____x3a_____closed__2; -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__21; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___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_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__26; +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__24; 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_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__28() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -579,7 +631,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__29() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -588,17 +640,17 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__30() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__29; -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__16; +x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__27; +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__14; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__31() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__29() { _start: { lean_object* x_1; @@ -606,17 +658,17 @@ x_1 = lean_mk_string("inductionAlts"); return x_1; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__32() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__6; -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__31; +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__29; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__33() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__31() { _start: { lean_object* x_1; @@ -624,7 +676,7 @@ x_1 = lean_mk_string("with"); return x_1; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__34() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__32() { _start: { lean_object* x_1; @@ -632,17 +684,17 @@ x_1 = lean_mk_string("inductionAlt"); return x_1; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__35() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__6; -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__34; +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__32; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__36() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__34() { _start: { lean_object* x_1; @@ -650,7 +702,7 @@ x_1 = lean_mk_string("|"); return x_1; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__37() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__35() { _start: { lean_object* x_1; @@ -658,9 +710,50 @@ x_1 = lean_mk_string("group"); return x_1; } } +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__35; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__37() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("inl"); +return x_1; +} +} static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__38() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__37; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__39() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__37; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__38; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__40() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__37; @@ -668,30 +761,30 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__39() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__41() { _start: { lean_object* x_1; -x_1 = lean_mk_string("inl"); +x_1 = lean_mk_string("h"); return x_1; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__40() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__42() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__39; +x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__41; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__41() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__39; +x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__41; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__40; +x_3 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__42; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -699,17 +792,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__42() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__44() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__39; +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__41; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__43() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__45() { _start: { lean_object* x_1; @@ -717,7 +810,7 @@ x_1 = lean_mk_string("=>"); return x_1; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__44() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__46() { _start: { lean_object* x_1; @@ -725,17 +818,17 @@ x_1 = lean_mk_string("hole"); return x_1; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__45() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__47() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__18; -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__44; +x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__16; +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__46; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__46() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__48() { _start: { lean_object* x_1; @@ -743,7 +836,7 @@ x_1 = lean_mk_string("_"); return x_1; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__47() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__49() { _start: { lean_object* x_1; lean_object* x_2; @@ -752,7 +845,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__48() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__50() { _start: { lean_object* x_1; @@ -760,22 +853,22 @@ x_1 = lean_mk_string("inr"); return x_1; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__49() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__51() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__48; +x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__50; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__50() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__52() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__48; +x_1 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__50; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__49; +x_3 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___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); @@ -783,17 +876,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__51() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__53() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__48; +x_2 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__50; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__52() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__54() { _start: { lean_object* x_1; lean_object* x_2; @@ -802,7 +895,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__53() { +static lean_object* _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__55() { _start: { lean_object* x_1; lean_object* x_2; @@ -831,388 +924,795 @@ return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -lean_dec(x_1); -lean_inc(x_2); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) +x_10 = l_Lean_nullKind; +x_11 = lean_unsigned_to_nat(2u); +lean_inc(x_9); +x_12 = l_Lean_Syntax_isNodeOf(x_9, x_10, x_11); +if (x_12 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_2, 2); -lean_inc(x_15); -x_16 = lean_ctor_get(x_2, 1); -lean_inc(x_16); +lean_object* x_13; uint8_t x_14; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_Syntax_isNodeOf(x_9, x_10, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_dec(x_2); -x_17 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__11; -lean_inc(x_14); -x_18 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_18, 0, x_14); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__24; -lean_inc(x_15); -lean_inc(x_16); -x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = lean_box(0); -x_22 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__23; -x_23 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__27; -lean_inc(x_14); -x_24 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_24, 0, x_14); -lean_ctor_set(x_24, 1, x_22); -lean_ctor_set(x_24, 2, x_20); -lean_ctor_set(x_24, 3, x_23); -x_25 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__28; -x_26 = lean_array_push(x_25, x_11); -x_27 = lean_box(2); -x_28 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__10; -x_29 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_29, 2, x_26); -x_30 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__29; -x_31 = lean_array_push(x_30, x_24); -x_32 = lean_array_push(x_31, x_29); -x_33 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__20; -x_34 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_34, 0, x_27); -lean_ctor_set(x_34, 1, x_33); -lean_ctor_set(x_34, 2, x_32); -x_35 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__30; -x_36 = lean_array_push(x_35, x_34); -x_37 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__14; -x_38 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_38, 0, x_27); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_38, 2, x_36); -x_39 = lean_array_push(x_25, x_38); -x_40 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_40, 0, x_27); -lean_ctor_set(x_40, 1, x_28); -lean_ctor_set(x_40, 2, x_39); -x_41 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__33; -lean_inc(x_14); -x_42 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_42, 0, x_14); -lean_ctor_set(x_42, 1, x_41); -x_43 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__36; -lean_inc(x_14); -x_44 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_44, 0, x_14); -lean_ctor_set(x_44, 1, x_43); -x_45 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__42; -lean_inc(x_15); -lean_inc(x_16); -x_46 = l_Lean_addMacroScope(x_16, x_45, x_15); -x_47 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__41; -lean_inc(x_14); -x_48 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_48, 0, x_14); -lean_ctor_set(x_48, 1, x_47); -lean_ctor_set(x_48, 2, x_46); -lean_ctor_set(x_48, 3, x_21); -x_49 = lean_array_push(x_35, x_48); -x_50 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__38; -x_51 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_51, 0, x_27); -lean_ctor_set(x_51, 1, x_50); -lean_ctor_set(x_51, 2, x_49); -x_52 = lean_array_push(x_25, x_9); -x_53 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_53, 0, x_27); -lean_ctor_set(x_53, 1, x_28); -lean_ctor_set(x_53, 2, x_52); -x_54 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__43; -lean_inc(x_14); -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_14); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__46; -lean_inc(x_14); -x_57 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_57, 0, x_14); -lean_ctor_set(x_57, 1, x_56); -x_58 = lean_array_push(x_25, x_57); -x_59 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__45; -x_60 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_60, 0, x_27); -lean_ctor_set(x_60, 1, x_59); -lean_ctor_set(x_60, 2, x_58); -x_61 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__47; -x_62 = lean_array_push(x_61, x_44); -lean_inc(x_62); -x_63 = lean_array_push(x_62, x_51); -lean_inc(x_53); -x_64 = lean_array_push(x_63, x_53); -lean_inc(x_55); -x_65 = lean_array_push(x_64, x_55); -lean_inc(x_60); -x_66 = lean_array_push(x_65, x_60); -x_67 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__35; -x_68 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_68, 0, x_27); -lean_ctor_set(x_68, 1, x_67); -lean_ctor_set(x_68, 2, x_66); -x_69 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__51; -x_70 = l_Lean_addMacroScope(x_16, x_69, x_15); -x_71 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__50; -x_72 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_72, 0, x_14); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set(x_72, 2, x_70); -lean_ctor_set(x_72, 3, x_21); -x_73 = lean_array_push(x_35, x_72); -x_74 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_74, 0, x_27); -lean_ctor_set(x_74, 1, x_50); -lean_ctor_set(x_74, 2, x_73); -x_75 = lean_array_push(x_62, x_74); -x_76 = lean_array_push(x_75, x_53); -x_77 = lean_array_push(x_76, x_55); -x_78 = lean_array_push(x_77, x_60); -x_79 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_79, 0, x_27); -lean_ctor_set(x_79, 1, x_67); -lean_ctor_set(x_79, 2, x_78); -x_80 = lean_array_push(x_30, x_68); -x_81 = lean_array_push(x_80, x_79); -x_82 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_82, 0, x_27); -lean_ctor_set(x_82, 1, x_28); -lean_ctor_set(x_82, 2, x_81); -x_83 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__52; -x_84 = lean_array_push(x_83, x_42); -x_85 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__16; -x_86 = lean_array_push(x_84, x_85); -x_87 = lean_array_push(x_86, x_82); -x_88 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__32; -x_89 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_89, 0, x_27); -lean_ctor_set(x_89, 1, x_88); -lean_ctor_set(x_89, 2, x_87); -x_90 = lean_array_push(x_25, x_89); -x_91 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_91, 0, x_27); -lean_ctor_set(x_91, 1, x_28); -lean_ctor_set(x_91, 2, x_90); -x_92 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__53; -x_93 = lean_array_push(x_92, x_18); -x_94 = lean_array_push(x_93, x_40); -x_95 = lean_array_push(x_94, x_85); -x_96 = lean_array_push(x_95, x_91); -x_97 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__12; -x_98 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_98, 0, x_27); -lean_ctor_set(x_98, 1, x_97); -lean_ctor_set(x_98, 2, x_96); -x_99 = lean_array_push(x_25, x_98); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_27); -lean_ctor_set(x_100, 1, x_28); -lean_ctor_set(x_100, 2, x_99); -x_101 = lean_array_push(x_25, x_100); -x_102 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__8; -x_103 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_103, 0, x_27); -lean_ctor_set(x_103, 1, x_102); -lean_ctor_set(x_103, 2, x_101); -lean_ctor_set(x_12, 0, x_103); -return x_12; +lean_dec(x_1); +x_15 = lean_box(1); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_3); +return x_16; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_104 = lean_ctor_get(x_12, 0); -x_105 = lean_ctor_get(x_12, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_12); -x_106 = lean_ctor_get(x_2, 2); -lean_inc(x_106); -x_107 = lean_ctor_get(x_2, 1); -lean_inc(x_107); +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = l_Lean_Syntax_getArg(x_1, x_11); +lean_dec(x_1); +lean_inc(x_2); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +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; 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; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_2, 2); +lean_inc(x_21); +x_22 = lean_ctor_get(x_2, 1); +lean_inc(x_22); lean_dec(x_2); -x_108 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__11; -lean_inc(x_104); -x_109 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_109, 0, x_104); -lean_ctor_set(x_109, 1, x_108); -x_110 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__24; -lean_inc(x_106); -lean_inc(x_107); -x_111 = l_Lean_addMacroScope(x_107, x_110, x_106); -x_112 = lean_box(0); -x_113 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__23; -x_114 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__27; -lean_inc(x_104); -x_115 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_115, 0, x_104); -lean_ctor_set(x_115, 1, x_113); -lean_ctor_set(x_115, 2, x_111); -lean_ctor_set(x_115, 3, x_114); -x_116 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__28; -x_117 = lean_array_push(x_116, x_11); -x_118 = lean_box(2); -x_119 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__10; -x_120 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -lean_ctor_set(x_120, 2, x_117); -x_121 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__29; -x_122 = lean_array_push(x_121, x_115); -x_123 = lean_array_push(x_122, x_120); -x_124 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__20; +x_23 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__7; +lean_inc(x_20); +x_24 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_24, 0, x_20); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__22; +lean_inc(x_21); +lean_inc(x_22); +x_26 = l_Lean_addMacroScope(x_22, x_25, x_21); +x_27 = lean_box(0); +x_28 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__21; +x_29 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__25; +lean_inc(x_20); +x_30 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_30, 0, x_20); +lean_ctor_set(x_30, 1, x_28); +lean_ctor_set(x_30, 2, x_26); +lean_ctor_set(x_30, 3, x_29); +x_31 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__26; +x_32 = lean_array_push(x_31, x_17); +x_33 = lean_box(2); +x_34 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__10; +x_35 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_32); +x_36 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__27; +x_37 = lean_array_push(x_36, x_30); +x_38 = lean_array_push(x_37, x_35); +x_39 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__18; +x_40 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_40, 0, x_33); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +x_41 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__28; +x_42 = lean_array_push(x_41, x_40); +x_43 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__12; +x_44 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_44, 0, x_33); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_42); +x_45 = lean_array_push(x_31, x_44); +x_46 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_46, 0, x_33); +lean_ctor_set(x_46, 1, x_34); +lean_ctor_set(x_46, 2, x_45); +x_47 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__31; +lean_inc(x_20); +x_48 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_48, 0, x_20); +lean_ctor_set(x_48, 1, x_47); +x_49 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__34; +lean_inc(x_20); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_20); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__40; +lean_inc(x_21); +lean_inc(x_22); +x_52 = l_Lean_addMacroScope(x_22, x_51, x_21); +x_53 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__39; +lean_inc(x_20); +x_54 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_54, 0, x_20); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set(x_54, 2, x_52); +lean_ctor_set(x_54, 3, x_27); +x_55 = lean_array_push(x_41, x_54); +x_56 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__36; +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_33); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_57, 2, x_55); +x_58 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__44; +lean_inc(x_21); +lean_inc(x_22); +x_59 = l_Lean_addMacroScope(x_22, x_58, x_21); +x_60 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__43; +lean_inc(x_20); +x_61 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_61, 0, x_20); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_61, 2, x_59); +lean_ctor_set(x_61, 3, x_27); +x_62 = lean_array_push(x_31, x_61); +x_63 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_63, 0, x_33); +lean_ctor_set(x_63, 1, x_34); +lean_ctor_set(x_63, 2, x_62); +x_64 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__45; +lean_inc(x_20); +x_65 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_65, 0, x_20); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__48; +lean_inc(x_20); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_20); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_array_push(x_31, x_67); +x_69 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__47; +x_70 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_70, 0, x_33); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set(x_70, 2, x_68); +x_71 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__49; +x_72 = lean_array_push(x_71, x_50); +lean_inc(x_72); +x_73 = lean_array_push(x_72, x_57); +lean_inc(x_63); +x_74 = lean_array_push(x_73, x_63); +lean_inc(x_65); +x_75 = lean_array_push(x_74, x_65); +lean_inc(x_70); +x_76 = lean_array_push(x_75, x_70); +x_77 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__33; +x_78 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_78, 0, x_33); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_76); +x_79 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__53; +x_80 = l_Lean_addMacroScope(x_22, x_79, x_21); +x_81 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__52; +x_82 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_82, 0, x_20); +lean_ctor_set(x_82, 1, x_81); +lean_ctor_set(x_82, 2, x_80); +lean_ctor_set(x_82, 3, x_27); +x_83 = lean_array_push(x_41, x_82); +x_84 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_84, 0, x_33); +lean_ctor_set(x_84, 1, x_56); +lean_ctor_set(x_84, 2, x_83); +x_85 = lean_array_push(x_72, x_84); +x_86 = lean_array_push(x_85, x_63); +x_87 = lean_array_push(x_86, x_65); +x_88 = lean_array_push(x_87, x_70); +x_89 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_89, 0, x_33); +lean_ctor_set(x_89, 1, x_77); +lean_ctor_set(x_89, 2, x_88); +x_90 = lean_array_push(x_36, x_78); +x_91 = lean_array_push(x_90, x_89); +x_92 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_92, 0, x_33); +lean_ctor_set(x_92, 1, x_34); +lean_ctor_set(x_92, 2, x_91); +x_93 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__54; +x_94 = lean_array_push(x_93, x_48); +x_95 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__14; +x_96 = lean_array_push(x_94, x_95); +x_97 = lean_array_push(x_96, x_92); +x_98 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__30; +x_99 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_99, 0, x_33); +lean_ctor_set(x_99, 1, x_98); +lean_ctor_set(x_99, 2, x_97); +x_100 = lean_array_push(x_31, x_99); +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_33); +lean_ctor_set(x_101, 1, x_34); +lean_ctor_set(x_101, 2, x_100); +x_102 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__55; +x_103 = lean_array_push(x_102, x_24); +x_104 = lean_array_push(x_103, x_46); +x_105 = lean_array_push(x_104, x_95); +x_106 = lean_array_push(x_105, x_101); +x_107 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__8; +x_108 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_108, 0, x_33); +lean_ctor_set(x_108, 1, x_107); +lean_ctor_set(x_108, 2, x_106); +lean_ctor_set(x_18, 0, x_108); +return x_18; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_109 = lean_ctor_get(x_18, 0); +x_110 = lean_ctor_get(x_18, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_18); +x_111 = lean_ctor_get(x_2, 2); +lean_inc(x_111); +x_112 = lean_ctor_get(x_2, 1); +lean_inc(x_112); +lean_dec(x_2); +x_113 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__7; +lean_inc(x_109); +x_114 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_114, 0, x_109); +lean_ctor_set(x_114, 1, x_113); +x_115 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__22; +lean_inc(x_111); +lean_inc(x_112); +x_116 = l_Lean_addMacroScope(x_112, x_115, x_111); +x_117 = lean_box(0); +x_118 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__21; +x_119 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__25; +lean_inc(x_109); +x_120 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_120, 0, x_109); +lean_ctor_set(x_120, 1, x_118); +lean_ctor_set(x_120, 2, x_116); +lean_ctor_set(x_120, 3, x_119); +x_121 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__26; +x_122 = lean_array_push(x_121, x_17); +x_123 = lean_box(2); +x_124 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__10; x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_118); +lean_ctor_set(x_125, 0, x_123); lean_ctor_set(x_125, 1, x_124); -lean_ctor_set(x_125, 2, x_123); -x_126 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__30; -x_127 = lean_array_push(x_126, x_125); -x_128 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__14; -x_129 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_129, 0, x_118); -lean_ctor_set(x_129, 1, x_128); -lean_ctor_set(x_129, 2, x_127); -x_130 = lean_array_push(x_116, x_129); -x_131 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_131, 0, x_118); -lean_ctor_set(x_131, 1, x_119); -lean_ctor_set(x_131, 2, x_130); -x_132 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__33; -lean_inc(x_104); -x_133 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_133, 0, x_104); -lean_ctor_set(x_133, 1, x_132); -x_134 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__36; -lean_inc(x_104); -x_135 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_135, 0, x_104); -lean_ctor_set(x_135, 1, x_134); -x_136 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__42; -lean_inc(x_106); -lean_inc(x_107); -x_137 = l_Lean_addMacroScope(x_107, x_136, x_106); -x_138 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__41; -lean_inc(x_104); -x_139 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_139, 0, x_104); -lean_ctor_set(x_139, 1, x_138); -lean_ctor_set(x_139, 2, x_137); -lean_ctor_set(x_139, 3, x_112); -x_140 = lean_array_push(x_126, x_139); -x_141 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__38; -x_142 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_142, 0, x_118); -lean_ctor_set(x_142, 1, x_141); -lean_ctor_set(x_142, 2, x_140); -x_143 = lean_array_push(x_116, x_9); -x_144 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_144, 0, x_118); -lean_ctor_set(x_144, 1, x_119); -lean_ctor_set(x_144, 2, x_143); -x_145 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__43; -lean_inc(x_104); -x_146 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_146, 0, x_104); -lean_ctor_set(x_146, 1, x_145); -x_147 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__46; -lean_inc(x_104); -x_148 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_148, 0, x_104); -lean_ctor_set(x_148, 1, x_147); -x_149 = lean_array_push(x_116, x_148); -x_150 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__45; -x_151 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_151, 0, x_118); +lean_ctor_set(x_125, 2, x_122); +x_126 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__27; +x_127 = lean_array_push(x_126, x_120); +x_128 = lean_array_push(x_127, x_125); +x_129 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__18; +x_130 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_130, 0, x_123); +lean_ctor_set(x_130, 1, x_129); +lean_ctor_set(x_130, 2, x_128); +x_131 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__28; +x_132 = lean_array_push(x_131, x_130); +x_133 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__12; +x_134 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_134, 0, x_123); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_132); +x_135 = lean_array_push(x_121, x_134); +x_136 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_136, 0, x_123); +lean_ctor_set(x_136, 1, x_124); +lean_ctor_set(x_136, 2, x_135); +x_137 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__31; +lean_inc(x_109); +x_138 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_138, 0, x_109); +lean_ctor_set(x_138, 1, x_137); +x_139 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__34; +lean_inc(x_109); +x_140 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_140, 0, x_109); +lean_ctor_set(x_140, 1, x_139); +x_141 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__40; +lean_inc(x_111); +lean_inc(x_112); +x_142 = l_Lean_addMacroScope(x_112, x_141, x_111); +x_143 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__39; +lean_inc(x_109); +x_144 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_144, 0, x_109); +lean_ctor_set(x_144, 1, x_143); +lean_ctor_set(x_144, 2, x_142); +lean_ctor_set(x_144, 3, x_117); +x_145 = lean_array_push(x_131, x_144); +x_146 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__36; +x_147 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_147, 0, x_123); +lean_ctor_set(x_147, 1, x_146); +lean_ctor_set(x_147, 2, x_145); +x_148 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__44; +lean_inc(x_111); +lean_inc(x_112); +x_149 = l_Lean_addMacroScope(x_112, x_148, x_111); +x_150 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__43; +lean_inc(x_109); +x_151 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_151, 0, x_109); lean_ctor_set(x_151, 1, x_150); lean_ctor_set(x_151, 2, x_149); -x_152 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__47; -x_153 = lean_array_push(x_152, x_135); +lean_ctor_set(x_151, 3, x_117); +x_152 = lean_array_push(x_121, x_151); +x_153 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_153, 0, x_123); +lean_ctor_set(x_153, 1, x_124); +lean_ctor_set(x_153, 2, x_152); +x_154 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__45; +lean_inc(x_109); +x_155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_155, 0, x_109); +lean_ctor_set(x_155, 1, x_154); +x_156 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__48; +lean_inc(x_109); +x_157 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_157, 0, x_109); +lean_ctor_set(x_157, 1, x_156); +x_158 = lean_array_push(x_121, x_157); +x_159 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__47; +x_160 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_160, 0, x_123); +lean_ctor_set(x_160, 1, x_159); +lean_ctor_set(x_160, 2, x_158); +x_161 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__49; +x_162 = lean_array_push(x_161, x_140); +lean_inc(x_162); +x_163 = lean_array_push(x_162, x_147); lean_inc(x_153); -x_154 = lean_array_push(x_153, x_142); -lean_inc(x_144); -x_155 = lean_array_push(x_154, x_144); -lean_inc(x_146); -x_156 = lean_array_push(x_155, x_146); -lean_inc(x_151); -x_157 = lean_array_push(x_156, x_151); -x_158 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__35; -x_159 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_159, 0, x_118); -lean_ctor_set(x_159, 1, x_158); -lean_ctor_set(x_159, 2, x_157); -x_160 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__51; -x_161 = l_Lean_addMacroScope(x_107, x_160, x_106); -x_162 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__50; -x_163 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_163, 0, x_104); -lean_ctor_set(x_163, 1, x_162); -lean_ctor_set(x_163, 2, x_161); -lean_ctor_set(x_163, 3, x_112); -x_164 = lean_array_push(x_126, x_163); -x_165 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_165, 0, x_118); -lean_ctor_set(x_165, 1, x_141); -lean_ctor_set(x_165, 2, x_164); -x_166 = lean_array_push(x_153, x_165); -x_167 = lean_array_push(x_166, x_144); -x_168 = lean_array_push(x_167, x_146); -x_169 = lean_array_push(x_168, x_151); -x_170 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_170, 0, x_118); -lean_ctor_set(x_170, 1, x_158); -lean_ctor_set(x_170, 2, x_169); -x_171 = lean_array_push(x_121, x_159); -x_172 = lean_array_push(x_171, x_170); -x_173 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_173, 0, x_118); -lean_ctor_set(x_173, 1, x_119); -lean_ctor_set(x_173, 2, x_172); -x_174 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__52; -x_175 = lean_array_push(x_174, x_133); -x_176 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__16; -x_177 = lean_array_push(x_175, x_176); -x_178 = lean_array_push(x_177, x_173); -x_179 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__32; -x_180 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_180, 0, x_118); -lean_ctor_set(x_180, 1, x_179); -lean_ctor_set(x_180, 2, x_178); -x_181 = lean_array_push(x_116, x_180); +x_164 = lean_array_push(x_163, x_153); +lean_inc(x_155); +x_165 = lean_array_push(x_164, x_155); +lean_inc(x_160); +x_166 = lean_array_push(x_165, x_160); +x_167 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__33; +x_168 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_168, 0, x_123); +lean_ctor_set(x_168, 1, x_167); +lean_ctor_set(x_168, 2, x_166); +x_169 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__53; +x_170 = l_Lean_addMacroScope(x_112, x_169, x_111); +x_171 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__52; +x_172 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_172, 0, x_109); +lean_ctor_set(x_172, 1, x_171); +lean_ctor_set(x_172, 2, x_170); +lean_ctor_set(x_172, 3, x_117); +x_173 = lean_array_push(x_131, x_172); +x_174 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_174, 0, x_123); +lean_ctor_set(x_174, 1, x_146); +lean_ctor_set(x_174, 2, x_173); +x_175 = lean_array_push(x_162, x_174); +x_176 = lean_array_push(x_175, x_153); +x_177 = lean_array_push(x_176, x_155); +x_178 = lean_array_push(x_177, x_160); +x_179 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_179, 0, x_123); +lean_ctor_set(x_179, 1, x_167); +lean_ctor_set(x_179, 2, x_178); +x_180 = lean_array_push(x_126, x_168); +x_181 = lean_array_push(x_180, x_179); x_182 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_182, 0, x_118); -lean_ctor_set(x_182, 1, x_119); +lean_ctor_set(x_182, 0, x_123); +lean_ctor_set(x_182, 1, x_124); lean_ctor_set(x_182, 2, x_181); -x_183 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__53; -x_184 = lean_array_push(x_183, x_109); -x_185 = lean_array_push(x_184, x_131); -x_186 = lean_array_push(x_185, x_176); +x_183 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__54; +x_184 = lean_array_push(x_183, x_138); +x_185 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__14; +x_186 = lean_array_push(x_184, x_185); x_187 = lean_array_push(x_186, x_182); -x_188 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__12; +x_188 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__30; x_189 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_189, 0, x_118); +lean_ctor_set(x_189, 0, x_123); lean_ctor_set(x_189, 1, x_188); lean_ctor_set(x_189, 2, x_187); -x_190 = lean_array_push(x_116, x_189); +x_190 = lean_array_push(x_121, x_189); x_191 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_191, 0, x_118); -lean_ctor_set(x_191, 1, x_119); +lean_ctor_set(x_191, 0, x_123); +lean_ctor_set(x_191, 1, x_124); lean_ctor_set(x_191, 2, x_190); -x_192 = lean_array_push(x_116, x_191); -x_193 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__8; -x_194 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_194, 0, x_118); -lean_ctor_set(x_194, 1, x_193); -lean_ctor_set(x_194, 2, x_192); -x_195 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_105); -return x_195; +x_192 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__55; +x_193 = lean_array_push(x_192, x_114); +x_194 = lean_array_push(x_193, x_136); +x_195 = lean_array_push(x_194, x_185); +x_196 = lean_array_push(x_195, x_191); +x_197 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__8; +x_198 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_198, 0, x_123); +lean_ctor_set(x_198, 1, x_197); +lean_ctor_set(x_198, 2, x_196); +x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_110); +return x_199; +} +} +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_200 = lean_unsigned_to_nat(0u); +x_201 = l_Lean_Syntax_getArg(x_9, x_200); +lean_dec(x_9); +x_202 = l_Classical_tacticBy__cases_____x3a_____closed__14; +lean_inc(x_201); +x_203 = l_Lean_Syntax_isOfKind(x_201, x_202); +if (x_203 == 0) +{ +lean_object* x_204; lean_object* x_205; +lean_dec(x_201); +lean_dec(x_2); +lean_dec(x_1); +x_204 = lean_box(1); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_3); +return x_205; +} +else +{ +lean_object* x_206; lean_object* x_207; uint8_t x_208; +x_206 = l_Lean_Syntax_getArg(x_1, x_11); +lean_dec(x_1); +lean_inc(x_2); +x_207 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_208 = !lean_is_exclusive(x_207); +if (x_208 == 0) +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; +x_209 = lean_ctor_get(x_207, 0); +x_210 = lean_ctor_get(x_2, 2); +lean_inc(x_210); +x_211 = lean_ctor_get(x_2, 1); +lean_inc(x_211); +lean_dec(x_2); +x_212 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__7; +lean_inc(x_209); +x_213 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_213, 0, x_209); +lean_ctor_set(x_213, 1, x_212); +x_214 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__22; +lean_inc(x_210); +lean_inc(x_211); +x_215 = l_Lean_addMacroScope(x_211, x_214, x_210); +x_216 = lean_box(0); +x_217 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__21; +x_218 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__25; +lean_inc(x_209); +x_219 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_219, 0, x_209); +lean_ctor_set(x_219, 1, x_217); +lean_ctor_set(x_219, 2, x_215); +lean_ctor_set(x_219, 3, x_218); +x_220 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__26; +x_221 = lean_array_push(x_220, x_206); +x_222 = lean_box(2); +x_223 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__10; +x_224 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_224, 0, x_222); +lean_ctor_set(x_224, 1, x_223); +lean_ctor_set(x_224, 2, x_221); +x_225 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__27; +x_226 = lean_array_push(x_225, x_219); +x_227 = lean_array_push(x_226, x_224); +x_228 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__18; +x_229 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_229, 0, x_222); +lean_ctor_set(x_229, 1, x_228); +lean_ctor_set(x_229, 2, x_227); +x_230 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__28; +x_231 = lean_array_push(x_230, x_229); +x_232 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__12; +x_233 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_233, 0, x_222); +lean_ctor_set(x_233, 1, x_232); +lean_ctor_set(x_233, 2, x_231); +x_234 = lean_array_push(x_220, x_233); +x_235 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_235, 0, x_222); +lean_ctor_set(x_235, 1, x_223); +lean_ctor_set(x_235, 2, x_234); +x_236 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__31; +lean_inc(x_209); +x_237 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_237, 0, x_209); +lean_ctor_set(x_237, 1, x_236); +x_238 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__34; +lean_inc(x_209); +x_239 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_239, 0, x_209); +lean_ctor_set(x_239, 1, x_238); +x_240 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__40; +lean_inc(x_210); +lean_inc(x_211); +x_241 = l_Lean_addMacroScope(x_211, x_240, x_210); +x_242 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__39; +lean_inc(x_209); +x_243 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_243, 0, x_209); +lean_ctor_set(x_243, 1, x_242); +lean_ctor_set(x_243, 2, x_241); +lean_ctor_set(x_243, 3, x_216); +x_244 = lean_array_push(x_230, x_243); +x_245 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__36; +x_246 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_246, 0, x_222); +lean_ctor_set(x_246, 1, x_245); +lean_ctor_set(x_246, 2, x_244); +x_247 = lean_array_push(x_220, x_201); +x_248 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_248, 0, x_222); +lean_ctor_set(x_248, 1, x_223); +lean_ctor_set(x_248, 2, x_247); +x_249 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__45; +lean_inc(x_209); +x_250 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_250, 0, x_209); +lean_ctor_set(x_250, 1, x_249); +x_251 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__48; +lean_inc(x_209); +x_252 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_252, 0, x_209); +lean_ctor_set(x_252, 1, x_251); +x_253 = lean_array_push(x_220, x_252); +x_254 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__47; +x_255 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_255, 0, x_222); +lean_ctor_set(x_255, 1, x_254); +lean_ctor_set(x_255, 2, x_253); +x_256 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__49; +x_257 = lean_array_push(x_256, x_239); +lean_inc(x_257); +x_258 = lean_array_push(x_257, x_246); +lean_inc(x_248); +x_259 = lean_array_push(x_258, x_248); +lean_inc(x_250); +x_260 = lean_array_push(x_259, x_250); +lean_inc(x_255); +x_261 = lean_array_push(x_260, x_255); +x_262 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__33; +x_263 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_263, 0, x_222); +lean_ctor_set(x_263, 1, x_262); +lean_ctor_set(x_263, 2, x_261); +x_264 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__53; +x_265 = l_Lean_addMacroScope(x_211, x_264, x_210); +x_266 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__52; +x_267 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_267, 0, x_209); +lean_ctor_set(x_267, 1, x_266); +lean_ctor_set(x_267, 2, x_265); +lean_ctor_set(x_267, 3, x_216); +x_268 = lean_array_push(x_230, x_267); +x_269 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_269, 0, x_222); +lean_ctor_set(x_269, 1, x_245); +lean_ctor_set(x_269, 2, x_268); +x_270 = lean_array_push(x_257, x_269); +x_271 = lean_array_push(x_270, x_248); +x_272 = lean_array_push(x_271, x_250); +x_273 = lean_array_push(x_272, x_255); +x_274 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_274, 0, x_222); +lean_ctor_set(x_274, 1, x_262); +lean_ctor_set(x_274, 2, x_273); +x_275 = lean_array_push(x_225, x_263); +x_276 = lean_array_push(x_275, x_274); +x_277 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_277, 0, x_222); +lean_ctor_set(x_277, 1, x_223); +lean_ctor_set(x_277, 2, x_276); +x_278 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__54; +x_279 = lean_array_push(x_278, x_237); +x_280 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__14; +x_281 = lean_array_push(x_279, x_280); +x_282 = lean_array_push(x_281, x_277); +x_283 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__30; +x_284 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_284, 0, x_222); +lean_ctor_set(x_284, 1, x_283); +lean_ctor_set(x_284, 2, x_282); +x_285 = lean_array_push(x_220, x_284); +x_286 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_286, 0, x_222); +lean_ctor_set(x_286, 1, x_223); +lean_ctor_set(x_286, 2, x_285); +x_287 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__55; +x_288 = lean_array_push(x_287, x_213); +x_289 = lean_array_push(x_288, x_235); +x_290 = lean_array_push(x_289, x_280); +x_291 = lean_array_push(x_290, x_286); +x_292 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__8; +x_293 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_293, 0, x_222); +lean_ctor_set(x_293, 1, x_292); +lean_ctor_set(x_293, 2, x_291); +lean_ctor_set(x_207, 0, x_293); +return x_207; +} +else +{ +lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; 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; +x_294 = lean_ctor_get(x_207, 0); +x_295 = lean_ctor_get(x_207, 1); +lean_inc(x_295); +lean_inc(x_294); +lean_dec(x_207); +x_296 = lean_ctor_get(x_2, 2); +lean_inc(x_296); +x_297 = lean_ctor_get(x_2, 1); +lean_inc(x_297); +lean_dec(x_2); +x_298 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__7; +lean_inc(x_294); +x_299 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_299, 0, x_294); +lean_ctor_set(x_299, 1, x_298); +x_300 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__22; +lean_inc(x_296); +lean_inc(x_297); +x_301 = l_Lean_addMacroScope(x_297, x_300, x_296); +x_302 = lean_box(0); +x_303 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__21; +x_304 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__25; +lean_inc(x_294); +x_305 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_305, 0, x_294); +lean_ctor_set(x_305, 1, x_303); +lean_ctor_set(x_305, 2, x_301); +lean_ctor_set(x_305, 3, x_304); +x_306 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__26; +x_307 = lean_array_push(x_306, x_206); +x_308 = lean_box(2); +x_309 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__10; +x_310 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_310, 0, x_308); +lean_ctor_set(x_310, 1, x_309); +lean_ctor_set(x_310, 2, x_307); +x_311 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__27; +x_312 = lean_array_push(x_311, x_305); +x_313 = lean_array_push(x_312, x_310); +x_314 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__18; +x_315 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_315, 0, x_308); +lean_ctor_set(x_315, 1, x_314); +lean_ctor_set(x_315, 2, x_313); +x_316 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__28; +x_317 = lean_array_push(x_316, x_315); +x_318 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__12; +x_319 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_319, 0, x_308); +lean_ctor_set(x_319, 1, x_318); +lean_ctor_set(x_319, 2, x_317); +x_320 = lean_array_push(x_306, x_319); +x_321 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_321, 0, x_308); +lean_ctor_set(x_321, 1, x_309); +lean_ctor_set(x_321, 2, x_320); +x_322 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__31; +lean_inc(x_294); +x_323 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_323, 0, x_294); +lean_ctor_set(x_323, 1, x_322); +x_324 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__34; +lean_inc(x_294); +x_325 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_325, 0, x_294); +lean_ctor_set(x_325, 1, x_324); +x_326 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__40; +lean_inc(x_296); +lean_inc(x_297); +x_327 = l_Lean_addMacroScope(x_297, x_326, x_296); +x_328 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__39; +lean_inc(x_294); +x_329 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_329, 0, x_294); +lean_ctor_set(x_329, 1, x_328); +lean_ctor_set(x_329, 2, x_327); +lean_ctor_set(x_329, 3, x_302); +x_330 = lean_array_push(x_316, x_329); +x_331 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__36; +x_332 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_332, 0, x_308); +lean_ctor_set(x_332, 1, x_331); +lean_ctor_set(x_332, 2, x_330); +x_333 = lean_array_push(x_306, x_201); +x_334 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_334, 0, x_308); +lean_ctor_set(x_334, 1, x_309); +lean_ctor_set(x_334, 2, x_333); +x_335 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__45; +lean_inc(x_294); +x_336 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_336, 0, x_294); +lean_ctor_set(x_336, 1, x_335); +x_337 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__48; +lean_inc(x_294); +x_338 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_338, 0, x_294); +lean_ctor_set(x_338, 1, x_337); +x_339 = lean_array_push(x_306, x_338); +x_340 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__47; +x_341 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_341, 0, x_308); +lean_ctor_set(x_341, 1, x_340); +lean_ctor_set(x_341, 2, x_339); +x_342 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__49; +x_343 = lean_array_push(x_342, x_325); +lean_inc(x_343); +x_344 = lean_array_push(x_343, x_332); +lean_inc(x_334); +x_345 = lean_array_push(x_344, x_334); +lean_inc(x_336); +x_346 = lean_array_push(x_345, x_336); +lean_inc(x_341); +x_347 = lean_array_push(x_346, x_341); +x_348 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__33; +x_349 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_349, 0, x_308); +lean_ctor_set(x_349, 1, x_348); +lean_ctor_set(x_349, 2, x_347); +x_350 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__53; +x_351 = l_Lean_addMacroScope(x_297, x_350, x_296); +x_352 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__52; +x_353 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_353, 0, x_294); +lean_ctor_set(x_353, 1, x_352); +lean_ctor_set(x_353, 2, x_351); +lean_ctor_set(x_353, 3, x_302); +x_354 = lean_array_push(x_316, x_353); +x_355 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_355, 0, x_308); +lean_ctor_set(x_355, 1, x_331); +lean_ctor_set(x_355, 2, x_354); +x_356 = lean_array_push(x_343, x_355); +x_357 = lean_array_push(x_356, x_334); +x_358 = lean_array_push(x_357, x_336); +x_359 = lean_array_push(x_358, x_341); +x_360 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_360, 0, x_308); +lean_ctor_set(x_360, 1, x_348); +lean_ctor_set(x_360, 2, x_359); +x_361 = lean_array_push(x_311, x_349); +x_362 = lean_array_push(x_361, x_360); +x_363 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_363, 0, x_308); +lean_ctor_set(x_363, 1, x_309); +lean_ctor_set(x_363, 2, x_362); +x_364 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__54; +x_365 = lean_array_push(x_364, x_323); +x_366 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__14; +x_367 = lean_array_push(x_365, x_366); +x_368 = lean_array_push(x_367, x_363); +x_369 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__30; +x_370 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_370, 0, x_308); +lean_ctor_set(x_370, 1, x_369); +lean_ctor_set(x_370, 2, x_368); +x_371 = lean_array_push(x_306, x_370); +x_372 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_372, 0, x_308); +lean_ctor_set(x_372, 1, x_309); +lean_ctor_set(x_372, 2, x_371); +x_373 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__55; +x_374 = lean_array_push(x_373, x_299); +x_375 = lean_array_push(x_374, x_321); +x_376 = lean_array_push(x_375, x_366); +x_377 = lean_array_push(x_376, x_372); +x_378 = l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__8; +x_379 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_379, 0, x_308); +lean_ctor_set(x_379, 1, x_378); +lean_ctor_set(x_379, 2, x_377); +x_380 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_380, 0, x_379); +lean_ctor_set(x_380, 1, x_295); +return x_380; +} +} } } } @@ -1270,6 +1770,18 @@ l_Classical_tacticBy__cases_____x3a_____closed__19 = _init_l_Classical_tacticBy_ lean_mark_persistent(l_Classical_tacticBy__cases_____x3a_____closed__19); l_Classical_tacticBy__cases_____x3a_____closed__20 = _init_l_Classical_tacticBy__cases_____x3a_____closed__20(); lean_mark_persistent(l_Classical_tacticBy__cases_____x3a_____closed__20); +l_Classical_tacticBy__cases_____x3a_____closed__21 = _init_l_Classical_tacticBy__cases_____x3a_____closed__21(); +lean_mark_persistent(l_Classical_tacticBy__cases_____x3a_____closed__21); +l_Classical_tacticBy__cases_____x3a_____closed__22 = _init_l_Classical_tacticBy__cases_____x3a_____closed__22(); +lean_mark_persistent(l_Classical_tacticBy__cases_____x3a_____closed__22); +l_Classical_tacticBy__cases_____x3a_____closed__23 = _init_l_Classical_tacticBy__cases_____x3a_____closed__23(); +lean_mark_persistent(l_Classical_tacticBy__cases_____x3a_____closed__23); +l_Classical_tacticBy__cases_____x3a_____closed__24 = _init_l_Classical_tacticBy__cases_____x3a_____closed__24(); +lean_mark_persistent(l_Classical_tacticBy__cases_____x3a_____closed__24); +l_Classical_tacticBy__cases_____x3a_____closed__25 = _init_l_Classical_tacticBy__cases_____x3a_____closed__25(); +lean_mark_persistent(l_Classical_tacticBy__cases_____x3a_____closed__25); +l_Classical_tacticBy__cases_____x3a_____closed__26 = _init_l_Classical_tacticBy__cases_____x3a_____closed__26(); +lean_mark_persistent(l_Classical_tacticBy__cases_____x3a_____closed__26); l_Classical_tacticBy__cases_____x3a__ = _init_l_Classical_tacticBy__cases_____x3a__(); lean_mark_persistent(l_Classical_tacticBy__cases_____x3a__); l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__1 = _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__1(); @@ -1378,6 +1890,10 @@ l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases__ lean_mark_persistent(l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__52); l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__53 = _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__53(); lean_mark_persistent(l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__53); +l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__54 = _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__54(); +lean_mark_persistent(l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__54); +l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__55 = _init_l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__55(); +lean_mark_persistent(l_Classical___aux__Init__Classical______macroRules__Classical__tacticBy__cases_____x3a____1___closed__55); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/Array/Basic.c b/stage0/stdlib/Init/Data/Array/Basic.c index c82c92fa52..4abef66873 100644 --- a/stage0/stdlib/Init/Data/Array/Basic.c +++ b/stage0/stdlib/Init/Data/Array/Basic.c @@ -8853,7 +8853,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_Array_swapAt_x21___rarg___closed__3; x_2 = l_Array_insertAt___rarg___closed__1; -x_3 = lean_unsigned_to_nat(701u); +x_3 = lean_unsigned_to_nat(703u); x_4 = lean_unsigned_to_nat(22u); x_5 = l_Array_insertAt___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Init/Data/Array/Mem.c b/stage0/stdlib/Init/Data/Array/Mem.c index 168d5bf443..6c38e60918 100644 --- a/stage0/stdlib/Init/Data/Array/Mem.c +++ b/stage0/stdlib/Init/Data/Array/Mem.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data.Array.Mem -// Imports: Init.Data.Array.Basic Init.Data.Nat.Linear +// Imports: Init.Data.Array.Basic Init.Data.Nat.Linear Init.Data.List.BasicAux #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,8 +13,85 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__10; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__32; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__20; +LEAN_EXPORT lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1(lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__56; +lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__43; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__12; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__54; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__26; +lean_object* lean_string_utf8_byte_size(lean_object*); +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__58; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__31; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__35; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__51; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__19; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__11; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__40; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__27; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__36; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__39; +static lean_object* l_Array_tacticArray__get__dec___closed__5; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__4; +static lean_object* l_Array_tacticArray__get__dec___closed__7; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__57; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__17; +static lean_object* l_Array_tacticArray__get__dec___closed__3; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__8; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__45; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__9; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__21; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__38; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__2; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__44; +static lean_object* l_Array_tacticArray__get__dec___closed__4; +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__23; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__13; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__41; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__47; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__46; LEAN_EXPORT lean_object* l_Array_instMembershipArray___boxed(lean_object*, lean_object*); +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__50; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__34; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__48; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__25; +static lean_object* l_Array_tacticArray__get__dec___closed__6; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__6; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__30; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__5; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__33; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__22; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__52; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__29; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__55; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_instMembershipArray(lean_object*, lean_object*); +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__18; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__15; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__3; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__14; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__28; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__49; +LEAN_EXPORT lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__42; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__53; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__37; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__1; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__2; +static lean_object* l_Array_tacticArray__get__dec___closed__2; +LEAN_EXPORT lean_object* l_Array_tacticArray__get__dec; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__16; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__7; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__24; +static lean_object* l_Array_tacticArray__get__dec___closed__1; +static lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__1; LEAN_EXPORT lean_object* l_Array_instMembershipArray(lean_object* x_1, lean_object* x_2) { _start: { @@ -32,8 +109,1229 @@ lean_dec(x_2); return x_3; } } +static lean_object* _init_l_Array_tacticArray__get__dec___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Array"); +return x_1; +} +} +static lean_object* _init_l_Array_tacticArray__get__dec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_tacticArray__get__dec___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_tacticArray__get__dec___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticArray_get_dec"); +return x_1; +} +} +static lean_object* _init_l_Array_tacticArray__get__dec___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_tacticArray__get__dec___closed__2; +x_2 = l_Array_tacticArray__get__dec___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_tacticArray__get__dec___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("array_get_dec"); +return x_1; +} +} +static lean_object* _init_l_Array_tacticArray__get__dec___closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Array_tacticArray__get__dec___closed__5; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_tacticArray__get__dec___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_tacticArray__get__dec___closed__4; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Array_tacticArray__get__dec___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Array_tacticArray__get__dec() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_tacticArray__get__dec___closed__7; +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__2; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Tactic"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__4; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("seq1"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__6; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("first"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__6; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("group"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("|"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticSeq"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__6; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__16; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticSeq1Indented"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__6; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__18; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("apply"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__6; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__20; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("sizeOf_get"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__22; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__22; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__23; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_tacticArray__get__dec___closed__2; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__26; +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_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__27; +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_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__10; +x_3 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__30; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__33() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__4; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__33; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__35() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__34; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__35; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__37() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Nat.lt_trans"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__38() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__37; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__39() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__37; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__38; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__40() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Nat"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__40; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__42() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("lt_trans"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__41; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__42; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__43; +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_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__44; +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_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__46() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("paren"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__34; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__46; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__48() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("("); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__49() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ellipsis"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__50() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__34; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__49; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__51() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(".."); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__52() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(")"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__53() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__54() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(";"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__55() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("simpArith"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__56() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__6; +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__55; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__57() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("simp_arith"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__58() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Array_tacticArray__get__dec___closed__4; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +lean_inc(x_2); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +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; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_2, 2); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec(x_2); +x_13 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__11; +lean_inc(x_10); +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__15; +lean_inc(x_10); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__20; +lean_inc(x_10); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__25; +lean_inc(x_11); +lean_inc(x_12); +x_20 = l_Lean_addMacroScope(x_12, x_19, x_11); +x_21 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__24; +x_22 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__28; +lean_inc(x_10); +x_23 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_23, 0, x_10); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_20); +lean_ctor_set(x_23, 3, x_22); +x_24 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__29; +x_25 = lean_array_push(x_24, x_18); +lean_inc(x_23); +lean_inc(x_25); +x_26 = lean_array_push(x_25, x_23); +x_27 = lean_box(2); +x_28 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__21; +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_26); +x_30 = lean_array_push(x_24, x_29); +x_31 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__31; +x_32 = lean_array_push(x_30, x_31); +x_33 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__14; +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_27); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_32); +x_35 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__32; +x_36 = lean_array_push(x_35, x_34); +x_37 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__10; +x_38 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_38, 0, x_27); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_36); +x_39 = lean_array_push(x_35, x_38); +x_40 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__19; +x_41 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_41, 0, x_27); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_41, 2, x_39); +x_42 = lean_array_push(x_35, x_41); +x_43 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__17; +x_44 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_44, 0, x_27); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_42); +x_45 = lean_array_push(x_24, x_16); +lean_inc(x_45); +x_46 = lean_array_push(x_45, x_44); +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_27); +lean_ctor_set(x_47, 1, x_33); +lean_ctor_set(x_47, 2, x_46); +x_48 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__43; +x_49 = l_Lean_addMacroScope(x_12, x_48, x_11); +x_50 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__39; +x_51 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__45; +lean_inc(x_10); +x_52 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_52, 0, x_10); +lean_ctor_set(x_52, 1, x_50); +lean_ctor_set(x_52, 2, x_49); +lean_ctor_set(x_52, 3, x_51); +x_53 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__48; +lean_inc(x_10); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_10); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__51; +lean_inc(x_10); +x_56 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_56, 0, x_10); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_array_push(x_35, x_56); +x_58 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__50; +x_59 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_59, 0, x_27); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_57); +x_60 = lean_array_push(x_35, x_59); +x_61 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_61, 0, x_27); +lean_ctor_set(x_61, 1, x_37); +lean_ctor_set(x_61, 2, x_60); +x_62 = lean_array_push(x_24, x_23); +x_63 = lean_array_push(x_62, x_61); +x_64 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__36; +x_65 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_65, 0, x_27); +lean_ctor_set(x_65, 1, x_64); +lean_ctor_set(x_65, 2, x_63); +x_66 = lean_array_push(x_24, x_65); +x_67 = lean_array_push(x_66, x_31); +x_68 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_68, 0, x_27); +lean_ctor_set(x_68, 1, x_37); +lean_ctor_set(x_68, 2, x_67); +x_69 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__52; +lean_inc(x_10); +x_70 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_70, 0, x_10); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__53; +x_72 = lean_array_push(x_71, x_54); +x_73 = lean_array_push(x_72, x_68); +x_74 = lean_array_push(x_73, x_70); +x_75 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__47; +x_76 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_76, 0, x_27); +lean_ctor_set(x_76, 1, x_75); +lean_ctor_set(x_76, 2, x_74); +x_77 = lean_array_push(x_35, x_76); +x_78 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_78, 0, x_27); +lean_ctor_set(x_78, 1, x_37); +lean_ctor_set(x_78, 2, x_77); +x_79 = lean_array_push(x_24, x_52); +x_80 = lean_array_push(x_79, x_78); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_27); +lean_ctor_set(x_81, 1, x_64); +lean_ctor_set(x_81, 2, x_80); +x_82 = lean_array_push(x_25, x_81); +x_83 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_83, 0, x_27); +lean_ctor_set(x_83, 1, x_28); +lean_ctor_set(x_83, 2, x_82); +x_84 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__54; +lean_inc(x_10); +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_10); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_array_push(x_35, x_85); +x_87 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_87, 0, x_27); +lean_ctor_set(x_87, 1, x_37); +lean_ctor_set(x_87, 2, x_86); +x_88 = lean_array_push(x_24, x_83); +x_89 = lean_array_push(x_88, x_87); +x_90 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_90, 0, x_27); +lean_ctor_set(x_90, 1, x_33); +lean_ctor_set(x_90, 2, x_89); +x_91 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__57; +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_10); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__58; +x_94 = lean_array_push(x_93, x_92); +x_95 = lean_array_push(x_94, x_31); +x_96 = lean_array_push(x_95, x_31); +x_97 = lean_array_push(x_96, x_31); +x_98 = lean_array_push(x_97, x_31); +x_99 = lean_array_push(x_98, x_31); +x_100 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__56; +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_27); +lean_ctor_set(x_101, 1, x_100); +lean_ctor_set(x_101, 2, x_99); +x_102 = lean_array_push(x_24, x_101); +x_103 = lean_array_push(x_102, x_31); +x_104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_104, 0, x_27); +lean_ctor_set(x_104, 1, x_33); +lean_ctor_set(x_104, 2, x_103); +x_105 = lean_array_push(x_24, x_90); +x_106 = lean_array_push(x_105, x_104); +x_107 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_107, 0, x_27); +lean_ctor_set(x_107, 1, x_37); +lean_ctor_set(x_107, 2, x_106); +x_108 = lean_array_push(x_35, x_107); +x_109 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_109, 0, x_27); +lean_ctor_set(x_109, 1, x_40); +lean_ctor_set(x_109, 2, x_108); +x_110 = lean_array_push(x_35, x_109); +x_111 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_111, 0, x_27); +lean_ctor_set(x_111, 1, x_43); +lean_ctor_set(x_111, 2, x_110); +x_112 = lean_array_push(x_45, x_111); +x_113 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_113, 0, x_27); +lean_ctor_set(x_113, 1, x_33); +lean_ctor_set(x_113, 2, x_112); +x_114 = lean_array_push(x_24, x_47); +x_115 = lean_array_push(x_114, x_113); +x_116 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_116, 0, x_27); +lean_ctor_set(x_116, 1, x_37); +lean_ctor_set(x_116, 2, x_115); +x_117 = lean_array_push(x_24, x_14); +x_118 = lean_array_push(x_117, x_116); +x_119 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__12; +x_120 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_120, 0, x_27); +lean_ctor_set(x_120, 1, x_119); +lean_ctor_set(x_120, 2, x_118); +x_121 = lean_array_push(x_35, x_120); +x_122 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_122, 0, x_27); +lean_ctor_set(x_122, 1, x_37); +lean_ctor_set(x_122, 2, x_121); +x_123 = lean_array_push(x_35, x_122); +x_124 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__8; +x_125 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_125, 0, x_27); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set(x_125, 2, x_123); +lean_ctor_set(x_8, 0, x_125); +return x_8; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_126 = lean_ctor_get(x_8, 0); +x_127 = lean_ctor_get(x_8, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_8); +x_128 = lean_ctor_get(x_2, 2); +lean_inc(x_128); +x_129 = lean_ctor_get(x_2, 1); +lean_inc(x_129); +lean_dec(x_2); +x_130 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__11; +lean_inc(x_126); +x_131 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_131, 0, x_126); +lean_ctor_set(x_131, 1, x_130); +x_132 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__15; +lean_inc(x_126); +x_133 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_133, 0, x_126); +lean_ctor_set(x_133, 1, x_132); +x_134 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__20; +lean_inc(x_126); +x_135 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_135, 0, x_126); +lean_ctor_set(x_135, 1, x_134); +x_136 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__25; +lean_inc(x_128); +lean_inc(x_129); +x_137 = l_Lean_addMacroScope(x_129, x_136, x_128); +x_138 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__24; +x_139 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__28; +lean_inc(x_126); +x_140 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_140, 0, x_126); +lean_ctor_set(x_140, 1, x_138); +lean_ctor_set(x_140, 2, x_137); +lean_ctor_set(x_140, 3, x_139); +x_141 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__29; +x_142 = lean_array_push(x_141, x_135); +lean_inc(x_140); +lean_inc(x_142); +x_143 = lean_array_push(x_142, x_140); +x_144 = lean_box(2); +x_145 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__21; +x_146 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +lean_ctor_set(x_146, 2, x_143); +x_147 = lean_array_push(x_141, x_146); +x_148 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__31; +x_149 = lean_array_push(x_147, x_148); +x_150 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__14; +x_151 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_151, 0, x_144); +lean_ctor_set(x_151, 1, x_150); +lean_ctor_set(x_151, 2, x_149); +x_152 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__32; +x_153 = lean_array_push(x_152, x_151); +x_154 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__10; +x_155 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_155, 0, x_144); +lean_ctor_set(x_155, 1, x_154); +lean_ctor_set(x_155, 2, x_153); +x_156 = lean_array_push(x_152, x_155); +x_157 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__19; +x_158 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_158, 0, x_144); +lean_ctor_set(x_158, 1, x_157); +lean_ctor_set(x_158, 2, x_156); +x_159 = lean_array_push(x_152, x_158); +x_160 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__17; +x_161 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_161, 0, x_144); +lean_ctor_set(x_161, 1, x_160); +lean_ctor_set(x_161, 2, x_159); +x_162 = lean_array_push(x_141, x_133); +lean_inc(x_162); +x_163 = lean_array_push(x_162, x_161); +x_164 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_164, 0, x_144); +lean_ctor_set(x_164, 1, x_150); +lean_ctor_set(x_164, 2, x_163); +x_165 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__43; +x_166 = l_Lean_addMacroScope(x_129, x_165, x_128); +x_167 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__39; +x_168 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__45; +lean_inc(x_126); +x_169 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_169, 0, x_126); +lean_ctor_set(x_169, 1, x_167); +lean_ctor_set(x_169, 2, x_166); +lean_ctor_set(x_169, 3, x_168); +x_170 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__48; +lean_inc(x_126); +x_171 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_171, 0, x_126); +lean_ctor_set(x_171, 1, x_170); +x_172 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__51; +lean_inc(x_126); +x_173 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_173, 0, x_126); +lean_ctor_set(x_173, 1, x_172); +x_174 = lean_array_push(x_152, x_173); +x_175 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__50; +x_176 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_176, 0, x_144); +lean_ctor_set(x_176, 1, x_175); +lean_ctor_set(x_176, 2, x_174); +x_177 = lean_array_push(x_152, x_176); +x_178 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_178, 0, x_144); +lean_ctor_set(x_178, 1, x_154); +lean_ctor_set(x_178, 2, x_177); +x_179 = lean_array_push(x_141, x_140); +x_180 = lean_array_push(x_179, x_178); +x_181 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__36; +x_182 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_182, 0, x_144); +lean_ctor_set(x_182, 1, x_181); +lean_ctor_set(x_182, 2, x_180); +x_183 = lean_array_push(x_141, x_182); +x_184 = lean_array_push(x_183, x_148); +x_185 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_185, 0, x_144); +lean_ctor_set(x_185, 1, x_154); +lean_ctor_set(x_185, 2, x_184); +x_186 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__52; +lean_inc(x_126); +x_187 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_187, 0, x_126); +lean_ctor_set(x_187, 1, x_186); +x_188 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__53; +x_189 = lean_array_push(x_188, x_171); +x_190 = lean_array_push(x_189, x_185); +x_191 = lean_array_push(x_190, x_187); +x_192 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__47; +x_193 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_193, 0, x_144); +lean_ctor_set(x_193, 1, x_192); +lean_ctor_set(x_193, 2, x_191); +x_194 = lean_array_push(x_152, x_193); +x_195 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_195, 0, x_144); +lean_ctor_set(x_195, 1, x_154); +lean_ctor_set(x_195, 2, x_194); +x_196 = lean_array_push(x_141, x_169); +x_197 = lean_array_push(x_196, x_195); +x_198 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_198, 0, x_144); +lean_ctor_set(x_198, 1, x_181); +lean_ctor_set(x_198, 2, x_197); +x_199 = lean_array_push(x_142, x_198); +x_200 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_200, 0, x_144); +lean_ctor_set(x_200, 1, x_145); +lean_ctor_set(x_200, 2, x_199); +x_201 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__54; +lean_inc(x_126); +x_202 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_202, 0, x_126); +lean_ctor_set(x_202, 1, x_201); +x_203 = lean_array_push(x_152, x_202); +x_204 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_204, 0, x_144); +lean_ctor_set(x_204, 1, x_154); +lean_ctor_set(x_204, 2, x_203); +x_205 = lean_array_push(x_141, x_200); +x_206 = lean_array_push(x_205, x_204); +x_207 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_207, 0, x_144); +lean_ctor_set(x_207, 1, x_150); +lean_ctor_set(x_207, 2, x_206); +x_208 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__57; +x_209 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_209, 0, x_126); +lean_ctor_set(x_209, 1, x_208); +x_210 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__58; +x_211 = lean_array_push(x_210, x_209); +x_212 = lean_array_push(x_211, x_148); +x_213 = lean_array_push(x_212, x_148); +x_214 = lean_array_push(x_213, x_148); +x_215 = lean_array_push(x_214, x_148); +x_216 = lean_array_push(x_215, x_148); +x_217 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__56; +x_218 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_218, 0, x_144); +lean_ctor_set(x_218, 1, x_217); +lean_ctor_set(x_218, 2, x_216); +x_219 = lean_array_push(x_141, x_218); +x_220 = lean_array_push(x_219, x_148); +x_221 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_221, 0, x_144); +lean_ctor_set(x_221, 1, x_150); +lean_ctor_set(x_221, 2, x_220); +x_222 = lean_array_push(x_141, x_207); +x_223 = lean_array_push(x_222, x_221); +x_224 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_224, 0, x_144); +lean_ctor_set(x_224, 1, x_154); +lean_ctor_set(x_224, 2, x_223); +x_225 = lean_array_push(x_152, x_224); +x_226 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_226, 0, x_144); +lean_ctor_set(x_226, 1, x_157); +lean_ctor_set(x_226, 2, x_225); +x_227 = lean_array_push(x_152, x_226); +x_228 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_228, 0, x_144); +lean_ctor_set(x_228, 1, x_160); +lean_ctor_set(x_228, 2, x_227); +x_229 = lean_array_push(x_162, x_228); +x_230 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_230, 0, x_144); +lean_ctor_set(x_230, 1, x_150); +lean_ctor_set(x_230, 2, x_229); +x_231 = lean_array_push(x_141, x_164); +x_232 = lean_array_push(x_231, x_230); +x_233 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_233, 0, x_144); +lean_ctor_set(x_233, 1, x_154); +lean_ctor_set(x_233, 2, x_232); +x_234 = lean_array_push(x_141, x_131); +x_235 = lean_array_push(x_234, x_233); +x_236 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__12; +x_237 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_237, 0, x_144); +lean_ctor_set(x_237, 1, x_236); +lean_ctor_set(x_237, 2, x_235); +x_238 = lean_array_push(x_152, x_237); +x_239 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_239, 0, x_144); +lean_ctor_set(x_239, 1, x_154); +lean_ctor_set(x_239, 2, x_238); +x_240 = lean_array_push(x_152, x_239); +x_241 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__8; +x_242 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_242, 0, x_144); +lean_ctor_set(x_242, 1, x_241); +lean_ctor_set(x_242, 2, x_240); +x_243 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_127); +return x_243; +} +} +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticDecreasing_trivial"); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__2; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +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; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_Array_tacticArray__get__dec___closed__5; +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__32; +x_14 = lean_array_push(x_13, x_12); +x_15 = lean_box(2); +x_16 = l_Array_tacticArray__get__dec___closed__4; +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_14); +lean_ctor_set(x_8, 0, x_17); +return x_8; +} +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_8, 0); +x_19 = lean_ctor_get(x_8, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_8); +x_20 = l_Array_tacticArray__get__dec___closed__5; +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__32; +x_23 = lean_array_push(x_22, x_21); +x_24 = lean_box(2); +x_25 = l_Array_tacticArray__get__dec___closed__4; +x_26 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 2, x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_19); +return x_27; +} +} +} +} lean_object* initialize_Init_Data_Array_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Nat_Linear(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_BasicAux(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Data_Array_Mem(uint8_t builtin, lean_object* w) { lean_object * res; @@ -45,6 +1343,145 @@ lean_dec_ref(res); res = initialize_Init_Data_Nat_Linear(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Data_List_BasicAux(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Array_tacticArray__get__dec___closed__1 = _init_l_Array_tacticArray__get__dec___closed__1(); +lean_mark_persistent(l_Array_tacticArray__get__dec___closed__1); +l_Array_tacticArray__get__dec___closed__2 = _init_l_Array_tacticArray__get__dec___closed__2(); +lean_mark_persistent(l_Array_tacticArray__get__dec___closed__2); +l_Array_tacticArray__get__dec___closed__3 = _init_l_Array_tacticArray__get__dec___closed__3(); +lean_mark_persistent(l_Array_tacticArray__get__dec___closed__3); +l_Array_tacticArray__get__dec___closed__4 = _init_l_Array_tacticArray__get__dec___closed__4(); +lean_mark_persistent(l_Array_tacticArray__get__dec___closed__4); +l_Array_tacticArray__get__dec___closed__5 = _init_l_Array_tacticArray__get__dec___closed__5(); +lean_mark_persistent(l_Array_tacticArray__get__dec___closed__5); +l_Array_tacticArray__get__dec___closed__6 = _init_l_Array_tacticArray__get__dec___closed__6(); +lean_mark_persistent(l_Array_tacticArray__get__dec___closed__6); +l_Array_tacticArray__get__dec___closed__7 = _init_l_Array_tacticArray__get__dec___closed__7(); +lean_mark_persistent(l_Array_tacticArray__get__dec___closed__7); +l_Array_tacticArray__get__dec = _init_l_Array_tacticArray__get__dec(); +lean_mark_persistent(l_Array_tacticArray__get__dec); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__1 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__1(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__1); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__2 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__2(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__2); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__3 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__3(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__3); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__4 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__4(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__4); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__5 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__5(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__5); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__6 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__6(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__6); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__7 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__7(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__7); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__8 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__8(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__8); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__9 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__9(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__9); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__10 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__10(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__10); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__11 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__11(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__11); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__12 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__12(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__12); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__13 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__13(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__13); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__14 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__14(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__14); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__15 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__15(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__15); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__16 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__16(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__16); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__17 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__17(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__17); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__18 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__18(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__18); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__19 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__19(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__19); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__20 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__20(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__20); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__21 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__21(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__21); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__22 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__22(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__22); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__23 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__23(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__23); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__24 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__24(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__24); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__25 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__25(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__25); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__26 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__26(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__26); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__27 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__27(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__27); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__28 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__28(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__28); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__29 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__29(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__29); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__30 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__30(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__30); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__31 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__31(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__31); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__32 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__32(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__32); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__33 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__33(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__33); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__34 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__34(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__34); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__35 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__35(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__35); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__36 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__36(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__36); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__37 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__37(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__37); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__38 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__38(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__38); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__39 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__39(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__39); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__40 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__40(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__40); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__41 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__41(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__41); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__42 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__42(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__42); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__43 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__43(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__43); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__44 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__44(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__44); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__45 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__45(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__45); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__46 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__46(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__46); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__47 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__47(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__47); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__48 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__48(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__48); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__49 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__49(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__49); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__50 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__50(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__50); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__51 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__51(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__51); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__52 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__52(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__52); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__53 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__53(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__53); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__54 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__54(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__54); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__55 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__55(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__55); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__56 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__56(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__56); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__57 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__57(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__57); +l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__58 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__58(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__Array__tacticArray__get__dec__1___closed__58); +l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__1 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__1(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__1); +l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__2 = _init_l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__2(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Mem______macroRules__tacticDecreasing__trivial__1___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/List/BasicAux.c b/stage0/stdlib/Init/Data/List/BasicAux.c index e5e5ea1b37..c328708035 100644 --- a/stage0/stdlib/Init/Data/List/BasicAux.c +++ b/stage0/stdlib/Init/Data/List/BasicAux.c @@ -14,73 +14,162 @@ extern "C" { #endif static lean_object* l_List_getLast_x21___rarg___closed__1; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__7; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__16; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__2; LEAN_EXPORT lean_object* l_List_tail_x21___rarg(lean_object*); static lean_object* l_List_tail_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_List_get_x3f___rarg___boxed(lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_List_getLast_x3f(lean_object*); LEAN_EXPORT lean_object* l_List_tail_x3f(lean_object*); LEAN_EXPORT lean_object* l_List_getD___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__69; +LEAN_EXPORT lean_object* l_List_tacticSizeOf__list__dec; static lean_object* l_List_tail_x21___rarg___closed__2; +lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__11; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__68; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__51; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__19; LEAN_EXPORT lean_object* l_List_tailD___rarg(lean_object*, lean_object*); static lean_object* l_List_get_x21___rarg___closed__1; +static lean_object* l_List_tacticSizeOf__list__dec___closed__4; LEAN_EXPORT lean_object* l_List_get_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__64; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__2; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_tailD(lean_object*); LEAN_EXPORT lean_object* l_List_headD(lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_rotateLeft___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_List_tail_x21___spec__1___rarg(lean_object*); static lean_object* l_List_getLast_x21___rarg___closed__2; +LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_head(lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__44; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__8; LEAN_EXPORT lean_object* l_List_get_x3f___rarg(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__12; +lean_object* lean_string_utf8_byte_size(lean_object*); LEAN_EXPORT lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__26; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__58; static lean_object* l_List_get_x21___rarg___closed__2; LEAN_EXPORT lean_object* l_List_head_x3f(lean_object*); LEAN_EXPORT lean_object* l_List_head_x3f___rarg___boxed(lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__37; LEAN_EXPORT lean_object* l_List_rotateLeft(lean_object*); LEAN_EXPORT lean_object* l_List_getLastD(lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__42; LEAN_EXPORT lean_object* l_List_headD___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6; static lean_object* l_List_get_x21___rarg___closed__3; LEAN_EXPORT lean_object* l_List_getLast(lean_object*); LEAN_EXPORT lean_object* l_List_tail_x3f___rarg(lean_object*); static lean_object* l_List_head_x21___rarg___closed__1; static lean_object* l_List_get_x21___rarg___closed__4; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__53; +static lean_object* l_List_tacticSizeOf__list__dec___closed__2; LEAN_EXPORT lean_object* l_List_getLast_x3f___rarg(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_tail_x21(lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__43; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__31; LEAN_EXPORT lean_object* l_List_head_x21___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__59; LEAN_EXPORT lean_object* l_List_getLastD___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__61; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__49; +static lean_object* l_List_tacticSizeOf__list__dec___closed__1; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__63; LEAN_EXPORT lean_object* l_List_get_x3f(lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__24; LEAN_EXPORT lean_object* l_List_headD___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_getD___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__55; +static lean_object* l_List_tacticSizeOf__list__dec___closed__6; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__48; +static lean_object* l_List_tacticSizeOf__list__dec___closed__3; LEAN_EXPORT lean_object* l_List_rotateRight___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__57; LEAN_EXPORT lean_object* l_List_getLast_x21(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_head_x21___rarg___closed__2; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__15; LEAN_EXPORT lean_object* l_List_get_x21(lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__18; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__30; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__5; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__14; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__34; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__50; +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_rotateLeft___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__3; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__28; lean_object* l_List_drop___rarg(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__33; LEAN_EXPORT lean_object* l_panic___at_List_tail_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_List_tail_x3f___rarg___boxed(lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__66; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__20; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__25; uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_rotateRight___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__46; LEAN_EXPORT lean_object* l_List_rotateRight(lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__56; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__32; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__10; lean_object* l_panic___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_get_x21___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_tacticSizeOf__list__dec___closed__5; static lean_object* l_List_head_x21___rarg___closed__3; +static lean_object* l_List_tacticSizeOf__list__dec___closed__7; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__70; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__35; LEAN_EXPORT lean_object* l_List_tailD___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_head___rarg(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__21; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__38; LEAN_EXPORT lean_object* l_List_head_x3f___rarg(lean_object*); +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__65; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__39; LEAN_EXPORT lean_object* l_List_head___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_getLast_x21___rarg(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__23; lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); lean_object* lean_nat_mod(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__1; lean_object* l_List_take___rarg(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__54; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__62; LEAN_EXPORT lean_object* l_List_head_x21(lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__47; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__60; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__41; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__13; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__22; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__4; LEAN_EXPORT lean_object* l_List_getD(lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__27; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__67; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__9; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__40; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__45; lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__29; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__52; LEAN_EXPORT lean_object* l_List_getLast___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_getLastD___rarg(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__1; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__17; +static lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__36; static lean_object* _init_l_List_get_x21___rarg___closed__1() { _start: { @@ -877,6 +966,1538 @@ lean_dec(x_2); return x_3; } } +static lean_object* _init_l_List_tacticSizeOf__list__dec___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("List"); +return x_1; +} +} +static lean_object* _init_l_List_tacticSizeOf__list__dec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List_tacticSizeOf__list__dec___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List_tacticSizeOf__list__dec___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticSizeOf_list_dec"); +return x_1; +} +} +static lean_object* _init_l_List_tacticSizeOf__list__dec___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List_tacticSizeOf__list__dec___closed__2; +x_2 = l_List_tacticSizeOf__list__dec___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List_tacticSizeOf__list__dec___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("sizeOf_list_dec"); +return x_1; +} +} +static lean_object* _init_l_List_tacticSizeOf__list__dec___closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_List_tacticSizeOf__list__dec___closed__5; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_List_tacticSizeOf__list__dec___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_List_tacticSizeOf__list__dec___closed__4; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_List_tacticSizeOf__list__dec___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_List_tacticSizeOf__list__dec() { +_start: +{ +lean_object* x_1; +x_1 = l_List_tacticSizeOf__list__dec___closed__7; +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__2; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Tactic"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__4; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("seq1"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("first"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("group"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("|"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticSeq"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__16; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticSeq1Indented"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__18; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("apply"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__20; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("sizeOf_lt_of_mem"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__22; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__22; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__23; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List_tacticSizeOf__list__dec___closed__2; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__26; +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_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__27; +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_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(";"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__32() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("assumption"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__32; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("done"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__34; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__10; +x_3 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__36; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__38() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__39() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__40() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__4; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__39; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__41() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__42() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__40; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__41; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__43() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Nat.lt_trans"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__43; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__43; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__44; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__46() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Nat"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__46; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__48() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("lt_trans"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__49() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__47; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__48; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__50() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__49; +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_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__51() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__50; +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_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__52() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("paren"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__53() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__40; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__52; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__54() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("("); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__55() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("syntheticHole"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__56() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__40; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__55; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__57() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("?"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__58() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("h"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__59() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__58; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__60() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__58; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__59; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__61() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__58; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__62() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(")"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__63() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("case'"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__64() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__63; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__65() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("=>"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__66() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__67() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("simpArith"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__68() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6; +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__67; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__69() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("simp_arith"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__70() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_List_tacticSizeOf__list__dec___closed__4; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +lean_inc(x_2); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +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; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_2, 2); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec(x_2); +x_13 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__11; +lean_inc(x_10); +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__15; +lean_inc(x_10); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__20; +lean_inc(x_10); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__25; +lean_inc(x_11); +lean_inc(x_12); +x_20 = l_Lean_addMacroScope(x_12, x_19, x_11); +x_21 = lean_box(0); +x_22 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__24; +x_23 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__28; +lean_inc(x_10); +x_24 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_24, 0, x_10); +lean_ctor_set(x_24, 1, x_22); +lean_ctor_set(x_24, 2, x_20); +lean_ctor_set(x_24, 3, x_23); +x_25 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__29; +x_26 = lean_array_push(x_25, x_18); +lean_inc(x_24); +lean_inc(x_26); +x_27 = lean_array_push(x_26, x_24); +x_28 = lean_box(2); +x_29 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__21; +x_30 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_27); +x_31 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__30; +lean_inc(x_10); +x_32 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_32, 0, x_10); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__31; +x_34 = lean_array_push(x_33, x_32); +x_35 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__10; +x_36 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_36, 0, x_28); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_36, 2, x_34); +x_37 = lean_array_push(x_25, x_30); +lean_inc(x_36); +x_38 = lean_array_push(x_37, x_36); +x_39 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__14; +x_40 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_40, 0, x_28); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +x_41 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__32; +lean_inc(x_10); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_10); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_array_push(x_33, x_42); +x_44 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__33; +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_28); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +x_46 = lean_array_push(x_25, x_45); +lean_inc(x_46); +x_47 = lean_array_push(x_46, x_36); +x_48 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_48, 0, x_28); +lean_ctor_set(x_48, 1, x_39); +lean_ctor_set(x_48, 2, x_47); +x_49 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__34; +lean_inc(x_10); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_10); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_array_push(x_33, x_50); +x_52 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__35; +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_28); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_51); +x_54 = lean_array_push(x_25, x_53); +x_55 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__37; +x_56 = lean_array_push(x_54, x_55); +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_28); +lean_ctor_set(x_57, 1, x_39); +lean_ctor_set(x_57, 2, x_56); +x_58 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__38; +x_59 = lean_array_push(x_58, x_40); +x_60 = lean_array_push(x_59, x_48); +x_61 = lean_array_push(x_60, x_57); +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_28); +lean_ctor_set(x_62, 1, x_35); +lean_ctor_set(x_62, 2, x_61); +x_63 = lean_array_push(x_33, x_62); +x_64 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__19; +x_65 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_65, 0, x_28); +lean_ctor_set(x_65, 1, x_64); +lean_ctor_set(x_65, 2, x_63); +x_66 = lean_array_push(x_33, x_65); +x_67 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__17; +x_68 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_68, 0, x_28); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_68, 2, x_66); +x_69 = lean_array_push(x_25, x_16); +lean_inc(x_69); +x_70 = lean_array_push(x_69, x_68); +x_71 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_71, 0, x_28); +lean_ctor_set(x_71, 1, x_39); +lean_ctor_set(x_71, 2, x_70); +x_72 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__49; +lean_inc(x_11); +lean_inc(x_12); +x_73 = l_Lean_addMacroScope(x_12, x_72, x_11); +x_74 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__45; +x_75 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__51; +lean_inc(x_10); +x_76 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_76, 0, x_10); +lean_ctor_set(x_76, 1, x_74); +lean_ctor_set(x_76, 2, x_73); +lean_ctor_set(x_76, 3, x_75); +x_77 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__54; +lean_inc(x_10); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_10); +lean_ctor_set(x_78, 1, x_77); +x_79 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__57; +lean_inc(x_10); +x_80 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_80, 0, x_10); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__61; +x_82 = l_Lean_addMacroScope(x_12, x_81, x_11); +x_83 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__60; +lean_inc(x_10); +x_84 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_84, 0, x_10); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_82); +lean_ctor_set(x_84, 3, x_21); +x_85 = lean_array_push(x_25, x_80); +lean_inc(x_84); +x_86 = lean_array_push(x_85, x_84); +x_87 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__56; +x_88 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_88, 0, x_28); +lean_ctor_set(x_88, 1, x_87); +lean_ctor_set(x_88, 2, x_86); +x_89 = lean_array_push(x_33, x_88); +x_90 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_90, 0, x_28); +lean_ctor_set(x_90, 1, x_35); +lean_ctor_set(x_90, 2, x_89); +x_91 = lean_array_push(x_25, x_24); +x_92 = lean_array_push(x_91, x_90); +x_93 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__42; +x_94 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_94, 0, x_28); +lean_ctor_set(x_94, 1, x_93); +lean_ctor_set(x_94, 2, x_92); +x_95 = lean_array_push(x_25, x_94); +x_96 = lean_array_push(x_95, x_55); +x_97 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_97, 0, x_28); +lean_ctor_set(x_97, 1, x_35); +lean_ctor_set(x_97, 2, x_96); +x_98 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__62; +lean_inc(x_10); +x_99 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_99, 0, x_10); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_array_push(x_58, x_78); +x_101 = lean_array_push(x_100, x_97); +x_102 = lean_array_push(x_101, x_99); +x_103 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__53; +x_104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_104, 0, x_28); +lean_ctor_set(x_104, 1, x_103); +lean_ctor_set(x_104, 2, x_102); +x_105 = lean_array_push(x_33, x_104); +x_106 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_106, 0, x_28); +lean_ctor_set(x_106, 1, x_35); +lean_ctor_set(x_106, 2, x_105); +x_107 = lean_array_push(x_25, x_76); +x_108 = lean_array_push(x_107, x_106); +x_109 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_109, 0, x_28); +lean_ctor_set(x_109, 1, x_93); +lean_ctor_set(x_109, 2, x_108); +x_110 = lean_array_push(x_26, x_109); +x_111 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_111, 0, x_28); +lean_ctor_set(x_111, 1, x_29); +lean_ctor_set(x_111, 2, x_110); +x_112 = lean_array_push(x_25, x_111); +x_113 = lean_array_push(x_112, x_55); +x_114 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_114, 0, x_28); +lean_ctor_set(x_114, 1, x_39); +lean_ctor_set(x_114, 2, x_113); +x_115 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__63; +lean_inc(x_10); +x_116 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_116, 0, x_10); +lean_ctor_set(x_116, 1, x_115); +x_117 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__65; +lean_inc(x_10); +x_118 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_118, 0, x_10); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_push(x_46, x_55); +x_120 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_120, 0, x_28); +lean_ctor_set(x_120, 1, x_39); +lean_ctor_set(x_120, 2, x_119); +x_121 = lean_array_push(x_33, x_120); +x_122 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_122, 0, x_28); +lean_ctor_set(x_122, 1, x_35); +lean_ctor_set(x_122, 2, x_121); +x_123 = lean_array_push(x_33, x_122); +x_124 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_124, 0, x_28); +lean_ctor_set(x_124, 1, x_64); +lean_ctor_set(x_124, 2, x_123); +x_125 = lean_array_push(x_33, x_124); +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_28); +lean_ctor_set(x_126, 1, x_67); +lean_ctor_set(x_126, 2, x_125); +x_127 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__66; +x_128 = lean_array_push(x_127, x_116); +x_129 = lean_array_push(x_128, x_84); +x_130 = lean_array_push(x_129, x_55); +x_131 = lean_array_push(x_130, x_118); +x_132 = lean_array_push(x_131, x_126); +x_133 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__64; +x_134 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_134, 0, x_28); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_132); +x_135 = lean_array_push(x_25, x_134); +x_136 = lean_array_push(x_135, x_55); +x_137 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_137, 0, x_28); +lean_ctor_set(x_137, 1, x_39); +lean_ctor_set(x_137, 2, x_136); +x_138 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__69; +x_139 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_139, 0, x_10); +lean_ctor_set(x_139, 1, x_138); +x_140 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__70; +x_141 = lean_array_push(x_140, x_139); +x_142 = lean_array_push(x_141, x_55); +x_143 = lean_array_push(x_142, x_55); +x_144 = lean_array_push(x_143, x_55); +x_145 = lean_array_push(x_144, x_55); +x_146 = lean_array_push(x_145, x_55); +x_147 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__68; +x_148 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_148, 0, x_28); +lean_ctor_set(x_148, 1, x_147); +lean_ctor_set(x_148, 2, x_146); +x_149 = lean_array_push(x_25, x_148); +x_150 = lean_array_push(x_149, x_55); +x_151 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_151, 0, x_28); +lean_ctor_set(x_151, 1, x_39); +lean_ctor_set(x_151, 2, x_150); +x_152 = lean_array_push(x_58, x_114); +x_153 = lean_array_push(x_152, x_137); +x_154 = lean_array_push(x_153, x_151); +x_155 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_155, 0, x_28); +lean_ctor_set(x_155, 1, x_35); +lean_ctor_set(x_155, 2, x_154); +x_156 = lean_array_push(x_33, x_155); +x_157 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_157, 0, x_28); +lean_ctor_set(x_157, 1, x_64); +lean_ctor_set(x_157, 2, x_156); +x_158 = lean_array_push(x_33, x_157); +x_159 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_159, 0, x_28); +lean_ctor_set(x_159, 1, x_67); +lean_ctor_set(x_159, 2, x_158); +x_160 = lean_array_push(x_69, x_159); +x_161 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_161, 0, x_28); +lean_ctor_set(x_161, 1, x_39); +lean_ctor_set(x_161, 2, x_160); +x_162 = lean_array_push(x_25, x_71); +x_163 = lean_array_push(x_162, x_161); +x_164 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_164, 0, x_28); +lean_ctor_set(x_164, 1, x_35); +lean_ctor_set(x_164, 2, x_163); +x_165 = lean_array_push(x_25, x_14); +x_166 = lean_array_push(x_165, x_164); +x_167 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__12; +x_168 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_168, 0, x_28); +lean_ctor_set(x_168, 1, x_167); +lean_ctor_set(x_168, 2, x_166); +x_169 = lean_array_push(x_33, x_168); +x_170 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_170, 0, x_28); +lean_ctor_set(x_170, 1, x_35); +lean_ctor_set(x_170, 2, x_169); +x_171 = lean_array_push(x_33, x_170); +x_172 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__8; +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_28); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_171); +lean_ctor_set(x_8, 0, x_173); +return x_8; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_174 = lean_ctor_get(x_8, 0); +x_175 = lean_ctor_get(x_8, 1); +lean_inc(x_175); +lean_inc(x_174); +lean_dec(x_8); +x_176 = lean_ctor_get(x_2, 2); +lean_inc(x_176); +x_177 = lean_ctor_get(x_2, 1); +lean_inc(x_177); +lean_dec(x_2); +x_178 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__11; +lean_inc(x_174); +x_179 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_179, 0, x_174); +lean_ctor_set(x_179, 1, x_178); +x_180 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__15; +lean_inc(x_174); +x_181 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_181, 0, x_174); +lean_ctor_set(x_181, 1, x_180); +x_182 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__20; +lean_inc(x_174); +x_183 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_183, 0, x_174); +lean_ctor_set(x_183, 1, x_182); +x_184 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__25; +lean_inc(x_176); +lean_inc(x_177); +x_185 = l_Lean_addMacroScope(x_177, x_184, x_176); +x_186 = lean_box(0); +x_187 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__24; +x_188 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__28; +lean_inc(x_174); +x_189 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_189, 0, x_174); +lean_ctor_set(x_189, 1, x_187); +lean_ctor_set(x_189, 2, x_185); +lean_ctor_set(x_189, 3, x_188); +x_190 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__29; +x_191 = lean_array_push(x_190, x_183); +lean_inc(x_189); +lean_inc(x_191); +x_192 = lean_array_push(x_191, x_189); +x_193 = lean_box(2); +x_194 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__21; +x_195 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_195, 0, x_193); +lean_ctor_set(x_195, 1, x_194); +lean_ctor_set(x_195, 2, x_192); +x_196 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__30; +lean_inc(x_174); +x_197 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_197, 0, x_174); +lean_ctor_set(x_197, 1, x_196); +x_198 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__31; +x_199 = lean_array_push(x_198, x_197); +x_200 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__10; +x_201 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_201, 0, x_193); +lean_ctor_set(x_201, 1, x_200); +lean_ctor_set(x_201, 2, x_199); +x_202 = lean_array_push(x_190, x_195); +lean_inc(x_201); +x_203 = lean_array_push(x_202, x_201); +x_204 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__14; +x_205 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_205, 0, x_193); +lean_ctor_set(x_205, 1, x_204); +lean_ctor_set(x_205, 2, x_203); +x_206 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__32; +lean_inc(x_174); +x_207 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_207, 0, x_174); +lean_ctor_set(x_207, 1, x_206); +x_208 = lean_array_push(x_198, x_207); +x_209 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__33; +x_210 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_210, 0, x_193); +lean_ctor_set(x_210, 1, x_209); +lean_ctor_set(x_210, 2, x_208); +x_211 = lean_array_push(x_190, x_210); +lean_inc(x_211); +x_212 = lean_array_push(x_211, x_201); +x_213 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_213, 0, x_193); +lean_ctor_set(x_213, 1, x_204); +lean_ctor_set(x_213, 2, x_212); +x_214 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__34; +lean_inc(x_174); +x_215 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_215, 0, x_174); +lean_ctor_set(x_215, 1, x_214); +x_216 = lean_array_push(x_198, x_215); +x_217 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__35; +x_218 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_218, 0, x_193); +lean_ctor_set(x_218, 1, x_217); +lean_ctor_set(x_218, 2, x_216); +x_219 = lean_array_push(x_190, x_218); +x_220 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__37; +x_221 = lean_array_push(x_219, x_220); +x_222 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_222, 0, x_193); +lean_ctor_set(x_222, 1, x_204); +lean_ctor_set(x_222, 2, x_221); +x_223 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__38; +x_224 = lean_array_push(x_223, x_205); +x_225 = lean_array_push(x_224, x_213); +x_226 = lean_array_push(x_225, x_222); +x_227 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_227, 0, x_193); +lean_ctor_set(x_227, 1, x_200); +lean_ctor_set(x_227, 2, x_226); +x_228 = lean_array_push(x_198, x_227); +x_229 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__19; +x_230 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_230, 0, x_193); +lean_ctor_set(x_230, 1, x_229); +lean_ctor_set(x_230, 2, x_228); +x_231 = lean_array_push(x_198, x_230); +x_232 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__17; +x_233 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_233, 0, x_193); +lean_ctor_set(x_233, 1, x_232); +lean_ctor_set(x_233, 2, x_231); +x_234 = lean_array_push(x_190, x_181); +lean_inc(x_234); +x_235 = lean_array_push(x_234, x_233); +x_236 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_236, 0, x_193); +lean_ctor_set(x_236, 1, x_204); +lean_ctor_set(x_236, 2, x_235); +x_237 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__49; +lean_inc(x_176); +lean_inc(x_177); +x_238 = l_Lean_addMacroScope(x_177, x_237, x_176); +x_239 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__45; +x_240 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__51; +lean_inc(x_174); +x_241 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_241, 0, x_174); +lean_ctor_set(x_241, 1, x_239); +lean_ctor_set(x_241, 2, x_238); +lean_ctor_set(x_241, 3, x_240); +x_242 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__54; +lean_inc(x_174); +x_243 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_243, 0, x_174); +lean_ctor_set(x_243, 1, x_242); +x_244 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__57; +lean_inc(x_174); +x_245 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_245, 0, x_174); +lean_ctor_set(x_245, 1, x_244); +x_246 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__61; +x_247 = l_Lean_addMacroScope(x_177, x_246, x_176); +x_248 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__60; +lean_inc(x_174); +x_249 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_249, 0, x_174); +lean_ctor_set(x_249, 1, x_248); +lean_ctor_set(x_249, 2, x_247); +lean_ctor_set(x_249, 3, x_186); +x_250 = lean_array_push(x_190, x_245); +lean_inc(x_249); +x_251 = lean_array_push(x_250, x_249); +x_252 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__56; +x_253 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_253, 0, x_193); +lean_ctor_set(x_253, 1, x_252); +lean_ctor_set(x_253, 2, x_251); +x_254 = lean_array_push(x_198, x_253); +x_255 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_255, 0, x_193); +lean_ctor_set(x_255, 1, x_200); +lean_ctor_set(x_255, 2, x_254); +x_256 = lean_array_push(x_190, x_189); +x_257 = lean_array_push(x_256, x_255); +x_258 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__42; +x_259 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_259, 0, x_193); +lean_ctor_set(x_259, 1, x_258); +lean_ctor_set(x_259, 2, x_257); +x_260 = lean_array_push(x_190, x_259); +x_261 = lean_array_push(x_260, x_220); +x_262 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_262, 0, x_193); +lean_ctor_set(x_262, 1, x_200); +lean_ctor_set(x_262, 2, x_261); +x_263 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__62; +lean_inc(x_174); +x_264 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_264, 0, x_174); +lean_ctor_set(x_264, 1, x_263); +x_265 = lean_array_push(x_223, x_243); +x_266 = lean_array_push(x_265, x_262); +x_267 = lean_array_push(x_266, x_264); +x_268 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__53; +x_269 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_269, 0, x_193); +lean_ctor_set(x_269, 1, x_268); +lean_ctor_set(x_269, 2, x_267); +x_270 = lean_array_push(x_198, x_269); +x_271 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_271, 0, x_193); +lean_ctor_set(x_271, 1, x_200); +lean_ctor_set(x_271, 2, x_270); +x_272 = lean_array_push(x_190, x_241); +x_273 = lean_array_push(x_272, x_271); +x_274 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_274, 0, x_193); +lean_ctor_set(x_274, 1, x_258); +lean_ctor_set(x_274, 2, x_273); +x_275 = lean_array_push(x_191, x_274); +x_276 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_276, 0, x_193); +lean_ctor_set(x_276, 1, x_194); +lean_ctor_set(x_276, 2, x_275); +x_277 = lean_array_push(x_190, x_276); +x_278 = lean_array_push(x_277, x_220); +x_279 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_279, 0, x_193); +lean_ctor_set(x_279, 1, x_204); +lean_ctor_set(x_279, 2, x_278); +x_280 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__63; +lean_inc(x_174); +x_281 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_281, 0, x_174); +lean_ctor_set(x_281, 1, x_280); +x_282 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__65; +lean_inc(x_174); +x_283 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_283, 0, x_174); +lean_ctor_set(x_283, 1, x_282); +x_284 = lean_array_push(x_211, x_220); +x_285 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_285, 0, x_193); +lean_ctor_set(x_285, 1, x_204); +lean_ctor_set(x_285, 2, x_284); +x_286 = lean_array_push(x_198, x_285); +x_287 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_287, 0, x_193); +lean_ctor_set(x_287, 1, x_200); +lean_ctor_set(x_287, 2, x_286); +x_288 = lean_array_push(x_198, x_287); +x_289 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_289, 0, x_193); +lean_ctor_set(x_289, 1, x_229); +lean_ctor_set(x_289, 2, x_288); +x_290 = lean_array_push(x_198, x_289); +x_291 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_291, 0, x_193); +lean_ctor_set(x_291, 1, x_232); +lean_ctor_set(x_291, 2, x_290); +x_292 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__66; +x_293 = lean_array_push(x_292, x_281); +x_294 = lean_array_push(x_293, x_249); +x_295 = lean_array_push(x_294, x_220); +x_296 = lean_array_push(x_295, x_283); +x_297 = lean_array_push(x_296, x_291); +x_298 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__64; +x_299 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_299, 0, x_193); +lean_ctor_set(x_299, 1, x_298); +lean_ctor_set(x_299, 2, x_297); +x_300 = lean_array_push(x_190, x_299); +x_301 = lean_array_push(x_300, x_220); +x_302 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_302, 0, x_193); +lean_ctor_set(x_302, 1, x_204); +lean_ctor_set(x_302, 2, x_301); +x_303 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__69; +x_304 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_304, 0, x_174); +lean_ctor_set(x_304, 1, x_303); +x_305 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__70; +x_306 = lean_array_push(x_305, x_304); +x_307 = lean_array_push(x_306, x_220); +x_308 = lean_array_push(x_307, x_220); +x_309 = lean_array_push(x_308, x_220); +x_310 = lean_array_push(x_309, x_220); +x_311 = lean_array_push(x_310, x_220); +x_312 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__68; +x_313 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_313, 0, x_193); +lean_ctor_set(x_313, 1, x_312); +lean_ctor_set(x_313, 2, x_311); +x_314 = lean_array_push(x_190, x_313); +x_315 = lean_array_push(x_314, x_220); +x_316 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_316, 0, x_193); +lean_ctor_set(x_316, 1, x_204); +lean_ctor_set(x_316, 2, x_315); +x_317 = lean_array_push(x_223, x_279); +x_318 = lean_array_push(x_317, x_302); +x_319 = lean_array_push(x_318, x_316); +x_320 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_320, 0, x_193); +lean_ctor_set(x_320, 1, x_200); +lean_ctor_set(x_320, 2, x_319); +x_321 = lean_array_push(x_198, x_320); +x_322 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_322, 0, x_193); +lean_ctor_set(x_322, 1, x_229); +lean_ctor_set(x_322, 2, x_321); +x_323 = lean_array_push(x_198, x_322); +x_324 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_324, 0, x_193); +lean_ctor_set(x_324, 1, x_232); +lean_ctor_set(x_324, 2, x_323); +x_325 = lean_array_push(x_234, x_324); +x_326 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_326, 0, x_193); +lean_ctor_set(x_326, 1, x_204); +lean_ctor_set(x_326, 2, x_325); +x_327 = lean_array_push(x_190, x_236); +x_328 = lean_array_push(x_327, x_326); +x_329 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_329, 0, x_193); +lean_ctor_set(x_329, 1, x_200); +lean_ctor_set(x_329, 2, x_328); +x_330 = lean_array_push(x_190, x_179); +x_331 = lean_array_push(x_330, x_329); +x_332 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__12; +x_333 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_333, 0, x_193); +lean_ctor_set(x_333, 1, x_332); +lean_ctor_set(x_333, 2, x_331); +x_334 = lean_array_push(x_198, x_333); +x_335 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_335, 0, x_193); +lean_ctor_set(x_335, 1, x_200); +lean_ctor_set(x_335, 2, x_334); +x_336 = lean_array_push(x_198, x_335); +x_337 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__8; +x_338 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_338, 0, x_193); +lean_ctor_set(x_338, 1, x_337); +lean_ctor_set(x_338, 2, x_336); +x_339 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_175); +return x_339; +} +} +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticDecreasing_trivial"); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__2; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +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; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_List_tacticSizeOf__list__dec___closed__5; +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__31; +x_14 = lean_array_push(x_13, x_12); +x_15 = lean_box(2); +x_16 = l_List_tacticSizeOf__list__dec___closed__4; +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_14); +lean_ctor_set(x_8, 0, x_17); +return x_8; +} +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_8, 0); +x_19 = lean_ctor_get(x_8, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_8); +x_20 = l_List_tacticSizeOf__list__dec___closed__5; +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__31; +x_23 = lean_array_push(x_22, x_21); +x_24 = lean_box(2); +x_25 = l_List_tacticSizeOf__list__dec___closed__4; +x_26 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 2, x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_19); +return x_27; +} +} +} +} lean_object* initialize_Init_Data_Nat_Linear(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_List_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Init_Util(uint8_t builtin, lean_object*); @@ -916,6 +2537,166 @@ l_List_getLast_x21___rarg___closed__1 = _init_l_List_getLast_x21___rarg___closed lean_mark_persistent(l_List_getLast_x21___rarg___closed__1); l_List_getLast_x21___rarg___closed__2 = _init_l_List_getLast_x21___rarg___closed__2(); lean_mark_persistent(l_List_getLast_x21___rarg___closed__2); +l_List_tacticSizeOf__list__dec___closed__1 = _init_l_List_tacticSizeOf__list__dec___closed__1(); +lean_mark_persistent(l_List_tacticSizeOf__list__dec___closed__1); +l_List_tacticSizeOf__list__dec___closed__2 = _init_l_List_tacticSizeOf__list__dec___closed__2(); +lean_mark_persistent(l_List_tacticSizeOf__list__dec___closed__2); +l_List_tacticSizeOf__list__dec___closed__3 = _init_l_List_tacticSizeOf__list__dec___closed__3(); +lean_mark_persistent(l_List_tacticSizeOf__list__dec___closed__3); +l_List_tacticSizeOf__list__dec___closed__4 = _init_l_List_tacticSizeOf__list__dec___closed__4(); +lean_mark_persistent(l_List_tacticSizeOf__list__dec___closed__4); +l_List_tacticSizeOf__list__dec___closed__5 = _init_l_List_tacticSizeOf__list__dec___closed__5(); +lean_mark_persistent(l_List_tacticSizeOf__list__dec___closed__5); +l_List_tacticSizeOf__list__dec___closed__6 = _init_l_List_tacticSizeOf__list__dec___closed__6(); +lean_mark_persistent(l_List_tacticSizeOf__list__dec___closed__6); +l_List_tacticSizeOf__list__dec___closed__7 = _init_l_List_tacticSizeOf__list__dec___closed__7(); +lean_mark_persistent(l_List_tacticSizeOf__list__dec___closed__7); +l_List_tacticSizeOf__list__dec = _init_l_List_tacticSizeOf__list__dec(); +lean_mark_persistent(l_List_tacticSizeOf__list__dec); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__1 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__1(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__1); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__2 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__2(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__2); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__3 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__3(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__3); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__4 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__4(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__4); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__5 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__5(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__5); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__6); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__7 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__7(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__7); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__8 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__8(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__8); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__9 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__9(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__9); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__10 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__10(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__10); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__11 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__11(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__11); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__12 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__12(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__12); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__13 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__13(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__13); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__14 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__14(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__14); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__15 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__15(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__15); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__16 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__16(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__16); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__17 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__17(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__17); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__18 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__18(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__18); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__19 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__19(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__19); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__20 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__20(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__20); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__21 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__21(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__21); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__22 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__22(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__22); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__23 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__23(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__23); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__24 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__24(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__24); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__25 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__25(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__25); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__26 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__26(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__26); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__27 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__27(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__27); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__28 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__28(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__28); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__29 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__29(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__29); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__30 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__30(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__30); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__31 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__31(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__31); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__32 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__32(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__32); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__33 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__33(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__33); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__34 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__34(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__34); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__35 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__35(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__35); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__36 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__36(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__36); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__37 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__37(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__37); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__38 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__38(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__38); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__39 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__39(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__39); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__40 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__40(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__40); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__41 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__41(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__41); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__42 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__42(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__42); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__43 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__43(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__43); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__44 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__44(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__44); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__45 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__45(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__45); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__46 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__46(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__46); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__47 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__47(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__47); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__48 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__48(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__48); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__49 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__49(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__49); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__50 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__50(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__50); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__51 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__51(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__51); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__52 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__52(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__52); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__53 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__53(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__53); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__54 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__54(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__54); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__55 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__55(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__55); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__56 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__56(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__56); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__57 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__57(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__57); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__58 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__58(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__58); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__59 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__59(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__59); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__60 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__60(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__60); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__61 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__61(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__61); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__62 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__62(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__62); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__63 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__63(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__63); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__64 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__64(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__64); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__65 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__65(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__65); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__66 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__66(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__66); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__67 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__67(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__67); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__68 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__68(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__68); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__69 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__69(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__69); +l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__70 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__70(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__List__tacticSizeOf__list__dec__1___closed__70); +l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__1 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__1(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__1); +l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__2 = _init_l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__2(); +lean_mark_persistent(l_List___aux__Init__Data__List__BasicAux______macroRules__tacticDecreasing__trivial__1___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/Range.c b/stage0/stdlib/Init/Data/Range.c index c65d5b6159..2e9647c42a 100644 --- a/stage0/stdlib/Init/Data/Range.c +++ b/stage0/stdlib/Init/Data/Range.c @@ -34,12 +34,14 @@ static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__9; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b___x3a___x5d__1___closed__3; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__7; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__7; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d; LEAN_EXPORT lean_object* l_Std_Range_step___default; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__16; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__24; lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_instMembershipNatRange; LEAN_EXPORT lean_object* l_Std_Range_instForInRangeNat___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__29; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b___x3a___x5d__1___closed__1; @@ -51,6 +53,7 @@ static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__R static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__2; LEAN_EXPORT lean_object* l_Std_Range_forM_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__13; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b___x3a___x5d__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__11; @@ -86,11 +89,13 @@ static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__3; LEAN_EXPORT lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b___x3a___x3a___x5d__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__15; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__4; +LEAN_EXPORT lean_object* l_Std_Range_instForIn_x27RangeNatInferInstanceMembershipInstMembershipNatRange(lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__18; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__5; LEAN_EXPORT lean_object* l_Std_Range_start___default; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__37; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__14; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__6; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__27; @@ -120,6 +125,7 @@ static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__R static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__28; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__14; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__22; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop(lean_object*, lean_object*); static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__33; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__15; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__30; @@ -127,6 +133,7 @@ static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__R static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__13; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__41; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__3; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x3a___x5d__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_term_x5b_x3a___x5d; @@ -140,16 +147,19 @@ static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__12; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__7; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__6; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b___x3a___x5d__1___closed__5; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__12; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b___x3a___x3a___x5d__1___closed__2; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__16; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b_x3a___x5d__1___closed__26; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b___x3a___x5d__1___closed__10; +LEAN_EXPORT lean_object* l_Std_Range_instForIn_x27RangeNatInferInstanceMembershipInstMembershipNatRange___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__3; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__20; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__10; static lean_object* l_Std_Range___aux__Init__Data__Range______macroRules__Std__Range__term_x5b___x3a___x3a___x5d__1___closed__6; +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* _init_l_Std_Range_start___default() { _start: { @@ -166,6 +176,14 @@ x_1 = lean_unsigned_to_nat(1u); return x_1; } } +static lean_object* _init_l_Std_instMembershipNatRange() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___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: { @@ -335,6 +353,181 @@ x_3 = lean_alloc_closure((void*)(l_Std_Range_instForInRangeNat___rarg), 4, 0); return x_3; } } +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___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: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_apply_2(x_11, lean_box(0), x_9); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_8, 0); +lean_inc(x_13); +lean_dec(x_8); +x_14 = lean_nat_add(x_2, x_3); +lean_dec(x_2); +x_15 = l_Std_Range_forIn_x27_loop___rarg(x_1, x_4, x_5, x_3, x_6, x_7, x_14, lean_box(0), x_13); +lean_dec(x_7); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___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: +{ +uint8_t x_10; +x_10 = lean_nat_dec_lt(x_7, x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_apply_2(x_12, lean_box(0), x_9); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_eq(x_6, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_6, x_16); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +lean_inc(x_5); +lean_inc(x_7); +x_19 = lean_apply_3(x_5, x_7, lean_box(0), x_9); +x_20 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27_loop___rarg___lambda__1), 8, 7); +lean_closure_set(x_20, 0, x_1); +lean_closure_set(x_20, 1, x_7); +lean_closure_set(x_20, 2, x_4); +lean_closure_set(x_20, 3, x_2); +lean_closure_set(x_20, 4, x_3); +lean_closure_set(x_20, 5, x_5); +lean_closure_set(x_20, 6, x_17); +x_21 = lean_apply_4(x_18, lean_box(0), lean_box(0), x_19, x_20); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_22 = lean_ctor_get(x_1, 0); +lean_inc(x_22); +lean_dec(x_1); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_apply_2(x_23, lean_box(0), x_9); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27_loop___rarg___boxed), 9, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_Range_forIn_x27_loop___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_dec(x_2); +lean_inc(x_6); +lean_inc(x_5); +x_8 = l_Std_Range_forIn_x27_loop___rarg(x_1, x_5, x_6, x_7, x_4, x_6, x_5, lean_box(0), x_3); +lean_dec(x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27___rarg), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Range_instForIn_x27RangeNatInferInstanceMembershipInstMembershipNatRange___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_dec(x_2); +lean_inc(x_6); +lean_inc(x_5); +x_8 = l_Std_Range_forIn_x27_loop___rarg(x_1, x_5, x_6, x_7, x_4, x_6, x_5, lean_box(0), x_3); +lean_dec(x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_Range_instForIn_x27RangeNatInferInstanceMembershipInstMembershipNatRange(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_Range_instForIn_x27RangeNatInferInstanceMembershipInstMembershipNatRange___rarg), 4, 0); +return x_3; +} +} LEAN_EXPORT lean_object* l_Std_Range_forM_loop___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: { @@ -2874,6 +3067,8 @@ l_Std_Range_start___default = _init_l_Std_Range_start___default(); lean_mark_persistent(l_Std_Range_start___default); l_Std_Range_step___default = _init_l_Std_Range_step___default(); lean_mark_persistent(l_Std_Range_step___default); +l_Std_instMembershipNatRange = _init_l_Std_instMembershipNatRange(); +lean_mark_persistent(l_Std_instMembershipNatRange); l_Std_Range_instForMRangeNat___closed__1 = _init_l_Std_Range_instForMRangeNat___closed__1(); lean_mark_persistent(l_Std_Range_instForMRangeNat___closed__1); l_Std_Range_term_x5b_x3a___x5d___closed__1 = _init_l_Std_Range_term_x5b_x3a___x5d___closed__1(); diff --git a/stage0/stdlib/Init/Notation.c b/stage0/stdlib/Init/Notation.c index ff083da8e3..7a067311e7 100644 --- a/stage0/stdlib/Init/Notation.c +++ b/stage0/stdlib/Init/Notation.c @@ -63,6 +63,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_fail; static lean_object* l___aux__Init__Notation______macroRules__term___x5e____1___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_first; static lean_object* l_Lean_Parser_Tactic_withUnfoldingAll___closed__6; +static lean_object* l_Lean_Parser_Tactic_case_x27___closed__7; static lean_object* l_Lean_Parser_Tactic_letrec___closed__12; static lean_object* l___aux__Init__Notation______macroRules__term___x2b____1___closed__4; static lean_object* l_Lean_Parser_Tactic_revert___closed__2; @@ -283,6 +284,7 @@ static lean_object* l_Lean_Parser_Tactic_location___closed__3; static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__6; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x3c_x3c____1___closed__9; static lean_object* l_Lean_Parser_Tactic_fail___closed__7; +static lean_object* l_Lean_Parser_Tactic_tacticStop_____closed__2; static lean_object* l_prioLow___closed__3; static lean_object* l_Lean_Parser_Tactic_clear___closed__6; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___u2264____2(lean_object*, lean_object*, lean_object*); @@ -371,6 +373,7 @@ LEAN_EXPORT lean_object* l_Lean___aux__Init__Notation______macroRules__term_x5b_ static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__24; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__4; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__8; +static lean_object* l_Lean_Parser_Tactic_tacticStop_____closed__1; static lean_object* l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__8; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__16; static lean_object* l___aux__Init__Notation______macroRules__term___x3e_x3d____1___closed__6; @@ -441,6 +444,7 @@ static lean_object* l_term___u2228_____closed__6; static lean_object* l_term___x5e_____closed__3; LEAN_EXPORT lean_object* l_term_x7e_x7e_x7e__; LEAN_EXPORT lean_object* l_term___x3c__; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_case_x27; static lean_object* l___aux__Init__Notation______unexpand__Function__comp__1___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticRfl_x27__1___closed__5; static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__1; @@ -573,6 +577,7 @@ LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__Complement__comp static lean_object* l_term___x3c_x7c_x3e_____closed__2; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x26_x26____1(lean_object*, lean_object*, lean_object*); static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__3; +static lean_object* l_Lean_Parser_Tactic_tacticStop_____closed__5; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__precLead__1(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x2f_____closed__1; static lean_object* l_stx___x2c_x2a___closed__1; @@ -589,6 +594,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticRefine__lift_x27_____closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_induction; static lean_object* l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticInfer__instance__1___closed__3; static lean_object* l_Lean_Parser_Tactic_induction___closed__19; +static lean_object* l_Lean_Parser_Tactic_case_x27___closed__6; static lean_object* l_Lean_Parser_Tactic_rwWithRfl___closed__3; static lean_object* l_Lean_Parser_Tactic_letrec___closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___x26_x26_x26____1___closed__7; @@ -614,6 +620,7 @@ LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term_u2039___u static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__18; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x3c_x3d____2(lean_object*, lean_object*, lean_object*); static lean_object* l_term_x21_____closed__5; +static lean_object* l_Lean_Parser_Tactic_tacticStop_____closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticTrivial__4___closed__2; static lean_object* l_Lean_Parser_Tactic_generalizeArg___closed__2; static lean_object* l_Lean_Parser_Tactic_withReducible___closed__4; @@ -637,6 +644,7 @@ LEAN_EXPORT lean_object* l_term___x3e__; LEAN_EXPORT lean_object* l_termMax__prec; static lean_object* l_Lean_Parser_Tactic_subst___closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__7; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticStop____1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Notation______macroRules__term___x3d_x3d____1___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_dbgTrace; static lean_object* l_Lean_Parser_Tactic_focus___closed__4; @@ -851,6 +859,7 @@ static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__1; static lean_object* l_stx___x3f___closed__3; static lean_object* l_Lean_Parser_Tactic_checkpoint___closed__2; static lean_object* l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__10; +static lean_object* l_Lean_Parser_Tactic_case_x27___closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__letrec__1___closed__1; static lean_object* l_Lean_Parser_Tactic_fail___closed__2; static lean_object* l_Lean_Parser_Tactic_intro___closed__11; @@ -960,6 +969,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___xd7____1___c LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x24______1(lean_object*, lean_object*, lean_object*); static lean_object* l_prioHigh___closed__5; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x3c_x3c____1___closed__8; +static lean_object* l_Lean_Parser_Tactic_case_x27___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term___x2f____1___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x7c_x3e____1___closed__4; static lean_object* l___aux__Init__Notation______macroRules__prioDefault__1___closed__1; @@ -1068,6 +1078,7 @@ static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__1; static lean_object* l___aux__Init__Notation______macroRules__term___x3c____1___closed__6; static lean_object* l_term___x2d_____closed__3; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___u2228____1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_case_x27___closed__2; static lean_object* l_term___x3c_x24_x3e_____closed__4; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term___x3a_x3a____1___closed__2; @@ -1142,6 +1153,7 @@ static lean_object* l___aux__Init__Notation______macroRules__termDepIfThenElse__ static lean_object* l_term_x25_x5b___x7c___x5d___closed__10; static lean_object* l_term___x7c_x3e_____closed__3; static lean_object* l_Lean_Parser_Tactic_intro___closed__7; +static lean_object* l_Lean_Parser_Tactic_case_x27___closed__9; static lean_object* l___aux__Init__Notation______macroRules__term___x3e_x3e_x3e____1___closed__3; static lean_object* l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__3; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__15; @@ -1203,6 +1215,7 @@ extern lean_object* l_Lean_instInhabitedSyntax; static lean_object* l_term___x3c_x2a_x3e_____closed__3; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__14; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__5; +static lean_object* l_Lean_Parser_Tactic_case_x27___closed__8; static lean_object* l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticHave_____x3a_x3d____1___closed__2; static lean_object* l_term___x3d_x3d_____closed__5; static lean_object* l_term_x2d_____closed__5; @@ -1219,6 +1232,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__5; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___u2264____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__termIfThenElse__1(lean_object*, lean_object*, lean_object*); static lean_object* l_termWithout__expected__type_____closed__5; +static lean_object* l_Lean_Parser_Tactic_case_x27___closed__1; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___x2a____1___closed__2; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__6; @@ -1248,6 +1262,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_failIfSuccess; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__2; static lean_object* l_Lean_Parser_Tactic_paren___closed__1; static lean_object* l_stx___x2c_x2a___closed__5; +static lean_object* l_Lean_Parser_Tactic_case_x27___closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___x25____1___closed__8; static lean_object* l___aux__Init__Notation______macroRules__stx___x2b__1___closed__7; static lean_object* l___aux__Init__Notation______macroRules__term___x3a_x3a____1___closed__1; @@ -1506,6 +1521,7 @@ static lean_object* l_stx___x3c_x7c_x3e_____closed__5; static lean_object* l_term_u2039___u203a___closed__2; static lean_object* l___aux__Init__Notation______macroRules__term___x2a_x3e____1___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticRefine__lift____1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_tacticStop_____closed__4; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__stx___x2c_x2b_x2c_x3f__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__HAppend__hAppend__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_first___closed__14; @@ -1818,6 +1834,7 @@ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_renameI___closed__6; static lean_object* l_term___u2208_____closed__5; static lean_object* l_term_x7e_x7e_x7e_____closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticStop__; static lean_object* l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__1; static lean_object* l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__2; static lean_object* l_Lean_Parser_Tactic_induction___closed__4; @@ -1976,6 +1993,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___x2a____1___c static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term___u2218____1___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__4; +static lean_object* l_Lean_Parser_Tactic_tacticStop_____closed__6; LEAN_EXPORT lean_object* l_term___x5e__; static lean_object* l_Lean_Parser_Tactic_intro___closed__14; static lean_object* l_termIfThenElse___closed__8; @@ -31955,6 +31973,122 @@ x_1 = l_Lean_Parser_Tactic_case___closed__13; return x_1; } } +static lean_object* _init_l_Lean_Parser_Tactic_case_x27___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("case'"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_case_x27___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_intro___closed__2; +x_2 = l_Lean_Parser_Tactic_case_x27___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_case_x27___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("case' "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_case_x27___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_case_x27___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_case_x27___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; +x_2 = l_Lean_Parser_Tactic_case_x27___closed__4; +x_3 = l_Lean_Parser_Tactic_intros___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_case_x27___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; +x_2 = l_Lean_Parser_Tactic_case_x27___closed__5; +x_3 = l_Lean_Parser_Tactic_case___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_case_x27___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; +x_2 = l_Lean_Parser_Tactic_case_x27___closed__6; +x_3 = l_Lean_Parser_Tactic_rename___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_case_x27___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; +x_2 = l_Lean_Parser_Tactic_case_x27___closed__7; +x_3 = l_Lean_Parser_Tactic_case___closed__11; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_case_x27___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_case_x27___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_case_x27___closed__8; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_case_x27() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_case_x27___closed__9; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Tactic_tacticNext_______x3d_x3e_____closed__1() { _start: { @@ -43619,6 +43753,248 @@ x_1 = l_Lean_Parser_Tactic_dbgTrace___closed__6; return x_1; } } +static lean_object* _init_l_Lean_Parser_Tactic_tacticStop_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticStop_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticStop_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_intro___closed__2; +x_2 = l_Lean_Parser_Tactic_tacticStop_____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticStop_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("stop"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticStop_____closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_tacticStop_____closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticStop_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; +x_2 = l_Lean_Parser_Tactic_tacticStop_____closed__4; +x_3 = l_Lean_Parser_Tactic_case___closed__11; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticStop_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_tacticStop_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_tacticStop_____closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticStop__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_tacticStop_____closed__6; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticStop____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_tacticStop_____closed__2; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +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; 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; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticRepeat____1___closed__1; +lean_inc(x_10); +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticAdmit__1___closed__1; +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +x_15 = l___aux__Init__Notation______macroRules__precMax__1___closed__4; +x_16 = lean_array_push(x_15, x_14); +x_17 = lean_box(2); +x_18 = l_Lean_Parser_Tactic_tacticSorry___closed__2; +x_19 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +lean_ctor_set(x_19, 2, x_16); +x_20 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__10; +x_21 = lean_array_push(x_20, x_19); +x_22 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__12; +x_23 = lean_array_push(x_21, x_22); +x_24 = l_Lean_Parser_Tactic_first___closed__8; +x_25 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_25, 2, x_23); +x_26 = lean_array_push(x_15, x_25); +x_27 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__8; +x_28 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_28, 0, x_17); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_28, 2, x_26); +x_29 = lean_array_push(x_15, x_28); +x_30 = l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__4; +x_31 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_31, 0, x_17); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_29); +x_32 = lean_array_push(x_15, x_31); +x_33 = l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticNext_______x3d_x3e____1___closed__1; +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_17); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_32); +x_35 = lean_array_push(x_20, x_12); +x_36 = lean_array_push(x_35, x_34); +x_37 = l_Lean_Parser_Tactic_tacticRepeat_____closed__2; +x_38 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_38, 0, x_17); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_36); +x_39 = lean_array_push(x_15, x_38); +x_40 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_40, 0, x_17); +lean_ctor_set(x_40, 1, x_27); +lean_ctor_set(x_40, 2, x_39); +x_41 = lean_array_push(x_15, x_40); +x_42 = l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__2; +x_43 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_43, 0, x_17); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_41); +lean_ctor_set(x_8, 0, x_43); +return x_8; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_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; +x_44 = lean_ctor_get(x_8, 0); +x_45 = lean_ctor_get(x_8, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_8); +x_46 = l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticRepeat____1___closed__1; +lean_inc(x_44); +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticAdmit__1___closed__1; +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_44); +lean_ctor_set(x_49, 1, x_48); +x_50 = l___aux__Init__Notation______macroRules__precMax__1___closed__4; +x_51 = lean_array_push(x_50, x_49); +x_52 = lean_box(2); +x_53 = l_Lean_Parser_Tactic_tacticSorry___closed__2; +x_54 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set(x_54, 2, x_51); +x_55 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__10; +x_56 = lean_array_push(x_55, x_54); +x_57 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__12; +x_58 = lean_array_push(x_56, x_57); +x_59 = l_Lean_Parser_Tactic_first___closed__8; +x_60 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_60, 0, x_52); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_60, 2, x_58); +x_61 = lean_array_push(x_50, x_60); +x_62 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__8; +x_63 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_63, 0, x_52); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_61); +x_64 = lean_array_push(x_50, x_63); +x_65 = l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__4; +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_52); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_66, 2, x_64); +x_67 = lean_array_push(x_50, x_66); +x_68 = l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticNext_______x3d_x3e____1___closed__1; +x_69 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_69, 0, x_52); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_69, 2, x_67); +x_70 = lean_array_push(x_55, x_47); +x_71 = lean_array_push(x_70, x_69); +x_72 = l_Lean_Parser_Tactic_tacticRepeat_____closed__2; +x_73 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_73, 0, x_52); +lean_ctor_set(x_73, 1, x_72); +lean_ctor_set(x_73, 2, x_71); +x_74 = lean_array_push(x_50, x_73); +x_75 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_75, 0, x_52); +lean_ctor_set(x_75, 1, x_62); +lean_ctor_set(x_75, 2, x_74); +x_76 = lean_array_push(x_50, x_75); +x_77 = l_Lean_Parser_Tactic___aux__Init__Notation______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__2; +x_78 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_78, 0, x_52); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_76); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_45); +return x_79; +} +} +} +} static lean_object* _init_l_Lean_Parser_Tactic_specialize___closed__1() { _start: { @@ -47742,6 +48118,26 @@ l_Lean_Parser_Tactic_case___closed__13 = _init_l_Lean_Parser_Tactic_case___close lean_mark_persistent(l_Lean_Parser_Tactic_case___closed__13); l_Lean_Parser_Tactic_case = _init_l_Lean_Parser_Tactic_case(); lean_mark_persistent(l_Lean_Parser_Tactic_case); +l_Lean_Parser_Tactic_case_x27___closed__1 = _init_l_Lean_Parser_Tactic_case_x27___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_case_x27___closed__1); +l_Lean_Parser_Tactic_case_x27___closed__2 = _init_l_Lean_Parser_Tactic_case_x27___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_case_x27___closed__2); +l_Lean_Parser_Tactic_case_x27___closed__3 = _init_l_Lean_Parser_Tactic_case_x27___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_case_x27___closed__3); +l_Lean_Parser_Tactic_case_x27___closed__4 = _init_l_Lean_Parser_Tactic_case_x27___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_case_x27___closed__4); +l_Lean_Parser_Tactic_case_x27___closed__5 = _init_l_Lean_Parser_Tactic_case_x27___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_case_x27___closed__5); +l_Lean_Parser_Tactic_case_x27___closed__6 = _init_l_Lean_Parser_Tactic_case_x27___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_case_x27___closed__6); +l_Lean_Parser_Tactic_case_x27___closed__7 = _init_l_Lean_Parser_Tactic_case_x27___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_case_x27___closed__7); +l_Lean_Parser_Tactic_case_x27___closed__8 = _init_l_Lean_Parser_Tactic_case_x27___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_case_x27___closed__8); +l_Lean_Parser_Tactic_case_x27___closed__9 = _init_l_Lean_Parser_Tactic_case_x27___closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_case_x27___closed__9); +l_Lean_Parser_Tactic_case_x27 = _init_l_Lean_Parser_Tactic_case_x27(); +lean_mark_persistent(l_Lean_Parser_Tactic_case_x27); l_Lean_Parser_Tactic_tacticNext_______x3d_x3e_____closed__1 = _init_l_Lean_Parser_Tactic_tacticNext_______x3d_x3e_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticNext_______x3d_x3e_____closed__1); l_Lean_Parser_Tactic_tacticNext_______x3d_x3e_____closed__2 = _init_l_Lean_Parser_Tactic_tacticNext_______x3d_x3e_____closed__2(); @@ -49054,6 +49450,20 @@ l_Lean_Parser_Tactic_dbgTrace___closed__6 = _init_l_Lean_Parser_Tactic_dbgTrace_ lean_mark_persistent(l_Lean_Parser_Tactic_dbgTrace___closed__6); l_Lean_Parser_Tactic_dbgTrace = _init_l_Lean_Parser_Tactic_dbgTrace(); lean_mark_persistent(l_Lean_Parser_Tactic_dbgTrace); +l_Lean_Parser_Tactic_tacticStop_____closed__1 = _init_l_Lean_Parser_Tactic_tacticStop_____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticStop_____closed__1); +l_Lean_Parser_Tactic_tacticStop_____closed__2 = _init_l_Lean_Parser_Tactic_tacticStop_____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticStop_____closed__2); +l_Lean_Parser_Tactic_tacticStop_____closed__3 = _init_l_Lean_Parser_Tactic_tacticStop_____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticStop_____closed__3); +l_Lean_Parser_Tactic_tacticStop_____closed__4 = _init_l_Lean_Parser_Tactic_tacticStop_____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticStop_____closed__4); +l_Lean_Parser_Tactic_tacticStop_____closed__5 = _init_l_Lean_Parser_Tactic_tacticStop_____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticStop_____closed__5); +l_Lean_Parser_Tactic_tacticStop_____closed__6 = _init_l_Lean_Parser_Tactic_tacticStop_____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticStop_____closed__6); +l_Lean_Parser_Tactic_tacticStop__ = _init_l_Lean_Parser_Tactic_tacticStop__(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticStop__); l_Lean_Parser_Tactic_specialize___closed__1 = _init_l_Lean_Parser_Tactic_specialize___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_specialize___closed__1); l_Lean_Parser_Tactic_specialize___closed__2 = _init_l_Lean_Parser_Tactic_specialize___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index ecb381e908..b03adc7a58 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -20249,7 +20249,7 @@ return x_2; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, uint8_t x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { _start: { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_dec(x_12); lean_inc(x_17); x_21 = l_Lean_Meta_instantiateMVars(x_13, x_16, x_17, x_18, x_19, x_20); @@ -20258,107 +20258,112 @@ lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); -x_24 = l_Lean_Expr_getAppFn(x_22); +x_24 = l_Lean_Expr_consumeMData(x_22); lean_dec(x_22); +x_25 = l_Lean_Expr_getAppFn(x_24); +lean_dec(x_24); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_14); -lean_inc(x_24); -x_25 = l_Lean_Elab_Term_tryPostponeIfMVar(x_24, x_14, x_15, x_16, x_17, x_18, x_19, x_23); -if (lean_obj_tag(x_25) == 0) +lean_inc(x_25); +x_26 = l_Lean_Elab_Term_tryPostponeIfMVar(x_25, x_14, x_15, x_16, x_17, x_18, x_19, x_23); +if (lean_obj_tag(x_26) == 0) { -if (lean_obj_tag(x_24) == 4) -{ -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; uint8_t x_35; -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_ctor_get(x_24, 0); +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); -lean_dec(x_24); -x_28 = l_Lean_Syntax_getId(x_2); -lean_dec(x_2); -x_29 = lean_erase_macro_scopes(x_28); -x_30 = l_Lean_Name_append(x_27, x_29); -lean_dec(x_27); -x_31 = lean_st_ref_get(x_19, x_26); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_ctor_get(x_32, 0); -lean_inc(x_34); -lean_dec(x_32); -lean_inc(x_30); -x_35 = l_Lean_Environment_contains(x_34, x_30); -if (x_35 == 0) +lean_dec(x_26); +x_28 = l_Lean_Expr_consumeMData(x_25); +lean_dec(x_25); +if (lean_obj_tag(x_28) == 4) { -lean_object* x_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; uint8_t x_46; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +lean_dec(x_28); +x_30 = l_Lean_Syntax_getId(x_2); +lean_dec(x_2); +x_31 = lean_erase_macro_scopes(x_30); +x_32 = l_Lean_Name_append(x_29, x_31); +lean_dec(x_29); +x_33 = lean_st_ref_get(x_19, x_27); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_ctor_get(x_34, 0); +lean_inc(x_36); +lean_dec(x_34); +lean_inc(x_32); +x_37 = l_Lean_Environment_contains(x_36, x_32); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_dec(x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_36 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_36, 0, x_30); -x_37 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__4; -x_38 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -x_39 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__6; +x_38 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_38, 0, x_32); +x_39 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__4; x_40 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_indentExpr(x_1); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__6; x_42 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_42, 0, x_40); lean_ctor_set(x_42, 1, x_41); -x_43 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__8; +x_43 = l_Lean_indentExpr(x_1); x_44 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_44, x_14, x_15, x_16, x_17, x_18, x_19, x_33); +x_45 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__8; +x_46 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_46, x_14, x_15, x_16, x_17, x_18, x_19, x_35); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) { -return x_45; +return x_47; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_45, 0); -x_48 = lean_ctor_get(x_45, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_45); -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 -{ -lean_object* x_50; lean_object* x_51; -lean_dec(x_1); -x_50 = lean_box(0); -x_51 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__3(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_50, x_14, x_15, x_16, x_17, x_18, x_19, x_33); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_47, 0); +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_47); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); return x_51; } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_dec(x_24); +lean_object* x_52; lean_object* x_53; +lean_dec(x_1); +x_52 = lean_box(0); +x_53 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__3(x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_52, x_14, x_15, x_16, x_17, x_18, x_19, x_35); +return x_53; +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_28); lean_dec(x_11); lean_dec(x_7); lean_dec(x_6); @@ -20366,31 +20371,28 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_52 = lean_ctor_get(x_25, 1); -lean_inc(x_52); -lean_dec(x_25); -x_53 = l_Lean_indentExpr(x_1); -x_54 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__2; -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__8; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_57, x_14, x_15, x_16, x_17, x_18, x_19, x_52); +x_54 = l_Lean_indentExpr(x_1); +x_55 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__4___closed__2; +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__8; +x_58 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_58, x_14, x_15, x_16, x_17, x_18, x_19, x_27); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -return x_58; +return x_59; } } else { -uint8_t x_59; -lean_dec(x_24); +uint8_t x_60; +lean_dec(x_25); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -20405,23 +20407,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_59 = !lean_is_exclusive(x_25); -if (x_59 == 0) +x_60 = !lean_is_exclusive(x_26); +if (x_60 == 0) { -return x_25; +return x_26; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_25, 0); -x_61 = lean_ctor_get(x_25, 1); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_26, 0); +x_62 = lean_ctor_get(x_26, 1); +lean_inc(x_62); lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_25); -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; +lean_dec(x_26); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index 0e1e4f7160..e8c4d3031c 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -14,7 +14,6 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__2; lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); @@ -25,7 +24,6 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkSort(lean_object*); static lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__1___closed__1; LEAN_EXPORT uint8_t l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque(uint8_t); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__4; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5___rarg(lean_object*); @@ -67,6 +65,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__2; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__10; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__6; @@ -79,7 +78,6 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__5; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__7; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__1; lean_object* l_Lean_Elab_mkFreshInstanceName(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__11; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__16; @@ -106,12 +104,10 @@ static lean_object* l_Lean_Elab_Command_mkInstanceName___closed__2; static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__4; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_toCtorIdx(uint8_t); -static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInstanceName___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*); uint8_t l_Char_isLower(uint32_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_isDefLike___boxed(lean_object*); lean_object* l_Nat_repr(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__3; lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_instInhabitedDefKind; LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_isTheorem___boxed(lean_object*); @@ -130,6 +126,7 @@ static lean_object* l_Lean_Elab_Command_isDefLike___closed__9; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefView___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_toCtorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_instInhabitedDefView; static lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__5___closed__1; @@ -170,10 +167,12 @@ lean_object* l_Lean_Syntax_getKind(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInstanceName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkFreshInstanceName___boxed(lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465_(lean_object*); +static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__3; static lean_object* l_Lean_Elab_Command_mkInstanceName___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__2; static lean_object* l_Lean_Elab_Command_isDefLike___closed__6; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); @@ -190,11 +189,13 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefView___sp uint8_t l_Lean_Syntax_isNone(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__10(lean_object*, lean_object*); lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3; static lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__2___closed__1; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__9; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__1; lean_object* l_Lean_Elab_expandOptNamedPrio___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -213,11 +214,13 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__15; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__18; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_noConfusion(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__2; static lean_object* l_Lean_Elab_Command_mkDefView___closed__1; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__1; @@ -3757,6 +3760,51 @@ lean_ctor_set(x_15, 1, x_8); return x_15; } } +static lean_object* _init_l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declValSimple"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__15; +x_2 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":="); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___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; 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 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__3; +x_8 = l_Lean_mkAtomFrom(x_1, x_7); +x_9 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__12; +x_10 = lean_array_push(x_9, x_8); +x_11 = lean_array_push(x_10, x_3); +x_12 = lean_box(2); +x_13 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__2; +x_14 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set(x_14, 2, x_11); +x_15 = lean_apply_4(x_2, x_14, x_4, x_5, x_6); +return x_15; +} +} static lean_object* _init_l_Lean_Elab_Command_mkDefViewOfConstant___closed__1() { _start: { @@ -3804,33 +3852,29 @@ return x_1; static lean_object* _init_l_Lean_Elab_Command_mkDefViewOfConstant___closed__6() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("declValSimple"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__10; +x_3 = l_Lean_Elab_instInhabitedDefView___closed__1; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Elab_Command_mkDefViewOfConstant___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__15; -x_2 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkDefViewOfConstant___closed__8() { -_start: -{ lean_object* x_1; -x_1 = lean_mk_string(":="); +x_1 = lean_mk_string("unsafe"); return x_1; } } LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfConstant(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +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; x_6 = lean_unsigned_to_nat(2u); x_7 = l_Lean_Syntax_getArg(x_2, x_6); x_8 = l_Lean_Elab_expandDeclSig(x_7); @@ -3840,65 +3884,117 @@ lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = lean_unsigned_to_nat(3u); -x_12 = l_Lean_Syntax_getArg(x_2, x_11); -x_13 = l_Lean_Syntax_getOptional_x3f(x_12); -lean_dec(x_12); -if (lean_obj_tag(x_13) == 0) +lean_inc(x_9); +lean_inc(x_1); +lean_inc(x_10); +lean_inc(x_2); +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1___boxed), 8, 4); +lean_closure_set(x_11, 0, x_2); +lean_closure_set(x_11, 1, x_10); +lean_closure_set(x_11, 2, x_1); +lean_closure_set(x_11, 3, x_9); +x_12 = lean_unsigned_to_nat(3u); +x_13 = l_Lean_Syntax_getArg(x_2, x_12); +x_14 = l_Lean_Syntax_getOptional_x3f(x_13); +lean_dec(x_13); +if (lean_obj_tag(x_14) == 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; -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfInstance___spec__11(x_3, x_4, x_5); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_16); -x_18 = lean_ctor_get(x_17, 1); +uint8_t x_15; +lean_dec(x_10); +lean_dec(x_9); +x_15 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 3); +lean_dec(x_1); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 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; +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfInstance___spec__11(x_3, x_4, x_5); +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_17); -x_19 = l_Lean_Elab_Command_getMainModule___rarg(x_4, x_18); +lean_dec(x_16); +x_19 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_18); x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); lean_dec(x_19); -x_21 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__5; -x_22 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_22, 0, x_15); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__11; -x_24 = lean_array_push(x_23, x_22); -x_25 = lean_box(2); -x_26 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__4; -x_27 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_27, 2, x_24); -x_28 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__8; -lean_inc(x_2); -x_29 = l_Lean_mkAtomFrom(x_2, x_28); -x_30 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__12; -x_31 = lean_array_push(x_30, x_29); -x_32 = lean_array_push(x_31, x_27); -x_33 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__7; -x_34 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_34, 0, x_25); -lean_ctor_set(x_34, 1, x_33); -lean_ctor_set(x_34, 2, x_32); -x_35 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(x_2, x_10, x_1, x_9, x_34, x_3, x_4, x_20); -lean_dec(x_4); -lean_dec(x_3); -return x_35; +x_21 = l_Lean_Elab_Command_getMainModule___rarg(x_4, x_20); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__5; +x_24 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_24, 0, x_17); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__12; +x_26 = lean_array_push(x_25, x_24); +x_27 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6; +x_28 = lean_array_push(x_26, x_27); +x_29 = lean_box(2); +x_30 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__4; +x_31 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_28); +x_32 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2(x_2, x_11, x_31, x_3, x_4, x_22); +return x_32; } else { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_13, 0); -lean_inc(x_36); -lean_dec(x_13); -x_37 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(x_2, x_10, x_1, x_9, x_36, x_3, x_4, x_5); +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; +x_33 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfInstance___spec__11(x_3, x_4, x_5); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_35); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = l_Lean_Elab_Command_getMainModule___rarg(x_4, x_37); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__5; +lean_inc(x_34); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_34); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__7; +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_34); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__11; +x_45 = lean_array_push(x_44, x_43); +x_46 = lean_box(2); +x_47 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__10; +x_48 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_48, 2, x_45); +x_49 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__12; +x_50 = lean_array_push(x_49, x_41); +x_51 = lean_array_push(x_50, x_48); +x_52 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__4; +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_46); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_51); +x_54 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2(x_2, x_11, x_53, x_3, x_4, x_39); +return x_54; +} +} +else +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_11); +x_55 = lean_ctor_get(x_14, 0); +lean_inc(x_55); +lean_dec(x_14); +x_56 = l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(x_2, x_10, x_1, x_9, x_55, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); -return x_37; +return x_56; } } } @@ -4351,7 +4447,7 @@ lean_dec(x_3); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1() { _start: { lean_object* x_1; @@ -4359,17 +4455,17 @@ x_1 = lean_mk_string("Elab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3() { _start: { lean_object* x_1; @@ -4377,21 +4473,21 @@ x_1 = lean_mk_string("definition"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__2; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__3; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465_(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_1383____closed__4; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -4536,6 +4632,12 @@ l_Lean_Elab_Command_mkDefViewOfInstance___closed__17 = _init_l_Lean_Elab_Command lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfInstance___closed__17); l_Lean_Elab_Command_mkDefViewOfInstance___closed__18 = _init_l_Lean_Elab_Command_mkDefViewOfInstance___closed__18(); lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfInstance___closed__18); +l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__1 = _init_l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__1); +l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__2 = _init_l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__2); +l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__3 = _init_l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__3); l_Lean_Elab_Command_mkDefViewOfConstant___closed__1 = _init_l_Lean_Elab_Command_mkDefViewOfConstant___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfConstant___closed__1); l_Lean_Elab_Command_mkDefViewOfConstant___closed__2 = _init_l_Lean_Elab_Command_mkDefViewOfConstant___closed__2(); @@ -4550,8 +4652,6 @@ l_Lean_Elab_Command_mkDefViewOfConstant___closed__6 = _init_l_Lean_Elab_Command_ lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfConstant___closed__6); l_Lean_Elab_Command_mkDefViewOfConstant___closed__7 = _init_l_Lean_Elab_Command_mkDefViewOfConstant___closed__7(); lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfConstant___closed__7); -l_Lean_Elab_Command_mkDefViewOfConstant___closed__8 = _init_l_Lean_Elab_Command_mkDefViewOfConstant___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfConstant___closed__8); l_Lean_Elab_Command_mkDefViewOfExample___closed__1 = _init_l_Lean_Elab_Command_mkDefViewOfExample___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfExample___closed__1); l_Lean_Elab_Command_mkDefViewOfExample___closed__2 = _init_l_Lean_Elab_Command_mkDefViewOfExample___closed__2(); @@ -4582,15 +4682,15 @@ l_Lean_Elab_Command_mkDefView___closed__1 = _init_l_Lean_Elab_Command_mkDefView_ lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__1); l_Lean_Elab_Command_mkDefView___closed__2 = _init_l_Lean_Elab_Command_mkDefView___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383____closed__4); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1383_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465_(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/Extra.c b/stage0/stdlib/Lean/Elab/Extra.c index c570bae2cf..4893d02b14 100644 --- a/stage0/stdlib/Lean/Elab/Extra.c +++ b/stage0/stdlib/Lean/Elab/Extra.c @@ -97,6 +97,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOpLazy_declRange_ static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_declRange___closed__2; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRelNoProp_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__12; @@ -161,6 +162,7 @@ static lean_object* l_Lean_Elab_Term_elabForIn_x27___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_declRange___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRelNoProp___closed__3; +lean_object* l_Lean_Meta_mkSorry(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabBinRelCore___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__12; static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_getMonadForIn___closed__2; @@ -172,15 +174,12 @@ static lean_object* l_Lean_Elab_Term_elabBinRelCore___lambda__3___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Option_get___at_Std_Format_pretty_x27___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___spec__2___closed__4; -static lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__2; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__19; -static lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__1; static lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc___closed__1; static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_getMonadForIn___closed__5; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_getMonadForIn___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__3___closed__3; static lean_object* l_Lean_Elab_Term_elabForIn___closed__17; lean_object* l_Lean_Expr_headBeta(lean_object*); @@ -253,7 +252,7 @@ static lean_object* l_Lean_Elab_Term_elabBinRelCore_toBoolIfNecessary___closed__ extern lean_object* l_Lean_instInhabitedSyntax; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__3___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_initFn____x40_Lean_Elab_Extra___hyg_5553_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_initFn____x40_Lean_Elab_Extra___hyg_5565_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabBinRel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabForIn_x27___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabBinRelCore___lambda__2___closed__5; @@ -369,6 +368,7 @@ lean_object* l_Lean_Meta_mkArrow(lean_object*, lean_object*, lean_object*, lean_ static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel_declRange___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_x27_declRange___closed__1; +uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__4; lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); @@ -388,7 +388,7 @@ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOpLazy_declRange___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__14; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabBinRelCore_toBoolIfNecessary___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel_declRange___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_hasCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -402,6 +402,7 @@ static lean_object* l_Lean_Elab_Term_elabForIn___closed__25; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinCalc_declRange(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabBinRelCore_toBoolIfNecessary___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinCalc_declRange___closed__7; @@ -454,7 +455,6 @@ static lean_object* l_Lean_Elab_Term_elabForIn___closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_declRange___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_hasCoe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__5; static lean_object* l_Lean_Elab_Term_elabForIn___closed__15; @@ -16684,7 +16684,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__1() { _start: { lean_object* x_1; @@ -16692,162 +16692,199 @@ x_1 = lean_mk_string("invalid 'default_or_ofNonempty%', expected type is not kno return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__2() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__1; +x_1 = l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___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_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_9; +lean_object* x_10; +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); -lean_inc(x_1); -x_9 = l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) +x_10 = l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -if (lean_obj_tag(x_1) == 0) +if (lean_obj_tag(x_2) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__2; -x_12 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_10); +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__2; +x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_11); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_12; +return x_13; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_2); -x_13 = lean_ctor_get(x_9, 1); -lean_inc(x_13); -lean_dec(x_9); -x_14 = lean_ctor_get(x_1, 0); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +x_14 = lean_ctor_get(x_10, 1); lean_inc(x_14); -lean_dec(x_1); +lean_dec(x_10); +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +lean_dec(x_2); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_14); -x_15 = l_Lean_Meta_mkDefault(x_14, x_4, x_5, x_6, x_7, x_13); -if (lean_obj_tag(x_15) == 0) +lean_inc(x_15); +x_16 = l_Lean_Meta_mkDefault(x_15, x_5, x_6, x_7, x_8, x_14); +if (lean_obj_tag(x_16) == 0) { -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_Meta_mkOfNonempty(x_14, x_4, x_5, x_6, x_7, x_17); -if (lean_obj_tag(x_18) == 0) -{ -lean_dec(x_16); -return x_18; -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -lean_ctor_set(x_18, 0, x_16); -return x_18; -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_16); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -} -} -else -{ -uint8_t x_23; +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_23 = !lean_is_exclusive(x_9); -if (x_23 == 0) -{ -return x_9; +return x_16; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_9, 0); -x_25 = lean_ctor_get(x_9, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_9); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty(lean_object* x_1) { -_start: +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_15); +x_19 = l_Lean_Meta_mkOfNonempty(x_15, x_5, x_6, x_7, x_8, x_18); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___boxed), 8, 0); -return x_2; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_19; } -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___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: +else { -lean_object* x_9; -x_9 = l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +uint8_t x_20; +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; uint8_t x_25; +x_21 = lean_ctor_get(x_19, 1); +x_22 = lean_ctor_get(x_19, 0); +lean_dec(x_22); +x_23 = lean_unsigned_to_nat(1u); +x_24 = l_Lean_Syntax_getArg(x_1, x_23); +x_25 = l_Lean_Syntax_isNone(x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +uint8_t x_26; lean_object* x_27; +lean_free_object(x_19); +lean_dec(x_17); +x_26 = 0; +x_27 = l_Lean_Meta_mkSorry(x_15, x_26, x_5, x_6, x_7, x_8, x_21); +return x_27; +} +else +{ +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_ctor_set(x_19, 0, x_17); +return x_19; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_28 = lean_ctor_get(x_19, 1); +lean_inc(x_28); +lean_dec(x_19); +x_29 = lean_unsigned_to_nat(1u); +x_30 = l_Lean_Syntax_getArg(x_1, x_29); +x_31 = l_Lean_Syntax_isNone(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +uint8_t x_32; lean_object* x_33; +lean_dec(x_17); +x_32 = 0; +x_33 = l_Lean_Meta_mkSorry(x_15, x_32, x_5, x_6, x_7, x_8, x_28); +return x_33; +} +else +{ +lean_object* x_34; +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_17); +lean_ctor_set(x_34, 1, x_28); +return x_34; +} +} +} +} +} +} +else +{ +uint8_t x_35; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); -return x_9; +lean_dec(x_2); +x_35 = !lean_is_exclusive(x_10); +if (x_35 == 0) +{ +return x_10; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_10, 0); +x_37 = lean_ctor_get(x_10, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_10); +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; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___boxed(lean_object* x_1) { +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_2; -x_2 = l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty(x_1); +lean_object* x_10; +x_10 = l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); lean_dec(x_1); -return x_2; +return x_10; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__1() { @@ -16890,7 +16927,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonem _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___boxed), 9, 0); return x_1; } } @@ -16922,8 +16959,8 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonem _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(353u); -x_2 = lean_unsigned_to_nat(14u); +x_1 = lean_unsigned_to_nat(358u); +x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -16937,7 +16974,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonempty_declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); x_3 = l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonempty_declRange___closed__2; -x_4 = lean_unsigned_to_nat(14u); +x_4 = lean_unsigned_to_nat(34u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -17008,7 +17045,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_initFn____x40_Lean_Elab_Extra___hyg_5553_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_BinOp_initFn____x40_Lean_Elab_Extra___hyg_5565_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -17548,10 +17585,10 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabBinCalc_declRange__ res = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinCalc_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__1 = _init_l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__1); -l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__2 = _init_l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___rarg___closed__2); +l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__1 = _init_l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__1); +l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__2 = _init_l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__2); l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__1); l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonempty___closed__2(); @@ -17582,7 +17619,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonempty_d res = l___regBuiltin_Lean_Elab_Term_BinOp_elabDefaultOrNonempty_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_BinOp_initFn____x40_Lean_Elab_Extra___hyg_5553_(lean_io_mk_world()); +res = l_Lean_Elab_Term_BinOp_initFn____x40_Lean_Elab_Extra___hyg_5565_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index 6dc607bef1..51f1ed7a1f 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -17,6 +17,7 @@ lean_object* l_List_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__5; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_brec_on(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__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*); @@ -25,7 +26,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inducti size_t lean_usize_add(size_t, size_t); uint8_t l_Lean_Level_isNeverZero(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__7(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkTypeFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -45,14 +45,19 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_el lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalDecl_userName(lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__2; +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isPartial(lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_withCtorRef___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -63,19 +68,25 @@ LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0_ LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkResultUniverse(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__1; +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__6; +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedInductiveView; lean_object* l_Lean_Meta_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__3; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6(uint8_t, lean_object*, size_t, size_t); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__1; @@ -83,42 +94,48 @@ static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_E lean_object* l_Std_HashMapImp_find_x3f___at_Lean_hasOutParams___spec__5(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArity___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef(lean_object*); lean_object* lean_mk_cases_on(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkInjectiveTheorems(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___closed__1; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__1; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__1; +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__5; static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__3; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__1; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -135,17 +152,21 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_el LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_accLevelAtCtor___closed__1; +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___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_Lean_Meta_transform___at_Lean_Meta_iteToDIte___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_getOffsetAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const(lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashSetImp___rarg(lean_object*); @@ -155,21 +176,25 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCto lean_object* l_Lean_Elab_Term_getLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_shouldInferResultUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArity___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__3; lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafe(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_accLevelAtCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__1; static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__10; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorType(lean_object*, 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_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__2; +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___lambda__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -185,7 +210,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_ch extern lean_object* l_Lean_levelZero; LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__3; static lean_object* l_Lean_Elab_Command_checkResultingUniverse___closed__1; @@ -193,6 +217,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Induc LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__2; static lean_object* l_Lean_Elab_Command_checkResultingUniverse___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -210,18 +235,18 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkPa LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkTypeFor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkResultingUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__3; lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_eqvFirstTypeResult___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkResultingUniverse___closed__2; static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__2; lean_object* lean_mk_ibelow(lean_object*, lean_object*); +uint8_t l_Lean_Name_hasMacroScopes(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___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* l_Lean_Meta_mkSizeOfInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -232,6 +257,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__6; LEAN_EXPORT lean_object* l_List_allM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkCasesOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -250,16 +276,19 @@ LEAN_EXPORT lean_object* l_Lean_mkBInductionOn___at___private_Lean_Elab_Inductiv LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls(lean_object*); +uint8_t l_Lean_Level_geq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__7; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__1___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2___lambda__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Meta_Linear_Cnstr_isUnsat___spec__1(lean_object*); static lean_object* l_Lean_Elab_Command_tmpIndParam___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__3(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -273,21 +302,28 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0_ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8(uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLevelMax(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isInductiveFamily(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__7; LEAN_EXPORT lean_object* l_Lean_ForEachExpr_visit___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__6; +lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_reduce_visit___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_erase___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__5; static lean_object* l_Lean_Elab_Command_tmpIndParam___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___boxed__const__1; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed(lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__8; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_assignLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2___closed__2; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__4; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___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_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -298,12 +334,12 @@ LEAN_EXPORT lean_object* l_Lean_mkBelow___at___private_Lean_Elab_Inductive_0__Le LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_Meta_Match_mkMatcher___spec__6(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instHashableExpr; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5(uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -313,6 +349,7 @@ static lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__2(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4___closed__1; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -320,39 +357,46 @@ static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__ LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__3; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedInductiveType; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l_Lean_Expr_ReplaceLevelImpl_replaceUnsafe(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__2___boxed(lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeaders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkBRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_contains___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__5(lean_object*, uint8_t); lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__3; extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__2; +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__1(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMap_insert___at_Lean_ClassState_addEntry___spec__6(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__2; +lean_object* l_Lean_Meta_assignLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_accLevelAtCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux(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_Array_isEmpty___rarg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArrowBinderNames(lean_object*); static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_eqvFirstTypeResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -364,7 +408,8 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_ch LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__3___boxed__const__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType(lean_object*); lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__3; +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__4; @@ -374,6 +419,7 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResu static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwKernelException___at_Lean_Elab_Term_evalExpr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__2(lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeader___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -394,6 +440,8 @@ LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_feraseIdx___rarg(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__5; @@ -402,11 +450,10 @@ static lean_object* l_Lean_Elab_Command_accLevelAtCtor___closed__2; lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_addImplicitTargets___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkIBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DerivingClassView_applyHandlers(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___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_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__2___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeaders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -414,6 +461,7 @@ static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_El static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__3; lean_object* l_Lean_Meta_isDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__6; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -425,29 +473,34 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkPa LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isDomainDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMap_insert___at_Lean_Meta_reduce_visit___spec__10(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isInductiveFamily___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__3___closed__1; lean_object* lean_mk_below(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__8; uint8_t l_Array_contains___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_indexOfAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos___spec__1(lean_object*, lean_object*, lean_object*); extern uint8_t l_instInhabitedBool; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__2(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_localDeclDependsOnPred(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__3; lean_object* l_Std_HashMap_insert___at_Lean_Meta_ForEachExpr_visit___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -471,7 +524,8 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_el static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_eqvFirstTypeResult___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___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_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195_(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5_(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkIBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_tmpIndParam___closed__3; @@ -489,11 +543,14 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8___lambda__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__4; lean_object* l_Lean_Level_normalize(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__2; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -503,10 +560,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_co LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___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_mapTRAux___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___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*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -518,23 +575,30 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__1(lean lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__1; LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__6___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*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__6; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedName; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__1___lambda__2(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* l_Lean_Level_getLevelOffset(lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__2(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isDomainDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInductiveViews___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__1(lean_object*, lean_object*, size_t, size_t); @@ -544,14 +608,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_ge static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__2; lean_object* l_Lean_Elab_Term_collectUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__3; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__3; lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed(lean_object**); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__5; LEAN_EXPORT lean_object* l_List_allM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -565,15 +627,15 @@ lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lea lean_object* l_Lean_Expr_inferImplicit(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__2; lean_object* l_Lean_indentD(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkCasesOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__1(lean_object*); uint8_t l_Lean_Level_occurs(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkBRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -584,6 +646,7 @@ lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoB LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__2(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArity(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -602,15 +665,15 @@ lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__2; extern lean_object* l_Lean_levelOne; uint8_t lean_level_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_beq___at_Lean_OpenDecl_instToStringOpenDecl___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(lean_object*, lean_object*); @@ -621,6 +684,7 @@ lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___lambda__2(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__10; lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -629,30 +693,31 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_ch LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidInductiveModifier(lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_tmpIndParam; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedCtorView___closed__1; size_t lean_usize_of_nat(lean_object*); lean_object* lean_mk_binduction_on(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__4; LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isInductiveFamily___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop(lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__2; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__1___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArrowBinderNames_go(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedCtorView___closed__2; +LEAN_EXPORT lean_object* l_Array_erase___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__4; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_ForEachExpr_visit___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5____closed__1() { @@ -4377,6 +4442,1104 @@ lean_dec(x_1); return x_11; } } +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArrowBinderNames_go(lean_object* x_1, lean_object* x_2) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 7: +{ +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, 2); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_array_push(x_2, x_3); +x_1 = x_4; +x_2 = x_5; +goto _start; +} +case 10: +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +lean_dec(x_1); +x_1 = x_7; +goto _start; +} +default: +{ +lean_dec(x_1); +return x_2; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArrowBinderNames(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; +x_3 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArrowBinderNames_go(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_1); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +return x_2; +} +else +{ +if (lean_obj_tag(x_2) == 7) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint64_t x_9; uint8_t x_10; +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 2); +lean_inc(x_8); +x_9 = lean_ctor_get_uint64(x_2, sizeof(void*)*3); +lean_dec(x_2); +x_10 = l_Lean_Name_hasMacroScopes(x_6); +if (x_10 == 0) +{ +uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = (uint8_t)((x_9 << 24) >> 61); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_3, x_12); +x_14 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go(x_1, x_8, x_13); +lean_dec(x_13); +x_15 = l_Lean_mkForall(x_6, x_11, x_7, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_6); +x_16 = l_Lean_instInhabitedName; +x_17 = lean_array_get(x_16, x_1, x_3); +x_18 = (uint8_t)((x_9 << 24) >> 61); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_3, x_19); +x_21 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go(x_1, x_8, x_20); +lean_dec(x_20); +x_22 = l_Lean_mkForall(x_17, x_18, x_7, x_21); +return x_22; +} +} +else +{ +return x_2; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go(x_2, x_1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_array_uget(x_2, x_3); +x_7 = l_Lean_Expr_fvarId_x21(x_6); +x_8 = lean_name_eq(x_7, x_1); +lean_dec(x_7); +if (x_8 == 0) +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_3 = x_10; +goto _start; +} +else +{ +uint8_t x_12; +x_12 = 1; +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Array_erase___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Array_indexOfAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos___spec__1(x_1, x_2, x_3); +if (lean_obj_tag(x_4) == 0) +{ +return x_1; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +lean_dec(x_4); +x_6 = l_Array_feraseIdx___rarg(x_1, x_5); +lean_dec(x_5); +return x_6; +} +} +} +LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_array_get_size(x_1); +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_lt(x_4, x_3); +if (x_5 == 0) +{ +uint8_t x_6; +lean_dec(x_3); +x_6 = 0; +return x_6; +} +else +{ +uint8_t x_7; +x_7 = lean_nat_dec_le(x_3, x_3); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec(x_3); +x_8 = 0; +return x_8; +} +else +{ +size_t x_9; size_t x_10; uint8_t x_11; +x_9 = 0; +x_10 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_11 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__1(x_2, x_1, x_9, x_10); +return x_11; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__2(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = 0; +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_inc(x_1); +x_10 = lean_array_push(x_3, x_1); +x_11 = l_Array_erase___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__2(x_2, x_1); +lean_dec(x_1); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +return x_14; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__2___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___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_dec(x_4); +lean_inc(x_5); +lean_inc(x_1); +x_10 = l_Lean_Meta_getFVarLocalDecl(x_1, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_2); +x_13 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__1___boxed), 2, 1); +lean_closure_set(x_13, 0, x_2); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4___closed__1; +x_15 = l_Lean_Meta_localDeclDependsOnPred(x_11, x_13, x_14, x_5, x_6, x_7, x_8, x_12); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unbox(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_box(0); +x_20 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__3(x_1, x_2, x_3, x_19, x_5, x_6, x_7, x_8, x_18); +lean_dec(x_5); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_5); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_15); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_15, 0); +lean_dec(x_22); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_2); +lean_ctor_set(x_23, 1, x_3); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_15, 0, x_24); +return x_15; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_15, 1); +lean_inc(x_25); +lean_dec(x_15); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_2); +lean_ctor_set(x_26, 1, x_3); +x_27 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_25); +return x_28; +} +} +} +else +{ +uint8_t x_29; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_10); +if (x_29 == 0) +{ +return x_10; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_10, 0); +x_31 = lean_ctor_get(x_10, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_10); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_3, x_2); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_5); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_4); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_array_uget(x_1, x_3); +x_13 = !lean_is_exclusive(x_4); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_4, 0); +x_15 = lean_ctor_get(x_4, 1); +x_16 = l_Lean_Expr_isFVar(x_12); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_5); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_4); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +uint8_t x_18; +x_18 = l_Array_contains___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(x_14, x_12); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_12); +lean_dec(x_5); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_4); +lean_ctor_set(x_19, 1, x_9); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; +lean_free_object(x_4); +x_20 = lean_box(0); +lean_inc(x_5); +x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4(x_12, x_14, x_15, x_20, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +lean_dec(x_5); +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_24); +x_25 = lean_ctor_get(x_22, 0); +lean_inc(x_25); +lean_dec(x_22); +lean_ctor_set(x_21, 0, x_25); +return x_21; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_dec(x_21); +x_27 = lean_ctor_get(x_22, 0); +lean_inc(x_27); +lean_dec(x_22); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; +x_29 = lean_ctor_get(x_21, 1); +lean_inc(x_29); +lean_dec(x_21); +x_30 = lean_ctor_get(x_22, 0); +lean_inc(x_30); +lean_dec(x_22); +x_31 = 1; +x_32 = lean_usize_add(x_3, x_31); +x_3 = x_32; +x_4 = x_30; +x_9 = x_29; +goto _start; +} +} +else +{ +uint8_t x_34; +lean_dec(x_5); +x_34 = !lean_is_exclusive(x_21); +if (x_34 == 0) +{ +return x_21; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_21, 0); +x_36 = lean_ctor_get(x_21, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_21); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_4, 0); +x_39 = lean_ctor_get(x_4, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_4); +x_40 = l_Lean_Expr_isFVar(x_12); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_12); +lean_dec(x_5); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_38); +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_9); +return x_42; +} +else +{ +uint8_t x_43; +x_43 = l_Array_contains___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(x_38, x_12); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_12); +lean_dec(x_5); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_38); +lean_ctor_set(x_44, 1, x_39); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_9); +return x_45; +} +else +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_box(0); +lean_inc(x_5); +x_47 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4(x_12, x_38, x_39, x_46, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_5); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_50 = x_47; +} else { + lean_dec_ref(x_47); + x_50 = lean_box(0); +} +x_51 = lean_ctor_get(x_48, 0); +lean_inc(x_51); +lean_dec(x_48); +if (lean_is_scalar(x_50)) { + x_52 = lean_alloc_ctor(0, 2, 0); +} else { + x_52 = x_50; +} +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_49); +return x_52; +} +else +{ +lean_object* x_53; lean_object* x_54; size_t x_55; size_t x_56; +x_53 = lean_ctor_get(x_47, 1); +lean_inc(x_53); +lean_dec(x_47); +x_54 = lean_ctor_get(x_48, 0); +lean_inc(x_54); +lean_dec(x_48); +x_55 = 1; +x_56 = lean_usize_add(x_3, x_55); +x_3 = x_56; +x_4 = x_54; +x_9 = x_53; +goto _start; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_5); +x_58 = lean_ctor_get(x_47, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_47, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_60 = x_47; +} else { + lean_dec_ref(x_47); + x_60 = lean_box(0); +} +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(1, 2, 0); +} else { + x_61 = x_60; +} +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_59); +return x_61; +} +} +} +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_levelZero; +x_2 = l_Lean_mkSort(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___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; 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; size_t x_19; size_t x_20; lean_object* x_21; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Lean_Expr_getAppNumArgsAux(x_3, x_9); +x_11 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1___closed__1; +lean_inc(x_10); +x_12 = lean_mk_array(x_10, x_11); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_sub(x_10, x_13); +lean_dec(x_10); +lean_inc(x_3); +x_15 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_3, x_12, x_14); +x_16 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_array_get_size(x_15); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = 0; +lean_inc(x_4); +x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3(x_15, x_19, x_20, x_17, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_15); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = l_Array_isEmpty___rarg(x_26); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; lean_object* x_32; +lean_free_object(x_21); +lean_dec(x_1); +lean_inc(x_26); +x_28 = l_Array_append___rarg(x_26, x_25); +x_29 = 0; +x_30 = 1; +x_31 = 1; +lean_inc(x_3); +x_32 = l_Lean_Meta_mkForallFVars(x_28, x_3, x_29, x_30, x_31, x_4, x_5, x_6, x_7, x_24); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_Lean_Expr_getAppFn(x_3); +lean_dec(x_3); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_36 = lean_infer_type(x_35, x_4, x_5, x_6, x_7, x_34); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Meta_instantiateMVars(x_37, x_4, x_5, x_6, x_7, x_38); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_41 = lean_ctor_get(x_39, 0); +x_42 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArrowBinderNames(x_41); +x_43 = lean_array_get_size(x_26); +lean_dec(x_26); +x_44 = l_Array_toSubarray___rarg(x_42, x_9, x_43); +x_45 = l_Array_ofSubarray___rarg(x_44); +x_46 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go(x_45, x_33, x_9); +lean_dec(x_45); +lean_ctor_set(x_39, 0, x_46); +return x_39; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_47 = lean_ctor_get(x_39, 0); +x_48 = lean_ctor_get(x_39, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_39); +x_49 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArrowBinderNames(x_47); +x_50 = lean_array_get_size(x_26); +lean_dec(x_26); +x_51 = l_Array_toSubarray___rarg(x_49, x_9, x_50); +x_52 = l_Array_ofSubarray___rarg(x_51); +x_53 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go(x_52, x_33, x_9); +lean_dec(x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_48); +return x_54; +} +} +else +{ +uint8_t x_55; +lean_dec(x_33); +lean_dec(x_26); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_55 = !lean_is_exclusive(x_36); +if (x_55 == 0) +{ +return x_36; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_36, 0); +x_57 = lean_ctor_get(x_36, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_36); +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_59; +lean_dec(x_26); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_59 = !lean_is_exclusive(x_32); +if (x_59 == 0) +{ +return x_32; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_32, 0); +x_61 = lean_ctor_get(x_32, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_32); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_ctor_set(x_21, 0, x_1); +return x_21; +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_63 = lean_ctor_get(x_21, 0); +x_64 = lean_ctor_get(x_21, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_21); +x_65 = lean_ctor_get(x_63, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_63, 1); +lean_inc(x_66); +lean_dec(x_63); +x_67 = l_Array_isEmpty___rarg(x_66); +if (x_67 == 0) +{ +lean_object* x_68; uint8_t x_69; uint8_t x_70; uint8_t x_71; lean_object* x_72; +lean_dec(x_1); +lean_inc(x_66); +x_68 = l_Array_append___rarg(x_66, x_65); +x_69 = 0; +x_70 = 1; +x_71 = 1; +lean_inc(x_3); +x_72 = l_Lean_Meta_mkForallFVars(x_68, x_3, x_69, x_70, x_71, x_4, x_5, x_6, x_7, x_64); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = l_Lean_Expr_getAppFn(x_3); +lean_dec(x_3); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_76 = lean_infer_type(x_75, x_4, x_5, x_6, x_7, x_74); +if (lean_obj_tag(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; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = l_Lean_Meta_instantiateMVars(x_77, x_4, x_5, x_6, x_7, x_78); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_82 = x_79; +} else { + lean_dec_ref(x_79); + x_82 = lean_box(0); +} +x_83 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getArrowBinderNames(x_80); +x_84 = lean_array_get_size(x_66); +lean_dec(x_66); +x_85 = l_Array_toSubarray___rarg(x_83, x_9, x_84); +x_86 = l_Array_ofSubarray___rarg(x_85); +x_87 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames_go(x_86, x_73, x_9); +lean_dec(x_86); +if (lean_is_scalar(x_82)) { + x_88 = lean_alloc_ctor(0, 2, 0); +} else { + x_88 = x_82; +} +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_81); +return x_88; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_73); +lean_dec(x_66); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_89 = lean_ctor_get(x_76, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_76, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + x_91 = x_76; +} else { + lean_dec_ref(x_76); + x_91 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(1, 2, 0); +} else { + x_92 = x_91; +} +lean_ctor_set(x_92, 0, x_89); +lean_ctor_set(x_92, 1, x_90); +return x_92; +} +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_dec(x_66); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_93 = lean_ctor_get(x_72, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_72, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_95 = x_72; +} else { + lean_dec_ref(x_72); + x_95 = lean_box(0); +} +if (lean_is_scalar(x_95)) { + x_96 = lean_alloc_ctor(1, 2, 0); +} else { + x_96 = x_95; +} +lean_ctor_set(x_96, 0, x_93); +lean_ctor_set(x_96, 1, x_94); +return x_96; +} +} +else +{ +lean_object* x_97; +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_1); +lean_ctor_set(x_97, 1, x_64); +return x_97; +} +} +} +else +{ +uint8_t x_98; +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_98 = !lean_is_exclusive(x_21); +if (x_98 == 0) +{ +return x_21; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_21, 0); +x_100 = lean_ctor_get(x_21, 1); +lean_inc(x_100); +lean_inc(x_99); +lean_dec(x_21); +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; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs(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_inc(x_1); +x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1), 8, 1); +lean_closure_set(x_7, 0, x_1); +x_8 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_1, x_7, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__1(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_erase___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_erase___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__2(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__2___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__2(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___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); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3(x_1, x_10, x_11, 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_1); +return x_12; +} +} LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -4665,25 +5828,16 @@ return x_26; static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_levelZero; -x_2 = l_Lean_mkSort(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__2() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("unexpected inductive type occurrence"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -4716,7 +5870,7 @@ else lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Expr_getAppNumArgsAux(x_3, x_13); -x_15 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__1; +x_15 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1___closed__1; lean_inc(x_14); x_16 = lean_mk_array(x_14, x_15); x_17 = lean_unsigned_to_nat(1u); @@ -4736,7 +5890,7 @@ lean_dec(x_19); lean_dec(x_9); lean_dec(x_2); x_23 = l_Lean_indentExpr(x_3); -x_24 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__3; +x_24 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__2; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -5425,100 +6579,141 @@ lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_Meta_mkForallFVars(x_2, x_28, x_12, x_18, x_19, x_7, x_8, x_9, x_10, x_29); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_30 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs(x_28, x_7, x_8, x_9, x_10, x_29); +if (lean_obj_tag(x_30) == 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); +lean_dec(x_30); +x_33 = l_Lean_Meta_mkForallFVars(x_2, x_31, x_12, x_18, x_19, x_7, x_8, x_9, x_10, x_32); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -if (lean_obj_tag(x_30) == 0) +if (lean_obj_tag(x_33) == 0) { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +uint8_t x_34; +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_30, 0); -x_33 = lean_ctor_get(x_3, 2); -lean_inc(x_33); -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; -} -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_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_3, 2); lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_30); -x_37 = lean_ctor_get(x_3, 2); -lean_inc(x_37); -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; +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_33, 0, x_37); +return x_33; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_33, 0); +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_33); +x_40 = lean_ctor_get(x_3, 2); +lean_inc(x_40); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +return x_42; } } else { -uint8_t x_40; -x_40 = !lean_is_exclusive(x_30); -if (x_40 == 0) +uint8_t x_43; +x_43 = !lean_is_exclusive(x_33); +if (x_43 == 0) { -return x_30; +return x_33; } 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_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_33, 0); +x_45 = lean_ctor_get(x_33, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_33); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } else { -uint8_t x_44; +uint8_t x_47; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_2); -x_44 = !lean_is_exclusive(x_27); -if (x_44 == 0) +x_47 = !lean_is_exclusive(x_30); +if (x_47 == 0) +{ +return x_30; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_30, 0); +x_49 = lean_ctor_get(x_30, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_30); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +x_51 = !lean_is_exclusive(x_27); +if (x_51 == 0) { return x_27; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_27, 0); -x_46 = lean_ctor_get(x_27, 1); -lean_inc(x_46); -lean_inc(x_45); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_27, 0); +x_53 = lean_ctor_get(x_27, 1); +lean_inc(x_53); +lean_inc(x_52); lean_dec(x_27); -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; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } } else { -uint8_t x_48; +uint8_t x_55; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -5526,29 +6721,29 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_48 = !lean_is_exclusive(x_20); -if (x_48 == 0) +x_55 = !lean_is_exclusive(x_20); +if (x_55 == 0) { return x_20; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_20, 0); -x_50 = lean_ctor_get(x_20, 1); -lean_inc(x_50); -lean_inc(x_49); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_20, 0); +x_57 = lean_ctor_get(x_20, 1); +lean_inc(x_57); +lean_inc(x_56); lean_dec(x_20); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } else { -uint8_t x_52; +uint8_t x_59; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -5557,29 +6752,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_52 = !lean_is_exclusive(x_15); -if (x_52 == 0) +x_59 = !lean_is_exclusive(x_15); +if (x_59 == 0) { return x_15; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_15, 0); -x_54 = lean_ctor_get(x_15, 1); -lean_inc(x_54); -lean_inc(x_53); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_15, 0); +x_61 = lean_ctor_get(x_15, 1); +lean_inc(x_61); +lean_inc(x_60); lean_dec(x_15); -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; +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_56; +uint8_t x_63; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -5589,23 +6784,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_13); -if (x_56 == 0) +x_63 = !lean_is_exclusive(x_13); +if (x_63 == 0) { return x_13; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_13, 0); -x_58 = lean_ctor_get(x_13, 1); -lean_inc(x_58); -lean_inc(x_57); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_13, 0); +x_65 = lean_ctor_get(x_13, 1); +lean_inc(x_65); +lean_inc(x_64); lean_dec(x_13); -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; +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; } } } @@ -7107,1028 +8302,6 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_uget(x_2, x_3); -x_7 = lean_level_eq(x_1, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = lean_usize_add(x_3, x_8); -x_3 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_array_get_size(x_1); -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_nat_dec_lt(x_4, x_3); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -uint8_t x_7; -x_7 = lean_nat_dec_le(x_3, x_3); -if (x_7 == 0) -{ -uint8_t x_8; -lean_dec(x_3); -x_8 = 0; -return x_8; -} -else -{ -size_t x_9; size_t x_10; uint8_t x_11; -x_9 = 0; -x_10 = lean_usize_of_nat(x_3); -lean_dec(x_3); -x_11 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2(x_2, x_1, x_9, x_10); -return x_11; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -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; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 3); -x_10 = lean_ctor_get(x_2, 3); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -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); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 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; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_accLevelAtCtor___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("failed to compute resulting universe level of inductive datatype, provide universe explicitly"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_accLevelAtCtor___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_accLevelAtCtor___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_accLevelAtCtor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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; -switch (lean_obj_tag(x_1)) { -case 0: -{ -lean_object* x_22; -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_4); -lean_ctor_set(x_22, 1, x_11); -return x_22; -} -case 1: -{ -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_1, 0); -lean_inc(x_23); -x_24 = lean_unsigned_to_nat(0u); -x_25 = lean_nat_dec_eq(x_3, x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_1); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_sub(x_3, x_26); -lean_dec(x_3); -x_1 = x_23; -x_3 = x_27; -goto _start; -} -else -{ -uint8_t x_29; -lean_dec(x_23); -lean_dec(x_3); -x_29 = lean_level_eq(x_1, x_2); -if (x_29 == 0) -{ -uint8_t x_30; -x_30 = l_Lean_Level_occurs(x_2, x_1); -lean_dec(x_2); -if (x_30 == 0) -{ -uint8_t x_31; -lean_dec(x_8); -lean_dec(x_5); -x_31 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_4, x_1); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_array_push(x_4, x_1); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_11); -return x_33; -} -else -{ -lean_object* x_34; -lean_dec(x_1); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_4); -lean_ctor_set(x_34, 1, x_11); -return x_34; -} -} -else -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_4); -lean_dec(x_1); -x_35 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_36 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_35, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_8); -return x_36; -} -} -else -{ -lean_object* x_37; -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_4); -lean_ctor_set(x_37, 1, x_11); -return x_37; -} -} -} -case 4: -{ -lean_object* x_38; uint8_t x_39; -x_38 = lean_unsigned_to_nat(0u); -x_39 = lean_nat_dec_eq(x_3, x_38); -if (x_39 == 0) -{ -uint8_t x_40; -x_40 = l_Lean_Level_occurs(x_2, x_1); -lean_dec(x_2); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_box(0); -x_12 = x_41; -goto block_21; -} -else -{ -lean_object* x_42; lean_object* x_43; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_42 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_43 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_42, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_8); -return x_43; -} -} -else -{ -uint8_t x_44; -x_44 = lean_level_eq(x_1, x_2); -if (x_44 == 0) -{ -uint8_t x_45; -x_45 = l_Lean_Level_occurs(x_2, x_1); -lean_dec(x_2); -if (x_45 == 0) -{ -lean_object* x_46; -x_46 = lean_box(0); -x_12 = x_46; -goto block_21; -} -else -{ -lean_object* x_47; lean_object* x_48; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_47 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_48 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_47, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_8); -return x_48; -} -} -else -{ -lean_object* x_49; -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_4); -lean_ctor_set(x_49, 1, x_11); -return x_49; -} -} -} -case 5: -{ -lean_object* x_50; uint8_t x_51; -x_50 = lean_unsigned_to_nat(0u); -x_51 = lean_nat_dec_eq(x_3, x_50); -if (x_51 == 0) -{ -uint8_t x_52; -x_52 = l_Lean_Level_occurs(x_2, x_1); -lean_dec(x_2); -if (x_52 == 0) -{ -lean_object* x_53; -x_53 = lean_box(0); -x_12 = x_53; -goto block_21; -} -else -{ -lean_object* x_54; lean_object* x_55; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_54 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_55 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_8); -return x_55; -} -} -else -{ -uint8_t x_56; -x_56 = lean_level_eq(x_1, x_2); -if (x_56 == 0) -{ -uint8_t x_57; -x_57 = l_Lean_Level_occurs(x_2, x_1); -lean_dec(x_2); -if (x_57 == 0) -{ -lean_object* x_58; -x_58 = lean_box(0); -x_12 = x_58; -goto block_21; -} -else -{ -lean_object* x_59; lean_object* x_60; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_59 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_60 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_59, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_8); -return x_60; -} -} -else -{ -lean_object* x_61; -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_4); -lean_ctor_set(x_61, 1, x_11); -return x_61; -} -} -} -default: -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_1, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_1, 1); -lean_inc(x_63); -lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_2); -x_64 = l_Lean_Elab_Command_accLevelAtCtor(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_1 = x_63; -x_4 = x_65; -x_11 = x_66; -goto _start; -} -else -{ -uint8_t x_68; -lean_dec(x_63); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_68 = !lean_is_exclusive(x_64); -if (x_68 == 0) -{ -return x_64; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_64, 0); -x_70 = lean_ctor_get(x_64, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_64); -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_21: -{ -lean_object* x_13; uint8_t x_14; -lean_dec(x_12); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_lt(x_13, x_3); -lean_dec(x_3); -if (x_14 == 0) -{ -uint8_t x_15; -lean_dec(x_8); -lean_dec(x_5); -x_15 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_4, x_1); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_array_push(x_4, x_1); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_11); -return x_17; -} -else -{ -lean_object* x_18; -lean_dec(x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_4); -lean_ctor_set(x_18, 1, x_11); -return x_18; -} -} -else -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_4); -lean_dec(x_1); -x_19 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_20 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_8); -return x_20; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_accLevelAtCtor___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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_Elab_Command_accLevelAtCtor(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_7); -lean_dec(x_6); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___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_14; lean_object* x_15; -x_14 = lean_expr_instantiate1(x_1, x_6); -lean_dec(x_6); -lean_dec(x_1); -x_15 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux(x_2, x_3, x_4, x_14, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___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; lean_object* x_14; lean_object* x_15; -x_13 = lean_expr_instantiate1(x_1, x_5); -lean_dec(x_5); -lean_dec(x_1); -x_14 = lean_unsigned_to_nat(0u); -x_15 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux(x_2, x_3, x_14, x_13, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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; -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_eq(x_3, x_13); -if (x_14 == 0) -{ -if (lean_obj_tag(x_4) == 7) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint64_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; -x_15 = lean_ctor_get(x_4, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_4, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_4, 2); -lean_inc(x_17); -x_18 = lean_ctor_get_uint64(x_4, sizeof(void*)*3); -lean_dec(x_4); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_sub(x_3, x_19); -x_21 = (uint8_t)((x_18 << 24) >> 61); -x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___lambda__1), 13, 5); -lean_closure_set(x_22, 0, x_17); -lean_closure_set(x_22, 1, x_1); -lean_closure_set(x_22, 2, x_2); -lean_closure_set(x_22, 3, x_20); -lean_closure_set(x_22, 4, x_5); -x_23 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(x_15, x_21, x_16, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_23; -} -else -{ -lean_object* x_24; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_5); -lean_ctor_set(x_24, 1, x_12); -return x_24; -} -} -else -{ -if (lean_obj_tag(x_4) == 7) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint64_t x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_4, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_4, 1); -lean_inc(x_26); -x_27 = lean_ctor_get(x_4, 2); -lean_inc(x_27); -x_28 = lean_ctor_get_uint64(x_4, sizeof(void*)*3); -lean_dec(x_4); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_26); -x_29 = l_Lean_Meta_getLevel(x_26, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_29) == 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 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_30, x_8, x_9, x_10, x_11, x_31); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -lean_inc(x_9); -lean_inc(x_6); -lean_inc(x_2); -lean_inc(x_1); -x_35 = l_Lean_Elab_Command_accLevelAtCtor(x_33, x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = (uint8_t)((x_28 << 24) >> 61); -x_39 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___lambda__2), 12, 4); -lean_closure_set(x_39, 0, x_27); -lean_closure_set(x_39, 1, x_1); -lean_closure_set(x_39, 2, x_2); -lean_closure_set(x_39, 3, x_36); -x_40 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(x_25, x_38, x_26, x_39, x_6, x_7, x_8, x_9, x_10, x_11, x_37); -return x_40; -} -else -{ -uint8_t x_41; -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_41 = !lean_is_exclusive(x_35); -if (x_41 == 0) -{ -return x_35; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_35, 0); -x_43 = lean_ctor_get(x_35, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_35); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -uint8_t x_45; -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_45 = !lean_is_exclusive(x_29); -if (x_45 == 0) -{ -return x_29; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_29, 0); -x_47 = lean_ctor_get(x_29, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_29); -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 -{ -lean_object* 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_4); -lean_dec(x_2); -lean_dec(x_1); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_5); -lean_ctor_set(x_49, 1, x_12); -return x_49; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux(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_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux(x_1, x_2, x_4, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorType(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_4); -return x_13; -} -} -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_13; -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_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_5); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_4, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_4, 1); -lean_inc(x_15); -lean_dec(x_4); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -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_2); -lean_inc(x_1); -x_17 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux(x_1, x_2, x_3, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -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_4 = x_15; -x_5 = x_18; -x_12 = x_19; -goto _start; -} -else -{ -uint8_t x_21; -lean_dec(x_15); -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_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) -{ -return x_17; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_17, 0); -x_23 = lean_ctor_get(x_17, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_17); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_13; -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_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_5); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_4, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_4, 1); -lean_inc(x_15); -lean_dec(x_4); -x_16 = lean_ctor_get(x_14, 2); -lean_inc(x_16); -lean_dec(x_14); -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_2); -lean_inc(x_1); -x_17 = l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__1(x_1, x_2, x_3, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -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_4 = x_15; -x_5 = x_18; -x_12 = x_19; -goto _start; -} -else -{ -uint8_t x_21; -lean_dec(x_15); -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_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) -{ -return x_17; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_17, 0); -x_23 = lean_ctor_get(x_17, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_17); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; -x_12 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; -x_13 = l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__2(x_1, x_2, x_3, x_4, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -return x_13; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_13); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -else -{ -uint8_t x_18; -x_18 = !lean_is_exclusive(x_13); -if (x_18 == 0) -{ -return x_13; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_13, 0); -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_13); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___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: -{ -lean_object* x_13; -x_13 = l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__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_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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_Inductive_0__Lean_Elab_Command_collectUniverses(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_3); -return x_12; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkResultUniverse(lean_object* x_1, lean_object* x_2) { _start: { @@ -8210,6 +8383,1325 @@ lean_dec(x_2); return x_3; } } +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_uget(x_2, x_3); +x_7 = lean_level_eq(x_1, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +size_t x_8; size_t x_9; +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +x_3 = x_9; +goto _start; +} +else +{ +uint8_t x_11; +x_11 = 1; +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_array_get_size(x_1); +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_lt(x_4, x_3); +if (x_5 == 0) +{ +uint8_t x_6; +lean_dec(x_3); +x_6 = 0; +return x_6; +} +else +{ +uint8_t x_7; +x_7 = lean_nat_dec_le(x_3, x_3); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec(x_3); +x_8 = 0; +return x_8; +} +else +{ +size_t x_9; size_t x_10; uint8_t x_11; +x_9 = 0; +x_10 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_11 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2(x_2, x_1, x_9, x_10); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +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_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +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); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_accLevelAtCtor___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("failed to compute resulting universe level of inductive datatype, provide universe explicitly"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_accLevelAtCtor___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_accLevelAtCtor___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_accLevelAtCtor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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; +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_55 = lean_box(0); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_11); +return x_56; +} +case 1: +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_57 = lean_ctor_get(x_1, 0); +lean_inc(x_57); +x_58 = lean_unsigned_to_nat(0u); +x_59 = lean_nat_dec_eq(x_3, x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_1); +x_60 = lean_unsigned_to_nat(1u); +x_61 = lean_nat_sub(x_3, x_60); +lean_dec(x_3); +x_1 = x_57; +x_3 = x_61; +goto _start; +} +else +{ +uint8_t x_63; +lean_dec(x_57); +lean_dec(x_3); +x_63 = lean_level_eq(x_1, x_2); +if (x_63 == 0) +{ +uint8_t x_64; +x_64 = l_Lean_Level_occurs(x_2, x_1); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +x_65 = lean_st_ref_get(x_10, x_11); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +lean_dec(x_65); +x_67 = lean_st_ref_get(x_4, x_66); +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_69 = lean_ctor_get(x_67, 0); +x_70 = lean_ctor_get(x_67, 1); +x_71 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_69, x_1); +lean_dec(x_69); +if (x_71 == 0) +{ +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; uint8_t x_79; +lean_free_object(x_67); +x_72 = lean_st_ref_get(x_10, x_70); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = lean_st_ref_take(x_4, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_array_push(x_75, x_1); +x_78 = lean_st_ref_set(x_4, x_77, x_76); +x_79 = !lean_is_exclusive(x_78); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_78, 0); +lean_dec(x_80); +x_81 = lean_box(0); +lean_ctor_set(x_78, 0, x_81); +return x_78; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_78, 1); +lean_inc(x_82); +lean_dec(x_78); +x_83 = lean_box(0); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_82); +return x_84; +} +} +else +{ +lean_object* x_85; +lean_dec(x_1); +x_85 = lean_box(0); +lean_ctor_set(x_67, 0, x_85); +return x_67; +} +} +else +{ +lean_object* x_86; lean_object* x_87; uint8_t x_88; +x_86 = lean_ctor_get(x_67, 0); +x_87 = lean_ctor_get(x_67, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_67); +x_88 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_86, x_1); +lean_dec(x_86); +if (x_88 == 0) +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_89 = lean_st_ref_get(x_10, x_87); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_91 = lean_st_ref_take(x_4, x_90); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_array_push(x_92, x_1); +x_95 = lean_st_ref_set(x_4, x_94, x_93); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_97 = x_95; +} else { + lean_dec_ref(x_95); + x_97 = lean_box(0); +} +x_98 = lean_box(0); +if (lean_is_scalar(x_97)) { + x_99 = lean_alloc_ctor(0, 2, 0); +} else { + x_99 = x_97; +} +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_96); +return x_99; +} +else +{ +lean_object* x_100; lean_object* x_101; +lean_dec(x_1); +x_100 = lean_box(0); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_87); +return x_101; +} +} +} +else +{ +lean_object* x_102; lean_object* x_103; +lean_dec(x_1); +x_102 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; +x_103 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_102, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +return x_103; +} +} +else +{ +lean_object* x_104; lean_object* x_105; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_1); +x_104 = lean_box(0); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_11); +return x_105; +} +} +} +case 4: +{ +lean_object* x_106; uint8_t x_107; +x_106 = lean_unsigned_to_nat(0u); +x_107 = lean_nat_dec_eq(x_3, x_106); +if (x_107 == 0) +{ +uint8_t x_108; +x_108 = l_Lean_Level_occurs(x_2, x_1); +if (x_108 == 0) +{ +lean_object* x_109; +x_109 = lean_box(0); +x_12 = x_109; +goto block_54; +} +else +{ +lean_object* x_110; lean_object* x_111; +lean_dec(x_3); +lean_dec(x_1); +x_110 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; +x_111 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_110, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +return x_111; +} +} +else +{ +uint8_t x_112; +x_112 = lean_level_eq(x_1, x_2); +if (x_112 == 0) +{ +uint8_t x_113; +x_113 = l_Lean_Level_occurs(x_2, x_1); +if (x_113 == 0) +{ +lean_object* x_114; +x_114 = lean_box(0); +x_12 = x_114; +goto block_54; +} +else +{ +lean_object* x_115; lean_object* x_116; +lean_dec(x_3); +lean_dec(x_1); +x_115 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; +x_116 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_115, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +return x_116; +} +} +else +{ +lean_object* x_117; lean_object* x_118; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_117 = lean_box(0); +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_11); +return x_118; +} +} +} +case 5: +{ +lean_object* x_119; uint8_t x_120; +x_119 = lean_unsigned_to_nat(0u); +x_120 = lean_nat_dec_eq(x_3, x_119); +if (x_120 == 0) +{ +uint8_t x_121; +x_121 = l_Lean_Level_occurs(x_2, x_1); +if (x_121 == 0) +{ +lean_object* x_122; +x_122 = lean_box(0); +x_12 = x_122; +goto block_54; +} +else +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_3); +lean_dec(x_1); +x_123 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; +x_124 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_123, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +return x_124; +} +} +else +{ +uint8_t x_125; +x_125 = lean_level_eq(x_1, x_2); +if (x_125 == 0) +{ +uint8_t x_126; +x_126 = l_Lean_Level_occurs(x_2, x_1); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_box(0); +x_12 = x_127; +goto block_54; +} +else +{ +lean_object* x_128; lean_object* x_129; +lean_dec(x_3); +lean_dec(x_1); +x_128 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; +x_129 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +return x_129; +} +} +else +{ +lean_object* x_130; lean_object* x_131; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_130 = lean_box(0); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_11); +return x_131; +} +} +} +default: +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_1, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_1, 1); +lean_inc(x_133); +lean_dec(x_1); +lean_inc(x_9); +lean_inc(x_7); +lean_inc(x_5); +lean_inc(x_3); +x_134 = l_Lean_Elab_Command_accLevelAtCtor(x_132, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +lean_dec(x_134); +x_1 = x_133; +x_11 = x_135; +goto _start; +} +else +{ +uint8_t x_137; +lean_dec(x_133); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +x_137 = !lean_is_exclusive(x_134); +if (x_137 == 0) +{ +return x_134; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_134, 0); +x_139 = lean_ctor_get(x_134, 1); +lean_inc(x_139); +lean_inc(x_138); +lean_dec(x_134); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +return x_140; +} +} +} +} +block_54: +{ +lean_object* x_13; uint8_t x_14; +lean_dec(x_12); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_3); +lean_dec(x_3); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +x_15 = lean_st_ref_get(x_10, x_11); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_st_ref_get(x_4, x_16); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +x_21 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_19, x_1); +lean_dec(x_19); +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; uint8_t x_29; +lean_free_object(x_17); +x_22 = lean_st_ref_get(x_10, x_20); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_st_ref_take(x_4, x_23); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_array_push(x_25, x_1); +x_28 = lean_st_ref_set(x_4, x_27, x_26); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_28, 0); +lean_dec(x_30); +x_31 = lean_box(0); +lean_ctor_set(x_28, 0, x_31); +return x_28; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_28, 1); +lean_inc(x_32); +lean_dec(x_28); +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); +return x_34; +} +} +else +{ +lean_object* x_35; +lean_dec(x_1); +x_35 = lean_box(0); +lean_ctor_set(x_17, 0, x_35); +return x_17; +} +} +else +{ +lean_object* x_36; lean_object* x_37; uint8_t 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_38 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_36, x_1); +lean_dec(x_36); +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; +x_39 = lean_st_ref_get(x_10, x_37); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_st_ref_take(x_4, x_40); +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); +x_44 = lean_array_push(x_42, x_1); +x_45 = lean_st_ref_set(x_4, x_44, x_43); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_47 = x_45; +} else { + lean_dec_ref(x_45); + x_47 = lean_box(0); +} +x_48 = lean_box(0); +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 2, 0); +} else { + x_49 = x_47; +} +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_46); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_1); +x_50 = lean_box(0); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_37); +return x_51; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_1); +x_52 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; +x_53 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_52, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +return x_53; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_accLevelAtCtor___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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_Elab_Command_accLevelAtCtor(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_8); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_5, x_4); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_6); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_6); +x_17 = lean_ctor_get(x_3, 0); +x_18 = lean_array_uget(x_17, x_5); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_19 = lean_infer_type(x_18, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_22 = l_Lean_Meta_getLevel(x_20, x_10, x_11, x_12, x_13, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_23, x_10, x_11, x_12, x_13, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_12); +lean_inc(x_10); +lean_inc(x_8); +lean_inc(x_2); +x_28 = l_Lean_Elab_Command_accLevelAtCtor(x_26, x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = 1; +x_31 = lean_usize_add(x_5, x_30); +x_32 = lean_box(0); +x_5 = x_31; +x_6 = x_32; +x_14 = x_29; +goto _start; +} +else +{ +uint8_t x_34; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) +{ +return x_28; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_28, 0); +x_36 = lean_ctor_get(x_28, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_28); +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_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) +{ +return x_22; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_22, 0); +x_40 = lean_ctor_get(x_22, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_22); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_42 = !lean_is_exclusive(x_19); +if (x_42 == 0) +{ +return x_19; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_19, 0); +x_44 = lean_ctor_get(x_19, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_19); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__2___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_12; +x_12 = lean_apply_10(x_1, x_5, x_6, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__2___rarg___lambda__1), 11, 4); +lean_closure_set(x_11, 0, x_2); +lean_closure_set(x_11, 1, x_3); +lean_closure_set(x_11, 2, x_4); +lean_closure_set(x_11, 3, x_5); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(x_1, x_11, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__2___rarg), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__3___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_14; lean_object* x_15; lean_object* x_16; size_t x_17; lean_object* x_18; size_t x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_array_get_size(x_4); +x_15 = l_Array_toSubarray___rarg(x_4, x_1, x_14); +x_16 = lean_ctor_get(x_15, 2); +lean_inc(x_16); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = lean_box(0); +x_21 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__1(x_2, x_3, x_15, x_17, x_19, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_15); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_20); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +return x_21; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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); +return x_14; +} +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_4, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_4, 1); +lean_inc(x_16); +lean_dec(x_4); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_inc(x_2); +lean_inc(x_1); +lean_inc(x_3); +x_18 = lean_alloc_closure((void*)(l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__3___lambda__1___boxed), 13, 3); +lean_closure_set(x_18, 0, x_3); +lean_closure_set(x_18, 1, x_1); +lean_closure_set(x_18, 2, x_2); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_19 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__2___rarg(x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_4 = x_16; +x_12 = x_20; +goto _start; +} +else +{ +uint8_t x_22; +lean_dec(x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +return x_19; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_19, 0); +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_19); +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_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_4, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_4, 1); +lean_inc(x_16); +lean_dec(x_4); +x_17 = lean_ctor_get(x_15, 2); +lean_inc(x_17); +lean_dec(x_15); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_18 = l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__3(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_4 = x_16; +x_12 = x_19; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 0); +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_18); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__1(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_9); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__3___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_6); +lean_dec(x_5); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; +x_15 = lean_st_mk_ref(x_14, x_13); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_inc(x_10); +lean_inc(x_16); +x_18 = l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__4(x_1, x_2, x_3, x_4, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_st_ref_get(x_10, x_19); +lean_dec(x_10); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_st_ref_get(x_16, x_21); +lean_dec(x_16); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_16); +lean_dec(x_10); +x_27 = !lean_is_exclusive(x_18); +if (x_27 == 0) +{ +return x_18; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_18, 0); +x_29 = lean_ctor_get(x_18, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_18); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -8637,7 +10129,6 @@ lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); x_13 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_3); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; @@ -8915,7 +10406,7 @@ lean_dec(x_2); return x_12; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__1() { _start: { lean_object* x_1; @@ -8923,17 +10414,17 @@ x_1 = lean_mk_string("bootstrap"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__3() { _start: { lean_object* x_1; @@ -8941,17 +10432,17 @@ x_1 = lean_mk_string("inductiveCheckResultingUniverse"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__2; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__3; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__5() { _start: { lean_object* x_1; @@ -8959,13 +10450,13 @@ x_1 = lean_mk_string("by default the `inductive/structure commands report an err return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__6() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__5; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__1; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -8974,12 +10465,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__4; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__6; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__4; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__6; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_1); return x_4; } @@ -9150,62 +10641,1856 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_9; +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_6, x_5); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_7); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +lean_dec(x_7); +x_17 = lean_array_uget(x_4, x_6); +x_18 = lean_ctor_get(x_17, 2); +lean_inc(x_18); +x_19 = lean_name_eq(x_18, x_1); +lean_dec(x_18); +if (x_19 == 0) +{ +size_t x_20; size_t x_21; +lean_dec(x_17); +x_20 = 1; +x_21 = lean_usize_add(x_6, x_20); +lean_inc(x_3); +{ +size_t _tmp_5 = x_21; +lean_object* _tmp_6 = x_3; +x_6 = _tmp_5; +x_7 = _tmp_6; +} +goto _start; +} +else +{ +lean_object* x_23; uint8_t x_24; +lean_dec(x_3); +x_23 = lean_ctor_get(x_17, 0); +lean_inc(x_23); +lean_dec(x_17); +x_24 = !lean_is_exclusive(x_12); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_12, 3); +x_26 = l_Lean_replaceRef(x_23, x_25); +lean_dec(x_25); +lean_dec(x_23); +lean_ctor_set(x_12, 3, x_26); +x_27 = lean_apply_7(x_2, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_27, 0); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_box(0); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_27, 0, x_32); +return x_27; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_33 = lean_ctor_get(x_27, 0); +x_34 = lean_ctor_get(x_27, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_27); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_33); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_34); +return x_38; +} +} +else +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_27); +if (x_39 == 0) +{ +return x_27; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_27, 0); +x_41 = lean_ctor_get(x_27, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_27); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_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_43 = lean_ctor_get(x_12, 0); +x_44 = lean_ctor_get(x_12, 1); +x_45 = lean_ctor_get(x_12, 2); +x_46 = lean_ctor_get(x_12, 3); +x_47 = lean_ctor_get(x_12, 4); +x_48 = lean_ctor_get(x_12, 5); +x_49 = lean_ctor_get(x_12, 6); +x_50 = lean_ctor_get(x_12, 7); +x_51 = lean_ctor_get(x_12, 8); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_12); +x_52 = l_Lean_replaceRef(x_23, x_46); +lean_dec(x_46); +lean_dec(x_23); +x_53 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_53, 0, x_43); +lean_ctor_set(x_53, 1, x_44); +lean_ctor_set(x_53, 2, x_45); +lean_ctor_set(x_53, 3, x_52); +lean_ctor_set(x_53, 4, x_47); +lean_ctor_set(x_53, 5, x_48); +lean_ctor_set(x_53, 6, x_49); +lean_ctor_set(x_53, 7, x_50); +lean_ctor_set(x_53, 8, x_51); +x_54 = lean_apply_7(x_2, x_8, x_9, x_10, x_11, x_53, x_13, x_14); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_57 = x_54; +} else { + lean_dec_ref(x_54); + x_57 = lean_box(0); +} +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_55); +x_59 = lean_box(0); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +if (lean_is_scalar(x_57)) { + x_61 = lean_alloc_ctor(0, 2, 0); +} else { + x_61 = x_57; +} +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_56); +return x_61; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_62 = lean_ctor_get(x_54, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_54, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_64 = x_54; +} else { + lean_dec_ref(x_54); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(1, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_62); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__1___rarg___boxed), 14, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_6, x_5); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_7); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +lean_dec(x_7); +x_17 = lean_array_uget(x_4, x_6); +x_18 = lean_ctor_get(x_17, 7); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_array_get_size(x_18); +x_20 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_21 = 0; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc_n(x_3, 2); +lean_inc(x_2); +x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__1___rarg(x_1, x_2, x_3, x_18, x_20, x_21, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_18); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec(x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; size_t x_26; size_t x_27; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = 1; +x_27 = lean_usize_add(x_6, x_26); +lean_inc(x_3); +{ +size_t _tmp_5 = x_27; +lean_object* _tmp_6 = x_3; +lean_object* _tmp_13 = x_25; +x_6 = _tmp_5; +x_7 = _tmp_6; +x_14 = _tmp_13; +} +goto _start; +} +else +{ +uint8_t x_29; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_22); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = lean_ctor_get(x_22, 0); +lean_dec(x_30); +x_31 = !lean_is_exclusive(x_24); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_24); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_22, 0, x_33); +return x_22; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_24, 0); +lean_inc(x_34); +lean_dec(x_24); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_22, 0, x_37); +return x_22; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_38 = lean_ctor_get(x_22, 1); +lean_inc(x_38); +lean_dec(x_22); +x_39 = lean_ctor_get(x_24, 0); +lean_inc(x_39); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + x_40 = x_24; +} else { + lean_dec_ref(x_24); + x_40 = lean_box(0); +} +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(1, 1, 0); +} else { + x_41 = x_40; +} +lean_ctor_set(x_41, 0, x_39); +x_42 = lean_box(0); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_38); +return x_44; +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_45 = !lean_is_exclusive(x_22); +if (x_45 == 0) +{ +return x_22; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_22, 0); +x_47 = lean_ctor_get(x_22, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_22); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__2___rarg___boxed), 14, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___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 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +static lean_object* _init_l_Lean_Elab_Command_withCtorRef___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_array_get_size(x_1); +x_12 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_13 = 0; +x_14 = l_Lean_Elab_Command_withCtorRef___rarg___closed__1; +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_9 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__2___rarg(x_2, x_3, x_14, x_1, x_12, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 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_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec(x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_apply_7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +return x_19; +} +else +{ +uint8_t x_20; lean_dec(x_9); -x_12 = l_Lean_Elab_Command_checkResultingUniverse(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_12; +x_20 = !lean_is_exclusive(x_15); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_15, 0); +lean_dec(x_21); +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_22); +lean_dec(x_17); +lean_ctor_set(x_15, 0, x_22); +return x_15; } else { -uint8_t x_13; +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 1); +lean_inc(x_23); +lean_dec(x_15); +x_24 = lean_ctor_get(x_17, 0); +lean_inc(x_24); +lean_dec(x_17); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; +} +} +} +else +{ +uint8_t x_26; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_26 = !lean_is_exclusive(x_15); +if (x_26 == 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_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; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withCtorRef___rarg___boxed), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__1___rarg(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_4); +lean_dec(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_withCtorRef___spec__2___rarg(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_4); +lean_dec(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___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_Lean_Elab_Command_withCtorRef___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_withCtorRef___rarg(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; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" has type"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("\nat universe level"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("\nit must be smaller than or equal to the inductive datatype universe level"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___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) { +_start: +{ +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; +x_15 = l_Lean_indentExpr(x_1); +x_16 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_6); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_21, 0, x_2); +x_22 = l_Lean_indentD(x_21); +x_23 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__4; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_18); +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_20); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_27, 0, x_3); +x_28 = l_Lean_indentD(x_27); +x_29 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__6; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_18); +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_26); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___boxed), 8, 1); +lean_closure_set(x_33, 0, x_32); +x_34 = l_Lean_Elab_Command_withCtorRef___rarg(x_4, x_5, x_33, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_34; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid universe level in constructor '"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("', parameter"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" '"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +switch (lean_obj_tag(x_7)) { +case 1: +{ +if (lean_obj_tag(x_8) == 1) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_7, 0); +lean_inc(x_16); +lean_dec(x_7); +x_17 = lean_ctor_get(x_8, 0); +lean_inc(x_17); +lean_dec(x_8); +x_7 = x_16; +x_8 = x_17; +goto _start; +} +else +{ +uint8_t x_19; +lean_dec(x_8); +lean_dec(x_7); +lean_inc(x_6); +lean_inc(x_2); +x_19 = l_Lean_Level_geq(x_2, x_6); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_3, 0); +lean_inc(x_20); +lean_dec(x_3); +lean_inc(x_20); +x_21 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__2; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__4; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +lean_inc(x_11); +lean_inc(x_4); +x_26 = l_Lean_Meta_getFVarLocalDecl(x_4, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +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 = l_Lean_LocalDecl_userName(x_27); +lean_dec(x_27); +x_30 = l_Lean_Name_hasMacroScopes(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_31 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_31, 0, x_4); +x_32 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__6; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__8; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_25); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_box(0); +x_38 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1(x_5, x_6, x_2, x_1, x_20, x_36, x_37, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +lean_dec(x_20); +lean_dec(x_1); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_4); +x_39 = lean_box(0); +x_40 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1(x_5, x_6, x_2, x_1, x_20, x_25, x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +lean_dec(x_20); +lean_dec(x_1); +return x_40; +} +} +else +{ +uint8_t x_41; +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_41 = !lean_is_exclusive(x_26); +if (x_41 == 0) +{ +return x_26; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_26, 0); +x_43 = lean_ctor_get(x_26, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_26); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_15); +return x_46; +} +} +} +case 5: +{ +switch (lean_obj_tag(x_8)) { +case 0: +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_10); +lean_dec(x_9); +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_47 = lean_ctor_get(x_7, 0); +lean_inc(x_47); +lean_dec(x_7); +x_48 = l_Lean_Meta_assignLevelMVar(x_47, x_8, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +return x_48; +} +case 4: +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_10); +lean_dec(x_9); +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_49 = lean_ctor_get(x_7, 0); +lean_inc(x_49); +lean_dec(x_7); +x_50 = l_Lean_Meta_assignLevelMVar(x_49, x_8, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +return x_50; +} +default: +{ +uint8_t x_51; +lean_dec(x_8); +lean_dec(x_7); +lean_inc(x_6); +lean_inc(x_2); +x_51 = l_Lean_Level_geq(x_2, x_6); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_52 = lean_ctor_get(x_3, 0); +lean_inc(x_52); +lean_dec(x_3); +lean_inc(x_52); +x_53 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_53, 0, x_52); +x_54 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__2; +x_55 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__4; +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +lean_inc(x_11); +lean_inc(x_4); +x_58 = l_Lean_Meta_getFVarLocalDecl(x_4, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Lean_LocalDecl_userName(x_59); +lean_dec(x_59); +x_62 = l_Lean_Name_hasMacroScopes(x_61); +lean_dec(x_61); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_63 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_63, 0, x_4); +x_64 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__6; +x_65 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +x_66 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__8; +x_67 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_68, 0, x_57); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_box(0); +x_70 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1(x_5, x_6, x_2, x_1, x_52, x_68, x_69, x_9, x_10, x_11, x_12, x_13, x_14, x_60); +lean_dec(x_52); +lean_dec(x_1); +return x_70; +} +else +{ +lean_object* x_71; lean_object* x_72; +lean_dec(x_4); +x_71 = lean_box(0); +x_72 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1(x_5, x_6, x_2, x_1, x_52, x_57, x_71, x_9, x_10, x_11, x_12, x_13, x_14, x_60); +lean_dec(x_52); +lean_dec(x_1); +return x_72; +} +} +else +{ +uint8_t x_73; +lean_dec(x_57); +lean_dec(x_52); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_73 = !lean_is_exclusive(x_58); +if (x_73 == 0) +{ +return x_58; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_58, 0); +x_75 = lean_ctor_get(x_58, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_58); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +else +{ +lean_object* x_77; lean_object* x_78; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_77 = lean_box(0); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_15); +return x_78; +} +} +} +} +default: +{ +uint8_t x_79; +lean_dec(x_8); +lean_dec(x_7); +lean_inc(x_6); +lean_inc(x_2); +x_79 = l_Lean_Level_geq(x_2, x_6); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_80 = lean_ctor_get(x_3, 0); +lean_inc(x_80); +lean_dec(x_3); +lean_inc(x_80); +x_81 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__2; +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_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__4; +x_85 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +lean_inc(x_11); +lean_inc(x_4); +x_86 = l_Lean_Meta_getFVarLocalDecl(x_4, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_86) == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = l_Lean_LocalDecl_userName(x_87); +lean_dec(x_87); +x_90 = l_Lean_Name_hasMacroScopes(x_89); +lean_dec(x_89); +if (x_90 == 0) +{ +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; +x_91 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_91, 0, x_4); +x_92 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__6; +x_93 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +x_94 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__8; +x_95 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_96, 0, x_85); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_box(0); +x_98 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1(x_5, x_6, x_2, x_1, x_80, x_96, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_88); +lean_dec(x_80); +lean_dec(x_1); +return x_98; +} +else +{ +lean_object* x_99; lean_object* x_100; +lean_dec(x_4); +x_99 = lean_box(0); +x_100 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1(x_5, x_6, x_2, x_1, x_80, x_85, x_99, x_9, x_10, x_11, x_12, x_13, x_14, x_88); +lean_dec(x_80); +lean_dec(x_1); +return x_100; +} +} +else +{ +uint8_t x_101; +lean_dec(x_85); +lean_dec(x_80); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_101 = !lean_is_exclusive(x_86); +if (x_101 == 0) +{ +return x_86; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_86, 0); +x_103 = lean_ctor_get(x_86, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_86); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_105 = lean_box(0); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_15); +return x_106; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___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, x_14); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_6, x_5); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_7); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_7); +x_17 = lean_ctor_get(x_4, 0); +x_18 = lean_array_uget(x_17, x_6); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_18); +x_19 = lean_infer_type(x_18, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_20); +x_22 = l_Lean_Meta_getLevel(x_20, x_10, x_11, x_12, x_13, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_23, x_10, x_11, x_12, x_13, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_Level_normalize(x_26); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_28); +lean_inc(x_3); +lean_inc_n(x_2, 2); +lean_inc(x_1); +x_29 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check(x_1, x_2, x_3, x_18, x_20, x_28, x_28, x_2, x_8, x_9, x_10, x_11, x_12, x_13, x_27); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = 1; +x_32 = lean_usize_add(x_6, x_31); +x_33 = lean_box(0); +x_6 = x_32; +x_7 = x_33; +x_14 = x_30; +goto _start; +} +else +{ +uint8_t x_35; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_35 = !lean_is_exclusive(x_29); +if (x_35 == 0) +{ +return x_29; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_29, 0); +x_37 = lean_ctor_get(x_29, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_29); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_dec(x_20); +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_39 = !lean_is_exclusive(x_22); +if (x_39 == 0) +{ +return x_22; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_22, 0); +x_41 = lean_ctor_get(x_22, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_22); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_43 = !lean_is_exclusive(x_19); +if (x_43 == 0) +{ +return x_19; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_19, 0); +x_45 = lean_ctor_get(x_19, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_19); +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_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; lean_object* x_18; size_t x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_array_get_size(x_5); +x_15 = l_Array_toSubarray___rarg(x_5, x_1, x_14); +x_16 = lean_ctor_get(x_15, 2); +lean_inc(x_16); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = lean_box(0); +x_21 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__1(x_2, x_3, x_4, x_15, x_17, x_19, x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_15); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_20); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +return x_21; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_12; lean_object* x_13; +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); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(0); +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; +} +else +{ +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_4, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_4, 1); +lean_inc(x_15); +lean_dec(x_4); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_inc(x_3); +lean_inc(x_1); +lean_inc(x_2); +x_17 = lean_alloc_closure((void*)(l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2___lambda__1___boxed), 13, 4); +lean_closure_set(x_17, 0, x_2); +lean_closure_set(x_17, 1, x_1); +lean_closure_set(x_17, 2, x_3); +lean_closure_set(x_17, 3, x_14); +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_18 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1___rarg(x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_4 = x_15; +x_11 = x_19; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_15); +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); +lean_dec(x_2); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 0); +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_18); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_12; lean_object* x_13; +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); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(0); +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; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_4, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_4, 1); +lean_inc(x_15); +lean_dec(x_4); +x_16 = lean_ctor_get(x_14, 2); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_17 = l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2(x_1, x_2, x_3, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_4 = x_15; +x_11 = x_18; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_15); +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); +lean_dec(x_2); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +return x_17; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_17, 0); +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_17); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_11 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse(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; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_12, x_6, x_7, x_8, x_9, x_13); +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_Level_normalize(x_15); +lean_inc(x_4); +lean_inc(x_17); +x_18 = l_Lean_Elab_Command_checkResultingUniverse(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_18, 1); +x_21 = lean_ctor_get(x_18, 0); +lean_dec(x_21); +x_22 = l_Lean_Level_isZero(x_17); +if (x_22 == 0) +{ +lean_object* x_23; +lean_free_object(x_18); +x_23 = l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__3(x_1, x_2, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +return x_23; +} +else +{ +lean_object* x_24; +lean_dec(x_17); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -return x_9; +lean_dec(x_1); +x_24 = lean_box(0); +lean_ctor_set(x_18, 0, x_24); +return x_18; +} } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_9, 0); -x_15 = lean_ctor_get(x_9, 1); -lean_inc(x_15); -lean_inc(x_14); +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_26 = l_Lean_Level_isZero(x_17); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__3(x_1, x_2, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_17); lean_dec(x_9); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_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_25); +return x_29; } } } +else +{ +uint8_t x_30; +lean_dec(x_17); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_18); +if (x_30 == 0) +{ +return x_18; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_18, 0); +x_32 = lean_ctor_get(x_18, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_18); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_11); +if (x_34 == 0) +{ +return x_11; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_11, 0); +x_36 = lean_ctor_get(x_11, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_11); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__1(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_4); +return x_17; +} +} +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +return x_14; +} } LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: @@ -16713,7 +19998,7 @@ _start: lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; lean_object* x_26; size_t x_27; lean_object* x_28; x_12 = lean_unsigned_to_nat(0u); x_13 = l_Lean_Expr_getAppNumArgsAux(x_6, x_12); -x_14 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__1; +x_14 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1___closed__1; lean_inc(x_13); x_15 = lean_mk_array(x_13, x_14); x_16 = lean_unsigned_to_nat(1u); @@ -21357,79 +24642,115 @@ static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_m _start: { lean_object* x_1; -x_1 = lean_mk_string("levelParams: "); +x_1 = lean_mk_string("Meta"); return x_1; } } static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("debug"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__2; +x_2 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("levelParams: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__6() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__1; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_18; lean_object* x_19; -lean_inc(x_10); -x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive(x_10); -x_19 = l_Lean_Elab_sortDeclLevelParams(x_1, x_2, x_18); -if (lean_obj_tag(x_19) == 0) +lean_object* x_17; lean_object* x_18; +lean_inc(x_9); +x_17 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive(x_9); +x_18 = l_Lean_Elab_sortDeclLevelParams(x_1, x_2, x_17); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_10); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_alloc_ctor(2, 1, 0); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_21, 0, x_20); -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_21); -x_23 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec(x_16); +x_22 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_21, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -return x_23; +lean_dec(x_11); +return x_22; } else { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_19, 0); -lean_inc(x_24); -lean_dec(x_19); -lean_inc(x_16); +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 0); +lean_inc(x_23); +lean_dec(x_18); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_6); -lean_inc(x_24); +lean_inc(x_23); lean_inc(x_3); -x_25 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts(x_3, x_4, x_24, x_5, x_6, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_25) == 0) +x_24 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts(x_3, x_4, x_23, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_26 = lean_ctor_get(x_25, 0); +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_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); +lean_dec(x_24); lean_inc(x_6); lean_inc(x_3); -x_28 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod(x_3, x_6, x_26); -x_45 = lean_st_ref_get(x_16, x_27); +x_27 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod(x_3, x_6, x_25); +x_28 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__4; +x_45 = lean_st_ref_get(x_15, x_26); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); x_47 = lean_ctor_get(x_46, 3); @@ -21454,8 +24775,7 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint x_51 = lean_ctor_get(x_45, 1); lean_inc(x_51); lean_dec(x_45); -lean_inc(x_9); -x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_9, x_11, x_12, x_13, x_14, x_15, x_16, x_51); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_28, x_10, x_11, x_12, x_13, x_14, x_15, x_51); x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); @@ -21472,20 +24792,19 @@ block_44: if (x_29 == 0) { lean_object* x_31; lean_object* x_32; -lean_dec(x_9); x_31 = lean_box(0); -x_32 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2(x_24, x_6, x_28, x_7, x_3, x_8, x_31, x_11, x_12, x_13, x_14, x_15, x_16, x_30); +x_32 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2(x_23, x_6, x_27, x_7, x_3, x_8, x_31, x_10, x_11, x_12, x_13, x_14, x_15, x_30); return x_32; } else { 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; x_33 = lean_box(0); -lean_inc(x_24); -x_34 = l_List_mapTRAux___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(x_24, x_33); +lean_inc(x_23); +x_34 = l_List_mapTRAux___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(x_23, x_33); x_35 = l_Lean_MessageData_ofList(x_34); lean_dec(x_34); -x_36 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__2; +x_36 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__6; x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); @@ -21493,13 +24812,13 @@ x_38 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResult x_39 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_9, x_39, x_11, x_12, x_13, x_14, x_15, x_16, x_30); +x_40 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_28, x_39, x_10, x_11, x_12, x_13, x_14, x_15, x_30); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2(x_24, x_6, x_28, x_7, x_3, x_8, x_41, x_11, x_12, x_13, x_14, x_15, x_16, x_42); +x_43 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2(x_23, x_6, x_27, x_7, x_3, x_8, x_41, x_10, x_11, x_12, x_13, x_14, x_15, x_42); return x_43; } } @@ -21507,30 +24826,29 @@ return x_43; else { uint8_t x_56; -lean_dec(x_24); -lean_dec(x_16); +lean_dec(x_23); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_9); +lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); lean_dec(x_3); -x_56 = !lean_is_exclusive(x_25); +x_56 = !lean_is_exclusive(x_24); if (x_56 == 0) { -return x_25; +return x_24; } else { lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_25, 0); -x_58 = lean_ctor_get(x_25, 1); +x_57 = lean_ctor_get(x_24, 0); +x_58 = lean_ctor_get(x_24, 1); lean_inc(x_58); lean_inc(x_57); -lean_dec(x_25); +lean_dec(x_24); x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_57); lean_ctor_set(x_59, 1, x_58); @@ -21540,364 +24858,194 @@ return x_59; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_array_get_size(x_11); -x_20 = lean_nat_add(x_19, x_1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_array_get_size(x_10); +x_19 = lean_nat_add(x_18, x_1); lean_dec(x_1); -x_21 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__2(x_11, x_2, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_21) == 0) +x_20 = l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__2(x_10, x_2, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam(x_22, x_12, x_13, x_14, x_15, x_16, x_17, x_23); -if (x_10 == 0) +if (x_9 == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_25); -x_27 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses(x_25, x_12, x_13, x_14, x_15, x_16, x_17, x_26); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); -x_29 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_3, x_4, x_5, x_6, x_19, x_20, x_7, x_8, x_9, x_25, x_12, x_13, x_14, x_15, x_16, x_17, x_28); -return x_29; -} -else -{ -uint8_t x_30; -lean_dec(x_25); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_30 = !lean_is_exclusive(x_27); -if (x_30 == 0) -{ -return x_27; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_27, 0); -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_27); -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_24, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_24, 1); -lean_inc(x_35); -lean_dec(x_24); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_20); -x_36 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse(x_20, x_34, x_12, x_13, x_14, x_15, x_16, x_17, x_35); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_3, x_4, x_5, x_6, x_19, x_20, x_7, x_8, x_9, x_37, x_12, x_13, x_14, x_15, x_16, x_17, x_38); -return x_39; -} -else -{ -uint8_t x_40; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_40 = !lean_is_exclusive(x_36); -if (x_40 == 0) -{ -return x_36; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_36, 0); -x_42 = lean_ctor_get(x_36, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_36); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -} -else -{ -uint8_t x_44; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_44 = !lean_is_exclusive(x_21); -if (x_44 == 0) -{ -return x_21; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_21, 0); -x_46 = lean_ctor_get(x_21, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_21); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { -_start: -{ -lean_object* x_19; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_1); -x_19 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse(x_1, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); lean_inc(x_12); -x_22 = l_Lean_Elab_Command_shouldInferResultUniverse(x_20, x_12, x_13, x_14, x_15, x_16, x_17, x_21); -if (lean_obj_tag(x_22) == 0) +lean_inc(x_11); +lean_inc(x_21); +lean_inc(x_19); +lean_inc(x_5); +x_23 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses(x_5, x_19, x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_22); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_box(x_7); -lean_inc(x_1); -x_26 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed), 18, 10); -lean_closure_set(x_26, 0, x_2); -lean_closure_set(x_26, 1, x_1); -lean_closure_set(x_26, 2, x_3); -lean_closure_set(x_26, 3, x_4); -lean_closure_set(x_26, 4, x_5); -lean_closure_set(x_26, 5, x_6); -lean_closure_set(x_26, 6, x_25); -lean_closure_set(x_26, 7, x_8); -lean_closure_set(x_26, 8, x_9); -lean_closure_set(x_26, 9, x_23); -x_27 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed___rarg(x_10, x_1, x_26, x_12, x_13, x_14, x_15, x_16, x_17, x_24); -return x_27; +lean_dec(x_23); +x_25 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam(x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_3, x_4, x_5, x_6, x_18, x_19, x_7, x_8, x_26, x_11, x_12, x_13, x_14, x_15, x_16, x_27); +return x_28; } else { -uint8_t x_28; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_28 = !lean_is_exclusive(x_22); -if (x_28 == 0) -{ -return x_22; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_22, 0); -x_30 = lean_ctor_get(x_22, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_22); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -else -{ -uint8_t x_32; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_32 = !lean_is_exclusive(x_19); -if (x_32 == 0) -{ -return x_19; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_19, 0); -x_34 = lean_ctor_get(x_19, 1); -lean_inc(x_34); -lean_inc(x_33); +uint8_t x_29; +lean_dec(x_21); lean_dec(x_19); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__1() { -_start: +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) { -lean_object* x_1; -x_1 = lean_mk_string("Meta"); -return x_1; +return x_23; } -} -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__2() { -_start: +else { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_23, 0); +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_23); +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; } } -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__3() { -_start: +} +else { -lean_object* x_1; -x_1 = lean_mk_string("debug"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__4() { -_start: +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_33 = lean_ctor_get(x_20, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_20, 1); +lean_inc(x_34); +lean_dec(x_20); +x_35 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam(x_33, x_11, x_12, x_13, x_14, x_15, x_16, x_34); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_19); +x_38 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse(x_19, x_36, x_11, x_12, x_13, x_14, x_15, x_16, x_37); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__2; -x_2 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_3, x_4, x_5, x_6, x_18, x_19, x_7, x_8, x_39, x_11, x_12, x_13, x_14, x_15, x_16, x_40); +return x_41; } -} -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__5() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string("numExplicitParams: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__6() { -_start: +uint8_t x_42; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; +return x_38; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +} +} +else +{ +uint8_t x_46; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_46 = !lean_is_exclusive(x_20); +if (x_46 == 0) +{ +return x_20; +} +else +{ +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; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -21915,7 +25063,6 @@ lean_inc(x_16); lean_inc(x_8); lean_inc(x_7); x_20 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__1(x_2, x_7, x_8, x_16, x_17, x_16, x_18, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_2); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; @@ -21948,7 +25095,7 @@ lean_inc(x_8); x_27 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams(x_26, x_21, x_8, x_11, x_12, x_13, x_14, x_25); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +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_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); @@ -21959,86 +25106,52 @@ lean_inc(x_30); x_31 = lean_ctor_get(x_28, 1); lean_inc(x_31); lean_dec(x_28); -x_32 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__4; -x_49 = lean_st_ref_get(x_14, x_29); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_50, 3); -lean_inc(x_51); -lean_dec(x_50); -x_52 = lean_ctor_get_uint8(x_51, sizeof(void*)*1); -lean_dec(x_51); -if (x_52 == 0) +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_31); +x_32 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse(x_31, x_9, x_10, x_11, x_12, x_13, x_14, x_29); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_53; -x_53 = lean_ctor_get(x_49, 1); -lean_inc(x_53); -lean_dec(x_49); -x_33 = x_23; -x_34 = x_53; -goto block_48; +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +lean_inc(x_9); +x_35 = l_Lean_Elab_Command_shouldInferResultUniverse(x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_34); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_box(x_5); +lean_inc(x_31); +x_39 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed), 17, 9); +lean_closure_set(x_39, 0, x_30); +lean_closure_set(x_39, 1, x_31); +lean_closure_set(x_39, 2, x_3); +lean_closure_set(x_39, 3, x_4); +lean_closure_set(x_39, 4, x_1); +lean_closure_set(x_39, 5, x_8); +lean_closure_set(x_39, 6, x_38); +lean_closure_set(x_39, 7, x_16); +lean_closure_set(x_39, 8, x_36); +x_40 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed___rarg(x_6, x_31, x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_37); +return x_40; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_54 = lean_ctor_get(x_49, 1); -lean_inc(x_54); -lean_dec(x_49); -x_55 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_54); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_unbox(x_56); -lean_dec(x_56); -x_33 = x_58; -x_34 = x_57; -goto block_48; -} -block_48: -{ -if (x_33 == 0) -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_box(0); -x_36 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(x_31, x_30, x_3, x_4, x_1, x_8, x_5, x_16, x_32, x_6, x_35, x_9, x_10, x_11, x_12, x_13, x_14, x_34); -lean_dec(x_6); -return x_36; -} -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; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -lean_inc(x_30); -x_37 = l_Nat_repr(x_30); -x_38 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_38, 0, x_37); -x_39 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_39, 0, x_38); -x_40 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__6; -x_41 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -x_42 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; -x_43 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_32, x_43, x_9, x_10, x_11, x_12, x_13, x_14, x_34); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(x_31, x_30, x_3, x_4, x_1, x_8, x_5, x_16, x_32, x_6, x_45, x_9, x_10, x_11, x_12, x_13, x_14, x_46); -lean_dec(x_45); -lean_dec(x_6); -return x_47; -} -} -} -else -{ -uint8_t x_59; +uint8_t x_41; +lean_dec(x_31); +lean_dec(x_30); lean_dec(x_16); lean_dec(x_14); lean_dec(x_13); @@ -22047,33 +25160,102 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_59 = !lean_is_exclusive(x_27); -if (x_59 == 0) +x_41 = !lean_is_exclusive(x_35); +if (x_41 == 0) +{ +return x_35; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_35, 0); +x_43 = lean_ctor_get(x_35, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_35); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_32); +if (x_45 == 0) +{ +return x_32; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_32, 0); +x_47 = lean_ctor_get(x_32, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_32); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +uint8_t x_49; +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_49 = !lean_is_exclusive(x_27); +if (x_49 == 0) { return x_27; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_27, 0); -x_61 = lean_ctor_get(x_27, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_27, 0); +x_51 = lean_ctor_get(x_27, 1); +lean_inc(x_51); +lean_inc(x_50); lean_dec(x_27); -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; +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 { -uint8_t x_63; +uint8_t x_53; lean_dec(x_21); lean_dec(x_16); lean_dec(x_14); @@ -22084,33 +25266,32 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_63 = !lean_is_exclusive(x_24); -if (x_63 == 0) +x_53 = !lean_is_exclusive(x_24); +if (x_53 == 0) { return x_24; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_24, 0); -x_65 = lean_ctor_get(x_24, 1); -lean_inc(x_65); -lean_inc(x_64); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_24, 0); +x_55 = lean_ctor_get(x_24, 1); +lean_inc(x_55); +lean_inc(x_54); lean_dec(x_24); -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; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } else { -uint8_t x_67; +uint8_t x_57; lean_dec(x_16); lean_dec(x_14); lean_dec(x_13); @@ -22120,32 +25301,31 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_67 = !lean_is_exclusive(x_20); -if (x_67 == 0) +x_57 = !lean_is_exclusive(x_20); +if (x_57 == 0) { return x_20; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_20, 0); -x_69 = lean_ctor_get(x_20, 1); -lean_inc(x_69); -lean_inc(x_68); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_20, 0); +x_59 = lean_ctor_get(x_20, 1); +lean_inc(x_59); +lean_inc(x_58); lean_dec(x_20); -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; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -22166,7 +25346,7 @@ lean_inc(x_15); lean_dec(x_13); x_16 = lean_box(x_4); lean_inc(x_14); -x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed), 15, 6); +x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed), 15, 6); lean_closure_set(x_17, 0, x_1); lean_closure_set(x_17, 1, x_14); lean_closure_set(x_17, 2, x_2); @@ -22243,7 +25423,7 @@ lean_inc(x_21); lean_dec(x_12); x_22 = lean_box(x_20); lean_inc(x_18); -x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__7___boxed), 12, 5); +x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed), 12, 5); lean_closure_set(x_23, 0, x_2); lean_closure_set(x_23, 1, x_14); lean_closure_set(x_23, 2, x_18); @@ -22558,31 +25738,14 @@ x_16 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___la return x_16; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_18; lean_object* x_19; -x_18 = lean_unbox(x_7); +uint8_t x_17; lean_object* x_18; +x_17 = lean_unbox(x_7); lean_dec(x_7); -x_19 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_19; +x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_18; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed(lean_object** _args) { @@ -22603,65 +25766,36 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; _start: { -uint8_t x_19; uint8_t x_20; lean_object* x_21; -x_19 = lean_unbox(x_7); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_7); lean_dec(x_7); -x_20 = lean_unbox(x_10); -lean_dec(x_10); -x_21 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_8, x_9, x_20, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -return x_21; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -_start: -{ -uint8_t x_19; lean_object* x_20; -x_19 = lean_unbox(x_7); -lean_dec(x_7); -x_20 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_11); -lean_dec(x_10); +x_19 = lean_unbox(x_9); +lean_dec(x_9); +x_20 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_8, x_19, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); return x_20; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; lean_object* x_17; x_16 = lean_unbox(x_5); lean_dec(x_5); -x_17 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_17 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_6); +lean_dec(x_2); return x_17; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_4); lean_dec(x_4); -x_14 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__7(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } @@ -23656,7 +26790,7 @@ lean_closure_set(x_34, 0, x_2); lean_closure_set(x_34, 1, x_3); lean_closure_set(x_34, 2, x_4); lean_closure_set(x_34, 3, x_33); -x_35 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__1; +x_35 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1___closed__1; x_36 = l_Lean_Elab_Term_addAutoBoundImplicits_x27___rarg(x_5, x_35, x_34, x_6, x_7, x_8, x_9, x_10, x_11, x_32); return x_36; } @@ -23711,7 +26845,7 @@ lean_closure_set(x_55, 0, x_2); lean_closure_set(x_55, 1, x_3); lean_closure_set(x_55, 2, x_4); lean_closure_set(x_55, 3, x_54); -x_56 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__1; +x_56 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1___closed__1; x_57 = l_Lean_Elab_Term_addAutoBoundImplicits_x27___rarg(x_5, x_56, x_55, x_51, x_7, x_8, x_9, x_10, x_11, x_53); return x_57; } @@ -24031,6 +27165,10 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___ lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__2); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__3 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__3(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3___lambda__4___closed__1); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1___closed__1); l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__1(); lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__1); l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__2 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__2(); @@ -24043,8 +27181,6 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___ lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__1); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__2); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__3 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__3); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___closed__1); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__2___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__2___closed__1(); @@ -24101,19 +27237,19 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___l lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__5); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__5); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195____closed__6); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4195_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__5); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560____closed__6); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4560_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse); @@ -24124,6 +27260,36 @@ l_Lean_Elab_Command_checkResultingUniverse___closed__2 = _init_l_Lean_Elab_Comma lean_mark_persistent(l_Lean_Elab_Command_checkResultingUniverse___closed__2); l_Lean_Elab_Command_checkResultingUniverse___closed__3 = _init_l_Lean_Elab_Command_checkResultingUniverse___closed__3(); lean_mark_persistent(l_Lean_Elab_Command_checkResultingUniverse___closed__3); +l_Lean_Elab_Command_withCtorRef___rarg___closed__1 = _init_l_Lean_Elab_Command_withCtorRef___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_withCtorRef___rarg___closed__1); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__1); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__2); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__3 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__3); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__4 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__4); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__5 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__5); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__6 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__6); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__1); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__2); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__3 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__3); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__4 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__4); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__5 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__5); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__6 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__6); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__7 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__7); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__8 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___closed__8); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused___closed__1); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused___closed__2(); @@ -24190,18 +27356,14 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3 lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__1); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__2); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__1); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__2); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__3 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__3); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__4 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__4); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__5 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__5); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__6 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__6); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__3 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__3); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__4 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__4); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__5 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__5); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__6 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___closed__6); l_Lean_Elab_Command_elabInductiveViews___lambda__3___boxed__const__1 = _init_l_Lean_Elab_Command_elabInductiveViews___lambda__3___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Command_elabInductiveViews___lambda__3___boxed__const__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c index 89c478bafe..93f7a81295 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c @@ -6502,11 +6502,11 @@ x_52 = lean_ctor_get(x_38, 0); lean_dec(x_52); x_53 = lean_nat_add(x_44, x_46); lean_ctor_set(x_38, 0, x_53); -x_54 = lean_ctor_get(x_39, 0); +x_54 = lean_ctor_get(x_42, 0); lean_inc(x_54); -x_55 = lean_ctor_get(x_39, 1); +x_55 = lean_ctor_get(x_42, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_39, 2); +x_56 = lean_ctor_get(x_42, 2); lean_inc(x_56); x_57 = lean_nat_dec_lt(x_55, x_56); if (x_57 == 0) @@ -6526,26 +6526,26 @@ goto block_33; else { uint8_t x_59; -x_59 = !lean_is_exclusive(x_39); +x_59 = !lean_is_exclusive(x_42); if (x_59 == 0) { lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_60 = lean_ctor_get(x_39, 2); +x_60 = lean_ctor_get(x_42, 2); lean_dec(x_60); -x_61 = lean_ctor_get(x_39, 1); +x_61 = lean_ctor_get(x_42, 1); lean_dec(x_61); -x_62 = lean_ctor_get(x_39, 0); +x_62 = lean_ctor_get(x_42, 0); lean_dec(x_62); x_63 = lean_array_fget(x_54, x_55); x_64 = lean_unsigned_to_nat(1u); x_65 = lean_nat_add(x_55, x_64); lean_dec(x_55); -lean_ctor_set(x_39, 1, x_65); -x_66 = lean_ctor_get(x_42, 0); +lean_ctor_set(x_42, 1, x_65); +x_66 = lean_ctor_get(x_39, 0); lean_inc(x_66); -x_67 = lean_ctor_get(x_42, 1); +x_67 = lean_ctor_get(x_39, 1); lean_inc(x_67); -x_68 = lean_ctor_get(x_42, 2); +x_68 = lean_ctor_get(x_39, 2); lean_inc(x_68); x_69 = lean_nat_dec_lt(x_67, x_68); if (x_69 == 0) @@ -6569,20 +6569,20 @@ uint8_t x_71; lean_free_object(x_37); lean_free_object(x_14); lean_free_object(x_34); -x_71 = !lean_is_exclusive(x_42); +x_71 = !lean_is_exclusive(x_39); if (x_71 == 0) { 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; uint8_t x_84; -x_72 = lean_ctor_get(x_42, 2); +x_72 = lean_ctor_get(x_39, 2); lean_dec(x_72); -x_73 = lean_ctor_get(x_42, 1); +x_73 = lean_ctor_get(x_39, 1); lean_dec(x_73); -x_74 = lean_ctor_get(x_42, 0); +x_74 = lean_ctor_get(x_39, 0); lean_dec(x_74); x_75 = lean_array_fget(x_66, x_67); x_76 = lean_nat_add(x_67, x_64); lean_dec(x_67); -lean_ctor_set(x_42, 1, x_76); +lean_ctor_set(x_39, 1, x_76); lean_inc(x_6); lean_inc(x_8); x_77 = lean_array_push(x_8, x_6); @@ -6827,7 +6827,7 @@ goto block_33; else { 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; uint8_t x_187; -lean_dec(x_42); +lean_dec(x_39); x_177 = lean_array_fget(x_66, x_67); x_178 = lean_nat_add(x_67, x_64); lean_dec(x_67); @@ -6926,7 +6926,7 @@ x_216 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_216, 0, x_210); lean_ctor_set(x_216, 1, x_198); lean_ctor_set(x_216, 2, x_215); -x_217 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_185, x_179, x_38, x_39, x_43, x_216, x_15, x_16, x_17, x_18, x_19, x_20, x_194); +x_217 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_185, x_42, x_38, x_179, x_43, x_216, x_15, x_16, x_17, x_18, x_19, x_20, x_194); lean_dec(x_24); x_218 = lean_ctor_get(x_217, 0); lean_inc(x_218); @@ -7064,7 +7064,7 @@ x_276 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_276, 0, x_246); lean_ctor_set(x_276, 1, x_230); lean_ctor_set(x_276, 2, x_275); -x_277 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_185, x_179, x_38, x_39, x_43, x_276, x_15, x_16, x_17, x_18, x_19, x_20, x_226); +x_277 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_185, x_42, x_38, x_179, x_43, x_276, x_15, x_16, x_17, x_18, x_19, x_20, x_226); lean_dec(x_24); x_278 = lean_ctor_get(x_277, 0); lean_inc(x_278); @@ -7081,7 +7081,7 @@ goto block_33; else { 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; uint8_t x_287; -lean_dec(x_39); +lean_dec(x_42); x_280 = lean_array_fget(x_54, x_55); x_281 = lean_unsigned_to_nat(1u); x_282 = lean_nat_add(x_55, x_281); @@ -7090,11 +7090,11 @@ x_283 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_283, 0, x_54); lean_ctor_set(x_283, 1, x_282); lean_ctor_set(x_283, 2, x_56); -x_284 = lean_ctor_get(x_42, 0); +x_284 = lean_ctor_get(x_39, 0); lean_inc(x_284); -x_285 = lean_ctor_get(x_42, 1); +x_285 = lean_ctor_get(x_39, 1); lean_inc(x_285); -x_286 = lean_ctor_get(x_42, 2); +x_286 = lean_ctor_get(x_39, 2); lean_inc(x_286); x_287 = lean_nat_dec_lt(x_285, x_286); if (x_287 == 0) @@ -7106,7 +7106,7 @@ lean_dec(x_284); lean_dec(x_280); lean_dec(x_44); lean_dec(x_24); -lean_ctor_set(x_14, 0, x_283); +lean_ctor_set(x_37, 0, x_283); x_288 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_288, 0, x_14); x_25 = x_288; @@ -7119,13 +7119,13 @@ lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_free_object(x_37); lean_free_object(x_14); lean_free_object(x_34); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - lean_ctor_release(x_42, 2); - x_289 = x_42; +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + lean_ctor_release(x_39, 2); + x_289 = x_39; } else { - lean_dec_ref(x_42); + lean_dec_ref(x_39); x_289 = lean_box(0); } x_290 = lean_array_fget(x_284, x_285); @@ -7230,7 +7230,7 @@ x_329 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_329, 0, x_323); lean_ctor_set(x_329, 1, x_311); lean_ctor_set(x_329, 2, x_328); -x_330 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_298, x_292, x_38, x_283, x_43, x_329, x_15, x_16, x_17, x_18, x_19, x_20, x_307); +x_330 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_298, x_283, x_38, x_292, x_43, x_329, x_15, x_16, x_17, x_18, x_19, x_20, x_307); lean_dec(x_24); x_331 = lean_ctor_get(x_330, 0); lean_inc(x_331); @@ -7368,7 +7368,7 @@ x_389 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_389, 0, x_359); lean_ctor_set(x_389, 1, x_343); lean_ctor_set(x_389, 2, x_388); -x_390 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_298, x_292, x_38, x_283, x_43, x_389, x_15, x_16, x_17, x_18, x_19, x_20, x_339); +x_390 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_298, x_283, x_38, x_292, x_43, x_389, x_15, x_16, x_17, x_18, x_19, x_20, x_339); lean_dec(x_24); x_391 = lean_ctor_get(x_390, 0); lean_inc(x_391); @@ -7392,11 +7392,11 @@ x_394 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_394, 0, x_393); lean_ctor_set(x_394, 1, x_45); lean_ctor_set(x_394, 2, x_46); -x_395 = lean_ctor_get(x_39, 0); +x_395 = lean_ctor_get(x_42, 0); lean_inc(x_395); -x_396 = lean_ctor_get(x_39, 1); +x_396 = lean_ctor_get(x_42, 1); lean_inc(x_396); -x_397 = lean_ctor_get(x_39, 2); +x_397 = lean_ctor_get(x_42, 2); lean_inc(x_397); x_398 = lean_nat_dec_lt(x_396, x_397); if (x_398 == 0) @@ -7417,13 +7417,13 @@ goto block_33; else { 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; uint8_t x_408; -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - lean_ctor_release(x_39, 2); - x_400 = x_39; +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + lean_ctor_release(x_42, 2); + x_400 = x_42; } else { - lean_dec_ref(x_39); + lean_dec_ref(x_42); x_400 = lean_box(0); } x_401 = lean_array_fget(x_395, x_396); @@ -7438,11 +7438,11 @@ if (lean_is_scalar(x_400)) { lean_ctor_set(x_404, 0, x_395); lean_ctor_set(x_404, 1, x_403); lean_ctor_set(x_404, 2, x_397); -x_405 = lean_ctor_get(x_42, 0); +x_405 = lean_ctor_get(x_39, 0); lean_inc(x_405); -x_406 = lean_ctor_get(x_42, 1); +x_406 = lean_ctor_get(x_39, 1); lean_inc(x_406); -x_407 = lean_ctor_get(x_42, 2); +x_407 = lean_ctor_get(x_39, 2); lean_inc(x_407); x_408 = lean_nat_dec_lt(x_406, x_407); if (x_408 == 0) @@ -7454,8 +7454,8 @@ lean_dec(x_405); lean_dec(x_401); lean_dec(x_44); lean_dec(x_24); +lean_ctor_set(x_37, 0, x_404); lean_ctor_set(x_34, 0, x_394); -lean_ctor_set(x_14, 0, x_404); x_409 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_409, 0, x_14); x_25 = x_409; @@ -7468,13 +7468,13 @@ lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_free_object(x_37); lean_free_object(x_14); lean_free_object(x_34); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - lean_ctor_release(x_42, 2); - x_410 = x_42; +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + lean_ctor_release(x_39, 2); + x_410 = x_39; } else { - lean_dec_ref(x_42); + lean_dec_ref(x_39); x_410 = lean_box(0); } x_411 = lean_array_fget(x_405, x_406); @@ -7579,7 +7579,7 @@ x_450 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_450, 0, x_444); lean_ctor_set(x_450, 1, x_432); lean_ctor_set(x_450, 2, x_449); -x_451 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_419, x_413, x_394, x_404, x_43, x_450, x_15, x_16, x_17, x_18, x_19, x_20, x_428); +x_451 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_419, x_404, x_394, x_413, x_43, x_450, x_15, x_16, x_17, x_18, x_19, x_20, x_428); lean_dec(x_24); x_452 = lean_ctor_get(x_451, 0); lean_inc(x_452); @@ -7717,7 +7717,7 @@ x_510 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_510, 0, x_480); lean_ctor_set(x_510, 1, x_464); lean_ctor_set(x_510, 2, x_509); -x_511 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_419, x_413, x_394, x_404, x_43, x_510, x_15, x_16, x_17, x_18, x_19, x_20, x_460); +x_511 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_419, x_404, x_394, x_413, x_43, x_510, x_15, x_16, x_17, x_18, x_19, x_20, x_460); lean_dec(x_24); x_512 = lean_ctor_get(x_511, 0); lean_inc(x_512); @@ -7786,11 +7786,11 @@ if (lean_is_scalar(x_522)) { lean_ctor_set(x_524, 0, x_523); lean_ctor_set(x_524, 1, x_517); lean_ctor_set(x_524, 2, x_518); -x_525 = lean_ctor_get(x_39, 0); +x_525 = lean_ctor_get(x_514, 0); lean_inc(x_525); -x_526 = lean_ctor_get(x_39, 1); +x_526 = lean_ctor_get(x_514, 1); lean_inc(x_526); -x_527 = lean_ctor_get(x_39, 2); +x_527 = lean_ctor_get(x_514, 2); lean_inc(x_527); x_528 = lean_nat_dec_lt(x_526, x_527); if (x_528 == 0) @@ -7815,13 +7815,13 @@ goto block_33; else { 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; uint8_t x_539; -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - lean_ctor_release(x_39, 2); - x_531 = x_39; +if (lean_is_exclusive(x_514)) { + lean_ctor_release(x_514, 0); + lean_ctor_release(x_514, 1); + lean_ctor_release(x_514, 2); + x_531 = x_514; } else { - lean_dec_ref(x_39); + lean_dec_ref(x_514); x_531 = lean_box(0); } x_532 = lean_array_fget(x_525, x_526); @@ -7836,11 +7836,11 @@ if (lean_is_scalar(x_531)) { lean_ctor_set(x_535, 0, x_525); lean_ctor_set(x_535, 1, x_534); lean_ctor_set(x_535, 2, x_527); -x_536 = lean_ctor_get(x_514, 0); +x_536 = lean_ctor_get(x_39, 0); lean_inc(x_536); -x_537 = lean_ctor_get(x_514, 1); +x_537 = lean_ctor_get(x_39, 1); lean_inc(x_537); -x_538 = lean_ctor_get(x_514, 2); +x_538 = lean_ctor_get(x_39, 2); lean_inc(x_538); x_539 = lean_nat_dec_lt(x_537, x_538); if (x_539 == 0) @@ -7853,11 +7853,10 @@ lean_dec(x_532); lean_dec(x_516); lean_dec(x_24); x_540 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_540, 0, x_514); +lean_ctor_set(x_540, 0, x_535); lean_ctor_set(x_540, 1, x_515); lean_ctor_set(x_34, 1, x_540); lean_ctor_set(x_34, 0, x_524); -lean_ctor_set(x_14, 0, x_535); x_541 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_541, 0, x_14); x_25 = x_541; @@ -7869,13 +7868,13 @@ else lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; uint8_t x_553; lean_free_object(x_14); lean_free_object(x_34); -if (lean_is_exclusive(x_514)) { - lean_ctor_release(x_514, 0); - lean_ctor_release(x_514, 1); - lean_ctor_release(x_514, 2); - x_542 = x_514; +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + lean_ctor_release(x_39, 2); + x_542 = x_39; } else { - lean_dec_ref(x_514); + lean_dec_ref(x_39); x_542 = lean_box(0); } x_543 = lean_array_fget(x_536, x_537); @@ -7980,7 +7979,7 @@ x_582 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_582, 0, x_576); lean_ctor_set(x_582, 1, x_564); lean_ctor_set(x_582, 2, x_581); -x_583 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_551, x_545, x_524, x_535, x_515, x_582, x_15, x_16, x_17, x_18, x_19, x_20, x_560); +x_583 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_551, x_535, x_524, x_545, x_515, x_582, x_15, x_16, x_17, x_18, x_19, x_20, x_560); lean_dec(x_24); x_584 = lean_ctor_get(x_583, 0); lean_inc(x_584); @@ -8118,7 +8117,7 @@ x_642 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_642, 0, x_612); lean_ctor_set(x_642, 1, x_596); lean_ctor_set(x_642, 2, x_641); -x_643 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_551, x_545, x_524, x_535, x_515, x_642, x_15, x_16, x_17, x_18, x_19, x_20, x_592); +x_643 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_551, x_535, x_524, x_545, x_515, x_642, x_15, x_16, x_17, x_18, x_19, x_20, x_592); lean_dec(x_24); x_644 = lean_ctor_get(x_643, 0); lean_inc(x_644); @@ -8206,11 +8205,11 @@ if (lean_is_scalar(x_659)) { lean_ctor_set(x_661, 0, x_660); lean_ctor_set(x_661, 1, x_653); lean_ctor_set(x_661, 2, x_654); -x_662 = lean_ctor_get(x_648, 0); +x_662 = lean_ctor_get(x_649, 0); lean_inc(x_662); -x_663 = lean_ctor_get(x_648, 1); +x_663 = lean_ctor_get(x_649, 1); lean_inc(x_663); -x_664 = lean_ctor_get(x_648, 2); +x_664 = lean_ctor_get(x_649, 2); lean_inc(x_664); x_665 = lean_nat_dec_lt(x_663, x_664); if (x_665 == 0) @@ -8242,13 +8241,13 @@ goto block_33; else { 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; uint8_t x_677; -if (lean_is_exclusive(x_648)) { - lean_ctor_release(x_648, 0); - lean_ctor_release(x_648, 1); - lean_ctor_release(x_648, 2); - x_669 = x_648; +if (lean_is_exclusive(x_649)) { + lean_ctor_release(x_649, 0); + lean_ctor_release(x_649, 1); + lean_ctor_release(x_649, 2); + x_669 = x_649; } else { - lean_dec_ref(x_648); + lean_dec_ref(x_649); x_669 = lean_box(0); } x_670 = lean_array_fget(x_662, x_663); @@ -8263,11 +8262,11 @@ if (lean_is_scalar(x_669)) { lean_ctor_set(x_673, 0, x_662); lean_ctor_set(x_673, 1, x_672); lean_ctor_set(x_673, 2, x_664); -x_674 = lean_ctor_get(x_649, 0); +x_674 = lean_ctor_get(x_648, 0); lean_inc(x_674); -x_675 = lean_ctor_get(x_649, 1); +x_675 = lean_ctor_get(x_648, 1); lean_inc(x_675); -x_676 = lean_ctor_get(x_649, 2); +x_676 = lean_ctor_get(x_648, 2); lean_inc(x_676); x_677 = lean_nat_dec_lt(x_675, x_676); if (x_677 == 0) @@ -8284,12 +8283,12 @@ if (lean_is_scalar(x_651)) { } else { x_678 = x_651; } -lean_ctor_set(x_678, 0, x_649); +lean_ctor_set(x_678, 0, x_673); lean_ctor_set(x_678, 1, x_650); lean_ctor_set(x_34, 1, x_678); lean_ctor_set(x_34, 0, x_661); x_679 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_679, 0, x_673); +lean_ctor_set(x_679, 0, x_648); lean_ctor_set(x_679, 1, x_34); x_680 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_680, 0, x_679); @@ -8302,13 +8301,13 @@ else 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; uint8_t x_692; lean_dec(x_651); lean_free_object(x_34); -if (lean_is_exclusive(x_649)) { - lean_ctor_release(x_649, 0); - lean_ctor_release(x_649, 1); - lean_ctor_release(x_649, 2); - x_681 = x_649; +if (lean_is_exclusive(x_648)) { + lean_ctor_release(x_648, 0); + lean_ctor_release(x_648, 1); + lean_ctor_release(x_648, 2); + x_681 = x_648; } else { - lean_dec_ref(x_649); + lean_dec_ref(x_648); x_681 = lean_box(0); } x_682 = lean_array_fget(x_674, x_675); @@ -8413,7 +8412,7 @@ x_721 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_721, 0, x_715); lean_ctor_set(x_721, 1, x_703); lean_ctor_set(x_721, 2, x_720); -x_722 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_690, x_684, x_661, x_673, x_650, x_721, x_15, x_16, x_17, x_18, x_19, x_20, x_699); +x_722 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_690, x_673, x_661, x_684, x_650, x_721, x_15, x_16, x_17, x_18, x_19, x_20, x_699); lean_dec(x_24); x_723 = lean_ctor_get(x_722, 0); lean_inc(x_723); @@ -8551,7 +8550,7 @@ x_781 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_781, 0, x_751); lean_ctor_set(x_781, 1, x_735); lean_ctor_set(x_781, 2, x_780); -x_782 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_690, x_684, x_661, x_673, x_650, x_781, x_15, x_16, x_17, x_18, x_19, x_20, x_731); +x_782 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_690, x_673, x_661, x_684, x_650, x_781, x_15, x_16, x_17, x_18, x_19, x_20, x_731); lean_dec(x_24); x_783 = lean_ctor_get(x_782, 0); lean_inc(x_783); @@ -8655,11 +8654,11 @@ if (lean_is_scalar(x_800)) { lean_ctor_set(x_802, 0, x_801); lean_ctor_set(x_802, 1, x_793); lean_ctor_set(x_802, 2, x_794); -x_803 = lean_ctor_get(x_787, 0); +x_803 = lean_ctor_get(x_789, 0); lean_inc(x_803); -x_804 = lean_ctor_get(x_787, 1); +x_804 = lean_ctor_get(x_789, 1); lean_inc(x_804); -x_805 = lean_ctor_get(x_787, 2); +x_805 = lean_ctor_get(x_789, 2); lean_inc(x_805); x_806 = lean_nat_dec_lt(x_804, x_805); if (x_806 == 0) @@ -8696,13 +8695,13 @@ goto block_33; else { 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; uint8_t x_819; -if (lean_is_exclusive(x_787)) { - lean_ctor_release(x_787, 0); - lean_ctor_release(x_787, 1); - lean_ctor_release(x_787, 2); - x_811 = x_787; +if (lean_is_exclusive(x_789)) { + lean_ctor_release(x_789, 0); + lean_ctor_release(x_789, 1); + lean_ctor_release(x_789, 2); + x_811 = x_789; } else { - lean_dec_ref(x_787); + lean_dec_ref(x_789); x_811 = lean_box(0); } x_812 = lean_array_fget(x_803, x_804); @@ -8717,11 +8716,11 @@ if (lean_is_scalar(x_811)) { lean_ctor_set(x_815, 0, x_803); lean_ctor_set(x_815, 1, x_814); lean_ctor_set(x_815, 2, x_805); -x_816 = lean_ctor_get(x_789, 0); +x_816 = lean_ctor_get(x_787, 0); lean_inc(x_816); -x_817 = lean_ctor_get(x_789, 1); +x_817 = lean_ctor_get(x_787, 1); lean_inc(x_817); -x_818 = lean_ctor_get(x_789, 2); +x_818 = lean_ctor_get(x_787, 2); lean_inc(x_818); x_819 = lean_nat_dec_lt(x_817, x_818); if (x_819 == 0) @@ -8738,7 +8737,7 @@ if (lean_is_scalar(x_791)) { } else { x_820 = x_791; } -lean_ctor_set(x_820, 0, x_789); +lean_ctor_set(x_820, 0, x_815); lean_ctor_set(x_820, 1, x_790); x_821 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_821, 0, x_802); @@ -8748,7 +8747,7 @@ if (lean_is_scalar(x_788)) { } else { x_822 = x_788; } -lean_ctor_set(x_822, 0, x_815); +lean_ctor_set(x_822, 0, x_787); lean_ctor_set(x_822, 1, x_821); x_823 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_823, 0, x_822); @@ -8761,13 +8760,13 @@ else 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; uint8_t x_835; lean_dec(x_791); lean_dec(x_788); -if (lean_is_exclusive(x_789)) { - lean_ctor_release(x_789, 0); - lean_ctor_release(x_789, 1); - lean_ctor_release(x_789, 2); - x_824 = x_789; +if (lean_is_exclusive(x_787)) { + lean_ctor_release(x_787, 0); + lean_ctor_release(x_787, 1); + lean_ctor_release(x_787, 2); + x_824 = x_787; } else { - lean_dec_ref(x_789); + lean_dec_ref(x_787); x_824 = lean_box(0); } x_825 = lean_array_fget(x_816, x_817); @@ -8872,7 +8871,7 @@ x_864 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_864, 0, x_858); lean_ctor_set(x_864, 1, x_846); lean_ctor_set(x_864, 2, x_863); -x_865 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_833, x_827, x_802, x_815, x_790, x_864, x_15, x_16, x_17, x_18, x_19, x_20, x_842); +x_865 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_833, x_815, x_802, x_827, x_790, x_864, x_15, x_16, x_17, x_18, x_19, x_20, x_842); lean_dec(x_24); x_866 = lean_ctor_get(x_865, 0); lean_inc(x_866); @@ -9010,7 +9009,7 @@ x_924 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_924, 0, x_894); lean_ctor_set(x_924, 1, x_878); lean_ctor_set(x_924, 2, x_923); -x_925 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_833, x_827, x_802, x_815, x_790, x_924, x_15, x_16, x_17, x_18, x_19, x_20, x_874); +x_925 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_24, x_833, x_815, x_802, x_827, x_790, x_924, x_15, x_16, x_17, x_18, x_19, x_20, x_874); lean_dec(x_24); x_926 = lean_ctor_get(x_925, 0); lean_inc(x_926); @@ -9254,13 +9253,13 @@ lean_ctor_set(x_44, 1, x_42); lean_ctor_set(x_44, 2, x_43); x_45 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__1; x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_39); +lean_ctor_set(x_46, 0, x_41); lean_ctor_set(x_46, 1, x_45); x_47 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_47, 0, x_44); lean_ctor_set(x_47, 1, x_46); x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_41); +lean_ctor_set(x_48, 0, x_39); lean_ctor_set(x_48, 1, x_47); x_49 = lean_usize_of_nat(x_42); x_50 = 0; diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index db9d2982c8..9b63e13fac 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -65,6 +65,7 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStr LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getNestedProjectionArg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__6___closed__7; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_NameSet_contains___boxed(lean_object*, lean_object*); @@ -128,7 +129,6 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_551____closed__15; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkToParentName_go(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___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*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f_failed___closed__2; static size_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -136,6 +136,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___priva static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_551____closed__18; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__3; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__2; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_551____closed__3; @@ -504,7 +505,6 @@ static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__1; static lean_object* l_Lean_Elab_Command_elabStructure___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_processOveriddenDefaultValues___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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -726,6 +726,7 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStr lean_object* l_Lean_getStructureCtor(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___rarg___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldKind____x40_Lean_Elab_Structure___hyg_342____closed__16; lean_object* l_Lean_Elab_expandDeclSig(lean_object*); static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___closed__2; @@ -778,7 +779,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Comman LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_go___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*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__6___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__5___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_10848_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_10951_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_2573_(lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_551____closed__20; @@ -939,6 +940,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean lean_object* l_panic___at_Lean_ResolveName_resolveNamespaceUsingScope___spec__1(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabStructure___lambda__3___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2___closed__4; @@ -18522,252 +18524,332 @@ return x_30; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; -x_14 = lean_usize_dec_eq(x_4, x_5); -if (x_14 == 0) +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_5, x_4); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_array_uget(x_3, x_4); -x_16 = lean_ctor_get(x_15, 2); -lean_inc(x_16); -lean_dec(x_15); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_17 = lean_infer_type(x_16, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_17) == 0) +lean_object* x_16; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_6); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_6); +x_17 = lean_array_uget(x_3, x_5); +x_18 = lean_ctor_get(x_17, 2); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); lean_dec(x_17); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); -x_20 = l_Lean_Meta_getLevel(x_18, x_9, x_10, x_11, x_12, x_19); -if (lean_obj_tag(x_20) == 0) +x_19 = lean_infer_type(x_18, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 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; -x_21 = lean_ctor_get(x_20, 0); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_21, x_9, x_10, x_11, x_12, x_22); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); +lean_dec(x_19); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); -lean_inc(x_7); -lean_inc(x_2); -lean_inc(x_1); -x_26 = l_Lean_Elab_Command_accLevelAtCtor(x_24, x_1, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_25); -if (lean_obj_tag(x_26) == 0) +x_22 = l_Lean_Meta_getLevel(x_20, x_10, x_11, x_12, x_13, x_21); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; -x_27 = lean_ctor_get(x_26, 0); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_23, x_10, x_11, x_12, x_13, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = 1; -x_30 = lean_usize_add(x_4, x_29); -x_4 = x_30; -x_6 = x_27; -x_13 = x_28; +lean_dec(x_25); +lean_inc(x_12); +lean_inc(x_10); +lean_inc(x_8); +lean_inc(x_2); +x_28 = l_Lean_Elab_Command_accLevelAtCtor(x_26, x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = 1; +x_31 = lean_usize_add(x_5, x_30); +x_32 = lean_box(0); +x_5 = x_31; +x_6 = x_32; +x_14 = x_29; goto _start; } else { -uint8_t x_32; +uint8_t x_34; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); +lean_dec(x_8); lean_dec(x_2); -lean_dec(x_1); -x_32 = !lean_is_exclusive(x_26); -if (x_32 == 0) +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) { -return x_26; +return x_28; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_26, 0); -x_34 = lean_ctor_get(x_26, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_26); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_28, 0); +x_36 = lean_ctor_get(x_28, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_28); +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_36; +uint8_t x_38; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); +lean_dec(x_8); lean_dec(x_2); -lean_dec(x_1); -x_36 = !lean_is_exclusive(x_20); -if (x_36 == 0) +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) { +return x_22; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_22, 0); +x_40 = lean_ctor_get(x_22, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_22); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_42 = !lean_is_exclusive(x_19); +if (x_42 == 0) +{ +return x_19; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_19, 0); +x_44 = lean_ctor_get(x_19, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_19); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_array_get_size(x_3); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = lean_box(0); +x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go___spec__1(x_1, x_2, x_3, x_13, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +lean_ctor_set(x_16, 0, x_15); +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_15); +lean_ctor_set(x_20, 1, x_19); return x_20; } -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_20, 0); -x_38 = lean_ctor_get(x_20, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_20); -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_12); -lean_dec(x_11); -lean_dec(x_10); +uint8_t x_21; +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) +{ +return x_16; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_16, 0); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_16); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go___spec__1(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_9); lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); +lean_dec(x_3); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_17); -if (x_40 == 0) -{ return x_17; } -else +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_17, 0); -x_42 = lean_ctor_get(x_17, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_17); -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_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_2); +lean_object* x_12; +x_12 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_6); -lean_ctor_set(x_44, 1, x_13); -return x_44; -} +return x_12; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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; uint8_t x_13; -x_11 = lean_array_get_size(x_3); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_nat_dec_lt(x_12, x_11); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; +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 = lean_st_ref_get(x_9, x_10); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); lean_dec(x_11); +x_13 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___closed__1; +x_14 = lean_st_mk_ref(x_13, x_12); +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); +lean_inc(x_9); +x_17 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go(x_1, x_2, x_3, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_st_ref_get(x_9, x_18); 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_2); -lean_dec(x_1); -x_14 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___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_10); -return x_15; +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_st_ref_get(x_15, x_20); +lean_dec(x_15); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; } else { -uint8_t x_16; -x_16 = lean_nat_dec_le(x_11, x_11); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_11); -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_2); -lean_dec(x_1); -x_17 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___closed__1; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_10); -return x_18; +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} } else { -size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; -x_19 = 0; -x_20 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_21 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___closed__1; -x_22 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___spec__1(x_1, x_2, x_3, x_19, x_20, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_5); -return x_22; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: +uint8_t x_26; +lean_dec(x_15); +lean_dec(x_9); +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) { -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_15 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___spec__1(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_8); -lean_dec(x_3); -return x_16; +return x_17; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_17); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} } } LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -18775,7 +18857,9 @@ _start: { lean_object* x_11; x_11 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields(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_3); +lean_dec(x_1); return x_11; } } @@ -18830,6 +18914,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_14); x_17 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields(x_15, x_14, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_15); 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; @@ -18892,7 +18977,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); return x_29; } } @@ -18903,7 +18987,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_30 = !lean_is_exclusive(x_10); @@ -18932,6 +19015,7 @@ _start: { lean_object* x_10; x_10 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); lean_dec(x_1); return x_10; } @@ -20209,7 +20293,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(710u); +x_3 = lean_unsigned_to_nat(714u); x_4 = lean_unsigned_to_nat(21u); x_5 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___spec__2___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -20230,7 +20314,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(709u); +x_3 = lean_unsigned_to_nat(713u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___spec__2___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -22333,7 +22417,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1; -x_3 = lean_unsigned_to_nat(757u); +x_3 = lean_unsigned_to_nat(761u); x_4 = lean_unsigned_to_nat(79u); x_5 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -22642,7 +22726,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1; -x_3 = lean_unsigned_to_nat(748u); +x_3 = lean_unsigned_to_nat(752u); x_4 = lean_unsigned_to_nat(72u); x_5 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -23258,7 +23342,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent___closed__1; -x_3 = lean_unsigned_to_nat(742u); +x_3 = lean_unsigned_to_nat(746u); x_4 = lean_unsigned_to_nat(68u); x_5 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -25925,7 +26009,6 @@ lean_object* x_73; lean_inc(x_15); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); lean_inc(x_10); x_73 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse(x_18, x_8, x_10, x_11, x_12, x_13, x_59, x_15, x_19); if (lean_obj_tag(x_73) == 0) @@ -29018,7 +29101,7 @@ x_15 = l_Lean_Elab_Command_elabStructure___lambda__7(x_1, x_2, x_3, x_13, x_5, x return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_10848_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_10951_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -29727,7 +29810,7 @@ l_Lean_Elab_Command_elabStructure___closed__12 = _init_l_Lean_Elab_Command_elabS lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__12); l_Lean_Elab_Command_elabStructure___closed__13 = _init_l_Lean_Elab_Command_elabStructure___closed__13(); lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__13); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_10848_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_10951_(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/Tactic/BuiltinTactic.c b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c index 040f4679c9..072fbb59a6 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c @@ -29,6 +29,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___closed_ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declRange___closed__7; size_t lean_usize_add(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessibles(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -114,6 +115,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalCase_x27___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5; @@ -130,11 +132,13 @@ static lean_object* l_Lean_Elab_Tactic_evalCase___closed__1; lean_object* l_Lean_Elab_Tactic_evalTacticAux(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_done(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__1; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnknown___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___closed__3; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___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*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__40; lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals(lean_object*); @@ -149,6 +153,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__36; @@ -165,6 +170,7 @@ static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__39; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessibles_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRange___closed__6; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__5; lean_object* l_Lean_Meta_subst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalFail___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption_declRange___closed__3; @@ -174,7 +180,6 @@ static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__35; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalCase___closed__3; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2; lean_object* lean_array_push(lean_object*, lean_object*); @@ -194,6 +199,8 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRange___closed__2; lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_erase___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___closed__2; LEAN_EXPORT 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_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight(lean_object*); @@ -207,7 +214,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessibles___cl LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSetOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_evalRenameInaccessibles___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalCase___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___closed__1; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__16; LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenScoped___at_Lean_Elab_Tactic_evalOpen___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -238,6 +245,7 @@ LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_eva static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRange___closed__6; +LEAN_EXPORT lean_object* l_List_erase___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__1___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalClear___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___closed__2; @@ -253,6 +261,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDbgTrace___lambda__1(lean_object LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore(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_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1; @@ -292,16 +301,17 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSubst___closed__3; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft(lean_object*); uint8_t l_Lean_Name_hasMacroScopes(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1; -static lean_object* l_Lean_Elab_Tactic_evalCase___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen_declRange___closed__2; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___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*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -320,6 +330,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalOpen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_evalOpen___spec__11___closed__3; static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -378,6 +389,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRange___c static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__46; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___closed__6; lean_object* l_List_foldl___at_Array_appendList___spec__1___rarg(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessibles_declRange___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess(lean_object*); lean_object* l_Lean_Elab_Tactic_closeUsingOrAdmit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -407,6 +419,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDbgTrace___lambda__1___boxed(lea static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDone___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1; lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_runTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_clear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -541,6 +554,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__ static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange___closed__7; @@ -553,7 +567,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRange___c lean_object* l_Lean_mkFVar(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3; -LEAN_EXPORT lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4; @@ -562,6 +575,7 @@ size_t lean_usize_of_nat(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__1; extern lean_object* l_Lean_NameSet_empty; extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5; @@ -584,6 +598,7 @@ static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOptio LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_forEachVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4; lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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_EXPORT 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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3; @@ -659,7 +674,6 @@ lean_object* l_List_rotateRight___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase___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_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange___closed__7; @@ -732,6 +746,7 @@ static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2; static lean_object* l_Lean_Elab_Tactic_evalFail___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_renameInaccessibles(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___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* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1; @@ -749,6 +764,7 @@ static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spe LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented_declRange___closed__2; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declRange___closed__6; @@ -768,14 +784,17 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice_declRange___close static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3; static lean_object* l_Lean_Elab_Tactic_evalIntros___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice_declRange___closed__4; lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__1; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__29; lean_object* lean_array_pop(lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented_declRange___closed__4; @@ -839,7 +858,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declRange___closed__5; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalCase___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___closed__6; extern lean_object* l_Lean_scopedEnvExtensionsRef; @@ -847,7 +865,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4; -LEAN_EXPORT lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___closed__4; @@ -875,7 +892,6 @@ lean_object* l_Lean_Meta_setMVarTag(lean_object*, lean_object*, lean_object*, le LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalCase___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___closed__6; @@ -893,6 +909,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetO LEAN_EXPORT lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Tactic_evalTraceMessage___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRange___closed__7; +static lean_object* l_Lean_Elab_Tactic_evalCase_x27___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3; LEAN_EXPORT lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -903,6 +920,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice_declRange___close static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRange___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen(lean_object*); @@ -18897,7 +18915,7 @@ lean_dec(x_4); return x_14; } } -LEAN_EXPORT lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_erase___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -18919,7 +18937,7 @@ x_7 = lean_name_eq(x_5, x_2); if (x_7 == 0) { lean_object* x_8; -x_8 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_6, x_2); +x_8 = l_List_erase___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__1(x_6, x_2); lean_ctor_set(x_1, 1, x_8); return x_1; } @@ -18942,7 +18960,7 @@ x_11 = lean_name_eq(x_9, x_2); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; -x_12 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_10, x_2); +x_12 = l_List_erase___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__1(x_10, x_2); x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_9); lean_ctor_set(x_13, 1, x_12); @@ -18957,7 +18975,7 @@ return x_10; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalCase___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { 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; @@ -19022,7 +19040,7 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalCase___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -19060,11 +19078,12 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase___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_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___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* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; lean_object* x_17; -x_16 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_1, x_6); +lean_object* x_17; lean_object* x_18; +x_17 = l_List_erase___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__1(x_1, x_7); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -19072,49 +19091,46 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_17 = l_Lean_Elab_Tactic_renameInaccessibles(x_6, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_17) == 0) +x_18 = l_Lean_Elab_Tactic_renameInaccessibles(x_7, x_2, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +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_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_box(0); -lean_inc(x_18); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_18); -lean_ctor_set(x_21, 1, x_20); -x_22 = l_Lean_Elab_Tactic_setGoals(x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_19); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -lean_inc(x_18); -x_24 = l_Lean_Meta_getMVarTag(x_18, x_11, x_12, x_13, x_14, x_23); -if (lean_obj_tag(x_24) == 0) +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_box(0); +lean_inc(x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Elab_Tactic_setGoals(x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_20); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +lean_inc(x_19); +x_25 = l_Lean_Meta_getMVarTag(x_19, x_12, x_13, x_14, x_15, x_24); +if (lean_obj_tag(x_25) == 0) { -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_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -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; +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_box(0); -lean_inc(x_18); -x_28 = l_Lean_Meta_setMVarTag(x_18, x_27, x_11, x_12, x_13, x_14, x_26); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); -lean_inc(x_3); -x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); -lean_closure_set(x_30, 0, x_3); -x_31 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg), 11, 2); -lean_closure_set(x_31, 0, x_4); -lean_closure_set(x_31, 1, x_30); -x_32 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_closeUsingOrAdmit), 10, 1); -lean_closure_set(x_32, 0, x_31); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_box(0); +lean_inc(x_19); +x_29 = l_Lean_Meta_setMVarTag(x_19, x_28, x_12, x_13, x_14, x_15, x_27); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +if (x_3 == 0) +{ +lean_object* x_40; +lean_dec(x_6); +lean_dec(x_5); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -19122,93 +19138,38 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_33 = l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalCase___spec__2(x_5, x_3, x_32, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_29); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Lean_Meta_setMVarTag(x_18, x_25, x_11, x_12, x_13, x_14, x_34); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_7); -x_37 = l_Lean_Elab_Tactic_done(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_36); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = l_Lean_Elab_Tactic_setGoals(x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_38); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -return x_39; -} -else -{ -uint8_t x_40; -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_40 = !lean_is_exclusive(x_37); -if (x_40 == 0) -{ -return x_37; -} -else +x_40 = l_Lean_Elab_Tactic_evalTacticAux(x_4, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_30); +if (lean_obj_tag(x_40) == 0) { lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_37, 0); -x_42 = lean_ctor_get(x_37, 1); -lean_inc(x_42); +x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); -lean_dec(x_37); -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_dec(x_40); +x_42 = l_Lean_Meta_setMVarTag(x_19, x_26, x_12, x_13, x_14, x_15, x_41); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_31 = x_43; +goto block_39; } else { lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -lean_dec(x_16); +lean_dec(x_17); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -x_44 = lean_ctor_get(x_33, 0); +x_44 = lean_ctor_get(x_40, 0); lean_inc(x_44); -x_45 = lean_ctor_get(x_33, 1); +x_45 = lean_ctor_get(x_40, 1); lean_inc(x_45); -lean_dec(x_33); -x_46 = l_Lean_Meta_setMVarTag(x_18, x_25, x_11, x_12, x_13, x_14, x_45); +lean_dec(x_40); +x_46 = l_Lean_Meta_setMVarTag(x_19, x_26, x_12, x_13, x_14, x_15, x_45); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); x_47 = !lean_is_exclusive(x_46); if (x_47 == 0) { @@ -19234,75 +19195,446 @@ return x_50; } else { -uint8_t x_51; -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_51 = !lean_is_exclusive(x_24); -if (x_51 == 0) +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_inc(x_4); +x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); +lean_closure_set(x_51, 0, x_4); +x_52 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg), 11, 2); +lean_closure_set(x_52, 0, x_5); +lean_closure_set(x_52, 1, x_51); +x_53 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_closeUsingOrAdmit), 10, 1); +lean_closure_set(x_53, 0, x_52); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_54 = l_Lean_Elab_Tactic_withCaseRef___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__2(x_6, x_4, x_53, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_30); +if (lean_obj_tag(x_54) == 0) { -return x_24; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_24, 0); -x_53 = lean_ctor_get(x_24, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_24); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -} -else -{ -uint8_t x_55; -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_55 = !lean_is_exclusive(x_17); -if (x_55 == 0) -{ -return x_17; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_17, 0); -x_57 = lean_ctor_get(x_17, 1); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); +x_56 = l_Lean_Meta_setMVarTag(x_19, x_26, x_12, x_13, x_14, x_15, x_55); +x_57 = lean_ctor_get(x_56, 1); lean_inc(x_57); -lean_inc(x_56); +lean_dec(x_56); +x_31 = x_57; +goto block_39; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_dec(x_17); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_58 = lean_ctor_get(x_54, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_54, 1); +lean_inc(x_59); +lean_dec(x_54); +x_60 = l_Lean_Meta_setMVarTag(x_19, x_26, x_12, x_13, x_14, x_15, x_59); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +x_61 = !lean_is_exclusive(x_60); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_60, 0); +lean_dec(x_62); +lean_ctor_set_tag(x_60, 1); +lean_ctor_set(x_60, 0, x_58); +return x_60; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_60, 1); +lean_inc(x_63); +lean_dec(x_60); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_58); +lean_ctor_set(x_64, 1, x_63); +return x_64; } } } +block_39: +{ +lean_object* x_32; +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_8); +x_32 = l_Lean_Elab_Tactic_done(x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = l_Lean_Elab_Tactic_setGoals(x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_33); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_34; +} +else +{ +uint8_t x_35; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_35 = !lean_is_exclusive(x_32); +if (x_35 == 0) +{ +return x_32; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_32, 0); +x_37 = lean_ctor_get(x_32, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_32); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_65 = !lean_is_exclusive(x_25); +if (x_65 == 0) +{ +return x_25; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_25, 0); +x_67 = lean_ctor_get(x_25, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_25); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_69 = !lean_is_exclusive(x_18); +if (x_69 == 0) +{ +return x_18; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_18, 0); +x_71 = lean_ctor_get(x_18, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_18); +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; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tag not found"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Syntax_isIdent(x_2); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_2); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_20 = l_Lean_Elab_Tactic_getMainGoal(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_18); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___lambda__1(x_17, x_3, x_6, x_5, x_1, x_4, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_22); +return x_23; +} +else +{ +uint8_t x_24; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_20); +if (x_24 == 0) +{ +return x_20; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_20, 0); +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_20); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = l_Lean_Syntax_getId(x_2); +lean_dec(x_2); +lean_inc(x_17); +x_29 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f(x_17, x_28, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_18); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_dec(x_17); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__2; +x_33 = l_Lean_throwError___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__3(x_32, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_31); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +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 +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_29, 1); +lean_inc(x_38); +lean_dec(x_29); +x_39 = lean_ctor_get(x_30, 0); +lean_inc(x_39); +lean_dec(x_30); +x_40 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___lambda__1(x_17, x_3, x_6, x_5, x_1, x_4, x_39, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_38); +return x_40; +} +} +else +{ +uint8_t x_41; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_41 = !lean_is_exclusive(x_29); +if (x_41 == 0) +{ +return x_29; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_29, 0); +x_43 = lean_ctor_get(x_29, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_29); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_erase___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_List_erase___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwError___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___spec__3(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); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; lean_object* x_18; +x_17 = lean_unbox(x_3); +lean_dec(x_3); +x_18 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___lambda__1(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_6); +lean_dec(x_6); +x_17 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_17; +} } static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__1() { _start: @@ -19322,23 +19654,6 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tag not found"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalCase___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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: { @@ -19396,205 +19711,15 @@ return x_24; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_object* x_25; uint8_t x_26; lean_object* x_27; x_25 = l_Lean_Syntax_getArgs(x_17); lean_dec(x_17); -x_26 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -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 = l_Lean_Syntax_isIdent(x_15); -if (x_29 == 0) -{ -lean_object* x_30; -lean_dec(x_15); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_30 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); -if (lean_obj_tag(x_30) == 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); -lean_dec(x_30); -x_33 = l_Lean_Elab_Tactic_evalCase___lambda__1(x_27, x_25, x_21, x_1, x_19, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); -return x_33; -} -else -{ -uint8_t x_34; -lean_dec(x_27); -lean_dec(x_25); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_34 = !lean_is_exclusive(x_30); -if (x_34 == 0) -{ -return x_30; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -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_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_26 = 1; +x_27 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore(x_1, x_15, x_25, x_19, x_21, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_27; } } } -else -{ -lean_object* x_38; lean_object* x_39; -x_38 = l_Lean_Syntax_getId(x_15); -lean_dec(x_15); -lean_inc(x_27); -x_39 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f(x_27, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -lean_dec(x_27); -lean_dec(x_25); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_1); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Elab_Tactic_evalCase___closed__4; -x_43 = l_Lean_throwError___at_Lean_Elab_Tactic_evalCase___spec__3(x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_41); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -return x_43; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_43, 0); -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_43); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_39, 1); -lean_inc(x_48); -lean_dec(x_39); -x_49 = lean_ctor_get(x_40, 0); -lean_inc(x_49); -lean_dec(x_40); -x_50 = l_Lean_Elab_Tactic_evalCase___lambda__1(x_27, x_25, x_21, x_1, x_19, x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_48); -return x_50; -} -} -else -{ -uint8_t x_51; -lean_dec(x_27); -lean_dec(x_25); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_51 = !lean_is_exclusive(x_39); -if (x_51 == 0) -{ -return x_39; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_39, 0); -x_53 = lean_ctor_get(x_39, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_39); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalCase___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_evalCase___spec__3(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); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} } static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1() { _start: @@ -19638,7 +19763,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(251u); +x_1 = lean_unsigned_to_nat(277u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19650,7 +19775,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(273u); +x_1 = lean_unsigned_to_nat(279u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19678,7 +19803,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(251u); +x_1 = lean_unsigned_to_nat(277u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19690,7 +19815,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(251u); +x_1 = lean_unsigned_to_nat(277u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19736,6 +19861,231 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } +static lean_object* _init_l_Lean_Elab_Tactic_evalCase_x27___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("case'"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalCase_x27___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l_Lean_Elab_Tactic_evalCase_x27___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; uint8_t x_12; +x_11 = l_Lean_Elab_Tactic_evalCase_x27___closed__2; +lean_inc(x_1); +x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10); +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; uint8_t x_23; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = lean_unsigned_to_nat(2u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = lean_unsigned_to_nat(3u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = lean_unsigned_to_nat(4u); +x_21 = l_Lean_Syntax_getArg(x_1, x_20); +x_22 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +lean_inc(x_21); +x_23 = l_Lean_Syntax_isOfKind(x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_24 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10); +return x_24; +} +else +{ +lean_object* x_25; uint8_t x_26; lean_object* x_27; +x_25 = l_Lean_Syntax_getArgs(x_17); +lean_dec(x_17); +x_26 = 0; +x_27 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore(x_1, x_15, x_25, x_19, x_21, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_27; +} +} +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalCase'"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase_x27), 10, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__14; +x_3 = l_Lean_Elab_Tactic_evalCase_x27___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(281u); +x_2 = lean_unsigned_to_nat(25u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(283u); +x_2 = lean_unsigned_to_nat(31u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__1; +x_2 = lean_unsigned_to_nat(25u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__2; +x_4 = lean_unsigned_to_nat(31u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(281u); +x_2 = lean_unsigned_to_nat(29u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(281u); +x_2 = lean_unsigned_to_nat(38u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__4; +x_2 = lean_unsigned_to_nat(29u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__5; +x_4 = lean_unsigned_to_nat(38u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} static lean_object* _init_l_Lean_Elab_Tactic_evalRenameInaccessibles___closed__1() { _start: { @@ -19932,7 +20282,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(275u); +x_1 = lean_unsigned_to_nat(285u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19944,7 +20294,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(277u); +x_1 = lean_unsigned_to_nat(287u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19972,7 +20322,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(275u); +x_1 = lean_unsigned_to_nat(285u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19984,7 +20334,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(275u); +x_1 = lean_unsigned_to_nat(285u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20301,7 +20651,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(279u); +x_1 = lean_unsigned_to_nat(289u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20313,7 +20663,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(288u); +x_1 = lean_unsigned_to_nat(298u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20341,7 +20691,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(279u); +x_1 = lean_unsigned_to_nat(289u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20353,7 +20703,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(279u); +x_1 = lean_unsigned_to_nat(289u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20634,7 +20984,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(290u); +x_1 = lean_unsigned_to_nat(300u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20646,7 +20996,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(299u); +x_1 = lean_unsigned_to_nat(309u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20674,7 +21024,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(290u); +x_1 = lean_unsigned_to_nat(300u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20686,7 +21036,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(290u); +x_1 = lean_unsigned_to_nat(300u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21869,14 +22219,14 @@ l_Lean_Elab_Tactic_renameInaccessibles___closed__1 = _init_l_Lean_Elab_Tactic_re lean_mark_persistent(l_Lean_Elab_Tactic_renameInaccessibles___closed__1); l_Lean_Elab_Tactic_renameInaccessibles___closed__2 = _init_l_Lean_Elab_Tactic_renameInaccessibles___closed__2(); lean_mark_persistent(l_Lean_Elab_Tactic_renameInaccessibles___closed__2); +l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__1 = _init_l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__1); +l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__2 = _init_l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalCaseCore___closed__2); l_Lean_Elab_Tactic_evalCase___closed__1 = _init_l_Lean_Elab_Tactic_evalCase___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__1); l_Lean_Elab_Tactic_evalCase___closed__2 = _init_l_Lean_Elab_Tactic_evalCase___closed__2(); lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__2); -l_Lean_Elab_Tactic_evalCase___closed__3 = _init_l_Lean_Elab_Tactic_evalCase___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__3); -l_Lean_Elab_Tactic_evalCase___closed__4 = _init_l_Lean_Elab_Tactic_evalCase___closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__4); l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1); l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2(); @@ -21903,6 +22253,36 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___closed res = l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Tactic_evalCase_x27___closed__1 = _init_l_Lean_Elab_Tactic_evalCase_x27___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalCase_x27___closed__1); +l_Lean_Elab_Tactic_evalCase_x27___closed__2 = _init_l_Lean_Elab_Tactic_evalCase_x27___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalCase_x27___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__3); +res = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__7); +res = l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Tactic_evalRenameInaccessibles___closed__1 = _init_l_Lean_Elab_Tactic_evalRenameInaccessibles___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_evalRenameInaccessibles___closed__1); l_Lean_Elab_Tactic_evalRenameInaccessibles___closed__2 = _init_l_Lean_Elab_Tactic_evalRenameInaccessibles___closed__2(); diff --git a/stage0/stdlib/Lean/Level.c b/stage0/stdlib/Lean/Level.c index a7040cc7d0..a9bd089791 100644 --- a/stage0/stdlib/Lean/Level.c +++ b/stage0/stdlib/Lean/Level.c @@ -70,6 +70,7 @@ LEAN_EXPORT uint8_t l_Lean_Level_hasMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_hasMVarEx___boxed(lean_object*); static lean_object* l_Lean_Level_mkData___closed__2; lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Level_geq_go(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Level_isEquiv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_instBEqLevel; @@ -108,6 +109,7 @@ uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Level_instToFormatLevel(lean_object*); LEAN_EXPORT lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Level_geq___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Level_updateMax_x21___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_isAlreadyNormalizedCheap___boxed(lean_object*); static lean_object* l_Lean_Level_PP_Result_format___closed__6; @@ -141,6 +143,7 @@ lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___ LEAN_EXPORT lean_object* l_Lean_Level_isParam___boxed(lean_object*); static lean_object* l_Lean_Level_PP_toResult___closed__2; lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Level_geq(lean_object*, lean_object*); LEAN_EXPORT uint32_t lean_level_depth(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_isIMax___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_insert___at_Lean_Level_collectMVars___spec__1(lean_object*, lean_object*, lean_object*); @@ -172,6 +175,7 @@ LEAN_EXPORT lean_object* l_Lean_Level_depth___boxed(lean_object*); LEAN_EXPORT lean_object* lean_level_mk_imax_simp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_toNat(lean_object*); static lean_object* l___private_Lean_Level_0__Lean_reprMVarId____x40_Lean_Level___hyg_512____closed__5; +LEAN_EXPORT lean_object* l_Lean_Level_geq_go___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_normLtAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedMVarIdMap(lean_object*); @@ -6983,6 +6987,371 @@ return x_2; } } } +LEAN_EXPORT uint8_t l_Lean_Level_geq_go(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = lean_level_eq(x_1, x_2); +if (x_3 == 0) +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +case 1: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_2, 0); +x_1 = x_5; +x_2 = x_6; +goto _start; +} +case 4: +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = l_Lean_Level_getLevelOffset(x_2); +x_9 = l_Lean_Level_getLevelOffset(x_1); +x_10 = lean_level_eq(x_9, x_8); +lean_dec(x_9); +if (x_10 == 0) +{ +uint8_t x_11; +x_11 = l_Lean_Level_isZero(x_8); +lean_dec(x_8); +if (x_11 == 0) +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_Level_getOffsetAux(x_2, x_13); +x_15 = l_Lean_Level_getOffsetAux(x_1, x_13); +x_16 = lean_nat_dec_le(x_14, x_15); +lean_dec(x_15); +lean_dec(x_14); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_8); +x_17 = lean_unsigned_to_nat(0u); +x_18 = l_Lean_Level_getOffsetAux(x_2, x_17); +x_19 = l_Lean_Level_getOffsetAux(x_1, x_17); +x_20 = lean_nat_dec_le(x_18, x_19); +lean_dec(x_19); +lean_dec(x_18); +return x_20; +} +} +case 5: +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = l_Lean_Level_getLevelOffset(x_2); +x_22 = l_Lean_Level_getLevelOffset(x_1); +x_23 = lean_level_eq(x_22, x_21); +lean_dec(x_22); +if (x_23 == 0) +{ +uint8_t x_24; +x_24 = l_Lean_Level_isZero(x_21); +lean_dec(x_21); +if (x_24 == 0) +{ +uint8_t x_25; +x_25 = 0; +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = lean_unsigned_to_nat(0u); +x_27 = l_Lean_Level_getOffsetAux(x_2, x_26); +x_28 = l_Lean_Level_getOffsetAux(x_1, x_26); +x_29 = lean_nat_dec_le(x_27, x_28); +lean_dec(x_28); +lean_dec(x_27); +return x_29; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +lean_dec(x_21); +x_30 = lean_unsigned_to_nat(0u); +x_31 = l_Lean_Level_getOffsetAux(x_2, x_30); +x_32 = l_Lean_Level_getOffsetAux(x_1, x_30); +x_33 = lean_nat_dec_le(x_31, x_32); +lean_dec(x_32); +lean_dec(x_31); +return x_33; +} +} +default: +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_34 = lean_ctor_get(x_2, 0); +x_35 = lean_ctor_get(x_2, 1); +x_36 = l_Lean_Level_geq_go(x_1, x_34); +if (x_36 == 0) +{ +uint8_t x_37; +x_37 = 0; +return x_37; +} +else +{ +x_2 = x_35; +goto _start; +} +} +} +} +case 2: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +uint8_t x_39; +x_39 = 1; +return x_39; +} +case 2: +{ +lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_40 = lean_ctor_get(x_2, 0); +x_41 = lean_ctor_get(x_2, 1); +x_42 = l_Lean_Level_geq_go(x_1, x_40); +if (x_42 == 0) +{ +uint8_t x_43; +x_43 = 0; +return x_43; +} +else +{ +x_2 = x_41; +goto _start; +} +} +default: +{ +lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_45 = lean_ctor_get(x_1, 0); +x_46 = lean_ctor_get(x_1, 1); +x_47 = l_Lean_Level_geq_go(x_45, x_2); +if (x_47 == 0) +{ +x_1 = x_46; +goto _start; +} +else +{ +uint8_t x_49; +x_49 = 1; +return x_49; +} +} +} +} +case 3: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +uint8_t x_50; +x_50 = 1; +return x_50; +} +case 2: +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_51 = lean_ctor_get(x_2, 0); +x_52 = lean_ctor_get(x_2, 1); +x_53 = l_Lean_Level_geq_go(x_1, x_51); +if (x_53 == 0) +{ +uint8_t x_54; +x_54 = 0; +return x_54; +} +else +{ +x_2 = x_52; +goto _start; +} +} +case 3: +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_56 = lean_ctor_get(x_2, 0); +x_57 = lean_ctor_get(x_2, 1); +x_58 = l_Lean_Level_geq_go(x_1, x_56); +if (x_58 == 0) +{ +uint8_t x_59; +x_59 = 0; +return x_59; +} +else +{ +x_2 = x_57; +goto _start; +} +} +default: +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_1, 1); +x_1 = x_61; +goto _start; +} +} +} +default: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +uint8_t x_63; +x_63 = 1; +return x_63; +} +case 2: +{ +lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_64 = lean_ctor_get(x_2, 0); +x_65 = lean_ctor_get(x_2, 1); +x_66 = l_Lean_Level_geq_go(x_1, x_64); +if (x_66 == 0) +{ +uint8_t x_67; +x_67 = 0; +return x_67; +} +else +{ +x_2 = x_65; +goto _start; +} +} +case 3: +{ +lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_69 = lean_ctor_get(x_2, 0); +x_70 = lean_ctor_get(x_2, 1); +x_71 = l_Lean_Level_geq_go(x_1, x_69); +if (x_71 == 0) +{ +uint8_t x_72; +x_72 = 0; +return x_72; +} +else +{ +x_2 = x_70; +goto _start; +} +} +default: +{ +lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_74 = l_Lean_Level_getLevelOffset(x_2); +x_75 = l_Lean_Level_getLevelOffset(x_1); +x_76 = lean_level_eq(x_75, x_74); +lean_dec(x_75); +if (x_76 == 0) +{ +uint8_t x_77; +x_77 = l_Lean_Level_isZero(x_74); +lean_dec(x_74); +if (x_77 == 0) +{ +uint8_t x_78; +x_78 = 0; +return x_78; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_unsigned_to_nat(0u); +x_80 = l_Lean_Level_getOffsetAux(x_2, x_79); +x_81 = l_Lean_Level_getOffsetAux(x_1, x_79); +x_82 = lean_nat_dec_le(x_80, x_81); +lean_dec(x_81); +lean_dec(x_80); +return x_82; +} +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_74); +x_83 = lean_unsigned_to_nat(0u); +x_84 = l_Lean_Level_getOffsetAux(x_2, x_83); +x_85 = l_Lean_Level_getOffsetAux(x_1, x_83); +x_86 = lean_nat_dec_le(x_84, x_85); +lean_dec(x_85); +lean_dec(x_84); +return x_86; +} +} +} +} +} +} +else +{ +uint8_t x_87; +x_87 = 1; +return x_87; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Level_geq_go___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Level_geq_go(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Lean_Level_geq(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Level_normalize(x_1); +x_4 = l_Lean_Level_normalize(x_2); +x_5 = l_Lean_Level_geq_go(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Level_geq___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Level_geq(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Std_RBNode_ins___at_Lean_Level_collectMVars___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { diff --git a/stage0/stdlib/Lean/Meta/PPGoal.c b/stage0/stdlib/Lean/Meta/PPGoal.c index 2bc649f349..75cabd5867 100644 --- a/stage0/stdlib/Lean/Meta/PPGoal.c +++ b/stage0/stdlib/Lean/Meta/PPGoal.c @@ -13,10 +13,9 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__4(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__5(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_34____closed__4; @@ -29,8 +28,10 @@ lean_object* lean_erase_macro_scopes(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forMAux___at_Lean_Meta_ToHide_fixpointStep___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasVisibleDep___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_is_inaccessible_user_name(lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___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_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__40(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_HashMap_0__Std_numBucketsForCapacity(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__38(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitApp___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__43___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -69,6 +70,7 @@ static lean_object* l_Lean_Meta_ppGoal___lambda__1___closed__3; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__32(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_MetavarContext_getExprAssignment_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_State_hiddenInaccessible___default; size_t lean_usize_sub(size_t, size_t); LEAN_EXPORT uint8_t l_Std_AssocList_contains___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__4(lean_object*, lean_object*); @@ -77,7 +79,9 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessible LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__47(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__8(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__25(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_hasInaccessibleNameDep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__31(lean_object*, lean_object*, size_t, size_t); @@ -93,6 +97,7 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_ lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitApp___at_Lean_Meta_ToHide_hasVisibleDep___spec__19(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasVisibleDep___spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__5(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withPPInaccessibleNames___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_visitVisibleExpr_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_State_hiddenInaccessibleProp___default; @@ -101,15 +106,17 @@ LEAN_EXPORT lean_object* l_Lean_LocalContext_forM___at_Lean_Meta_ToHide_fixpoint LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitApp___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashSetImp___rarg(lean_object*); -static lean_object* l_Lean_Meta_ToHide_collect___closed__1; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__24(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__10(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__34(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitApp___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -123,6 +130,7 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_ size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasVisibleDep___spec__12(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__48___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitApp___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__38(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__14(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -131,6 +139,7 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessible LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__29(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_fixpoint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasVisibleDep___spec__12___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__9(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasVisibleDep___spec__28___boxed(lean_object*, lean_object*); @@ -182,9 +191,9 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__23(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__48(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Meta_ppGoal_pushPending___closed__2; -LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_ToHide_collect___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasVisibleDep___spec__4___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasVisibleDep___spec__45___boxed(lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); @@ -196,6 +205,7 @@ static lean_object* l_Lean_Meta_ppGoal___lambda__1___closed__1; lean_object* l_Std_RBNode_appendTrees___rarg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__20(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__38___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal___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_Std_RBNode_balRight___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_RBNode_isBlack___rarg(lean_object*); @@ -229,6 +239,7 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasIna LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_erase___at_Lean_Meta_ToHide_unmark___spec__1(lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__13(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__36(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_unmark___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -266,9 +277,12 @@ lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_Lean_LocalDecl_value_x3f(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__5___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__12(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_6____closed__5; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__15(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__45(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__10(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -286,14 +300,18 @@ LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_unmark(lean_object*, lean_object*, l LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__36___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_findCore___at_Lean_Meta_ToHide_isMarked___spec__1___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__13(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_RBNode_isRed___rarg(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__31(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_810____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withPPInaccessibleNamesImp(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__8(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__7(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__42(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_pushPending(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withPPInaccessibleNamesImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -301,7 +319,6 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep__ static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_6____closed__1; static lean_object* l_Lean_Meta_ppGoal_pushPending___closed__3; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitApp___at_Lean_Meta_ToHide_hasVisibleDep___spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_Meta_ToHide_collect___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_fixpointStep___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_withPPInaccessibleNamesImp___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_Meta_ppGoal___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*); @@ -316,13 +333,14 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisible LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_6____closed__2; LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasVisibleDep___spec__44___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_Meta_ppGoal___spec__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_EXPORT lean_object* l_Lean_Option_setIfNotSet___at_Lean_Meta_withPPInaccessibleNamesImp___spec__1(lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_findDecl_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_visitVisibleExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__4(uint8_t, 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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___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*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasVisibleDep___spec__45(lean_object*, lean_object*); @@ -331,15 +349,15 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_moveToHiddeProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_34_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_6_(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ppGoal_ppVars___closed__3; LEAN_EXPORT lean_object* l_Std_RBNode_del___at_Lean_Meta_ToHide_unmark___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3___closed__1; static lean_object* l_Lean_Meta_ppGoal___closed__4; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__40(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__14(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withPPInaccessibleNames___rarg(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__34(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_fixpointStep___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*); @@ -352,9 +370,11 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisible LEAN_EXPORT lean_object* l_Lean_Meta_withPPInaccessibleNames(lean_object*, lean_object*); static lean_object* l_Lean_Meta_ppGoal___closed__1; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitApp___at_Lean_Meta_ToHide_hasVisibleDep___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__11(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasVisibleDep___spec__29(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__47(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__37(lean_object*, lean_object*); static lean_object* l_Lean_Meta_ppGoal___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__46(lean_object*, lean_object*, size_t, size_t); @@ -372,13 +392,15 @@ lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_hasVisibleDep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__2(lean_object*, lean_object*); lean_object* lean_simp_macro_scopes(lean_object*); +static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasVisibleDep___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ToHide_hasVisibleDep___closed__1; lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__14(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Meta_ppGoal_ppVars___closed__4; -LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__6(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__13(lean_object*, uint8_t, 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_usize_to_nat(size_t); @@ -401,10 +423,11 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessible LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forM___at_Lean_Meta_ToHide_fixpointStep___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__12(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___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_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec__2(lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__6(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitApp___at_Lean_Meta_ToHide_hasVisibleDep___spec__27(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasVisibleDep___spec__36(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_fixpointStep___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -420,7 +443,6 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInacces lean_object* l_Lean_LocalContext_sanitizeNames(lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_shouldVisit(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_Meta_ToHide_collect___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasVisibleDep___spec__37___boxed(lean_object*, lean_object*); static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_6____closed__1() { _start: @@ -16124,119 +16146,134 @@ goto block_19; } else { -lean_object* x_39; lean_object* x_40; uint8_t x_41; +uint8_t x_39; lean_dec(x_29); +x_39 = lean_ctor_get_uint8(x_5, sizeof(void*)*1); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_22); +lean_dec(x_21); +x_40 = lean_box(0); +x_14 = x_40; +x_15 = x_27; +goto block_19; +} +else +{ +lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_inc(x_21); -x_39 = l_Lean_Meta_ToHide_hasVisibleDep(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_27); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_unbox(x_40); -lean_dec(x_40); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_39, 1); +x_41 = l_Lean_Meta_ToHide_hasVisibleDep(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); -lean_dec(x_39); -x_43 = lean_box(0); +x_43 = lean_unbox(x_42); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +lean_dec(x_41); +x_45 = lean_box(0); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_44 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_fixpointStep___spec__5___lambda__1(x_21, x_22, x_43, x_5, x_6, x_7, x_8, x_9, x_10, x_42); -if (lean_obj_tag(x_44) == 0) +x_46 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_fixpointStep___spec__5___lambda__1(x_21, x_22, x_45, x_5, x_6, x_7, x_8, x_9, x_10, x_44); +if (lean_obj_tag(x_46) == 0) { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_14 = x_45; -x_15 = x_46; -goto block_19; -} -else -{ -uint8_t x_47; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_47 = !lean_is_exclusive(x_44); -if (x_47 == 0) -{ -return x_44; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_44, 0); -x_49 = lean_ctor_get(x_44, 1); -lean_inc(x_49); +lean_object* x_47; lean_object* x_48; +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_44); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_ctor_get(x_39, 1); -lean_inc(x_51); -lean_dec(x_39); -x_52 = l_Lean_Meta_ToHide_unmark(x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_51); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_55 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_fixpointStep___spec__5___lambda__1(x_21, x_22, x_53, x_5, x_6, x_7, x_8, x_9, x_10, x_54); -lean_dec(x_53); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_14 = x_56; -x_15 = x_57; +lean_dec(x_46); +x_14 = x_47; +x_15 = x_48; goto block_19; } else { -uint8_t x_58; +uint8_t x_49; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_58 = !lean_is_exclusive(x_55); -if (x_58 == 0) +x_49 = !lean_is_exclusive(x_46); +if (x_49 == 0) { -return x_55; +return x_46; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_55, 0); -x_60 = lean_ctor_get(x_55, 1); -lean_inc(x_60); -lean_inc(x_59); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_46, 0); +x_51 = lean_ctor_get(x_46, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_46); +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_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_53 = lean_ctor_get(x_41, 1); +lean_inc(x_53); +lean_dec(x_41); +x_54 = l_Lean_Meta_ToHide_unmark(x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_53); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_57 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_fixpointStep___spec__5___lambda__1(x_21, x_22, x_55, x_5, x_6, x_7, x_8, x_9, x_10, x_56); lean_dec(x_55); -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; +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_14 = x_58; +x_15 = x_59; +goto block_19; +} +else +{ +uint8_t x_60; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_60 = !lean_is_exclusive(x_57); +if (x_60 == 0) +{ +return x_57; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_57, 0); +x_62 = lean_ctor_get(x_57, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_57); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} } } } @@ -16255,15 +16292,15 @@ goto _start; } else { -lean_object* x_62; +lean_object* x_64; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_4); -lean_ctor_set(x_62, 1, x_11); -return x_62; +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_4); +lean_ctor_set(x_64, 1, x_11); +return x_64; } } } @@ -16584,17 +16621,18 @@ return x_10; LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_fixpointStep(lean_object* x_1, 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_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); lean_inc(x_4); -lean_inc(x_1); -x_8 = l_Lean_Meta_ToHide_visitVisibleExpr(x_1, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_ctor_get(x_3, 1); +x_9 = l_Lean_Meta_ToHide_visitVisibleExpr(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); -x_11 = l_Lean_LocalContext_forM___at_Lean_Meta_ToHide_fixpointStep___spec__1(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_9); -return x_11; +lean_dec(x_9); +x_11 = lean_ctor_get(x_3, 1); +lean_inc(x_11); +x_12 = l_Lean_LocalContext_forM___at_Lean_Meta_ToHide_fixpointStep___spec__1(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +return x_12; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_fixpointStep___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -16864,305 +16902,297 @@ return x_58; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__5(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_2, x_3); -if (x_5 == 0) +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) { -lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; -x_6 = lean_array_uget(x_1, x_2); -x_7 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_ToHide_collect___spec__4(x_6, x_4); -x_8 = 1; -x_9 = lean_usize_add(x_2, x_8); -x_2 = x_9; -x_4 = x_7; +lean_object* x_12; lean_object* x_13; +x_12 = lean_array_uget(x_2, x_3); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_13 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__4(x_1, x_12, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_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 = 1; +x_17 = lean_usize_add(x_3, x_16); +x_3 = x_17; +x_5 = x_14; +x_10 = x_15; goto _start; } else { -return x_4; -} -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_2, x_3); -if (x_5 == 0) -{ -lean_object* x_6; size_t x_7; size_t x_8; -x_6 = lean_array_uget(x_1, x_2); -x_7 = 1; -x_8 = lean_usize_add(x_2, x_7); -if (lean_obj_tag(x_6) == 0) -{ -x_2 = x_8; -goto _start; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -lean_dec(x_6); -x_11 = l_Lean_LocalDecl_userName(x_10); -x_12 = lean_is_inaccessible_user_name(x_11); -if (x_12 == 0) -{ -lean_dec(x_10); -x_2 = x_8; -goto _start; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = l_Lean_LocalDecl_fvarId(x_10); -lean_dec(x_10); -x_15 = lean_box(0); -x_16 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_4, x_14, x_15); -x_2 = x_8; -x_4 = x_16; -goto _start; -} -} -} -else -{ -return x_4; -} -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_ToHide_collect___spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -lean_dec(x_1); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -lean_dec(x_4); -lean_dec(x_3); -return x_2; -} -else -{ -uint8_t x_7; -x_7 = lean_nat_dec_le(x_4, x_4); -if (x_7 == 0) -{ -lean_dec(x_4); -lean_dec(x_3); -return x_2; -} -else -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = 0; -x_9 = lean_usize_of_nat(x_4); -lean_dec(x_4); -x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__5(x_3, x_8, x_9, x_2); -lean_dec(x_3); -return x_10; -} -} -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -lean_dec(x_1); -x_12 = lean_array_get_size(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_lt(x_13, x_12); -if (x_14 == 0) -{ -lean_dec(x_12); -lean_dec(x_11); -return x_2; -} -else -{ -uint8_t x_15; -x_15 = lean_nat_dec_le(x_12, x_12); -if (x_15 == 0) -{ -lean_dec(x_12); -lean_dec(x_11); -return x_2; -} -else -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = 0; -x_17 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__6(x_11, x_16, x_17, x_2); -lean_dec(x_11); -return x_18; -} -} -} -} -} -static lean_object* _init_l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Std_instInhabitedPersistentArrayNode(lean_box(0)); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_usize_shift_right(x_2, x_3); -x_7 = lean_usize_to_nat(x_6); -x_8 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3___closed__1; -x_9 = lean_array_get(x_8, x_5, x_7); -x_10 = 1; -x_11 = lean_usize_shift_left(x_10, x_3); -x_12 = lean_usize_sub(x_11, x_10); -x_13 = lean_usize_land(x_2, x_12); -x_14 = 5; -x_15 = lean_usize_sub(x_3, x_14); -x_16 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3(x_9, x_13, x_15, x_4); +uint8_t x_19; lean_dec(x_9); -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_7, x_17); +lean_dec(x_8); lean_dec(x_7); -x_19 = lean_array_get_size(x_5); -x_20 = lean_nat_dec_lt(x_18, x_19); -if (x_20 == 0) +lean_dec(x_6); +x_19 = !lean_is_exclusive(x_13); +if (x_19 == 0) { -lean_dec(x_19); -lean_dec(x_18); -return x_16; +return x_13; } else { -uint8_t x_21; -x_21 = lean_nat_dec_le(x_19, x_19); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +else +{ +lean_object* x_23; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_5); +lean_ctor_set(x_23, 1, x_10); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__6(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_12) == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +lean_object* x_16; uint8_t x_17; lean_object* x_44; uint8_t x_45; +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec(x_12); +x_44 = l_Lean_LocalDecl_userName(x_16); +x_45 = lean_is_inaccessible_user_name(x_44); +if (x_45 == 0) +{ +size_t x_46; size_t x_47; +lean_dec(x_16); +x_46 = 1; +x_47 = lean_usize_add(x_3, x_46); +x_3 = x_47; +goto _start; +} +else +{ +if (x_1 == 0) +{ +uint8_t x_49; +x_49 = 1; +x_17 = x_49; +goto block_43; +} +else +{ +uint8_t x_50; +x_50 = 0; +x_17 = x_50; +goto block_43; +} +} +block_43: +{ +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = l_Lean_LocalDecl_type(x_16); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_19 = l_Lean_Meta_isProp(x_18, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +lean_dec(x_20); if (x_21 == 0) { +lean_object* x_22; size_t x_23; size_t x_24; +lean_dec(x_16); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); lean_dec(x_19); -lean_dec(x_18); -return x_16; +x_23 = 1; +x_24 = lean_usize_add(x_3, x_23); +x_3 = x_24; +x_10 = x_22; +goto _start; } else { -size_t x_22; size_t x_23; lean_object* x_24; -x_22 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_23 = lean_usize_of_nat(x_19); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); lean_dec(x_19); -x_24 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__5(x_5, x_22, x_23, x_16); -return x_24; +x_27 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_28 = lean_box(0); +x_29 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_27, x_28); +x_30 = 1; +x_31 = lean_usize_add(x_3, x_30); +x_3 = x_31; +x_5 = x_29; +x_10 = x_26; +goto _start; +} +} +else +{ +uint8_t x_33; +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_33 = !lean_is_exclusive(x_19); +if (x_33 == 0) +{ +return x_19; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_19, 0); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_19); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = lean_ctor_get(x_1, 0); -x_26 = lean_usize_to_nat(x_2); -x_27 = lean_array_get_size(x_25); -x_28 = lean_nat_dec_lt(x_26, x_27); -if (x_28 == 0) -{ -lean_dec(x_27); -lean_dec(x_26); -return x_4; +lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; +x_37 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_38 = lean_box(0); +x_39 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_37, x_38); +x_40 = 1; +x_41 = lean_usize_add(x_3, x_40); +x_3 = x_41; +x_5 = x_39; +goto _start; +} +} +} } else { -uint8_t x_29; -x_29 = lean_nat_dec_le(x_27, x_27); -if (x_29 == 0) -{ -lean_dec(x_27); -lean_dec(x_26); -return x_4; -} -else -{ -size_t x_30; size_t x_31; lean_object* x_32; -x_30 = lean_usize_of_nat(x_26); -lean_dec(x_26); -x_31 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__6(x_25, x_30, x_31, x_4); -return x_32; +lean_object* x_51; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_5); +lean_ctor_set(x_51, 1, x_10); +return x_51; } } } -} -} -LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_Meta_ToHide_collect___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__4(uint8_t x_1, lean_object* x_2, 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_4; uint8_t x_5; -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_nat_dec_eq(x_3, x_4); -if (x_5 == 0) +if (lean_obj_tag(x_2) == 0) { -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_1, 3); -lean_inc(x_6); -x_7 = lean_nat_dec_le(x_6, x_3); -if (x_7 == 0) +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_2, 0); +lean_inc(x_9); +lean_dec(x_2); +x_10 = lean_array_get_size(x_9); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_lt(x_11, x_10); +if (x_12 == 0) { -lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +lean_object* x_13; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); lean_dec(x_6); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); -x_9 = lean_usize_of_nat(x_3); -lean_dec(x_3); -x_10 = lean_ctor_get_usize(x_1, 4); -x_11 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3(x_8, x_9, x_10, x_2); -lean_dec(x_8); -x_12 = lean_ctor_get(x_1, 1); -lean_inc(x_12); -lean_dec(x_1); -x_13 = lean_array_get_size(x_12); -x_14 = lean_nat_dec_lt(x_4, x_13); -if (x_14 == 0) -{ -lean_dec(x_13); -lean_dec(x_12); -return x_11; +lean_dec(x_5); +lean_dec(x_4); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_8); +return x_13; } else { -uint8_t x_15; -x_15 = lean_nat_dec_le(x_13, x_13); -if (x_15 == 0) +uint8_t x_14; +x_14 = lean_nat_dec_le(x_10, x_10); +if (x_14 == 0) { -lean_dec(x_13); -lean_dec(x_12); -return x_11; +lean_object* x_15; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_8); +return x_15; } else { size_t x_16; size_t x_17; lean_object* x_18; x_16 = 0; -x_17 = lean_usize_of_nat(x_13); -lean_dec(x_13); -x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__6(x_12, x_16, x_17, x_11); -lean_dec(x_12); +x_17 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_18 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__5(x_1, x_9, x_16, x_17, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_9); return x_18; } } @@ -17170,108 +17200,1932 @@ return x_18; else { lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_1, 1); +x_19 = lean_ctor_get(x_2, 0); lean_inc(x_19); -lean_dec(x_1); -x_20 = lean_nat_sub(x_3, x_6); -lean_dec(x_6); -lean_dec(x_3); -x_21 = lean_array_get_size(x_19); -x_22 = lean_nat_dec_lt(x_20, x_21); +lean_dec(x_2); +x_20 = lean_array_get_size(x_19); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_nat_dec_lt(x_21, x_20); if (x_22 == 0) { -lean_dec(x_21); +lean_object* x_23; lean_dec(x_20); lean_dec(x_19); -return x_2; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_3); +lean_ctor_set(x_23, 1, x_8); +return x_23; } else { +uint8_t x_24; +x_24 = lean_nat_dec_le(x_20, x_20); +if (x_24 == 0) +{ +lean_object* x_25; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_3); +lean_ctor_set(x_25, 1, x_8); +return x_25; +} +else +{ +size_t x_26; size_t x_27; lean_object* x_28; +x_26 = 0; +x_27 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_28 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__6(x_1, x_19, x_26, x_27, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_19); +return x_28; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__7(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_array_uget(x_2, x_3); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_13 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__4(x_1, x_12, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_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 = 1; +x_17 = lean_usize_add(x_3, x_16); +x_3 = x_17; +x_5 = x_14; +x_10 = x_15; +goto _start; +} +else +{ +uint8_t x_19; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_19 = !lean_is_exclusive(x_13); +if (x_19 == 0) +{ +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +else +{ +lean_object* x_23; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_5); +lean_ctor_set(x_23, 1, x_10); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__8(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_12) == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +lean_object* x_16; uint8_t x_17; lean_object* x_44; uint8_t x_45; +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec(x_12); +x_44 = l_Lean_LocalDecl_userName(x_16); +x_45 = lean_is_inaccessible_user_name(x_44); +if (x_45 == 0) +{ +size_t x_46; size_t x_47; +lean_dec(x_16); +x_46 = 1; +x_47 = lean_usize_add(x_3, x_46); +x_3 = x_47; +goto _start; +} +else +{ +if (x_1 == 0) +{ +uint8_t x_49; +x_49 = 1; +x_17 = x_49; +goto block_43; +} +else +{ +uint8_t x_50; +x_50 = 0; +x_17 = x_50; +goto block_43; +} +} +block_43: +{ +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = l_Lean_LocalDecl_type(x_16); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_19 = l_Lean_Meta_isProp(x_18, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; size_t x_23; size_t x_24; +lean_dec(x_16); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = 1; +x_24 = lean_usize_add(x_3, x_23); +x_3 = x_24; +x_10 = x_22; +goto _start; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_27 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_28 = lean_box(0); +x_29 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_27, x_28); +x_30 = 1; +x_31 = lean_usize_add(x_3, x_30); +x_3 = x_31; +x_5 = x_29; +x_10 = x_26; +goto _start; +} +} +else +{ +uint8_t x_33; +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_33 = !lean_is_exclusive(x_19); +if (x_33 == 0) +{ +return x_19; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_19, 0); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_19); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; +x_37 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_38 = lean_box(0); +x_39 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_37, x_38); +x_40 = 1; +x_41 = lean_usize_add(x_3, x_40); +x_3 = x_41; +x_5 = x_39; +goto _start; +} +} +} +} +else +{ +lean_object* x_51; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_5); +lean_ctor_set(x_51, 1, x_10); +return x_51; +} +} +} +static lean_object* _init_l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Std_instInhabitedPersistentArrayNode(lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_usize_shift_right(x_3, x_4); +x_13 = lean_usize_to_nat(x_12); +x_14 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3___closed__1; +x_15 = lean_array_get(x_14, x_11, x_13); +x_16 = 1; +x_17 = lean_usize_shift_left(x_16, x_4); +x_18 = lean_usize_sub(x_17, x_16); +x_19 = lean_usize_land(x_3, x_18); +x_20 = 5; +x_21 = lean_usize_sub(x_4, x_20); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_22 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3(x_1, x_15, x_19, x_21, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_15); +if (lean_obj_tag(x_22) == 0) +{ uint8_t x_23; -x_23 = lean_nat_dec_le(x_21, x_21); +x_23 = !lean_is_exclusive(x_22); if (x_23 == 0) { -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -return x_2; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_add(x_13, x_26); +lean_dec(x_13); +x_28 = lean_array_get_size(x_11); +x_29 = lean_nat_dec_lt(x_27, x_28); +if (x_29 == 0) +{ +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_22; } else { -size_t x_24; size_t x_25; lean_object* x_26; -x_24 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_25 = lean_usize_of_nat(x_21); -lean_dec(x_21); -x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__6(x_19, x_24, x_25, x_2); -lean_dec(x_19); -return x_26; +uint8_t x_30; +x_30 = lean_nat_dec_le(x_28, x_28); +if (x_30 == 0) +{ +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_22; +} +else +{ +size_t x_31; size_t x_32; lean_object* x_33; +lean_free_object(x_22); +x_31 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_32 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_33 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__7(x_1, x_11, x_31, x_32, x_24, x_6, x_7, x_8, x_9, x_25); +return x_33; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_34 = lean_ctor_get(x_22, 0); +x_35 = lean_ctor_get(x_22, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_22); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_nat_add(x_13, x_36); +lean_dec(x_13); +x_38 = lean_array_get_size(x_11); +x_39 = lean_nat_dec_lt(x_37, x_38); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_38); +lean_dec(x_37); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_34); +lean_ctor_set(x_40, 1, x_35); +return x_40; +} +else +{ +uint8_t x_41; +x_41 = lean_nat_dec_le(x_38, x_38); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_38); +lean_dec(x_37); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_34); +lean_ctor_set(x_42, 1, x_35); +return x_42; +} +else +{ +size_t x_43; size_t x_44; lean_object* x_45; +x_43 = lean_usize_of_nat(x_37); +lean_dec(x_37); +x_44 = lean_usize_of_nat(x_38); +lean_dec(x_38); +x_45 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__7(x_1, x_11, x_43, x_44, x_34, x_6, x_7, x_8, x_9, x_35); +return x_45; } } } } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -lean_dec(x_3); -x_27 = lean_ctor_get(x_1, 0); -lean_inc(x_27); -x_28 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_ToHide_collect___spec__4(x_27, x_2); -x_29 = lean_ctor_get(x_1, 1); -lean_inc(x_29); -lean_dec(x_1); -x_30 = lean_array_get_size(x_29); -x_31 = lean_nat_dec_lt(x_4, x_30); -if (x_31 == 0) +uint8_t x_46; +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_46 = !lean_is_exclusive(x_22); +if (x_46 == 0) { -lean_dec(x_30); -lean_dec(x_29); +return x_22; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_22, 0); +x_48 = lean_ctor_get(x_22, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_22); +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 +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_50 = lean_ctor_get(x_2, 0); +x_51 = lean_usize_to_nat(x_3); +x_52 = lean_array_get_size(x_50); +x_53 = lean_nat_dec_lt(x_51, x_52); +if (x_53 == 0) +{ +lean_object* x_54; +lean_dec(x_52); +lean_dec(x_51); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_5); +lean_ctor_set(x_54, 1, x_10); +return x_54; +} +else +{ +uint8_t x_55; +x_55 = lean_nat_dec_le(x_52, x_52); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_52); +lean_dec(x_51); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_5); +lean_ctor_set(x_56, 1, x_10); +return x_56; +} +else +{ +size_t x_57; size_t x_58; lean_object* x_59; +x_57 = lean_usize_of_nat(x_51); +lean_dec(x_51); +x_58 = lean_usize_of_nat(x_52); +lean_dec(x_52); +x_59 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__8(x_1, x_50, x_57, x_58, x_5, x_6, x_7, x_8, x_9, x_10); +return x_59; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__9(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_12) == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +lean_object* x_16; uint8_t x_17; lean_object* x_44; uint8_t x_45; +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec(x_12); +x_44 = l_Lean_LocalDecl_userName(x_16); +x_45 = lean_is_inaccessible_user_name(x_44); +if (x_45 == 0) +{ +size_t x_46; size_t x_47; +lean_dec(x_16); +x_46 = 1; +x_47 = lean_usize_add(x_3, x_46); +x_3 = x_47; +goto _start; +} +else +{ +if (x_1 == 0) +{ +uint8_t x_49; +x_49 = 1; +x_17 = x_49; +goto block_43; +} +else +{ +uint8_t x_50; +x_50 = 0; +x_17 = x_50; +goto block_43; +} +} +block_43: +{ +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = l_Lean_LocalDecl_type(x_16); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_19 = l_Lean_Meta_isProp(x_18, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; size_t x_23; size_t x_24; +lean_dec(x_16); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = 1; +x_24 = lean_usize_add(x_3, x_23); +x_3 = x_24; +x_10 = x_22; +goto _start; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_27 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_28 = lean_box(0); +x_29 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_27, x_28); +x_30 = 1; +x_31 = lean_usize_add(x_3, x_30); +x_3 = x_31; +x_5 = x_29; +x_10 = x_26; +goto _start; +} +} +else +{ +uint8_t x_33; +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_33 = !lean_is_exclusive(x_19); +if (x_33 == 0) +{ +return x_19; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_19, 0); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_19); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; +x_37 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_38 = lean_box(0); +x_39 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_37, x_38); +x_40 = 1; +x_41 = lean_usize_add(x_3, x_40); +x_3 = x_41; +x_5 = x_39; +goto _start; +} +} +} +} +else +{ +lean_object* x_51; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_5); +lean_ctor_set(x_51, 1, x_10); +return x_51; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__10(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_12) == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +lean_object* x_16; uint8_t x_17; lean_object* x_44; uint8_t x_45; +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec(x_12); +x_44 = l_Lean_LocalDecl_userName(x_16); +x_45 = lean_is_inaccessible_user_name(x_44); +if (x_45 == 0) +{ +size_t x_46; size_t x_47; +lean_dec(x_16); +x_46 = 1; +x_47 = lean_usize_add(x_3, x_46); +x_3 = x_47; +goto _start; +} +else +{ +if (x_1 == 0) +{ +uint8_t x_49; +x_49 = 1; +x_17 = x_49; +goto block_43; +} +else +{ +uint8_t x_50; +x_50 = 0; +x_17 = x_50; +goto block_43; +} +} +block_43: +{ +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = l_Lean_LocalDecl_type(x_16); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_19 = l_Lean_Meta_isProp(x_18, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; size_t x_23; size_t x_24; +lean_dec(x_16); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = 1; +x_24 = lean_usize_add(x_3, x_23); +x_3 = x_24; +x_10 = x_22; +goto _start; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_27 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_28 = lean_box(0); +x_29 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_27, x_28); +x_30 = 1; +x_31 = lean_usize_add(x_3, x_30); +x_3 = x_31; +x_5 = x_29; +x_10 = x_26; +goto _start; +} +} +else +{ +uint8_t x_33; +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_33 = !lean_is_exclusive(x_19); +if (x_33 == 0) +{ +return x_19; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_19, 0); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_19); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; +x_37 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_38 = lean_box(0); +x_39 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_37, x_38); +x_40 = 1; +x_41 = lean_usize_add(x_3, x_40); +x_3 = x_41; +x_5 = x_39; +goto _start; +} +} +} +} +else +{ +lean_object* x_51; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_5); +lean_ctor_set(x_51, 1, x_10); +return x_51; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__12(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_array_uget(x_2, x_3); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_13 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__11(x_1, x_12, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_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 = 1; +x_17 = lean_usize_add(x_3, x_16); +x_3 = x_17; +x_5 = x_14; +x_10 = x_15; +goto _start; +} +else +{ +uint8_t x_19; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_19 = !lean_is_exclusive(x_13); +if (x_19 == 0) +{ +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +else +{ +lean_object* x_23; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_5); +lean_ctor_set(x_23, 1, x_10); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__13(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_12) == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +lean_object* x_16; uint8_t x_17; lean_object* x_44; uint8_t x_45; +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec(x_12); +x_44 = l_Lean_LocalDecl_userName(x_16); +x_45 = lean_is_inaccessible_user_name(x_44); +if (x_45 == 0) +{ +size_t x_46; size_t x_47; +lean_dec(x_16); +x_46 = 1; +x_47 = lean_usize_add(x_3, x_46); +x_3 = x_47; +goto _start; +} +else +{ +if (x_1 == 0) +{ +uint8_t x_49; +x_49 = 1; +x_17 = x_49; +goto block_43; +} +else +{ +uint8_t x_50; +x_50 = 0; +x_17 = x_50; +goto block_43; +} +} +block_43: +{ +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = l_Lean_LocalDecl_type(x_16); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_19 = l_Lean_Meta_isProp(x_18, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; size_t x_23; size_t x_24; +lean_dec(x_16); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = 1; +x_24 = lean_usize_add(x_3, x_23); +x_3 = x_24; +x_10 = x_22; +goto _start; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_27 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_28 = lean_box(0); +x_29 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_27, x_28); +x_30 = 1; +x_31 = lean_usize_add(x_3, x_30); +x_3 = x_31; +x_5 = x_29; +x_10 = x_26; +goto _start; +} +} +else +{ +uint8_t x_33; +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_33 = !lean_is_exclusive(x_19); +if (x_33 == 0) +{ +return x_19; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_19, 0); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_19); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; +x_37 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_38 = lean_box(0); +x_39 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_37, x_38); +x_40 = 1; +x_41 = lean_usize_add(x_3, x_40); +x_3 = x_41; +x_5 = x_39; +goto _start; +} +} +} +} +else +{ +lean_object* x_51; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_5); +lean_ctor_set(x_51, 1, x_10); +return x_51; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__11(uint8_t x_1, lean_object* x_2, 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) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_2, 0); +lean_inc(x_9); +lean_dec(x_2); +x_10 = lean_array_get_size(x_9); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_lt(x_11, x_10); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_8); +return x_13; +} +else +{ +uint8_t x_14; +x_14 = lean_nat_dec_le(x_10, x_10); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_8); +return x_15; +} +else +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = 0; +x_17 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_18 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__12(x_1, x_9, x_16, x_17, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_9); +return x_18; +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = lean_ctor_get(x_2, 0); +lean_inc(x_19); +lean_dec(x_2); +x_20 = lean_array_get_size(x_19); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_nat_dec_lt(x_21, x_20); +if (x_22 == 0) +{ +lean_object* x_23; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_3); +lean_ctor_set(x_23, 1, x_8); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = lean_nat_dec_le(x_20, x_20); +if (x_24 == 0) +{ +lean_object* x_25; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_3); +lean_ctor_set(x_25, 1, x_8); +return x_25; +} +else +{ +size_t x_26; size_t x_27; lean_object* x_28; +x_26 = 0; +x_27 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_28 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__13(x_1, x_19, x_26, x_27, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_19); return x_28; } +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__14(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_12) == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} else { -uint8_t x_32; -x_32 = lean_nat_dec_le(x_30, x_30); +lean_object* x_16; uint8_t x_17; lean_object* x_44; uint8_t x_45; +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec(x_12); +x_44 = l_Lean_LocalDecl_userName(x_16); +x_45 = lean_is_inaccessible_user_name(x_44); +if (x_45 == 0) +{ +size_t x_46; size_t x_47; +lean_dec(x_16); +x_46 = 1; +x_47 = lean_usize_add(x_3, x_46); +x_3 = x_47; +goto _start; +} +else +{ +if (x_1 == 0) +{ +uint8_t x_49; +x_49 = 1; +x_17 = x_49; +goto block_43; +} +else +{ +uint8_t x_50; +x_50 = 0; +x_17 = x_50; +goto block_43; +} +} +block_43: +{ +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = l_Lean_LocalDecl_type(x_16); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_19 = l_Lean_Meta_isProp(x_18, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; size_t x_23; size_t x_24; +lean_dec(x_16); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = 1; +x_24 = lean_usize_add(x_3, x_23); +x_3 = x_24; +x_10 = x_22; +goto _start; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_27 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_28 = lean_box(0); +x_29 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_27, x_28); +x_30 = 1; +x_31 = lean_usize_add(x_3, x_30); +x_3 = x_31; +x_5 = x_29; +x_10 = x_26; +goto _start; +} +} +else +{ +uint8_t x_33; +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_33 = !lean_is_exclusive(x_19); +if (x_33 == 0) +{ +return x_19; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_19, 0); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_19); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; +x_37 = l_Lean_LocalDecl_fvarId(x_16); +lean_dec(x_16); +x_38 = lean_box(0); +x_39 = l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_5, x_37, x_38); +x_40 = 1; +x_41 = lean_usize_add(x_3, x_40); +x_3 = x_41; +x_5 = x_39; +goto _start; +} +} +} +} +else +{ +lean_object* x_51; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_5); +lean_ctor_set(x_51, 1, x_10); +return x_51; +} +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_eq(x_4, x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_2, 3); +lean_inc(x_12); +x_13 = lean_nat_dec_le(x_12, x_4); +if (x_13 == 0) +{ +lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +lean_dec(x_12); +x_14 = lean_ctor_get(x_2, 0); +lean_inc(x_14); +x_15 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_16 = lean_ctor_get_usize(x_2, 4); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_17 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3(x_1, x_14, x_15, x_16, x_3, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_14); +if (lean_obj_tag(x_17) == 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; uint8_t x_23; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +x_21 = lean_ctor_get(x_2, 1); +lean_inc(x_21); +lean_dec(x_2); +x_22 = lean_array_get_size(x_21); +x_23 = lean_nat_dec_lt(x_10, x_22); +if (x_23 == 0) +{ +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_17; +} +else +{ +uint8_t x_24; +x_24 = lean_nat_dec_le(x_22, x_22); +if (x_24 == 0) +{ +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_17; +} +else +{ +size_t x_25; size_t x_26; lean_object* x_27; +lean_free_object(x_17); +x_25 = 0; +x_26 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_27 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__9(x_1, x_21, x_25, x_26, x_19, x_5, x_6, x_7, x_8, x_20); +lean_dec(x_21); +return x_27; +} +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_17, 0); +x_29 = lean_ctor_get(x_17, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_17); +x_30 = lean_ctor_get(x_2, 1); +lean_inc(x_30); +lean_dec(x_2); +x_31 = lean_array_get_size(x_30); +x_32 = lean_nat_dec_lt(x_10, x_31); if (x_32 == 0) { +lean_object* x_33; +lean_dec(x_31); lean_dec(x_30); -lean_dec(x_29); -return x_28; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_28); +lean_ctor_set(x_33, 1, x_29); +return x_33; } else { -size_t x_33; size_t x_34; lean_object* x_35; -x_33 = 0; -x_34 = lean_usize_of_nat(x_30); +uint8_t x_34; +x_34 = lean_nat_dec_le(x_31, x_31); +if (x_34 == 0) +{ +lean_object* x_35; +lean_dec(x_31); lean_dec(x_30); -x_35 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__6(x_29, x_33, x_34, x_28); -lean_dec(x_29); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_28); +lean_ctor_set(x_35, 1, x_29); return x_35; } +else +{ +size_t x_36; size_t x_37; lean_object* x_38; +x_36 = 0; +x_37 = lean_usize_of_nat(x_31); +lean_dec(x_31); +x_38 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__9(x_1, x_30, x_36, x_37, x_28, x_5, x_6, x_7, x_8, x_29); +lean_dec(x_30); +return x_38; } } } } -LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_Meta_ToHide_collect___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +else +{ +uint8_t x_39; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_39 = !lean_is_exclusive(x_17); +if (x_39 == 0) +{ +return x_17; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_17, 0); +x_41 = lean_ctor_get(x_17, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_17); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_2, 1); +lean_inc(x_43); +lean_dec(x_2); +x_44 = lean_nat_sub(x_4, x_12); +lean_dec(x_12); +lean_dec(x_4); +x_45 = lean_array_get_size(x_43); +x_46 = lean_nat_dec_lt(x_44, x_45); +if (x_46 == 0) +{ +lean_object* x_47; +lean_dec(x_45); +lean_dec(x_44); +lean_dec(x_43); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_3); +lean_ctor_set(x_47, 1, x_9); +return x_47; +} +else +{ +uint8_t x_48; +x_48 = lean_nat_dec_le(x_45, x_45); +if (x_48 == 0) +{ +lean_object* x_49; +lean_dec(x_45); +lean_dec(x_44); +lean_dec(x_43); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_3); +lean_ctor_set(x_49, 1, x_9); +return x_49; +} +else +{ +size_t x_50; size_t x_51; lean_object* x_52; +x_50 = lean_usize_of_nat(x_44); +lean_dec(x_44); +x_51 = lean_usize_of_nat(x_45); +lean_dec(x_45); +x_52 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__10(x_1, x_43, x_50, x_51, x_3, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_43); +return x_52; +} +} +} +} +else +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_4); +x_53 = lean_ctor_get(x_2, 0); +lean_inc(x_53); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_54 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__11(x_1, x_53, x_3, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_54) == 0) +{ +uint8_t x_55; +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_56 = lean_ctor_get(x_54, 0); +x_57 = lean_ctor_get(x_54, 1); +x_58 = lean_ctor_get(x_2, 1); +lean_inc(x_58); +lean_dec(x_2); +x_59 = lean_array_get_size(x_58); +x_60 = lean_nat_dec_lt(x_10, x_59); +if (x_60 == 0) +{ +lean_dec(x_59); +lean_dec(x_58); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_54; +} +else +{ +uint8_t x_61; +x_61 = lean_nat_dec_le(x_59, x_59); +if (x_61 == 0) +{ +lean_dec(x_59); +lean_dec(x_58); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_54; +} +else +{ +size_t x_62; size_t x_63; lean_object* x_64; +lean_free_object(x_54); +x_62 = 0; +x_63 = lean_usize_of_nat(x_59); +lean_dec(x_59); +x_64 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__14(x_1, x_58, x_62, x_63, x_56, x_5, x_6, x_7, x_8, x_57); +lean_dec(x_58); +return x_64; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_65 = lean_ctor_get(x_54, 0); +x_66 = lean_ctor_get(x_54, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_54); +x_67 = lean_ctor_get(x_2, 1); +lean_inc(x_67); +lean_dec(x_2); +x_68 = lean_array_get_size(x_67); +x_69 = lean_nat_dec_lt(x_10, x_68); +if (x_69 == 0) +{ +lean_object* x_70; +lean_dec(x_68); +lean_dec(x_67); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_65); +lean_ctor_set(x_70, 1, x_66); +return x_70; +} +else +{ +uint8_t x_71; +x_71 = lean_nat_dec_le(x_68, x_68); +if (x_71 == 0) +{ +lean_object* x_72; +lean_dec(x_68); +lean_dec(x_67); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_65); +lean_ctor_set(x_72, 1, x_66); +return x_72; +} +else +{ +size_t x_73; size_t x_74; lean_object* x_75; +x_73 = 0; +x_74 = lean_usize_of_nat(x_68); +lean_dec(x_68); +x_75 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__14(x_1, x_67, x_73, x_74, x_65, x_5, x_6, x_7, x_8, x_66); +lean_dec(x_67); +return x_75; +} +} +} +} +else +{ +uint8_t x_76; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_76 = !lean_is_exclusive(x_54); +if (x_76 == 0) +{ +return x_54; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_54, 0); +x_78 = lean_ctor_get(x_54, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_54); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, 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_4; lean_object* x_5; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +lean_dec(x_2); +x_11 = l_Std_PersistentArray_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__2(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +x_8 = lean_box(0); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Lean_LocalContext_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__1(x_1, x_7, x_8, x_9, x_2, x_3, x_4, x_5, x_6); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_unbox(x_1); lean_dec(x_1); -x_5 = l_Std_PersistentArray_foldlM___at_Lean_Meta_ToHide_collect___spec__2(x_4, x_2, x_3); -return x_5; +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__5(x_11, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_14; } } -static lean_object* _init_l_Lean_Meta_ToHide_collect___closed__1() { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__6___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_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -return x_2; +lean_object* x_8; +x_8 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__6___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__6(x_11, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__4(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__7(x_11, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__8(x_11, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3(x_11, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__9(x_11, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__10(x_11, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__12(x_11, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__13(x_11, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__11(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__14(x_11, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Std_PersistentArray_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__2(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_LocalContext_foldlM___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_1); +lean_dec(x_1); +x_8 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible(x_7, x_2, x_3, x_4, x_5, x_6); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Meta_ToHide_collect(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -17285,159 +19139,286 @@ x_9 = l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(x_7, x_8); lean_dec(x_7); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; 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_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); -x_11 = lean_box(0); -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_LocalContext_foldlM___at_Lean_Meta_ToHide_collect___spec__1(x_10, x_11, x_12); -x_14 = 0; -x_15 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_15, 0, x_11); -lean_ctor_set(x_15, 1, x_13); -lean_ctor_set_uint8(x_15, sizeof(void*)*2, x_14); -x_16 = lean_st_ref_get(x_5, x_6); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_st_mk_ref(x_15, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); +uint8_t x_10; lean_object* x_11; +x_10 = 0; lean_inc(x_5); -lean_inc(x_19); -x_21 = l_Lean_Meta_ToHide_fixpoint(x_1, x_19, x_2, x_3, x_4, x_5, x_20); -if (lean_obj_tag(x_21) == 0) +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_11 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible(x_10, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_22 = lean_ctor_get(x_21, 1); +lean_object* x_12; lean_object* x_13; uint8_t 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_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = 1; +x_15 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set_uint8(x_15, sizeof(void*)*1, x_14); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_12); +lean_ctor_set_uint8(x_17, sizeof(void*)*2, x_10); +x_18 = lean_st_ref_get(x_5, x_13); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_st_mk_ref(x_17, x_19); +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_21); -x_23 = lean_st_ref_get(x_5, x_22); -lean_dec(x_5); +lean_dec(x_20); +lean_inc(x_5); +lean_inc(x_21); +x_23 = l_Lean_Meta_ToHide_fixpoint(x_15, x_21, x_2, x_3, x_4, x_5, x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = lean_st_ref_get(x_19, x_24); -lean_dec(x_19); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 0); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -lean_ctor_set(x_25, 0, x_30); -return x_25; -} -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; -x_31 = lean_ctor_get(x_25, 0); -x_32 = lean_ctor_get(x_25, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_25); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -x_34 = lean_ctor_get(x_31, 0); -lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_32); -return x_36; -} -} -else -{ -uint8_t x_37; -lean_dec(x_19); +x_25 = lean_st_ref_get(x_5, x_24); lean_dec(x_5); -x_37 = !lean_is_exclusive(x_21); -if (x_37 == 0) -{ -return x_21; -} -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); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_st_ref_get(x_21, x_26); 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; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_27, 0); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_27, 0, x_32); +return x_27; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_33 = lean_ctor_get(x_27, 0); +x_34 = lean_ctor_get(x_27, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_27); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_33, 0); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_34); +return x_38; +} +} +else +{ +uint8_t x_39; +lean_dec(x_21); +lean_dec(x_5); +x_39 = !lean_is_exclusive(x_23); +if (x_39 == 0) +{ +return x_23; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_23, 0); +x_41 = lean_ctor_get(x_23, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_23); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } else { -lean_object* x_41; lean_object* x_42; +uint8_t x_43; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_41 = l_Lean_Meta_ToHide_collect___closed__1; -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_6); -return x_42; -} -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +x_43 = !lean_is_exclusive(x_11); +if (x_43 == 0) { -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__5(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; +return x_11; } -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +else { -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__6(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_11, 0); +x_45 = lean_ctor_get(x_11, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_11); +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_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +} +else { -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); +uint8_t x_47; lean_object* x_48; +x_47 = 1; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_48 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible(x_47, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; uint8_t 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; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = 0; +x_52 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_52, 0, x_1); +lean_ctor_set_uint8(x_52, sizeof(void*)*1, x_51); +x_53 = lean_box(0); +x_54 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_49); +lean_ctor_set_uint8(x_54, sizeof(void*)*2, x_51); +x_55 = lean_st_ref_get(x_5, x_50); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_st_mk_ref(x_54, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +lean_inc(x_5); +lean_inc(x_58); +x_60 = l_Lean_Meta_ToHide_fixpoint(x_52, x_58, x_2, x_3, x_4, x_5, x_59); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_st_ref_get(x_5, x_61); +lean_dec(x_5); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_64 = lean_st_ref_get(x_58, x_63); +lean_dec(x_58); +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_64, 0); +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec(x_66); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_53); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_64, 0, x_68); +return x_64; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_69 = lean_ctor_get(x_64, 0); +x_70 = lean_ctor_get(x_64, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_64); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_53); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_70); +return x_73; +} +} +else +{ +uint8_t x_74; +lean_dec(x_58); +lean_dec(x_5); +x_74 = !lean_is_exclusive(x_60); +if (x_74 == 0) +{ +return x_60; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_60, 0); +x_76 = lean_ctor_get(x_60, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_60); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +else +{ +uint8_t x_78; +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -x_7 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3(x_1, x_5, x_6, x_4); +lean_dec(x_2); lean_dec(x_1); -return x_7; +x_78 = !lean_is_exclusive(x_48); +if (x_78 == 0) +{ +return x_48; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_48, 0); +x_80 = lean_ctor_get(x_48, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_48); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} } } LEAN_EXPORT lean_object* l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(lean_object* x_1) { @@ -19897,7 +21878,7 @@ lean_object* x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_objec x_14 = lean_ctor_get(x_5, 0); x_15 = lean_usize_shift_right(x_6, x_7); x_16 = lean_usize_to_nat(x_15); -x_17 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3___closed__1; +x_17 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3___closed__1; x_18 = lean_array_get(x_17, x_14, x_16); x_19 = 1; x_20 = lean_usize_shift_left(x_19, x_7); @@ -23915,10 +25896,8 @@ lean_mark_persistent(l_Lean_Meta_ToHide_State_hiddenInaccessible___default); l_Lean_Meta_ToHide_State_modified___default = _init_l_Lean_Meta_ToHide_State_modified___default(); l_Lean_Meta_ToHide_hasVisibleDep___closed__1 = _init_l_Lean_Meta_ToHide_hasVisibleDep___closed__1(); lean_mark_persistent(l_Lean_Meta_ToHide_hasVisibleDep___closed__1); -l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3___closed__1 = _init_l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3___closed__1(); -lean_mark_persistent(l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_ToHide_collect___spec__3___closed__1); -l_Lean_Meta_ToHide_collect___closed__1 = _init_l_Lean_Meta_ToHide_collect___closed__1(); -lean_mark_persistent(l_Lean_Meta_ToHide_collect___closed__1); +l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3___closed__1 = _init_l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3___closed__1(); +lean_mark_persistent(l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_getInitialHiddenInaccessible___spec__3___closed__1); l_Lean_Meta_ppGoal_pushPending___closed__1 = _init_l_Lean_Meta_ppGoal_pushPending___closed__1(); lean_mark_persistent(l_Lean_Meta_ppGoal_pushPending___closed__1); l_Lean_Meta_ppGoal_pushPending___closed__2 = _init_l_Lean_Meta_ppGoal_pushPending___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c b/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c index 909afa8a29..b0adc02a8a 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c +++ b/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c @@ -14,8 +14,6 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__3; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__24; static lean_object* l_Lean_Meta_Linear_instInhabitedCnstr___closed__1; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__9; size_t lean_usize_add(size_t, size_t); @@ -23,18 +21,19 @@ LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_Li static lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____spec__1___closed__3; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__10; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__6; -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2438_(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_get___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__3; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__20; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__10; uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_AssumptionId_id___default; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__2; lean_object* l_Lean_Rat_ceil(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_getMaxVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestLowerBound_x3f(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2838____boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableLtVarInstLTVar(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___closed__2; @@ -42,15 +41,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedJustification; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_assignCurr(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___closed__1; lean_object* l_Lean_Rat_floor(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__10; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__16; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_ofNat___boxed(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__12; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148_(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instReprCnstr___closed__1; -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3780_(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4104_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instOrdVar; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__5; static lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____spec__1___closed__5; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -60,17 +57,16 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqVar(lean_object*, lean_obj static lean_object* l_Lean_Meta_Linear_instReprJustification___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_72____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___lambda__1(lean_object*, lean_object*); lean_object* l_Std_Format_joinSep___at_instReprProd___spec__1(lean_object*, lean_object*); lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprCnstr; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__7; static lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341_(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__6; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__11; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__6; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__6; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_Linear_Cnstr_getBound___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_getBestBound_x3f(lean_object*, lean_object*, uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_size(lean_object*); @@ -78,10 +74,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_push(lean_object*, lean_o uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Meta_Linear_instReprCnstrKind___closed__1; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__12; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__13; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2514_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2838_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqVar___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__23; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_currVar___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat(lean_object*, lean_object*); @@ -96,28 +90,31 @@ lean_object* l_Int_repr(lean_object*); lean_object* l_Int_decEq___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____spec__1(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__9; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__22; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_val___default; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__4; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3545____boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__8; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____boxed(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instOrdVar___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2919____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__11; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_resolve(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_toCtorIdx___boxed(lean_object*); static lean_object* l_Lean_Meta_Linear_instInhabitedState___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__3; lean_object* lean_int_mul(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__19; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedVar; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__15; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__14; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_isStrict___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_Linear_Cnstr_isUnsat___spec__1(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__1; static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqCnstrKind___boxed(lean_object*, lean_object*); @@ -130,19 +127,21 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____spec__1___closed__4; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__7; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__14; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__5; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__15; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__18; -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2973_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__8; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__2; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__10; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5; +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3297_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__4; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__4; static lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____spec__1___closed__1; uint8_t l_Lean_Rat_instDecidableLeRatInstLERat(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4; lean_object* l_Nat_repr(lean_object*); static lean_object* l_Lean_Meta_Linear_instBEqCnstr___closed__1; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqAssumptionId(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instLTVar; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__9; uint8_t l___private_Lean_Data_Rat_0__Lean_beqRat____x40_Lean_Data_Rat___hyg_34_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_getBound___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f(lean_object*, lean_object*); @@ -150,77 +149,72 @@ LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__16; lean_object* l_Lean_Rat_add(lean_object*, lean_object*); lean_object* l_Array_back___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__17; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__7; static lean_object* l_Lean_Meta_Linear_instReprPoly___closed__1; lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____spec__1___closed__9; static lean_object* l_Lean_Meta_Linear_instBEqJustification___closed__1; -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2595_(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2919_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedPoly; lean_object* l_Lean_Rat_sub(lean_object*, lean_object*); extern lean_object* l_Int_instInhabitedInt; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__2; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__8; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__19; -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3545_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__21; +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3869_(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_370____lambda__1___closed__1; static lean_object* l_Lean_Meta_Linear_Assignment_val___default___closed__1; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_370____lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_solve(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__9; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3869____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedCnstr; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__12; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___lambda__1___boxed(lean_object*); lean_object* l_instDecidableEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqCnstrKind(uint8_t, uint8_t); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__1; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_ordVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_23____boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_size(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__23; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqJustification___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__1; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2438____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____boxed(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_getBound(lean_object*, lean_object*); static lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____spec__1___closed__8; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestUpperBound_x3f(lean_object*); lean_object* l_Lean_Rat_inv(lean_object*); static lean_object* l_Lean_Meta_Linear_pickAssignment_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprPoly; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instBEqCnstr; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_pickAssignment_x3f(lean_object*, uint8_t, lean_object*, uint8_t); -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3341_(uint8_t, uint8_t); +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3665_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_get_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprVar; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedAssignment; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprAssumptionId; lean_object* lean_int_neg(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__9; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__13; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__13; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Linear_Poly_eval_x3f___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__1; static lean_object* l_Lean_Meta_Linear_instInhabitedJustification___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprCnstrKind; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__17; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__8; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2514____boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4104____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207_(lean_object*, lean_object*); extern uint8_t l_instInhabitedBool; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__6; static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__4; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__6; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__5; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__21; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__22; uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instBEqJustification; uint8_t l_Lean_Rat_lt(lean_object*, lean_object*); @@ -228,15 +222,11 @@ static lean_object* l_Lean_Meta_Linear_resolve___closed__1; static lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____spec__1___closed__7; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqJustification(lean_object*, lean_object*); uint8_t l_Lean_Rat_isInt(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__7; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3780____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_370____lambda__1(lean_object*, lean_object*); uint8_t lean_int_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_370_(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqCnstr___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_Poly_add_go___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_get(lean_object*, lean_object*); @@ -244,8 +234,10 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instInhabitedCnstrKind; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_resolve___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Array_instDecidableEqArray___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3297____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2595____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__3; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__18; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_72_(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__2; @@ -253,67 +245,75 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___lambd LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqPoly___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__7; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__12; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getNumVars(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_currVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_getBestBound_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__3; lean_object* lean_panic_fn(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2973____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__15; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestUpperBound_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_Linear_Cnstr_getBound___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedAssumptionId; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_size___boxed(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__14; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_Cnstr_isStrict(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_shrink(lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instBEqCnstrKind; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Linear_getBestBound_x3f___spec__1(lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*); lean_object* lean_int_add(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__5; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_scale___boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Linear_Poly_eval_x3f___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Linear_Poly_eval_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instReprAssumptionId___closed__1; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__11; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getNumVars___boxed(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_size___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_370____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Linear_getBestBound_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instReprVar___closed__1; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_370____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__11; uint8_t lean_int_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedState; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__20; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__10; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____spec__1___closed__6; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357_(uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681_(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_getMaxVarCoeff___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Linear_Poly_scale___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__7; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__6; static lean_object* l_Lean_Meta_Linear_Poly_getMaxVarCoeff___closed__1; lean_object* lean_nat_to_int(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3341____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__24; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__8; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__6; static lean_object* l_Lean_Meta_Linear_pickAssignment_x3f___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqAssumptionId___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_shrink___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_assignment___default; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_pickAssignment_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_getMaxVar___boxed(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestLowerBound_x3f___boxed(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__17; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_CnstrKind_ofNat(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__16; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__7; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3665____boxed(lean_object*, lean_object*); lean_object* l_Nat_decEq___boxed(lean_object*, lean_object*); lean_object* l_Lean_Rat_mul(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_341____closed__4; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__9; lean_object* l_Repr_addAppParen(lean_object*, lean_object*); static lean_object* _init_l_Lean_Meta_Linear_instInhabitedVar() { _start: @@ -2377,7 +2377,7 @@ x_1 = lean_unsigned_to_nat(0u); return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2438_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -2385,11 +2385,11 @@ x_3 = lean_nat_dec_eq(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2438____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2438_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2415,7 +2415,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2514_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2838_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; @@ -2445,11 +2445,11 @@ lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_13); return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2514____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2838____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2514_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2838_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -2458,7 +2458,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprAssumptionId___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2514____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2838____boxed), 2, 0); return x_1; } } @@ -2488,7 +2488,7 @@ x_1 = l_Lean_Meta_Linear_instInhabitedJustification___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2595_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2919_(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2514,7 +2514,7 @@ return x_12; else { uint8_t x_13; -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2595_(x_4, x_8); +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2919_(x_4, x_8); if (x_13 == 0) { uint8_t x_14; @@ -2566,11 +2566,11 @@ return x_22; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2595____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2919____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2595_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2919_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2581,7 +2581,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqJustification(lean_object* _start: { uint8_t x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2595_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2919_(x_1, x_2); return x_3; } } @@ -2596,7 +2596,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2973_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3297_(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2622,7 +2622,7 @@ return x_12; else { uint8_t x_13; -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2973_(x_4, x_8); +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3297_(x_4, x_8); if (x_13 == 0) { uint8_t x_14; @@ -2674,11 +2674,11 @@ return x_22; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2973____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3297____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2973_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3297_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2689,7 +2689,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instBEqJustification___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2973____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3297____boxed), 2, 0); return x_1; } } @@ -2701,7 +2701,7 @@ x_1 = l_Lean_Meta_Linear_instBEqJustification___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__1() { _start: { lean_object* x_1; @@ -2709,21 +2709,21 @@ x_1 = lean_mk_string("Lean.Meta.Linear.Justification.combine"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__1; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__2; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__2; x_2 = lean_box(1); x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2731,7 +2731,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -2740,7 +2740,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -2749,7 +2749,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__6() { _start: { lean_object* x_1; @@ -2757,21 +2757,21 @@ x_1 = lean_mk_string("Lean.Meta.Linear.Justification.assumption"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__6; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__6; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__7; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__7; x_2 = lean_box(1); x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2779,7 +2779,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425_(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2800,7 +2800,7 @@ x_9 = l_Int_repr(x_3); lean_dec(x_3); x_10 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_10, 0, x_9); -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__3; +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__3; x_12 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_10); @@ -2808,7 +2808,7 @@ x_13 = lean_box(1); x_14 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101_(x_4, x_7); +x_15 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425_(x_4, x_7); x_16 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); @@ -2825,14 +2825,14 @@ lean_ctor_set(x_20, 1, x_19); x_21 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 1, x_13); -x_22 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101_(x_6, x_7); +x_22 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425_(x_6, x_7); x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); if (x_8 == 0) { lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_24 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4; +x_24 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4; x_25 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -2846,7 +2846,7 @@ return x_28; else { lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; -x_29 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5; +x_29 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5; x_30 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_23); @@ -2866,15 +2866,15 @@ lean_inc(x_34); lean_dec(x_1); x_35 = lean_unsigned_to_nat(1024u); x_36 = lean_nat_dec_le(x_35, x_2); -x_37 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2514_(x_34, x_35); -x_38 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__8; +x_37 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2838_(x_34, x_35); +x_38 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__8; x_39 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); if (x_36 == 0) { lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; -x_40 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4; +x_40 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4; x_41 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -2888,7 +2888,7 @@ return x_44; else { lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; -x_45 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5; +x_45 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5; x_46 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_39); @@ -2902,11 +2902,11 @@ return x_49; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -2915,7 +2915,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprJustification___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____boxed), 2, 0); return x_1; } } @@ -3106,7 +3106,7 @@ x_6 = lean_box(x_5); return x_6; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3341_(uint8_t x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3665_(uint8_t x_1, uint8_t x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -3118,7 +3118,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3341____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3665____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -3126,7 +3126,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3341_(x_3, x_4); +x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3665_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -3135,7 +3135,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instBEqCnstrKind___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3341____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3665____boxed), 2, 0); return x_1; } } @@ -3147,7 +3147,7 @@ x_1 = l_Lean_Meta_Linear_instBEqCnstrKind___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__1() { _start: { lean_object* x_1; @@ -3155,33 +3155,33 @@ x_1 = lean_mk_string("Lean.Meta.Linear.CnstrKind.eq"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__1; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__2; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__4() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__3; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__3; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3189,23 +3189,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__2; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__6() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__5; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__5; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3213,7 +3213,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__7() { _start: { lean_object* x_1; @@ -3221,33 +3221,33 @@ x_1 = lean_mk_string("Lean.Meta.Linear.CnstrKind.div"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__7; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__9() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__8; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__10() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__10() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__9; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__9; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3255,23 +3255,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__11() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__8; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__12() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__12() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__11; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3279,7 +3279,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__13() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__13() { _start: { lean_object* x_1; @@ -3287,33 +3287,33 @@ x_1 = lean_mk_string("Lean.Meta.Linear.CnstrKind.lt"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__14() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__13; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__13; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__15() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__14; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__14; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__16() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__16() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__15; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__15; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3321,23 +3321,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__17() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__14; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__14; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__18() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__18() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__17; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3345,7 +3345,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__19() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__19() { _start: { lean_object* x_1; @@ -3353,33 +3353,33 @@ x_1 = lean_mk_string("Lean.Meta.Linear.CnstrKind.le"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__20() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__19; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__19; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__21() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__20; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__20; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__22() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__22() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__21; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__21; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3387,23 +3387,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__23() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__20; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__20; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__24() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__24() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__23; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__23; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3411,7 +3411,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357_(uint8_t x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681_(uint8_t x_1, lean_object* x_2) { _start: { switch (x_1) { @@ -3423,14 +3423,14 @@ x_4 = lean_nat_dec_le(x_3, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__4; +x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__4; x_6 = l_Repr_addAppParen(x_5, x_2); return x_6; } else { lean_object* x_7; lean_object* x_8; -x_7 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__6; +x_7 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__6; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -3443,14 +3443,14 @@ x_10 = lean_nat_dec_le(x_9, x_2); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__10; +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__10; x_12 = l_Repr_addAppParen(x_11, x_2); return x_12; } else { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__12; +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__12; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -3463,14 +3463,14 @@ x_16 = lean_nat_dec_le(x_15, x_2); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; -x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__16; +x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__16; x_18 = l_Repr_addAppParen(x_17, x_2); return x_18; } else { lean_object* x_19; lean_object* x_20; -x_19 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__18; +x_19 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__18; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -3483,14 +3483,14 @@ x_22 = lean_nat_dec_le(x_21, x_2); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; -x_23 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__22; +x_23 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__22; x_24 = l_Repr_addAppParen(x_23, x_2); return x_24; } else { lean_object* x_25; lean_object* x_26; -x_25 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__24; +x_25 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__24; x_26 = l_Repr_addAppParen(x_25, x_2); return x_26; } @@ -3498,13 +3498,13 @@ return x_26; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; x_3 = lean_unbox(x_1); lean_dec(x_1); -x_4 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357_(x_3, x_2); +x_4 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681_(x_3, x_2); lean_dec(x_2); return x_4; } @@ -3513,7 +3513,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprCnstrKind___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____boxed), 2, 0); return x_1; } } @@ -3549,7 +3549,7 @@ x_1 = l_Lean_Meta_Linear_instInhabitedCnstr___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3545_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3869_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -3592,18 +3592,18 @@ return x_17; else { uint8_t x_18; -x_18 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2595_(x_6, x_10); +x_18 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2919_(x_6, x_10); return x_18; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3545____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3869____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3545_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3869_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -3614,7 +3614,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqCnstr(lean_object* x_1, le _start: { uint8_t x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3545_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3869_(x_1, x_2); return x_3; } } @@ -3629,7 +3629,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3780_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4104_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -3641,7 +3641,7 @@ x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); x_8 = lean_ctor_get(x_2, 0); x_9 = lean_ctor_get(x_2, 1); x_10 = lean_ctor_get(x_2, 2); -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3341_(x_3, x_7); +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3665_(x_3, x_7); if (x_11 == 0) { uint8_t x_12; @@ -3672,18 +3672,18 @@ return x_17; else { uint8_t x_18; -x_18 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2973_(x_6, x_10); +x_18 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3297_(x_6, x_10); return x_18; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3780____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4104____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3780_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4104_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -3694,7 +3694,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instBEqCnstr___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3780____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4104____boxed), 2, 0); return x_1; } } @@ -3706,7 +3706,7 @@ x_1 = l_Lean_Meta_Linear_instBEqCnstr___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__1() { _start: { lean_object* x_1; @@ -3714,33 +3714,33 @@ x_1 = lean_mk_string("kind"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__1; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__2; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__2; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__3; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__3; x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_148____closed__5; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3748,7 +3748,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__5() { _start: { lean_object* x_1; @@ -3756,17 +3756,17 @@ x_1 = lean_mk_string("lhs"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__5; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__5; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__7() { _start: { lean_object* x_1; @@ -3774,17 +3774,17 @@ x_1 = lean_mk_string("rhs"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__7; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__9() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__9() { _start: { lean_object* x_1; @@ -3792,24 +3792,24 @@ x_1 = lean_mk_string("jst"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__10() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__9; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 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; uint8_t x_42; lean_object* x_43; x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); x_4 = lean_unsigned_to_nat(0u); -x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357_(x_3, x_4); -x_6 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__4; +x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681_(x_3, x_4); +x_6 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__4; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -3821,7 +3821,7 @@ x_10 = lean_box(1); x_11 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__6; +x_12 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__6; x_13 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -3841,7 +3841,7 @@ lean_ctor_set(x_19, 1, x_8); x_20 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_10); -x_21 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__8; +x_21 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__8; x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -3863,7 +3863,7 @@ lean_ctor_set(x_28, 1, x_8); x_29 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_10); -x_30 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__10; +x_30 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__10; x_31 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); @@ -3873,7 +3873,7 @@ lean_ctor_set(x_32, 1, x_14); x_33 = lean_ctor_get(x_1, 2); lean_inc(x_33); lean_dec(x_1); -x_34 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101_(x_33, x_4); +x_34 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425_(x_33, x_4); x_35 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_35, 0, x_32); lean_ctor_set(x_35, 1, x_34); @@ -3896,11 +3896,11 @@ lean_ctor_set_uint8(x_43, sizeof(void*)*1, x_42); return x_43; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -3909,7 +3909,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprCnstr___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____boxed), 2, 0); return x_1; } } @@ -4698,7 +4698,7 @@ static lean_object* _init_l_Lean_Meta_Linear_pickAssignment_x3f___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4; x_2 = lean_unsigned_to_nat(1u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4719,7 +4719,7 @@ static lean_object* _init_l_Lean_Meta_Linear_pickAssignment_x3f___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5; x_2 = lean_unsigned_to_nat(1u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5800,22 +5800,22 @@ l_Lean_Meta_Linear_instBEqJustification___closed__1 = _init_l_Lean_Meta_Linear_i lean_mark_persistent(l_Lean_Meta_Linear_instBEqJustification___closed__1); l_Lean_Meta_Linear_instBEqJustification = _init_l_Lean_Meta_Linear_instBEqJustification(); lean_mark_persistent(l_Lean_Meta_Linear_instBEqJustification); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__3); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__4); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__5); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__6); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__7); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3101____closed__8); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__3); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__4); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__5); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__6); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__7); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3425____closed__8); l_Lean_Meta_Linear_instReprJustification___closed__1 = _init_l_Lean_Meta_Linear_instReprJustification___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_instReprJustification___closed__1); l_Lean_Meta_Linear_instReprJustification = _init_l_Lean_Meta_Linear_instReprJustification(); @@ -5827,54 +5827,54 @@ l_Lean_Meta_Linear_instBEqCnstrKind___closed__1 = _init_l_Lean_Meta_Linear_instB lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstrKind___closed__1); l_Lean_Meta_Linear_instBEqCnstrKind = _init_l_Lean_Meta_Linear_instBEqCnstrKind(); lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstrKind); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__3); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__4); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__5); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__6); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__7); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__8); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__9(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__9); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__10(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__10); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__11(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__11); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__12 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__12(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__12); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__13 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__13(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__13); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__14 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__14(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__14); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__15 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__15(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__15); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__16 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__16(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__16); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__17 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__17(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__17); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__18 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__18(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__18); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__19 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__19(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__19); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__20 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__20(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__20); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__21 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__21(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__21); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__22 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__22(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__22); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__23 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__23(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__23); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__24 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__24(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3357____closed__24); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__3); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__4); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__5); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__6); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__7); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__8); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__9(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__9); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__10(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__10); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__11(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__11); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__12 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__12(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__12); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__13 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__13(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__13); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__14 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__14(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__14); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__15 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__15(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__15); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__16 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__16(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__16); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__17 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__17(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__17); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__18 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__18(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__18); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__19 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__19(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__19); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__20 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__20(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__20); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__21 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__21(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__21); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__22 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__22(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__22); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__23 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__23(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__23); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__24 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__24(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3681____closed__24); l_Lean_Meta_Linear_instReprCnstrKind___closed__1 = _init_l_Lean_Meta_Linear_instReprCnstrKind___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_instReprCnstrKind___closed__1); l_Lean_Meta_Linear_instReprCnstrKind = _init_l_Lean_Meta_Linear_instReprCnstrKind(); @@ -5887,26 +5887,26 @@ l_Lean_Meta_Linear_instBEqCnstr___closed__1 = _init_l_Lean_Meta_Linear_instBEqCn lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstr___closed__1); l_Lean_Meta_Linear_instBEqCnstr = _init_l_Lean_Meta_Linear_instBEqCnstr(); lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstr); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__3); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__4); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__5); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__6); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__7); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__8); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__9(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__9); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__10(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3883____closed__10); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__3); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__4); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__5); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__6); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__7); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__8); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__9(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__9); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__10(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4207____closed__10); l_Lean_Meta_Linear_instReprCnstr___closed__1 = _init_l_Lean_Meta_Linear_instReprCnstr___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_instReprCnstr___closed__1); l_Lean_Meta_Linear_instReprCnstr = _init_l_Lean_Meta_Linear_instReprCnstr(); diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 719fb163ff..af725194cb 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -171,6 +171,7 @@ static lean_object* l_Lean_Parser_Term_local___closed__2; static lean_object* l_Lean_Parser_Term_sufficesDecl_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_matchAlt___closed__15; LEAN_EXPORT lean_object* l_Lean_Parser_Term_proj_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_letRecDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_explicit_formatter(lean_object*); @@ -241,6 +242,7 @@ static lean_object* l_Lean_Parser_Term_have___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__2; lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__29; LEAN_EXPORT lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_strictImplicitRightBracket___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__2; @@ -335,6 +337,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_fromTerm_formatter___closed_ static lean_object* l_Lean_Parser_Term_instBinder_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_noImplicitLambda_formatter___closed__1; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__22; static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_haveEqnsDecl_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_structInstArrayRef_formatter___closed__1; @@ -380,6 +383,7 @@ static lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_match_parenthesizer(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_attr_quot_formatter___closed__1; static lean_object* l_Lean_Parser_Term_assert_formatter___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__33; extern lean_object* l_Lean_nullKind; LEAN_EXPORT lean_object* l_Lean_Parser_Term_instBinder; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__4; @@ -457,6 +461,7 @@ static lean_object* l_Lean_Parser_Term_forInMacro_x27_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_fromTerm_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__18; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_panic_formatter___closed__2; static lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__5; @@ -527,7 +532,6 @@ static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_leading__parser_formatter___closed__6; static lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_completion_declRange___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__25; static lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__3; static lean_object* l_Lean_Parser_Term_forInMacro_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__12; @@ -705,7 +709,6 @@ static lean_object* l_Lean_Parser_Term_let__tmp___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_let__fun_formatter(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_declRange___closed__3; static lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__37; static lean_object* l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_declRange___closed__5; static lean_object* l_Lean_Parser_Term_funBinder_quot___closed__9; @@ -725,6 +728,7 @@ static lean_object* l_Lean_Parser_Term_letrec_formatter___closed__3; static lean_object* l_Lean_Parser_Term_subst_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_match___elambda__1___closed__17; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_explicit_declRange___closed__3; static lean_object* l_Lean_Parser_Term_letPatDecl___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_completion_declRange___closed__7; @@ -764,6 +768,7 @@ static lean_object* l_Lean_Parser_Term_binderTactic_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_subst_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_pipeCompletion; static lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__15; static lean_object* l_Lean_Parser_Term_prop_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_subst_declRange___closed__1; extern lean_object* l_Lean_Parser_pushNone; @@ -810,6 +815,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange___clos static lean_object* l_Lean_Parser_Term_letRecDecl_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__12; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__30; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_paren_declRange(lean_object*); @@ -864,7 +870,6 @@ static lean_object* l_Lean_Parser_Term_dynamicQuot___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_declRange___closed__7; static lean_object* l_Lean_Parser_Term_attributes___closed__4; static lean_object* l_Lean_Parser_Term_namedPattern___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__32; static lean_object* l___regBuiltin_Lean_Parser_Term_letPatDecl_formatter___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__16; @@ -882,6 +887,7 @@ static lean_object* l_Lean_Parser_Term_forInMacro_x27___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_waitIfContainsMVar___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_quotedName___closed__3; static lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__5; static lean_object* l_Lean_Parser_Term_subst___closed__6; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__19; extern lean_object* l_Lean_Parser_ident; @@ -909,11 +915,13 @@ static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_app_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_scientific; static lean_object* l___regBuiltin_Lean_Parser_Term_matchDiscr_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__28; lean_object* l_Lean_Parser_withAntiquotFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_unreachable___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_anonymousCtor___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_assert_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_pipeProj_formatter___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__14; static lean_object* l_Lean_Parser_Term_letMVar___closed__2; static lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__6; @@ -943,7 +951,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_str_declRange(lean_obje static lean_object* l___regBuiltin_Lean_Parser_Term_noindex_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_panic_declRange___closed__6; static lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__10; static lean_object* l_Lean_Parser_Term_quotedName___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket_formatter___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Term_strictImplicitRightBracket_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -998,7 +1005,6 @@ static lean_object* l_Lean_Parser_Term_funImplicitBinder___elambda__1___closed__ static lean_object* l_Lean_Parser_Term_let__tmp___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_sorry_formatter___closed__3; static lean_object* l_Lean_Parser_Term_trailing__parser___elambda__1___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__20; lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_app_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_explicitBinder_formatter___closed__1; @@ -1055,7 +1061,6 @@ lean_object* l_Lean_Parser_pushNone___elambda__1___boxed(lean_object*); static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__20; static lean_object* l_Lean_Parser_Term_have___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_letIdLhs___elambda__1___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__24; lean_object* l_Lean_Parser_notFollowedByFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_funSimpleBinder_formatter___closed__3; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__12; @@ -1120,7 +1125,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_parenthesizer(l LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_prop_declRange(lean_object*); static lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__10; lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_stateRefT_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_letPatDecl___closed__8; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__26; @@ -1223,6 +1227,7 @@ static lean_object* l_Lean_Parser_Term_forInMacro___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_explicit_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__17; static lean_object* l_Lean_Parser_Term_generalizingParam_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__27; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__18; static lean_object* l_Lean_Parser_Term_attr_quot_parenthesizer___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_declRange(lean_object*); @@ -1482,6 +1487,7 @@ static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_prop_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_generalizingParam_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_namedArgument_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__17; static lean_object* l_Lean_Parser_Term_match___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__11; static lean_object* l_Lean_Parser_Term_prop___closed__7; @@ -1553,6 +1559,7 @@ static lean_object* l_Lean_Parser_Term_binrel_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__6; static lean_object* l_Lean_Parser_Term_waitIfTypeContainsMVar___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__10; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__4; lean_object* l_Lean_Parser_optional_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_funBinder_quot___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_forall_parenthesizer___closed__2; @@ -1698,6 +1705,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer(lean_objec static lean_object* l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRange___closed__1; lean_object* l_Lean_Parser_optional(lean_object*); static lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__24; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_trailing__parser_declRange___closed__3; static lean_object* l_Lean_Parser_Term_explicitBinder_formatter___closed__4; @@ -1757,6 +1765,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___close static lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_basicFun___closed__7; lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__7; static lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_funBinder_parenthesizer___closed__3; @@ -1813,7 +1822,6 @@ static lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__17; static lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_match___elambda__1___closed__18; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__30; static lean_object* l___regBuiltin_Lean_Parser_Term_noindex_declRange___closed__5; static lean_object* l_Lean_Parser_Term_waitIfContainsMVar___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_whereDecls___closed__1; @@ -1823,9 +1831,9 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_waitIfTypeMVar___elambda__1(lean_obj static lean_object* l_Lean_Parser_Term_basicFun___closed__10; static lean_object* l_Lean_Parser_Tactic_quotSeq___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_app(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__28; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_seq1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__20; static lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__8; @@ -1879,6 +1887,7 @@ static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__17; static lean_object* l___regBuiltin_Lean_Parser_Term_letMVar_declRange___closed__3; static lean_object* l_Lean_Parser_Term_matchAlts___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__10; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_binop_formatter___closed__4; @@ -1886,7 +1895,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter___clos extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder___closed__1; static lean_object* l_Lean_Parser_Term_suffices___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__5; static lean_object* l_Lean_Parser_Term_tupleTail_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_sorry___closed__7; static lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__4; @@ -1901,6 +1909,7 @@ static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__4; static lean_object* l_Lean_Parser_Term_funBinder___closed__3; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__17; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__32; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__25; static lean_object* l_Lean_Parser_Term_proj_formatter___closed__3; static lean_object* l_Lean_Parser_Term_let___closed__2; @@ -1927,7 +1936,6 @@ static lean_object* l_Lean_Parser_Term_haveIdDecl_formatter___closed__3; static lean_object* l_Lean_Parser_Term_hole___closed__4; static lean_object* l_Lean_Parser_Term_matchDiscr_quot_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Term_waitIfTypeContainsMVar___elambda__1___closed__13; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__14; static lean_object* l_Lean_Parser_Term_structInstLVal___closed__3; static lean_object* l_Lean_Parser_Term_fun___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_formatter___closed__2; @@ -1944,6 +1952,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_binderDefault; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__28; static lean_object* l_Lean_Parser_Term_assert___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_parenthesizer(lean_object*); +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__21; static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_local___elambda__1___closed__10; static lean_object* l___regBuiltin_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer___closed__1; @@ -1988,7 +1997,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_optEllipsis_parenthesizer(lean_objec static lean_object* l_Lean_Parser_Term_panic_parenthesizer___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_noindex_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__17; static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Term_typeAscription; static lean_object* l___regBuiltin_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer___closed__2; @@ -1996,6 +2004,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letDecl_parenthesizer(l static lean_object* l___regBuiltin_Lean_Parser_Command_docComment_formatter___closed__1; static lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_simpleBinder___closed__4; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__17; static lean_object* l___regBuiltin_Lean_Parser_Term_let_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Term_byTactic_x27_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_type_declRange___closed__5; @@ -2119,7 +2128,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_sufficesDecl_parenthesi static lean_object* l_Lean_Parser_Term_paren___closed__2; static lean_object* l_Lean_Parser_Term_matchDiscr___closed__3; static lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_sort_declRange___closed__2; lean_object* l_Lean_Parser_nonReservedSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInst___closed__8; @@ -2139,7 +2147,6 @@ static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_attrKind___elambda__1___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_local_formatter___closed__1; static lean_object* l_Lean_Parser_Term_match_formatter___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__27; static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar_declRange___closed__2; static lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_funBinder___elambda__1___closed__2; @@ -2471,7 +2478,6 @@ static lean_object* l_Lean_Parser_Term_haveDecl___closed__3; static lean_object* l_Lean_Parser_Term_binrel__no__prop___elambda__1___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_doubleQuotedName_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_doubleQuotedName_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__29; static lean_object* l_Lean_Parser_Term_letPatDecl___closed__5; static lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__1; static lean_object* l_Lean_Parser_Term_leading__parser___closed__3; @@ -2574,7 +2580,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_quotedName; static lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__22; lean_object* l_Lean_PrettyPrinter_Parenthesizer_incQuotDepth_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_panic_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_byTactic_formatter___closed__3; @@ -2583,6 +2588,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_local; static lean_object* l_Lean_Parser_Term_matchAlt___closed__12; static lean_object* l_Lean_Parser_Term_let___elambda__1___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_structInstFieldAbbrev_formatter(lean_object*); +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__4; static lean_object* l_Lean_Parser_Term_attr_quot_formatter___closed__3; static lean_object* l_Lean_Parser_Term_binop___elambda__1___closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Term_matchDiscr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2597,7 +2603,6 @@ static lean_object* l_Lean_Parser_Term_let__delayed_parenthesizer___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binrel__no__prop_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_falseVal_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__33; static lean_object* l_Lean_Parser_Term_motive_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_letIdDecl_formatter___closed__3; static lean_object* l_Lean_Parser_Term_unreachable___closed__3; @@ -2718,7 +2723,6 @@ static lean_object* l_Lean_Parser_Term_matchDiscr___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_letEqnsDecl_formatter___closed__2; static lean_object* l_Lean_Parser_Term_proj_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_scoped___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_implicitBinder_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_convParser___closed__2; static lean_object* l_Lean_Parser_Term_haveIdLhs___closed__1; @@ -2808,6 +2812,7 @@ static lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__17; static lean_object* l_Lean_Parser_Term_byTactic_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_generalizingParam___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_pipeProj___closed__3; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__19; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_app_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__5; @@ -2859,6 +2864,7 @@ static lean_object* l_Lean_Parser_Term_have___closed__6; static lean_object* l_Lean_Parser_Term_leading__parser___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_forInMacro___elambda__1___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_suffices_declRange(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__37; static lean_object* l_Lean_Parser_Term_assert_formatter___closed__4; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__34; static lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__10; @@ -2947,7 +2953,6 @@ static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__21; static lean_object* l___regBuiltin_Lean_Parser_Term_scoped_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_unreachable_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_pipeProj_parenthesizer___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_doubleQuotedName_declRange___closed__6; static lean_object* l_Lean_Parser_Term_forInMacro___elambda__1___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letrec_parenthesizer(lean_object*); @@ -2996,7 +3001,6 @@ static lean_object* l_Lean_Parser_Term_match___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_binderIdent___closed__2; static lean_object* l_Lean_Parser_Term_dbgTrace___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__15; LEAN_EXPORT lean_object* l_Lean_Parser_Term_haveEqnsDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_darrow___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_waitIfContainsMVar_formatter___closed__3; @@ -3065,7 +3069,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_assert_declRange___closed__6 static lean_object* l_Lean_Parser_Term_forInMacro_formatter___closed__2; static lean_object* l_Lean_Parser_Term_dynamicQuot___closed__10; static lean_object* l_Lean_Parser_Term_trueVal___elambda__1___closed__12; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__18; static lean_object* l_Lean_Parser_Term_local___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_syntheticHole___closed__2; static lean_object* l_Lean_Parser_Term_prop_parenthesizer___closed__3; @@ -3153,6 +3156,7 @@ static lean_object* l_Lean_Parser_Term_structInstField___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_sorry_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_pipeProj_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_proj___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__25; static lean_object* l___regBuiltin_Lean_Parser_Term_typeOf_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_funBinder_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__4; @@ -3490,9 +3494,11 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___elambda__1(l static lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_declRange___closed__1; static lean_object* l_Lean_Parser_Term_forall_formatter___closed__8; static lean_object* l_Lean_Parser_Term_quotedName___elambda__1___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__31; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__26; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_forInMacro_x27___elambda__1___closed__14; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_scoped_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_matchDiscr_quot_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_matchAlt___closed__11; @@ -3535,6 +3541,7 @@ static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_attr_quot_declRange___closed__5; static lean_object* l_Lean_Parser_Term_letMVar_formatter___closed__2; static lean_object* l_Lean_Parser_Term_borrowed_formatter___closed__2; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_str(lean_object*); static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer___closed__2; @@ -3568,6 +3575,7 @@ static lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_waitIfContainsMVar_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__10; static lean_object* l___regBuiltin_Lean_Parser_Term_app_declRange___closed__7; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__18; static lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_cdot_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binop_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3703,7 +3711,6 @@ static lean_object* l_Lean_Parser_Term_forall_formatter___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRange___closed__6; static lean_object* l_Lean_Parser_Term_letIdLhs___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_withPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__12; static lean_object* l_Lean_Parser_Term_sort___closed__5; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__4; @@ -3764,7 +3771,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_borrowed_formatter(lean_object*, lea static lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__7; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__26; static lean_object* l_Lean_Parser_Term_binderType___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_let__tmp_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_declRange___closed__3; @@ -3824,6 +3830,7 @@ static lean_object* l_Lean_Parser_Term_fun___closed__9; static lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__16; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__19; LEAN_EXPORT lean_object* l_Lean_Parser_Term_let___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2; @@ -3853,7 +3860,6 @@ static lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_motive_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_show___elambda__1___closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__35; static lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__3; static lean_object* l_Lean_Parser_Term_haveEqnsDecl___closed__2; static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__20; @@ -3873,7 +3879,6 @@ static lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__15; static lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Term_byTactic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__34; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_simpleBinder_formatter___closed__2; static lean_object* l_Lean_Parser_Term_macroDollarArg___closed__7; @@ -3958,7 +3963,6 @@ static lean_object* l_Lean_Parser_Term_sort___closed__3; static lean_object* l_Lean_Parser_Term_forInMacro___closed__4; static lean_object* l_Lean_Parser_Term_attrKind_formatter___closed__3; static lean_object* l_Lean_Parser_Term_let__fun___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_match_declRange___closed__6; static lean_object* l_Lean_Parser_Term_letRecDecls___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_binop___elambda__1___closed__7; @@ -3972,6 +3976,7 @@ static lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__4; static lean_object* l_Lean_Parser_Term_letMVar___closed__10; LEAN_EXPORT lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__6; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__8; lean_object* l_Lean_Parser_nodeWithAntiquot(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l___regBuiltin_Lean_Parser_Term_structInstFieldAbbrev_parenthesizer___closed__2; @@ -4072,6 +4077,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfTypeContainsMVar_paren static lean_object* l_Lean_Parser_Term_forall___closed__1; static lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_funBinder_quot___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__11; static lean_object* l_Lean_Parser_Term_binderTactic___closed__8; static lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__4; static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__21; @@ -4164,7 +4170,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_declRange(l static lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_match_formatter___closed__2; static lean_object* l_Lean_Parser_Term_match___elambda__1___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__9; static lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_let__fun_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; @@ -4306,6 +4311,7 @@ static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__13; static lean_object* l___regBuiltin_Lean_Parser_Term_letrec_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_trailing__parser_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_ensureTypeOf_declRange___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__36; static lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_instBinder___closed__8; static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__1; @@ -4373,7 +4379,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_char_declRange(lean_obj static lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_x27_formatter___closed__1; static lean_object* l_Lean_Parser_Term_let__fun___closed__10; static lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__12; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__13; static lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__1; static lean_object* l_Lean_Parser_Term_letRecDecl___elambda__1___closed__5; @@ -4543,6 +4548,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_arrow_parenthesizer___closed static lean_object* l_Lean_Parser_Term_have___closed__1; static lean_object* l_Lean_Parser_darrow___closed__2; static lean_object* l_Lean_Parser_Term_typeSpec___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__39; LEAN_EXPORT lean_object* l_Lean_Parser_Term_optExprPrecedence_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_binrel_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__3; @@ -4561,7 +4567,6 @@ static lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_hole_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_local_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__23; static lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_funBinder_parenthesizer___closed__2; @@ -4594,6 +4599,7 @@ static lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_waitIfTypeMVar_formatter___closed__5; static lean_object* l_Lean_Parser_Term_fun___closed__3; static lean_object* l_Lean_Parser_Term_binop_formatter___closed__2; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___closed__8; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__12; lean_object* l_Lean_Parser_addQuotDepthFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__4; @@ -4676,8 +4682,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___closed_ static lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_inaccessible_formatter___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__38; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__21; static lean_object* l___regBuiltin_Lean_Parser_Term_fun_declRange___closed__4; static lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__1; @@ -4717,6 +4721,7 @@ static lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__5; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_63____closed__1; static lean_object* l_Lean_Parser_Term_binrel__no__prop___closed__1; static lean_object* l_Lean_Parser_Term_forall_formatter___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__16; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_leading__parser(lean_object*); static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__5; static lean_object* l_Lean_Parser_Term_letrec___closed__5; @@ -4778,7 +4783,6 @@ static lean_object* l_Lean_Parser_Term_match___closed__8; static lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__8; static lean_object* l_Lean_Parser_Term_waitIfTypeMVar_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__9; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__8; static lean_object* l_Lean_Parser_Term_forall___closed__8; static lean_object* l_Lean_Parser_Term_local_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_fromTerm___closed__6; @@ -4900,6 +4904,8 @@ static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder___elambda__1___cl LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_assert_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_basicFun___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__9; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__20; LEAN_EXPORT lean_object* l_Lean_Parser_Term_waitIfTypeMVar; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_letRecDecls___elambda__1___closed__4; @@ -4915,6 +4921,7 @@ static lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_suffices_formatter___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__5; static lean_object* l_Lean_Parser_Term_quotedName_formatter___closed__2; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_char; static lean_object* l___regBuiltin_Lean_Parser_Term_namedArgument_formatter___closed__2; static lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__4; @@ -4947,7 +4954,6 @@ static lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_let__fun_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent_formatter___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_macroDollarArg_formatter(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__36; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_cdot_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_explicit_formatter___closed__3; static lean_object* l_Lean_Parser_Term_assert_formatter___closed__5; @@ -5021,6 +5027,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_noindex_parenthesizer(lean_object*, static lean_object* l___regBuiltin_Lean_Parser_Term_binrel__no__prop_declRange___closed__3; static lean_object* l_Lean_Parser_Term_noImplicitLambda___elambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_letrec_declRange___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__8; static lean_object* l_Lean_Parser_Term_binrel___closed__8; lean_object* l_Lean_Parser_numLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_forall_formatter(lean_object*); @@ -5084,6 +5091,7 @@ static lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__5; static lean_object* l_Lean_Parser_Term_arrow___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_inaccessible_declRange___closed__4; static lean_object* l_Lean_Parser_Term_matchAltExpr___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_noImplicitLambda_declRange___closed__1; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___elambda__1___closed__3; @@ -5171,7 +5179,6 @@ static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__3; static lean_object* l_Lean_Parser_Term_match___elambda__1___closed__24; static lean_object* l_Lean_Parser_Term_typeSpec___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_declRange___closed__1; static lean_object* l_Lean_Parser_Term_namedPattern___closed__8; static lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__8; @@ -5223,6 +5230,7 @@ static lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_noImplicitLambda_declRange___closed__2; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__16; static lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__1; static lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_macroDollarArg_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_dotIdent___elambda__1___closed__9; @@ -5253,10 +5261,12 @@ static lean_object* l_Lean_Parser_Term_optIdent_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Tactic_quot___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_match_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__38; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__23; static lean_object* l_Lean_Parser_Term_binrel___elambda__1___closed__17; static lean_object* l_Lean_Parser_Term_basicFun___closed__8; static lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__21; static lean_object* l_Lean_Parser_Term_instBinder___closed__4; static lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_local___elambda__1___closed__3; @@ -5320,6 +5330,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_namedPattern___elambda__1(lean_objec static lean_object* l___regBuiltin_Lean_Parser_Term_have_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_str_declRange___closed__7; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__14; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__20; static lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__12; @@ -5366,7 +5377,6 @@ static lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed_ static lean_object* l_Lean_Parser_Term_let__fun_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_let__tmp___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__16; static lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_waitIfTypeMVar_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__2; @@ -5491,6 +5501,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_binrel__no__prop_parent static lean_object* l_Lean_Parser_Term_attrInstance___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_suffices_declRange___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__13; static lean_object* l_Lean_Parser_Term_typeAscription___closed__6; static lean_object* l_Lean_Parser_Term_panic_parenthesizer___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_declRange___closed__3; @@ -5526,7 +5537,6 @@ static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___elambda__1___clos static lean_object* l_Lean_Parser_Tactic_seq1___closed__2; static lean_object* l_Lean_Parser_Term_byTactic___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_forall_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__39; LEAN_EXPORT lean_object* l_Lean_Parser_Term_optSemicolon_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_completion_declRange___closed__6; @@ -5547,6 +5557,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_scientific_declRange___close static lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_binrel___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_funBinder___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__23; static lean_object* l_Lean_Parser_Term_letRecDecls_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__5; @@ -5794,7 +5805,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_attr_quot_declRange___closed LEAN_EXPORT lean_object* l_Lean_Parser_Term_suffices; static lean_object* l_Lean_Parser_Term_forall_formatter___closed__2; static lean_object* l_Lean_Parser_Term_binderDefault_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__31; static lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__9; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_let__fun(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_declRange___closed__3; @@ -5869,6 +5879,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_ellipsis_parenthesizer___clo static lean_object* l_Lean_Parser_Term_macroLastArg_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__2; static lean_object* l_Lean_Parser_Term_let__fun___closed__11; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_waitIfTypeMVar_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_let___elambda__1(lean_object*, lean_object*); @@ -5982,7 +5993,7 @@ static lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_trueVal___elambda__1___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_sorry_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_63_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691_(lean_object*); static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_have___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__5; @@ -6053,7 +6064,7 @@ static lean_object* l_Lean_Parser_Term_structInst___closed__11; static lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_optExprPrecedence_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__19; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__12; static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_stateRefT_declRange___closed__4; static lean_object* l_Lean_Parser_Tactic_quotSeq___closed__2; @@ -6096,6 +6107,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_generalizingParam; static lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_let__fun; static lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__8; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__35; static lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__5; @@ -6221,6 +6233,7 @@ static lean_object* l_Lean_Parser_Term_letMVar___elambda__1___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_letRecDecl_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_declRange___closed__6; static lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__9; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__34; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_binop_declRange(lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_sufficesDecl___closed__1; @@ -6284,7 +6297,6 @@ static lean_object* l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__4 static lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__2; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__1; static lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__21; static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_binop__lazy___closed__3; @@ -6343,6 +6355,7 @@ static lean_object* l_Lean_Parser_Term_cdot_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_matchDiscr_quot___closed__5; static lean_object* l_Lean_Parser_Term_arrayRef___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_quot___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__4; @@ -6375,6 +6388,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___closed_ LEAN_EXPORT lean_object* l_Lean_Parser_Term_simpleBinderWithoutType_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_whereDecls_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_prop___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__26; static lean_object* l___regBuiltin_Lean_Parser_Term_proj_formatter___closed__1; lean_object* l_Lean_ppDedent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_num_declRange___closed__5; @@ -6443,6 +6457,7 @@ static lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_letIdDecl___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_seq1_formatter___closed__2; +static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__6; static lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_app___closed__4; static lean_object* l_Lean_Parser_Term_stateRefT___closed__6; @@ -72736,7 +72751,7 @@ static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___ _start: { lean_object* x_1; -x_1 = lean_mk_string("default_or_ofNonempty%"); +x_1 = lean_mk_string("default_or_ofNonempty% "); return x_1; } } @@ -72772,20 +72787,101 @@ return x_2; static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__9() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("unsafe"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__9; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__10; +x_2 = l_Lean_Parser_symbolInfo(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__10; +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_defaultOrOfNonempty___elambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__12; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__11; +x_2 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__13; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__14; +x_2 = l_Lean_Parser_optional(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__15; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__8; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__17() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__16; 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_defaultOrOfNonempty___elambda__1___closed__10() { +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__9; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__17; x_2 = l_Lean_Parser_Command_docComment___elambda__1___closed__21; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -72793,19 +72889,19 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__11() { +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_docComment___elambda__1___closed__19; -x_2 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__10; +x_2 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__18; 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_defaultOrOfNonempty___elambda__1___closed__12() { +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -72815,11 +72911,11 @@ x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__13() { +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__12; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__20; x_2 = l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__6; x_3 = lean_string_append(x_1, x_2); return x_3; @@ -72828,119 +72924,128 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__4; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_3 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__15; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); +x_5 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__4; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); lean_inc(x_2); lean_inc(x_1); -x_5 = l_Lean_Parser_tryAnti(x_1, x_2); -if (x_5 == 0) +x_7 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_dec(x_6); +x_8 = lean_unsigned_to_nat(1024u); +x_9 = l_Lean_Parser_checkPrecFn(x_8, x_1, x_2); +x_10 = lean_ctor_get(x_9, 4); +lean_inc(x_10); +x_11 = lean_box(0); +x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_810____at_Lean_Parser_ParserState_hasError___spec__1(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_dec(x_4); -x_6 = lean_unsigned_to_nat(1024u); -x_7 = l_Lean_Parser_checkPrecFn(x_6, x_1, x_2); -x_8 = lean_ctor_get(x_7, 4); -lean_inc(x_8); -x_9 = lean_box(0); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_810____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); -lean_dec(x_8); -if (x_10 == 0) -{ lean_dec(x_1); -return x_7; +return x_9; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -x_12 = lean_array_get_size(x_11); -lean_dec(x_11); -x_13 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__6; -x_14 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__13; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); +lean_dec(x_13); +x_15 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__6; +x_16 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__21; lean_inc(x_1); -x_15 = l_Lean_Parser_symbolFnAux(x_13, x_14, x_1, x_7); -x_16 = lean_ctor_get(x_15, 4); -lean_inc(x_16); -x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_810____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_9); -lean_dec(x_16); -if (x_17 == 0) +x_17 = l_Lean_Parser_symbolFnAux(x_15, x_16, x_1, x_9); +x_18 = lean_ctor_get(x_17, 4); +lean_inc(x_18); +x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_810____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_11); +lean_dec(x_18); +if (x_19 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_18 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__2; -x_19 = l_Lean_Parser_ParserState_mkNode(x_15, x_18, x_12); -x_20 = lean_ctor_get(x_19, 4); -lean_inc(x_20); -x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_810____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_9); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_dec(x_1); -return x_19; +x_20 = x_17; +goto block_34; } else { -lean_object* x_22; -x_22 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_19); -lean_dec(x_1); -return x_22; -} -} -else -{ -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_1, 4); -lean_inc(x_23); -x_24 = lean_unsigned_to_nat(0u); -x_25 = lean_nat_dec_eq(x_23, x_24); -lean_dec(x_23); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_26 = lean_box(0); -lean_inc(x_1); -x_27 = l_Lean_Parser_Command_docComment___elambda__1___lambda__3(x_15, x_1, x_9, x_26); -x_28 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__2; -x_29 = l_Lean_Parser_ParserState_mkNode(x_27, x_28, x_12); -x_30 = lean_ctor_get(x_29, 4); -lean_inc(x_30); -x_31 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_810____at_Lean_Parser_ParserState_hasError___spec__1(x_30, x_9); -lean_dec(x_30); -if (x_31 == 0) -{ -lean_dec(x_1); -return x_29; -} -else -{ -lean_object* x_32; -x_32 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_29); -lean_dec(x_1); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__2; -x_34 = l_Lean_Parser_ParserState_mkNode(x_15, x_33, x_12); -x_35 = lean_ctor_get(x_34, 4); +lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_1, 4); lean_inc(x_35); -x_36 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_810____at_Lean_Parser_ParserState_hasError___spec__1(x_35, x_9); +x_36 = lean_unsigned_to_nat(0u); +x_37 = lean_nat_dec_eq(x_35, x_36); lean_dec(x_35); -if (x_36 == 0) +if (x_37 == 0) { -lean_dec(x_1); -return x_34; +lean_object* x_38; lean_object* x_39; +x_38 = lean_box(0); +lean_inc(x_1); +x_39 = l_Lean_Parser_Command_docComment___elambda__1___lambda__3(x_17, x_1, x_11, x_38); +x_20 = x_39; +goto block_34; } else { -lean_object* x_37; -x_37 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_34); +x_20 = x_17; +goto block_34; +} +} +block_34: +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_20, 4); +lean_inc(x_21); +x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_810____at_Lean_Parser_ParserState_hasError___spec__1(x_21, x_11); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_dec(x_4); +x_23 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__2; +x_24 = l_Lean_Parser_ParserState_mkNode(x_20, x_23, x_14); +x_25 = lean_ctor_get(x_24, 4); +lean_inc(x_25); +x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_810____at_Lean_Parser_ParserState_hasError___spec__1(x_25, x_11); +lean_dec(x_25); +if (x_26 == 0) +{ lean_dec(x_1); -return x_37; +return x_24; +} +else +{ +lean_object* x_27; +x_27 = l_Lean_Parser_setLhsPrecFn(x_8, x_1, x_24); +lean_dec(x_1); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_inc(x_1); +x_28 = lean_apply_2(x_4, x_1, x_20); +x_29 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__2; +x_30 = l_Lean_Parser_ParserState_mkNode(x_28, x_29, x_14); +x_31 = lean_ctor_get(x_30, 4); +lean_inc(x_31); +x_32 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_810____at_Lean_Parser_ParserState_hasError___spec__1(x_31, x_11); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_dec(x_1); +return x_30; +} +else +{ +lean_object* x_33; +x_33 = l_Lean_Parser_setLhsPrecFn(x_8, x_1, x_30); +lean_dec(x_1); +return x_33; } } } @@ -72948,11 +73053,12 @@ return x_37; } else { -lean_object* x_38; uint8_t x_39; lean_object* x_40; -x_38 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__11; -x_39 = 1; -x_40 = l_Lean_Parser_orelseFnCore(x_4, x_38, x_39, x_1, x_2); -return x_40; +lean_object* x_40; uint8_t x_41; lean_object* x_42; +lean_dec(x_4); +x_40 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__19; +x_41 = 1; +x_42 = l_Lean_Parser_orelseFnCore(x_6, x_40, x_41, x_1, x_2); +return x_42; } } } @@ -72968,20 +73074,22 @@ return x_2; static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__1; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__15; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); +return x_4; } } static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__2; -x_2 = l_Lean_Parser_epsilonInfo; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } @@ -72989,8 +73097,8 @@ static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__3; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__3; +x_2 = l_Lean_Parser_epsilonInfo; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -72998,16 +73106,26 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__5() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__4; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___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_defaultOrOfNonempty___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__4; +x_3 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__5; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__6() { +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__7() { _start: { lean_object* x_1; @@ -73015,12 +73133,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_defaultOrOfNonempty___elambd return x_1; } } -static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__7() { +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__5; -x_2 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__6; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__6; +x_2 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -73031,7 +73149,7 @@ static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__7; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___closed__8; return x_1; } } @@ -73065,7 +73183,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(248u); -x_2 = lean_unsigned_to_nat(89u); +x_2 = lean_unsigned_to_nat(111u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -73079,7 +73197,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_declRange___closed__1; x_2 = lean_unsigned_to_nat(21u); x_3 = l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_declRange___closed__2; -x_4 = lean_unsigned_to_nat(89u); +x_4 = lean_unsigned_to_nat(111u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -73178,10 +73296,42 @@ return x_2; static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__3() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__9; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__2; +x_2 = l_Lean_Parser_Term_defaultOrOfNonempty_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); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty_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_defaultOrOfNonempty___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__2; +x_3 = l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__5; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -73194,7 +73344,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__1; -x_7 = l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__3; +x_7 = l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__6; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -73257,10 +73407,42 @@ return x_2; static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__3() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__9; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Term_defaultOrOfNonempty_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); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___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_defaultOrOfNonempty___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__2; +x_3 = l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__5; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -73273,7 +73455,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__3; +x_7 = l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__6; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -92448,7 +92630,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -92458,7 +92640,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_Term___hyg_3685____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -92468,7 +92650,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__3() { _start: { lean_object* x_1; @@ -92476,7 +92658,7 @@ x_1 = l_Lean_Parser_parserAliasesRef; return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -92486,7 +92668,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__5() { _start: { lean_object* x_1; @@ -92494,7 +92676,7 @@ x_1 = l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -92504,7 +92686,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__7() { _start: { lean_object* x_1; @@ -92512,7 +92694,7 @@ x_1 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -92522,7 +92704,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_Term___hyg_3685____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -92532,7 +92714,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -92542,7 +92724,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -92552,7 +92734,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -92562,7 +92744,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_Term___hyg_3685____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -92572,7 +92754,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -92582,7 +92764,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -92592,7 +92774,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -92602,7 +92784,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_Term___hyg_3685____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -92612,7 +92794,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -92622,7 +92804,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -92632,7 +92814,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -92642,7 +92824,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_Term___hyg_3685____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__21() { _start: { lean_object* x_1; lean_object* x_2; @@ -92652,7 +92834,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__22() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -92662,7 +92844,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__23() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -92672,7 +92854,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__24() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -92682,7 +92864,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_Term___hyg_3685____closed__25() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__25() { _start: { lean_object* x_1; lean_object* x_2; @@ -92692,7 +92874,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__26() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -92702,7 +92884,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__27() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -92712,7 +92894,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__28() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -92722,7 +92904,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_Term___hyg_3685____closed__29() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__29() { _start: { lean_object* x_1; lean_object* x_2; @@ -92732,7 +92914,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__30() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -92742,7 +92924,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__31() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__31() { _start: { lean_object* x_1; lean_object* x_2; @@ -92752,7 +92934,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__32() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -92762,7 +92944,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_Term___hyg_3685____closed__33() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__33() { _start: { lean_object* x_1; lean_object* x_2; @@ -92772,7 +92954,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__34() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__34() { _start: { lean_object* x_1; lean_object* x_2; @@ -92782,7 +92964,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__35() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -92792,7 +92974,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__36() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -92802,7 +92984,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_Term___hyg_3685____closed__37() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__37() { _start: { lean_object* x_1; lean_object* x_2; @@ -92812,7 +92994,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__38() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__38() { _start: { lean_object* x_1; lean_object* x_2; @@ -92822,7 +93004,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__39() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__39() { _start: { lean_object* x_1; lean_object* x_2; @@ -92832,13 +93014,13 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691_(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_initFn____x40_Lean_Parser_Term___hyg_3685____closed__3; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__1; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__2; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__3; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__1; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__2; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -92846,8 +93028,8 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__5; -x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__4; +x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__5; +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__4; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_3, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -92855,8 +93037,8 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__7; -x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__6; +x_11 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__7; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__6; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_3, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -92864,8 +93046,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_Term___hyg_3685____closed__8; -x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__9; +x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__8; +x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__9; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -92873,7 +93055,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_Term___hyg_3685____closed__10; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__10; x_20 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_15, x_19, x_18); if (lean_obj_tag(x_20) == 0) { @@ -92881,7 +93063,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_Term___hyg_3685____closed__11; +x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__11; x_23 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_15, x_22, x_21); if (lean_obj_tag(x_23) == 0) { @@ -92889,8 +93071,8 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 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_Term___hyg_3685____closed__12; -x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__13; +x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__12; +x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__13; x_27 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_25, x_26, x_24); if (lean_obj_tag(x_27) == 0) { @@ -92898,7 +93080,7 @@ lean_object* x_28; lean_object* x_29; lean_object* x_30; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__14; +x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__14; x_30 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_25, x_29, x_28); if (lean_obj_tag(x_30) == 0) { @@ -92906,7 +93088,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); -x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__15; +x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__15; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_25, x_32, x_31); if (lean_obj_tag(x_33) == 0) { @@ -92914,8 +93096,8 @@ lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__16; -x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__17; +x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__16; +x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__17; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -92923,7 +93105,7 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__18; +x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__18; x_40 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_35, x_39, x_38); if (lean_obj_tag(x_40) == 0) { @@ -92931,7 +93113,7 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__19; +x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__19; x_43 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_35, x_42, x_41); if (lean_obj_tag(x_43) == 0) { @@ -92939,8 +93121,8 @@ lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); -x_45 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__20; -x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__21; +x_45 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__20; +x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__21; x_47 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_45, x_46, x_44); if (lean_obj_tag(x_47) == 0) { @@ -92948,7 +93130,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; x_48 = lean_ctor_get(x_47, 1); lean_inc(x_48); lean_dec(x_47); -x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__22; +x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__22; x_50 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_45, x_49, x_48); if (lean_obj_tag(x_50) == 0) { @@ -92956,7 +93138,7 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; x_51 = lean_ctor_get(x_50, 1); lean_inc(x_51); lean_dec(x_50); -x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__23; +x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__23; x_53 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_45, x_52, x_51); if (lean_obj_tag(x_53) == 0) { @@ -92964,8 +93146,8 @@ lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec(x_53); -x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__24; -x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__25; +x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__24; +x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__25; x_57 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_55, x_56, x_54); if (lean_obj_tag(x_57) == 0) { @@ -92973,7 +93155,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__26; +x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__26; x_60 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_55, x_59, x_58); if (lean_obj_tag(x_60) == 0) { @@ -92981,7 +93163,7 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec(x_60); -x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__27; +x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__27; x_63 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_55, x_62, x_61); if (lean_obj_tag(x_63) == 0) { @@ -92989,8 +93171,8 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); -x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__28; -x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__29; +x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__28; +x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__29; x_67 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_65, x_66, x_64); if (lean_obj_tag(x_67) == 0) { @@ -92998,7 +93180,7 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); lean_dec(x_67); -x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__30; +x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__30; x_70 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_65, x_69, x_68); if (lean_obj_tag(x_70) == 0) { @@ -93006,7 +93188,7 @@ lean_object* x_71; lean_object* x_72; lean_object* x_73; x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); lean_dec(x_70); -x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__31; +x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__31; x_73 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_65, x_72, x_71); if (lean_obj_tag(x_73) == 0) { @@ -93014,8 +93196,8 @@ lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); -x_75 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__32; -x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__33; +x_75 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__32; +x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__33; x_77 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_75, x_76, x_74); if (lean_obj_tag(x_77) == 0) { @@ -93023,7 +93205,7 @@ lean_object* x_78; lean_object* x_79; lean_object* x_80; x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); lean_dec(x_77); -x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__34; +x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__34; x_80 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_75, x_79, x_78); if (lean_obj_tag(x_80) == 0) { @@ -93031,7 +93213,7 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83; x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); lean_dec(x_80); -x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__35; +x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__35; x_83 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_75, x_82, x_81); if (lean_obj_tag(x_83) == 0) { @@ -93039,8 +93221,8 @@ lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); -x_85 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__36; -x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__37; +x_85 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__36; +x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__37; x_87 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_85, x_86, x_84); if (lean_obj_tag(x_87) == 0) { @@ -93048,7 +93230,7 @@ lean_object* x_88; lean_object* x_89; lean_object* x_90; x_88 = lean_ctor_get(x_87, 1); lean_inc(x_88); lean_dec(x_87); -x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__38; +x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__38; x_90 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_85, x_89, x_88); if (lean_obj_tag(x_90) == 0) { @@ -93056,7 +93238,7 @@ lean_object* x_91; lean_object* x_92; lean_object* x_93; x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); lean_dec(x_90); -x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__39; +x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__39; x_93 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_85, x_92, x_91); return x_93; } @@ -102850,6 +103032,22 @@ l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__12 = _init_l_Lean_ lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__12); l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__13 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__13(); lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__13); +l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__14 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__14(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__14); +l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__15 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__15(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__15); +l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__16 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__16(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__16); +l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__17 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__17(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__17); +l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__18 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__18(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__18); +l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__19 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__19(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__19); +l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__20 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__20(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__20); +l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__21 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__21(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___elambda__1___closed__21); l_Lean_Parser_Term_defaultOrOfNonempty___closed__1 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___closed__1); l_Lean_Parser_Term_defaultOrOfNonempty___closed__2 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__2(); @@ -102864,6 +103062,8 @@ l_Lean_Parser_Term_defaultOrOfNonempty___closed__6 = _init_l_Lean_Parser_Term_de lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___closed__6); l_Lean_Parser_Term_defaultOrOfNonempty___closed__7 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___closed__7); +l_Lean_Parser_Term_defaultOrOfNonempty___closed__8 = _init_l_Lean_Parser_Term_defaultOrOfNonempty___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty___closed__8); l_Lean_Parser_Term_defaultOrOfNonempty = _init_l_Lean_Parser_Term_defaultOrOfNonempty(); lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty); res = l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty(lean_io_mk_world()); @@ -102892,6 +103092,12 @@ l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__2 = _init_l_Lean_Pars lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__2); l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__3 = _init_l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__3(); lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__3); +l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__4 = _init_l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__4); +l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__5 = _init_l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__5); +l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__6 = _init_l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__6); l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__1); l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__2(); @@ -102905,6 +103111,12 @@ l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__2 = _init_l_Lean_ lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__2); l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__3(); lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__3); +l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__4); +l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__5 = _init_l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__5); +l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__6 = _init_l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__6); l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__1); l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer___closed__2(); @@ -105432,85 +105644,85 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Level_quot_parenthesizer___close res = l___regBuiltin_Lean_Parser_Level_quot_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__21); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__22(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__22); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__23(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__23); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__24(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__24); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__25(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__25); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__26(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__26); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__27(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__27); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__28(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__28); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__29(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__29); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__30(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__30); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__31(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__31); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__32(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__32); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__33(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__33); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__34(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__34); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__35(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__35); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__36(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__36); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__37 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__37(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__37); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__38 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__38(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__38); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__39 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__39(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685____closed__39); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3685_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__21); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__22(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__22); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__23(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__23); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__24(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__24); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__25(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__25); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__26(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__26); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__27(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__27); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__28(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__28); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__29(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__29); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__30(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__30); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__31(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__31); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__32(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__32); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__33(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__33); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__34(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__34); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__35(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__35); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__36(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__36); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__37 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__37(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__37); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__38 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__38(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__38); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__39 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__39(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691____closed__39); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3691_(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));