chore: update stage0

This commit is contained in:
Leonardo de Moura 2021-02-01 18:04:28 -08:00
parent 2888e49785
commit a7d2edd333
33 changed files with 4436 additions and 4264 deletions

View file

@ -263,7 +263,7 @@ syntax (name := «let») "let " letDecl : tactic
syntax (name := «let!») "let! " letDecl : tactic
syntax (name := letrec) withPosition(atomic(group("let " &"rec ")) letRecDecls) : tactic
syntax inductionAlt := "| " (ident <|> "_") (ident <|> "_")* " => " (hole <|> syntheticHole <|> tacticSeq)
syntax inductionAlt := "| " (group("@"? ident) <|> "_") (ident <|> "_")* " => " (hole <|> syntheticHole <|> tacticSeq)
syntax inductionAlts := "with " withPosition( (colGe inductionAlt)+)
syntax (name := induction) "induction " term,+ (" using " ident)? ("generalizing " ident+)? (inductionAlts)? : tactic
syntax casesTarget := atomic(ident " : ")? term

View file

@ -201,8 +201,7 @@ def evalAlts (elimInfo : ElimInfo) (alts : Array (Name × MVarId)) (altsSyntax :
| some altStx =>
subgoals ← withRef altStx do
let altVarNames := getAltVarNames altStx
/- TODO: version of introN that only uses altVarNames for explicit parameters -/
let mut (_, altMVarId) ← introN altMVarId numFields altVarNames.toList
let mut (_, altMVarId) ← introN altMVarId numFields altVarNames.toList (useNamesForExplicitOnly := !altHasExplicitModifier altStx)
match (← Cases.unifyEqs numEqs altMVarId {}) with
| none => throwError! "alternative '{altName}' is not needed"
| some (altMVarId, _) =>
@ -443,8 +442,8 @@ private def generalizeTerm (term : Expr) : TacticM Expr := do
if targets.size == 1 then
let recInfo ← getRecInfo stx targets[0]
let (mvarId, _) ← getMainGoal
/- TODO: ctorNames + recInfo ==> altVars -/
let altVars := recInfo.alts.map fun alt => (getAltVarNames alt).toList
let altVars := recInfo.alts.map fun alt =>
{ explicit := altHasExplicitModifier alt, varNames := (getAltVarNames alt).toList : AltVarNames }
let result ← Meta.induction mvarId targets[0].fvarId! recInfo.recName altVars
processResult recInfo.alts result (numToIntro := n)
else
@ -528,8 +527,7 @@ builtin_initialize registerTraceClass `Elab.cases
def evalCasesOn (target : Expr) (optInductionAlts : Syntax) : TacticM Unit := do
let (mvarId, _) ← getMainGoal
let (recInfo, ctorNames) ← getRecInfoDefault target optInductionAlts (allowMissingAlts := true)
/- TODO: ctorNames + recInfo ==> altVars -/
let altVars := recInfo.alts.map fun alt => (getAltVarNames alt).toList
let altVars := recInfo.alts.map fun alt => { explicit := altHasExplicitModifier alt, varNames := (getAltVarNames alt).toList : AltVarNames }
let result ← Meta.cases mvarId target.fvarId! altVars
trace[Elab.cases]! "recInfo.alts.size: #{recInfo.alts.size} {recInfo.alts.map getAltVarNames}"
trace[Elab.cases]! "recInfo.alts: #{recInfo.alts.map toString}"

View file

@ -271,17 +271,17 @@ private def unifyCasesEqs (numEqs : Nat) (subgoals : Array CasesSubgoal) : MetaM
fields := s.fields.map (subst.apply ·)
}
private def inductionCasesOn (mvarId : MVarId) (majorFVarId : FVarId) (givenNames : Array (List Name)) (useUnusedNames : Bool) (ctx : Context)
private def inductionCasesOn (mvarId : MVarId) (majorFVarId : FVarId) (givenNames : Array AltVarNames) (ctx : Context)
: MetaM (Array CasesSubgoal) := do
withMVarContext mvarId do
let majorType ← inferType (mkFVar majorFVarId)
let (us, params) ← getInductiveUniverseAndParams majorType
let casesOn := mkCasesOnName ctx.inductiveVal.name
let ctors := ctx.inductiveVal.ctors.toArray
let s ← induction mvarId majorFVarId casesOn givenNames useUnusedNames
let s ← induction mvarId majorFVarId casesOn givenNames
pure $ toCasesSubgoals s ctors majorFVarId us params
def cases (mvarId : MVarId) (majorFVarId : FVarId) (givenNames : Array (List Name) := #[]) (useUnusedNames := false) : MetaM (Array CasesSubgoal) :=
def cases (mvarId : MVarId) (majorFVarId : FVarId) (givenNames : Array AltVarNames := #[]) : MetaM (Array CasesSubgoal) :=
withMVarContext mvarId do
checkNotAssigned mvarId `cases
let context? ← mkCasesContext? majorFVarId
@ -293,18 +293,18 @@ def cases (mvarId : MVarId) (majorFVarId : FVarId) (givenNames : Array (List Nam
allow callers to specify whether they want the `FVarSubst` or not. -/
if ctx.inductiveVal.numIndices == 0 then
-- Simple case
inductionCasesOn mvarId majorFVarId givenNames useUnusedNames ctx
inductionCasesOn mvarId majorFVarId givenNames ctx
else
let s₁ ← generalizeIndices mvarId majorFVarId
trace[Meta.Tactic.cases]! "after generalizeIndices\n{MessageData.ofGoal s₁.mvarId}"
let s₂ ← inductionCasesOn s₁.mvarId s₁.fvarId givenNames useUnusedNames ctx
let s₂ ← inductionCasesOn s₁.mvarId s₁.fvarId givenNames ctx
let s₂ ← elimAuxIndices s₁ s₂
unifyCasesEqs s₁.numEqs s₂
end Cases
def cases (mvarId : MVarId) (majorFVarId : FVarId) (givenNames : Array (List Name) := #[]) (useUnusedNames := false) : MetaM (Array CasesSubgoal) :=
Cases.cases mvarId majorFVarId givenNames useUnusedNames
def cases (mvarId : MVarId) (majorFVarId : FVarId) (givenNames : Array AltVarNames := #[]) : MetaM (Array CasesSubgoal) :=
Cases.cases mvarId majorFVarId givenNames
builtin_initialize registerTraceClass `Meta.Tactic.cases

View file

@ -47,8 +47,13 @@ private def getTypeBody (mvarId : MVarId) (type : Expr) (x : Expr) : MetaM Expr
| Expr.forallE _ _ b _ => pure $ b.instantiate1 x
| _ => throwTacticEx `induction mvarId "ill-formed recursor"
structure AltVarNames where
explicit : Bool := false -- true if `@` modifier was used
varNames : List Name := []
deriving Inhabited
private partial def finalize
(mvarId : MVarId) (givenNames : Array (List Name)) (recursorInfo : RecursorInfo)
(mvarId : MVarId) (givenNames : Array AltVarNames) (recursorInfo : RecursorInfo)
(reverted : Array FVarId) (major : Expr) (indices : Array Expr) (baseSubst : FVarSubst) (recursor : Expr)
: MetaM (Array InductionSubgoal) := do
let target ← getMVarType mvarId
@ -91,13 +96,13 @@ private partial def finalize
if arity < initialArity then throwTacticEx `induction mvarId "ill-formed recursor"
let nparams := arity - initialArity -- number of fields due to minor premise
let nextra := reverted.size - indices.size - 1 -- extra dependencies that have been reverted
let minorGivenNames := if h : minorIdx < givenNames.size then givenNames.get ⟨minorIdx, h⟩ else []
let minorGivenNames := if h : minorIdx < givenNames.size then givenNames.get ⟨minorIdx, h⟩ else {}
let mvar ← mkFreshExprSyntheticOpaqueMVar d (tag ++ n)
let recursor := mkApp recursor mvar
let recursorType ← getTypeBody mvarId recursorType mvar
-- Try to clear major premise from new goal
let mvarId' ← tryClear mvar.mvarId! major.fvarId!
let (fields, mvarId') ← introN mvarId' nparams minorGivenNames
let (fields, mvarId') ← introN mvarId' nparams minorGivenNames.varNames (useNamesForExplicitOnly := !minorGivenNames.explicit)
let (extra, mvarId') ← introNP mvarId' nextra
let subst := reverted.size.fold (init := baseSubst) fun i (subst : FVarSubst) =>
if i < indices.size + 1 then subst
@ -117,8 +122,7 @@ private partial def finalize
private def throwUnexpectedMajorType {α} (mvarId : MVarId) (majorType : Expr) : MetaM α :=
throwTacticEx `induction mvarId m!"unexpected major premise type{indentExpr majorType}"
def induction (mvarId : MVarId) (majorFVarId : FVarId) (recursorName : Name) (givenNames : Array (List Name) := #[]) (useUnusedNames := false) :
MetaM (Array InductionSubgoal) :=
def induction (mvarId : MVarId) (majorFVarId : FVarId) (recursorName : Name) (givenNames : Array AltVarNames := #[]) : MetaM (Array InductionSubgoal) :=
withMVarContext mvarId do
checkNotAssigned mvarId `induction
let majorLocalDecl ← getLocalDecl majorFVarId

View file

@ -7,7 +7,7 @@ import Lean.Meta.Tactic.Util
namespace Lean.Meta
@[inline] private partial def introNImp {σ} (mvarId : MVarId) (n : Nat) (mkName : LocalContext → Name → σ → MetaM (Name × σ)) (s : σ)
@[inline] private partial def introNImp {σ} (mvarId : MVarId) (n : Nat) (mkName : LocalContext → Name → Bool → σ → MetaM (Name × σ)) (s : σ)
: MetaM (Array FVarId × MVarId) := withMVarContext mvarId do
checkNotAssigned mvarId `introN
let mvarType ← getMVarType mvarId
@ -29,7 +29,7 @@ namespace Lean.Meta
let type := type.headBeta
let val := val.instantiateRevRange j fvars.size fvars
let fvarId ← mkFreshId
let (n, s) ← mkName lctx n s
let (n, s) ← mkName lctx n true s
let lctx := lctx.mkLetDecl fvarId n type val
let fvar := mkFVar fvarId
let fvars := fvars.push fvar
@ -38,7 +38,7 @@ namespace Lean.Meta
let type := type.instantiateRevRange j fvars.size fvars
let type := type.headBeta
let fvarId ← mkFreshId
let (n, s) ← mkName lctx n s
let (n, s) ← mkName lctx n c.binderInfo.isExplicit s
let lctx := lctx.mkLocalDecl fvarId n type c.binderInfo
let fvar := mkFVar fvarId
let fvars := fvars.push fvar
@ -64,19 +64,19 @@ register_builtin_option hygienicIntro : Bool := {
def getHygienicIntro : MetaM Bool := do
return hygienicIntro.get (← getOptions)
private def mkAuxNameImp (preserveBinderNames : Bool) (hygienic : Bool) (lctx : LocalContext) (binderName : Name) : List Name → MetaM (Name × List Name)
| [] => do
if preserveBinderNames then
pure (binderName, [])
else if hygienic then do
let binderName ← mkFreshUserName binderName;
pure (binderName, [])
else
pure (lctx.getUnusedName binderName, [])
private def mkAuxNameImp (preserveBinderNames : Bool) (hygienic : Bool) (useNamesForExplicitOnly : Bool)
(lctx : LocalContext) (binderName : Name) (isExplicit : Bool) : List Name → MetaM (Name × List Name)
| [] => mkAuxNameWithoutGivenName []
| n :: rest => do
if n != Name.mkSimple "_" then
if useNamesForExplicitOnly && !isExplicit then
mkAuxNameWithoutGivenName (n :: rest)
else if n != Name.mkSimple "_" then
pure (n, rest)
else if preserveBinderNames then
else
mkAuxNameWithoutGivenName rest
where
mkAuxNameWithoutGivenName (rest : List Name) : MetaM (Name × List Name) := do
if preserveBinderNames then
pure (binderName, rest)
else if hygienic then
let binderName ← mkFreshUserName binderName
@ -84,25 +84,26 @@ private def mkAuxNameImp (preserveBinderNames : Bool) (hygienic : Bool) (lctx :
else
pure (lctx.getUnusedName binderName, rest)
def introNCore (mvarId : MVarId) (n : Nat) (givenNames : List Name) (preserveBinderNames : Bool) : MetaM (Array FVarId × MVarId) := do
def introNCore (mvarId : MVarId) (n : Nat) (givenNames : List Name) (useNamesForExplicitOnly : Bool) (preserveBinderNames : Bool)
: MetaM (Array FVarId × MVarId) := do
let hygienic ← getHygienicIntro
if n == 0 then
pure (#[], mvarId)
else
introNImp mvarId n (mkAuxNameImp preserveBinderNames hygienic) givenNames
introNImp mvarId n (mkAuxNameImp preserveBinderNames hygienic useNamesForExplicitOnly) givenNames
abbrev introN (mvarId : MVarId) (n : Nat) (givenNames : List Name := []) : MetaM (Array FVarId × MVarId) :=
introNCore mvarId n givenNames false
abbrev introN (mvarId : MVarId) (n : Nat) (givenNames : List Name := []) (useNamesForExplicitOnly := false) : MetaM (Array FVarId × MVarId) :=
introNCore mvarId n givenNames (useNamesForExplicitOnly := useNamesForExplicitOnly) (preserveBinderNames := false)
abbrev introNP (mvarId : MVarId) (n : Nat) : MetaM (Array FVarId × MVarId) :=
introNCore mvarId n [] true
introNCore mvarId n [] (useNamesForExplicitOnly := false) (preserveBinderNames := true)
def intro (mvarId : MVarId) (name : Name) : MetaM (FVarId × MVarId) := do
let (fvarIds, mvarId) ← introN mvarId 1 [name]
pure (fvarIds.get! 0, mvarId)
def intro1Core (mvarId : MVarId) (preserveBinderNames : Bool) : MetaM (FVarId × MVarId) := do
let (fvarIds, mvarId) ← introNCore mvarId 1 [] preserveBinderNames
let (fvarIds, mvarId) ← introNCore mvarId 1 [] (useNamesForExplicitOnly := false) preserveBinderNames
pure (fvarIds.get! 0, mvarId)
abbrev intro1 (mvarId : MVarId) : MetaM (FVarId × MVarId) :=

View file

@ -98,6 +98,7 @@ lean_object* l_term___u2264_____closed__2;
lean_object* l_Lean_Parser_Tactic_intro___closed__9;
lean_object* l_term___x3d_x3d_____closed__6;
lean_object* l_term___u2227_____closed__3;
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__19;
lean_object* l_term_x5b___x5d___closed__9;
lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__6;
lean_object* l_myMacro____x40_Init_Notation___hyg_1398____closed__5;
@ -221,6 +222,7 @@ lean_object* l_term___x3e_x3e_x3d_____closed__7;
lean_object* l_prio_x28___x29___closed__6;
lean_object* l_myMacro____x40_Init_Notation___hyg_2964____closed__6;
lean_object* l_termIfThenElse___closed__9;
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042____boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Attr_simp___closed__2;
lean_object* l_myMacro____x40_Init_Notation___hyg_1162____closed__2;
lean_object* l_Lean_Parser_Tactic_skip___closed__3;
@ -287,6 +289,7 @@ lean_object* l_prioLow___closed__3;
lean_object* l_Lean_Parser_Tactic_clear___closed__6;
lean_object* l_myMacro____x40_Init_Notation___hyg_12938____closed__1;
lean_object* l___private_Init_Notation_0__Lean_Parser_Tactic_withCheapRefl___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042____closed__1;
lean_object* l_myMacro____x40_Init_Notation___hyg_2191____closed__7;
lean_object* l_term_x2d_____closed__6;
lean_object* l_myMacro____x40_Init_Notation___hyg_9946____closed__9;
@ -446,7 +449,6 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_958____closed__4;
lean_object* l_stx_x21_____closed__2;
lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1;
lean_object* l_myMacro____x40_Init_Notation___hyg_3482____closed__3;
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030____boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_myMacro____x40_Init_Notation___hyg_10982____closed__9;
lean_object* l_Lean_Parser_Tactic_intros___closed__3;
lean_object* l_Lean_Parser_Tactic_rwRule___closed__2;
@ -667,6 +669,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_11241____closed__4;
lean_object* l_term___x3e_x3d_____closed__3;
lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__2;
lean_object* l_term___x2a_____closed__7;
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__20;
lean_object* l_term___x24_______closed__9;
lean_object* l_Lean_Parser_Tactic_rw;
lean_object* l_Lean_Parser_Tactic_changeWith___closed__8;
@ -913,6 +916,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_2964____closed__8;
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__3;
lean_object* l_myMacro____x40_Init_Notation___hyg_6045____closed__5;
lean_object* l_Lean_Parser_Tactic_expandRw___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__18;
lean_object* l_myMacro____x40_Init_Notation___hyg_9946____closed__5;
lean_object* l_term_x25_x5b___x7c___x5d___closed__10;
lean_object* l_myMacro____x40_Init_Notation___hyg_10205____closed__6;
@ -1113,6 +1117,7 @@ lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__8;
lean_object* l_stx___x2a___closed__5;
lean_object* l_term___x3c_x3d_____closed__5;
lean_object* l_Lean_Parser_Tactic_intros___closed__9;
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__22;
lean_object* l_Lean_Parser_Tactic_location___closed__9;
lean_object* l_termDepIfThenElse___closed__33;
lean_object* l_term___x2a_____closed__6;
@ -1121,8 +1126,8 @@ lean_object* l_term_x2d_____closed__3;
lean_object* l_myMacro____x40_Init_Notation___hyg_4000____closed__8;
lean_object* l_precMin___closed__4;
lean_object* l_Lean_Parser_Tactic_existsIntro___closed__6;
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030_(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846_(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042_(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858_(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16349_(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16223_(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16094_(lean_object*, lean_object*, lean_object*);
@ -1328,12 +1333,14 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_775____boxed(lean_object*, lea
lean_object* l_term_x5b___x5d___closed__8;
lean_object* l_Lean_Parser_Tactic_rwRule___closed__1;
lean_object* l_myMacro____x40_Init_Notation___hyg_6301____closed__9;
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__23;
lean_object* l_myMacro____x40_Init_Notation___hyg_12336____closed__11;
lean_object* l_term___x3c_x3d_____closed__7;
lean_object* l_myMacro____x40_Init_Notation___hyg_11500____closed__4;
lean_object* l_myMacro____x40_Init_Notation___hyg_10464____closed__4;
lean_object* l_myMacro____x40_Init_Notation___hyg_1398____boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__2;
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2;
lean_object* l_myMacro____x40_Init_Notation___hyg_12938____closed__11;
lean_object* l_myMacro____x40_Init_Notation___hyg_5017____closed__4;
lean_object* l_Lean_Parser_Tactic_intro___closed__6;
@ -1355,6 +1362,7 @@ lean_object* l_Lean_Parser_Tactic_simpPost;
lean_object* l_Lean_Parser_Tactic_done;
lean_object* l_term_x5b___x5d___closed__4;
lean_object* l_Lean_Parser_Tactic_intros;
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__21;
lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__3;
lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__6;
lean_object* l_term___x3c_____closed__6;
@ -1398,11 +1406,13 @@ lean_object* l_prioMid___closed__5;
lean_object* l_Lean_Parser_Tactic_apply___closed__1;
lean_object* l_stx___x2a;
lean_object* l_Lean_Parser_Tactic_rewrite___closed__3;
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__1;
lean_object* l_term___x2f__;
lean_object* l_termDepIfThenElse___closed__4;
lean_object* l_myMacro____x40_Init_Notation___hyg_3482____closed__4;
lean_object* l_Lean_Parser_Tactic_locationTarget;
lean_object* l_termIfThenElse___closed__2;
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_stx___x2c_x2b_x2c_x3f___closed__5;
lean_object* l_myMacro____x40_Init_Notation___hyg_775____closed__1;
lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__4;
@ -1460,7 +1470,6 @@ lean_object* l_Lean_Parser_Tactic_focus___closed__3;
lean_object* l_Lean_Parser_Tactic_rwSeq___closed__2;
lean_object* l_Lean_Parser_Tactic_changeWith___closed__3;
lean_object* l_myMacro____x40_Init_Notation___hyg_9459____closed__4;
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2;
lean_object* l_myMacro____x40_Init_Notation___hyg_8971____closed__3;
lean_object* l_prec_x28___x29;
lean_object* l_rawNatLit___closed__6;
@ -1469,14 +1478,12 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_11500____closed__7;
lean_object* l_Lean_Parser_Tactic_simpLemma___closed__2;
lean_object* l_myMacro____x40_Init_Notation___hyg_1398____closed__2;
lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__5;
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_term___u2245_____closed__3;
lean_object* l_myMacro____x40_Init_Notation___hyg_1264____closed__7;
lean_object* l_myMacro____x40_Init_Notation___hyg_8971____closed__5;
lean_object* l_Lean_Parser_Tactic_expandERwSeq___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_myMacro____x40_Init_Notation___hyg_268____boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_termDepIfThenElse___closed__2;
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030____closed__1;
lean_object* l_termIfThenElse___closed__6;
lean_object* l_term___x3e_x3e_____closed__7;
lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__10;
@ -1501,7 +1508,6 @@ lean_object* l_Lean_Parser_Tactic_rewrite___closed__7;
lean_object* l_precMin1;
lean_object* l_term___u2265__;
lean_object* l_Lean_Parser_Tactic_allGoals___closed__4;
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__1;
lean_object* l_Lean_Parser_Tactic_tacticDecide_x21___closed__5;
lean_object* l_prioMid___closed__1;
lean_object* l_Lean_Parser_Tactic_intro___closed__1;
@ -30534,41 +30540,31 @@ return x_2;
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___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_inductionAlt___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;
lean_object* x_1;
x_1 = lean_mk_string("@");
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_myMacro____x40_Init_Notation___hyg_1060____closed__4;
x_2 = l_Lean_Parser_Tactic_intros___closed__6;
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;
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___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_inductionAlt___closed__5;
x_3 = l_Lean_Parser_Tactic_inductionAlt___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;
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_myMacro____x40_Init_Notation___hyg_1162____closed__4;
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__6;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__8() {
@ -30577,7 +30573,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_inductionAlt___closed__7;
x_3 = l_Lean_Parser_Tactic_case___closed__7;
x_3 = l_termDepIfThenElse___closed__9;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
@ -30589,57 +30585,75 @@ static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_myMacro____x40_Init_Notation___hyg_12938____closed__12;
x_3 = lean_name_mk_string(x_1, x_2);
x_1 = l_Lean_Parser_Tactic_letrec___closed__4;
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__8;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__9;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_myMacro____x40_Init_Notation___hyg_1264____closed__6;
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__9;
x_3 = l_Lean_Parser_Tactic_intros___closed__5;
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_inductionAlt___closed__11() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("syntheticHole");
return x_1;
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_inductionAlt___closed__4;
x_3 = l_Lean_Parser_Tactic_inductionAlt___closed__10;
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_inductionAlt___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__11;
x_3 = lean_name_mk_string(x_1, x_2);
x_1 = l_myMacro____x40_Init_Notation___hyg_1060____closed__4;
x_2 = l_Lean_Parser_Tactic_intros___closed__6;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__12;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
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_inductionAlt___closed__11;
x_3 = l_Lean_Parser_Tactic_inductionAlt___closed__12;
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_inductionAlt___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_myMacro____x40_Init_Notation___hyg_1264____closed__6;
x_1 = l_Lean_Parser_Syntax_addPrec___closed__10;
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__13;
x_3 = l_Lean_Parser_Tactic_case___closed__11;
x_3 = l_Lean_Parser_Tactic_case___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);
@ -30650,24 +30664,58 @@ return x_4;
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_myMacro____x40_Init_Notation___hyg_1264____closed__6;
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__10;
x_3 = l_Lean_Parser_Tactic_inductionAlt___closed__14;
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_myMacro____x40_Init_Notation___hyg_12938____closed__12;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__15;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__17() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("syntheticHole");
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__17;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__18;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__20() {
_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_inductionAlt___closed__8;
x_3 = l_Lean_Parser_Tactic_inductionAlt___closed__15;
x_1 = l_myMacro____x40_Init_Notation___hyg_1264____closed__6;
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__19;
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);
@ -30675,13 +30723,41 @@ lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__17() {
static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_myMacro____x40_Init_Notation___hyg_1264____closed__6;
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__16;
x_3 = l_Lean_Parser_Tactic_inductionAlt___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_Lean_Parser_Tactic_inductionAlt___closed__22() {
_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_inductionAlt___closed__14;
x_3 = l_Lean_Parser_Tactic_inductionAlt___closed__21;
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_inductionAlt___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__1;
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__2;
x_3 = l_Lean_Parser_Tactic_inductionAlt___closed__16;
x_3 = l_Lean_Parser_Tactic_inductionAlt___closed__22;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
@ -30693,7 +30769,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__17;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__23;
return x_1;
}
}
@ -31419,7 +31495,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7;
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__1() {
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__1() {
_start:
{
lean_object* x_1;
@ -31427,17 +31503,17 @@ x_1 = lean_mk_string("haveAssign");
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2() {
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_myMacro____x40_Init_Notation___hyg_2191____closed__2;
x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__1;
x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5;
@ -31504,7 +31580,7 @@ lean_ctor_set(x_33, 0, x_14);
lean_ctor_set(x_33, 1, x_32);
x_34 = lean_array_push(x_17, x_33);
x_35 = lean_array_push(x_34, x_11);
x_36 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2;
x_36 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2;
x_37 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_35);
@ -31569,7 +31645,7 @@ lean_ctor_set(x_66, 0, x_46);
lean_ctor_set(x_66, 1, x_65);
x_67 = lean_array_push(x_50, x_66);
x_68 = lean_array_push(x_67, x_11);
x_69 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2;
x_69 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2;
x_70 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_70, 0, x_69);
lean_ctor_set(x_70, 1, x_68);
@ -31595,11 +31671,11 @@ return x_79;
}
}
}
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846_(x_1, x_2, x_3);
x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858_(x_1, x_2, x_3);
lean_dec(x_2);
return x_4;
}
@ -31678,7 +31754,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRepeat_____closed__6;
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030____closed__1() {
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042____closed__1() {
_start:
{
lean_object* x_1;
@ -31686,7 +31762,7 @@ x_1 = lean_mk_string("repeat");
return x_1;
}
}
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5;
@ -31781,7 +31857,7 @@ x_43 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_43, 0, x_40);
lean_ctor_set(x_43, 1, x_42);
x_44 = lean_array_push(x_21, x_43);
x_45 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030____closed__1;
x_45 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042____closed__1;
lean_inc(x_18);
x_46 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_46, 0, x_18);
@ -31909,7 +31985,7 @@ x_109 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_109, 0, x_106);
lean_ctor_set(x_109, 1, x_108);
x_110 = lean_array_push(x_87, x_109);
x_111 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030____closed__1;
x_111 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042____closed__1;
lean_inc(x_83);
x_112 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_112, 0, x_83);
@ -31988,11 +32064,11 @@ return x_149;
}
}
}
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030_(x_1, x_2, x_3);
x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042_(x_1, x_2, x_3);
lean_dec(x_2);
return x_4;
}
@ -34936,6 +35012,18 @@ l_Lean_Parser_Tactic_inductionAlt___closed__16 = _init_l_Lean_Parser_Tactic_indu
lean_mark_persistent(l_Lean_Parser_Tactic_inductionAlt___closed__16);
l_Lean_Parser_Tactic_inductionAlt___closed__17 = _init_l_Lean_Parser_Tactic_inductionAlt___closed__17();
lean_mark_persistent(l_Lean_Parser_Tactic_inductionAlt___closed__17);
l_Lean_Parser_Tactic_inductionAlt___closed__18 = _init_l_Lean_Parser_Tactic_inductionAlt___closed__18();
lean_mark_persistent(l_Lean_Parser_Tactic_inductionAlt___closed__18);
l_Lean_Parser_Tactic_inductionAlt___closed__19 = _init_l_Lean_Parser_Tactic_inductionAlt___closed__19();
lean_mark_persistent(l_Lean_Parser_Tactic_inductionAlt___closed__19);
l_Lean_Parser_Tactic_inductionAlt___closed__20 = _init_l_Lean_Parser_Tactic_inductionAlt___closed__20();
lean_mark_persistent(l_Lean_Parser_Tactic_inductionAlt___closed__20);
l_Lean_Parser_Tactic_inductionAlt___closed__21 = _init_l_Lean_Parser_Tactic_inductionAlt___closed__21();
lean_mark_persistent(l_Lean_Parser_Tactic_inductionAlt___closed__21);
l_Lean_Parser_Tactic_inductionAlt___closed__22 = _init_l_Lean_Parser_Tactic_inductionAlt___closed__22();
lean_mark_persistent(l_Lean_Parser_Tactic_inductionAlt___closed__22);
l_Lean_Parser_Tactic_inductionAlt___closed__23 = _init_l_Lean_Parser_Tactic_inductionAlt___closed__23();
lean_mark_persistent(l_Lean_Parser_Tactic_inductionAlt___closed__23);
l_Lean_Parser_Tactic_inductionAlt = _init_l_Lean_Parser_Tactic_inductionAlt();
lean_mark_persistent(l_Lean_Parser_Tactic_inductionAlt);
l_Lean_Parser_Tactic_inductionAlts___closed__1 = _init_l_Lean_Parser_Tactic_inductionAlts___closed__1();
@ -35066,10 +35154,10 @@ l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7 = _init_l_Lean_Parser_
lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7);
l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__ = _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__);
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__1);
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2);
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__1);
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2);
l_Lean_Parser_Tactic_tacticRepeat_____closed__1 = _init_l_Lean_Parser_Tactic_tacticRepeat_____closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat_____closed__1);
l_Lean_Parser_Tactic_tacticRepeat_____closed__2 = _init_l_Lean_Parser_Tactic_tacticRepeat_____closed__2();
@ -35084,8 +35172,8 @@ l_Lean_Parser_Tactic_tacticRepeat_____closed__6 = _init_l_Lean_Parser_Tactic_tac
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat_____closed__6);
l_Lean_Parser_Tactic_tacticRepeat__ = _init_l_Lean_Parser_Tactic_tacticRepeat__();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat__);
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030____closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18030____closed__1);
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042____closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18042____closed__1);
l_Lean_Parser_Attr_simp___closed__1 = _init_l_Lean_Parser_Attr_simp___closed__1();
lean_mark_persistent(l_Lean_Parser_Attr_simp___closed__1);
l_Lean_Parser_Attr_simp___closed__2 = _init_l_Lean_Parser_Attr_simp___closed__2();

View file

@ -118,7 +118,6 @@ lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg
lean_object* l_tacticFunext_______closed__3;
lean_object* l_commandClassAbbrev_______x3a_x3d_____x2c___closed__1;
lean_object* l_Lean_bracketedExplicitBinders___closed__3;
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l_tacticSolve_x7c___x7c___closed__3;
lean_object* l_Lean_explicitBinders___closed__1;
lean_object* l_commandClassAbbrev_______x3a_x3d_____x2c___closed__4;
@ -296,6 +295,7 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
lean_object* l_tacticFunext____;
lean_object* l_commandClassAbbrev_______x3a_x3d_____x2c___closed__15;
lean_object* l_Lean_bracketedExplicitBinders___closed__1;
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1128____closed__1;
lean_object* l_Lean_bracketedExplicitBinders___closed__8;
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__18;
@ -7468,14 +7468,6 @@ x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("@");
return x_1;
}
}
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
@ -7733,7 +7725,7 @@ x_127 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_127, 0, x_73);
lean_ctor_set(x_127, 1, x_126);
x_128 = lean_array_push(x_30, x_127);
x_129 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_129 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_73);
x_130 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_130, 0, x_73);
@ -7906,7 +7898,7 @@ x_224 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_224, 0, x_169);
lean_ctor_set(x_224, 1, x_223);
x_225 = lean_array_push(x_30, x_224);
x_226 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_226 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_169);
x_227 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_227, 0, x_169);
@ -8110,7 +8102,7 @@ x_333 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_333, 0, x_277);
lean_ctor_set(x_333, 1, x_332);
x_334 = lean_array_push(x_30, x_333);
x_335 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_335 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_277);
x_336 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_336, 0, x_277);
@ -8374,7 +8366,7 @@ x_465 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_465, 0, x_409);
lean_ctor_set(x_465, 1, x_464);
x_466 = lean_array_push(x_30, x_465);
x_467 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_467 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_409);
x_468 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_468, 0, x_409);
@ -9585,8 +9577,6 @@ l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__33 = _init_l_myMacro__
lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__33);
l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__34 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__34();
lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__34);
l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35();
lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35);
l_tacticSolve_x7c___x7c___closed__1 = _init_l_tacticSolve_x7c___x7c___closed__1();
lean_mark_persistent(l_tacticSolve_x7c___x7c___closed__1);
l_tacticSolve_x7c___x7c___closed__2 = _init_l_tacticSolve_x7c___x7c___closed__2();

View file

@ -16,7 +16,6 @@ extern "C" {
lean_object* l_Lean_IR_CtorFieldInfo_format___closed__7;
lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*);
extern lean_object* l_Std_Format_join___closed__1;
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l_Lean_IR_CtorFieldInfo_format_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_CtorFieldInfo_format___closed__6;
extern lean_object* l_myMacro____x40_Init_Notation___hyg_13855____closed__9;
@ -24,6 +23,7 @@ lean_object* l_Std_fmt___at_Lean_IR_CtorFieldInfo_format___spec__1(lean_object*)
lean_object* l_Lean_IR_CtorFieldInfo_format___closed__5;
extern lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2;
lean_object* l_Lean_IR_CtorFieldInfo_format(lean_object*);
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l_Lean_IR_CtorFieldInfo_format___closed__3;
lean_object* l_Lean_IR_CtorFieldInfo_format___closed__1;
lean_object* l_Lean_IR_CtorFieldInfo_format___closed__8;
@ -166,7 +166,7 @@ static lean_object* _init_l_Lean_IR_CtorFieldInfo_format___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;

View file

@ -94,7 +94,6 @@ lean_object* l_Lean_IR_UnreachableBranches_Value_format_match__1(lean_object*);
lean_object* l_Std_mkPersistentArray___rarg(lean_object*, lean_object*);
lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_540____spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_540____spec__14(lean_object*, size_t, size_t, lean_object*);
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_interpFnBody___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Format_sbracket___closed__4;
lean_object* l_Lean_IR_UnreachableBranches_Value_instToStringValue___closed__1;
@ -226,6 +225,7 @@ extern lean_object* l_Std_Format_sbracket___closed__3;
lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___elambda__4___boxed(lean_object*, lean_object*);
lean_object* l_Lean_IR_UnreachableBranches_interpExpr_match__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_540____spec__18(lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
size_t l_USize_land(size_t, size_t);
lean_object* l_Lean_IR_UnreachableBranches_Value_instBEqValue;
@ -1754,7 +1754,7 @@ static lean_object* _init_l_Lean_IR_UnreachableBranches_Value_format___closed__5
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;

View file

@ -136,7 +136,6 @@ lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_E
lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___regBuiltin_Lean_Elab_Term_elabFun(lean_object*);
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__1___rarg(lean_object*, lean_object*);
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__3;
@ -329,6 +328,7 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Meta_mkArrow___closed__1;
lean_object* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1;
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l_Lean_Elab_Term_elabBinders___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___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Meta_DiscrTree_Trie_format___rarg___closed__1;
@ -19427,7 +19427,7 @@ if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 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;
x_29 = lean_ctor_get(x_27, 0);
x_30 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_30 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_29);
x_31 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_31, 0, x_29);
@ -19477,7 +19477,7 @@ x_54 = lean_ctor_get(x_27, 1);
lean_inc(x_54);
lean_inc(x_53);
lean_dec(x_27);
x_55 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_55 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_53);
x_56 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_56, 0, x_53);
@ -19684,7 +19684,7 @@ if (lean_is_exclusive(x_143)) {
lean_dec_ref(x_143);
x_146 = lean_box(0);
}
x_147 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_147 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_144);
x_148 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_148, 0, x_144);
@ -20305,7 +20305,7 @@ if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 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;
x_29 = lean_ctor_get(x_27, 0);
x_30 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_30 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_29);
x_31 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_31, 0, x_29);
@ -20355,7 +20355,7 @@ x_54 = lean_ctor_get(x_27, 1);
lean_inc(x_54);
lean_inc(x_53);
lean_dec(x_27);
x_55 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_55 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_53);
x_56 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_56, 0, x_53);
@ -20490,7 +20490,7 @@ if (lean_is_exclusive(x_101)) {
lean_dec_ref(x_101);
x_104 = lean_box(0);
}
x_105 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_105 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_102);
x_106 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_106, 0, x_102);

View file

@ -460,6 +460,7 @@ extern lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda
lean_object* l_Lean_Elab_Term_elabSubst___closed__4;
uint8_t l_Lean_Expr_hasLooseBVars(lean_object*);
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabClosedTerm___closed__1;
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__1;
lean_object* l_Lean_Elab_Term_elabSubst___closed__9;
lean_object* l_Lean_Elab_Term_elabPanic___closed__9;
extern lean_object* l_termIfThenElse___closed__2;
@ -500,7 +501,6 @@ lean_object* l_Lean_Elab_Term_expandAssert___closed__3;
lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable(lean_object*);
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4;
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__1;
extern lean_object* l_Lean_Parser_Tactic_intro___closed__1;
extern lean_object* l_Lean_Parser_Term_nativeRefl___elambda__1___closed__2;
lean_object* l_Lean_Elab_Term_elabSubst___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -1930,7 +1930,7 @@ x_16 = l_Lean_Syntax_isOfKind(x_13, x_15);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; uint8_t x_19;
x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__1;
x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__1;
lean_inc(x_2);
x_18 = lean_name_mk_string(x_2, x_17);
lean_inc(x_13);

View file

@ -55,7 +55,6 @@ lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts__
lean_object* l_Lean_MessageData_ofList(lean_object*);
lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkAlts_match__3(lean_object*);
extern lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1;
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkAlts_match__2___rarg(lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Command_mutual___elambda__1___closed__1;
lean_object* lean_string_utf8_byte_size(lean_object*);
@ -131,6 +130,7 @@ size_t lean_usize_of_nat(lean_object*);
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5(lean_object*);
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
extern lean_object* l_Lean_nullKind___closed__2;
lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__8;
lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -2162,7 +2162,7 @@ x_65 = l_Lean_Elab_Term_getMainModule___rarg(x_13, x_64);
x_66 = lean_ctor_get(x_65, 1);
lean_inc(x_66);
lean_dec(x_65);
x_67 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_67 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_68 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_68, 0, x_61);
lean_ctor_set(x_68, 1, x_67);
@ -2422,7 +2422,7 @@ x_171 = l_Lean_Elab_Term_getMainModule___rarg(x_13, x_170);
x_172 = lean_ctor_get(x_171, 1);
lean_inc(x_172);
lean_dec(x_171);
x_173 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_173 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_174 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_174, 0, x_167);
lean_ctor_set(x_174, 1, x_173);

View file

@ -74,7 +74,6 @@ lean_object* l_Lean_MessageData_ofList(lean_object*);
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___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* l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts_match__1(lean_object*);
extern lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1;
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___boxed(lean_object*);
lean_object* lean_string_utf8_byte_size(lean_object*);
extern lean_object* l_myMacro____x40_Init_Notation___hyg_12336____closed__8;
@ -161,6 +160,7 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_pos
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__20;
lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__10;
extern lean_object* l_Lean_nullKind___closed__2;
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts_match__2(lean_object*);
@ -3892,7 +3892,7 @@ x_48 = l_Lean_Elab_Term_getMainModule___rarg(x_15, x_47);
x_49 = lean_ctor_get(x_48, 1);
lean_inc(x_49);
lean_dec(x_48);
x_50 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_50 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_51 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_51, 0, x_44);
lean_ctor_set(x_51, 1, x_50);
@ -4163,7 +4163,7 @@ x_159 = l_Lean_Elab_Term_getMainModule___rarg(x_15, x_158);
x_160 = lean_ctor_get(x_159, 1);
lean_inc(x_160);
lean_dec(x_159);
x_161 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_161 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_162 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_162, 0, x_155);
lean_ctor_set(x_162, 1, x_161);

View file

@ -63,7 +63,6 @@ lean_object* l_Lean_MessageData_ofList(lean_object*);
lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1;
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_string_utf8_byte_size(lean_object*);
@ -159,6 +158,7 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_pos
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_match__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__2;
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__1;
extern lean_object* l_Lean_nullKind___closed__2;
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__10;
@ -5422,7 +5422,7 @@ x_47 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_47, 0, x_31);
lean_ctor_set(x_47, 1, x_46);
x_48 = lean_array_push(x_23, x_47);
x_49 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_49 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_31);
x_50 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_50, 0, x_31);

View file

@ -66,7 +66,6 @@ lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_E
lean_object* l_Lean_MessageData_ofList(lean_object*);
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__4___lambda__1___closed__23;
extern lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1;
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__4___lambda__1___closed__1;
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -167,6 +166,7 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_pos
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Deriving_Repr_mkReprInstanceHandler___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts_match__1___rarg(lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__2___boxed(lean_object**);
extern lean_object* l_Lean_nullKind___closed__2;
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___closed__3;
@ -3857,7 +3857,7 @@ x_70 = l_Lean_Elab_Term_getMainModule___rarg(x_14, x_69);
x_71 = lean_ctor_get(x_70, 1);
lean_inc(x_71);
lean_dec(x_70);
x_72 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_72 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_73 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_73, 0, x_66);
lean_ctor_set(x_73, 1, x_72);

View file

@ -65,7 +65,6 @@ lean_object* l_Lean_MessageData_ofList(lean_object*);
lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_mkContext___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1;
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_mkContext___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_mkContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__27;
@ -135,6 +134,7 @@ lean_object* l_Lean_Elab_Deriving_mkInductArgNames___closed__1;
size_t lean_usize_of_nat(lean_object*);
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Deriving_mkImplicitBinders___boxed__const__1;
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
extern lean_object* l_Lean_nullKind___closed__2;
lean_object* l_Lean_Elab_Deriving_mkInstanceCmds___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__31;
@ -564,7 +564,7 @@ if (x_25 == 0)
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;
x_26 = lean_ctor_get(x_24, 0);
lean_dec(x_26);
x_27 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_27 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_28 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_28, 0, x_20);
lean_ctor_set(x_28, 1, x_27);
@ -596,7 +596,7 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean
x_41 = lean_ctor_get(x_24, 1);
lean_inc(x_41);
lean_dec(x_24);
x_42 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_42 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_43 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_43, 0, x_20);
lean_ctor_set(x_43, 1, x_42);

View file

@ -202,7 +202,6 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_
lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Expr_getAppArgs___closed__1;
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar_match__2(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -517,6 +516,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_match__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(lean_object*);
lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_LocalDecl_fvarId(lean_object*);
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__2;
@ -4888,7 +4888,7 @@ if (x_24 == 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; lean_object* x_34; lean_object* x_35;
x_25 = lean_ctor_get(x_23, 0);
lean_dec(x_25);
x_26 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_26 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_27 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_27, 0, x_19);
lean_ctor_set(x_27, 1, x_26);
@ -4914,7 +4914,7 @@ lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean
x_36 = lean_ctor_get(x_23, 1);
lean_inc(x_36);
lean_dec(x_23);
x_37 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_37 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_38 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_38, 0, x_19);
lean_ctor_set(x_38, 1, x_37);

View file

@ -235,7 +235,6 @@ lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__4;
extern lean_object* l_myMacro____x40_Init_Notation___hyg_1162____closed__1;
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__11;
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
extern lean_object* l_Std_Format_sbracket___closed__4;
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23;
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5277____closed__4;
@ -614,6 +613,7 @@ extern lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUn
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__22;
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__12___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -8849,7 +8849,7 @@ x_179 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_179, 0, x_160);
lean_ctor_set(x_179, 1, x_178);
x_180 = lean_array_push(x_175, x_179);
x_181 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_181 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_160);
x_182 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_182, 0, x_160);
@ -8961,7 +8961,7 @@ x_231 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_231, 0, x_160);
lean_ctor_set(x_231, 1, x_230);
x_232 = lean_array_push(x_227, x_231);
x_233 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_233 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_160);
x_234 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_234, 0, x_160);
@ -23776,7 +23776,7 @@ x_52 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_52, 0, x_35);
lean_ctor_set(x_52, 1, x_51);
x_53 = lean_array_push(x_50, x_52);
x_54 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_54 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_35);
x_55 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_55, 0, x_35);
@ -23918,7 +23918,7 @@ x_127 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_127, 0, x_35);
lean_ctor_set(x_127, 1, x_126);
x_128 = lean_array_push(x_125, x_127);
x_129 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_129 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_inc(x_35);
x_130 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_130, 0, x_35);

View file

@ -352,7 +352,7 @@ lean_object* l_Lean_Elab_Tactic_evalCase_match__1___rarg(lean_object*, lean_obje
extern lean_object* l_Lean_instInhabitedSyntax;
lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_evalClear___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_assumption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(lean_object*);
lean_object* l_Lean_Elab_Tactic_evalRevert_match__2___rarg(lean_object*, lean_object*);
lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -14184,7 +14184,7 @@ x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(x_13, x
x_17 = x_16;
x_18 = lean_array_to_list(lean_box(0), x_17);
x_19 = 0;
x_20 = l_Lean_Meta_introNCore(x_2, x_12, x_18, x_19, x_7, x_8, x_9, x_10, x_11);
x_20 = l_Lean_Meta_introNCore(x_2, x_12, x_18, x_19, x_19, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_20) == 0)
{
uint8_t x_21;
@ -14318,7 +14318,7 @@ x_17 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(x_15
lean_dec(x_15);
x_18 = lean_box(0);
x_19 = 0;
x_20 = l_Lean_Meta_introNCore(x_1, x_17, x_18, x_19, x_6, x_7, x_8, x_9, x_16);
x_20 = l_Lean_Meta_introNCore(x_1, x_17, x_18, x_19, x_19, x_6, x_7, x_8, x_9, x_16);
if (lean_obj_tag(x_20) == 0)
{
uint8_t x_21;

View file

@ -43,7 +43,7 @@ lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_obj
lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_evalGeneralize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_evalGeneralize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFinalize_match__1(lean_object*);
@ -193,7 +193,7 @@ lean_inc(x_13);
x_15 = l_Lean_Meta_getLevel(x_13, x_4, x_5, x_6, x_7, x_14);
if (lean_obj_tag(x_15) == 0)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32;
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; uint8_t x_31; uint8_t x_32; lean_object* x_33;
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
@ -223,71 +223,72 @@ lean_dec(x_27);
x_29 = l_Lean_Expr_mvarId_x21(x_19);
lean_dec(x_19);
x_30 = lean_unsigned_to_nat(2u);
x_31 = 1;
x_32 = l_Lean_Meta_introNCore(x_29, x_30, x_21, x_31, x_4, x_5, x_6, x_7, x_28);
if (lean_obj_tag(x_32) == 0)
x_31 = 0;
x_32 = 1;
x_33 = l_Lean_Meta_introNCore(x_29, x_30, x_21, x_31, x_32, x_4, x_5, x_6, x_7, x_28);
if (lean_obj_tag(x_33) == 0)
{
uint8_t x_33;
x_33 = !lean_is_exclusive(x_32);
if (x_33 == 0)
uint8_t x_34;
x_34 = !lean_is_exclusive(x_33);
if (x_34 == 0)
{
lean_object* x_34; lean_object* x_35; lean_object* x_36;
x_34 = lean_ctor_get(x_32, 0);
x_35 = lean_ctor_get(x_34, 1);
lean_inc(x_35);
lean_dec(x_34);
x_36 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_21);
lean_ctor_set(x_32, 0, x_36);
return x_32;
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_35, 1);
lean_inc(x_36);
lean_dec(x_35);
x_37 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_21);
lean_ctor_set(x_33, 0, x_37);
return x_33;
}
else
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41;
x_37 = lean_ctor_get(x_32, 0);
x_38 = lean_ctor_get(x_32, 1);
lean_inc(x_38);
lean_inc(x_37);
lean_dec(x_32);
x_39 = lean_ctor_get(x_37, 1);
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_dec(x_37);
x_40 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_21);
x_41 = lean_alloc_ctor(0, 2, 0);
lean_inc(x_38);
lean_dec(x_33);
x_40 = lean_ctor_get(x_38, 1);
lean_inc(x_40);
lean_dec(x_38);
x_41 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_41, 0, x_40);
lean_ctor_set(x_41, 1, x_38);
return x_41;
lean_ctor_set(x_41, 1, x_21);
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_42;
x_42 = !lean_is_exclusive(x_32);
if (x_42 == 0)
uint8_t x_43;
x_43 = !lean_is_exclusive(x_33);
if (x_43 == 0)
{
return x_32;
return x_33;
}
else
{
lean_object* x_43; lean_object* x_44; lean_object* x_45;
x_43 = lean_ctor_get(x_32, 0);
x_44 = lean_ctor_get(x_32, 1);
lean_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_inc(x_43);
lean_dec(x_32);
x_45 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_45, 0, x_43);
lean_ctor_set(x_45, 1, x_44);
return x_45;
lean_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_46;
uint8_t x_47;
lean_dec(x_13);
lean_dec(x_10);
lean_dec(x_7);
@ -297,29 +298,29 @@ lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_46 = !lean_is_exclusive(x_15);
if (x_46 == 0)
x_47 = !lean_is_exclusive(x_15);
if (x_47 == 0)
{
return x_15;
}
else
{
lean_object* x_47; lean_object* x_48; lean_object* x_49;
x_47 = lean_ctor_get(x_15, 0);
x_48 = lean_ctor_get(x_15, 1);
lean_object* x_48; lean_object* x_49; lean_object* x_50;
x_48 = lean_ctor_get(x_15, 0);
x_49 = lean_ctor_get(x_15, 1);
lean_inc(x_49);
lean_inc(x_48);
lean_inc(x_47);
lean_dec(x_15);
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;
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_50;
uint8_t x_51;
lean_dec(x_10);
lean_dec(x_7);
lean_dec(x_6);
@ -328,29 +329,29 @@ lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_50 = !lean_is_exclusive(x_12);
if (x_50 == 0)
x_51 = !lean_is_exclusive(x_12);
if (x_51 == 0)
{
return x_12;
}
else
{
lean_object* x_51; lean_object* x_52; lean_object* x_53;
x_51 = lean_ctor_get(x_12, 0);
x_52 = lean_ctor_get(x_12, 1);
lean_object* x_52; lean_object* x_53; lean_object* x_54;
x_52 = lean_ctor_get(x_12, 0);
x_53 = lean_ctor_get(x_12, 1);
lean_inc(x_53);
lean_inc(x_52);
lean_inc(x_51);
lean_dec(x_12);
x_53 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_53, 0, x_51);
lean_ctor_set(x_53, 1, x_52);
return x_53;
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_54;
uint8_t x_55;
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
@ -358,23 +359,23 @@ lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_54 = !lean_is_exclusive(x_9);
if (x_54 == 0)
x_55 = !lean_is_exclusive(x_9);
if (x_55 == 0)
{
return x_9;
}
else
{
lean_object* x_55; lean_object* x_56; lean_object* x_57;
x_55 = lean_ctor_get(x_9, 0);
x_56 = lean_ctor_get(x_9, 1);
lean_object* x_56; lean_object* x_57; lean_object* x_58;
x_56 = lean_ctor_get(x_9, 0);
x_57 = lean_ctor_get(x_9, 1);
lean_inc(x_57);
lean_inc(x_56);
lean_inc(x_55);
lean_dec(x_9);
x_57 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set(x_57, 1, x_56);
return x_57;
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;
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -62,7 +62,6 @@ lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(l
extern lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1;
lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId_match__2(lean_object*);
lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_FVarSubst_find_x3f___spec__1(lean_object*, lean_object*);
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l_Lean_Meta_Match_Alt_applyFVarSubst___boxed(lean_object*, lean_object*);
lean_object* l_Lean_Meta_Match_Problem_toMessageData___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_Match_Example_replaceFVarId___boxed(lean_object*, lean_object*, lean_object*);
@ -141,6 +140,7 @@ lean_object* l_Lean_replaceFVarIdAtLocalDecl(lean_object*, lean_object*, lean_ob
lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___lambda__3___closed__1;
lean_object* l_Lean_Meta_Match_counterExampleToMessageData(lean_object*);
lean_object* l_Lean_Expr_replaceFVarId(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit___closed__3;
lean_object* l_Lean_LocalDecl_fvarId(lean_object*);
lean_object* l_Lean_Meta_Match_Pattern_toMessageData___closed__1;
@ -523,7 +523,7 @@ static lean_object* _init_l_Lean_Meta_Match_Pattern_toMessageData___closed__7()
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}

View file

@ -76,7 +76,7 @@ lean_object* lean_array_to_list(lean_object*, lean_object*);
lean_object* l_Lean_Meta_mkDecideProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_KernelException_toMessageData___closed__15;
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_mkArrayGetLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_caseArraySizes_match__2___rarg(lean_object*, lean_object*);
lean_object* l_Lean_mkFVar(lean_object*);
@ -1288,7 +1288,7 @@ lean_inc(x_11);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
x_18 = l_Lean_Meta_introNCore(x_14, x_3, x_16, x_17, x_8, x_9, x_10, x_11, x_15);
x_18 = l_Lean_Meta_introNCore(x_14, x_3, x_16, x_17, x_17, x_8, x_9, x_10, x_11, x_15);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;

View file

@ -320,6 +320,7 @@ lean_object* l_Lean_Meta_getInductiveUniverseAndParams(lean_object*, lean_object
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasRecursiveType_match__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_562____closed__2;
lean_object* l_Lean_Meta_cases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_List_replace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__5___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop_match__1(lean_object*);
lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__2;
@ -720,7 +721,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSuppor
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable_match__2___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1;
lean_object* l_Lean_Meta_cases___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_Match_Match_0__Lean_Meta_updateAlts___closed__1;
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -10397,196 +10397,193 @@ return x_36;
lean_object* l_Lean_Meta_commitWhenSome_x3f___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t 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_35;
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_33;
x_8 = lean_ctor_get(x_1, 0);
lean_inc(x_8);
x_9 = l_Lean_Expr_fvarId_x21(x_2);
x_10 = l_Array_empty___closed__1;
x_11 = 0;
x_12 = lean_box(x_11);
x_13 = lean_alloc_closure((void*)(l_Lean_Meta_cases___boxed), 9, 4);
lean_closure_set(x_13, 0, x_8);
lean_closure_set(x_13, 1, x_9);
lean_closure_set(x_13, 2, x_10);
lean_closure_set(x_13, 3, x_12);
x_14 = lean_alloc_closure((void*)(l_Lean_Meta_commitWhenSome_x3f___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__1___lambda__1), 9, 3);
lean_closure_set(x_14, 0, x_1);
lean_closure_set(x_14, 1, x_2);
lean_closure_set(x_14, 2, x_10);
x_15 = lean_st_ref_get(x_6, x_7);
x_16 = lean_ctor_get(x_15, 0);
x_11 = lean_alloc_closure((void*)(l_Lean_Meta_cases), 8, 3);
lean_closure_set(x_11, 0, x_8);
lean_closure_set(x_11, 1, x_9);
lean_closure_set(x_11, 2, x_10);
x_12 = lean_alloc_closure((void*)(l_Lean_Meta_commitWhenSome_x3f___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__1___lambda__1), 9, 3);
lean_closure_set(x_12, 0, x_1);
lean_closure_set(x_12, 1, x_2);
lean_closure_set(x_12, 2, x_10);
x_13 = lean_st_ref_get(x_6, x_7);
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
x_15 = lean_ctor_get(x_13, 1);
lean_inc(x_15);
lean_dec(x_13);
x_16 = lean_ctor_get(x_14, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
lean_inc(x_17);
lean_dec(x_15);
x_18 = lean_ctor_get(x_16, 0);
lean_dec(x_14);
x_17 = lean_st_ref_get(x_6, x_15);
x_18 = lean_ctor_get(x_17, 1);
lean_inc(x_18);
lean_dec(x_16);
x_19 = lean_st_ref_get(x_6, x_17);
x_20 = lean_ctor_get(x_19, 1);
lean_dec(x_17);
x_19 = lean_st_ref_get(x_4, x_18);
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
x_21 = lean_ctor_get(x_19, 1);
lean_inc(x_21);
lean_dec(x_19);
x_21 = lean_st_ref_get(x_4, x_20);
x_22 = lean_ctor_get(x_21, 0);
x_22 = lean_ctor_get(x_20, 0);
lean_inc(x_22);
x_23 = lean_ctor_get(x_21, 1);
lean_inc(x_23);
lean_dec(x_21);
x_24 = lean_ctor_get(x_22, 0);
lean_inc(x_24);
lean_dec(x_22);
lean_dec(x_20);
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
lean_inc(x_3);
x_35 = l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(x_13, x_14, x_3, x_4, x_5, x_6, x_23);
if (lean_obj_tag(x_35) == 0)
x_33 = l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(x_11, x_12, x_3, x_4, x_5, x_6, x_21);
if (lean_obj_tag(x_33) == 0)
{
lean_object* x_36;
x_36 = lean_ctor_get(x_35, 0);
lean_inc(x_36);
if (lean_obj_tag(x_36) == 0)
lean_object* x_34;
x_34 = lean_ctor_get(x_33, 0);
lean_inc(x_34);
if (lean_obj_tag(x_34) == 0)
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41;
x_37 = lean_ctor_get(x_35, 1);
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39;
x_35 = lean_ctor_get(x_33, 1);
lean_inc(x_35);
lean_dec(x_33);
x_36 = l_Lean_setEnv___at_Lean_Meta_orelse___spec__1(x_16, x_3, x_4, x_5, x_6, x_35);
x_37 = lean_ctor_get(x_36, 1);
lean_inc(x_37);
lean_dec(x_35);
x_38 = l_Lean_setEnv___at_Lean_Meta_orelse___spec__1(x_18, x_3, x_4, x_5, x_6, x_37);
x_39 = lean_ctor_get(x_38, 1);
lean_inc(x_39);
lean_dec(x_38);
x_40 = l_Lean_Meta_setMCtx(x_24, x_3, x_4, x_5, x_6, x_39);
lean_dec(x_36);
x_38 = l_Lean_Meta_setMCtx(x_22, x_3, x_4, x_5, x_6, x_37);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_41 = !lean_is_exclusive(x_40);
if (x_41 == 0)
x_39 = !lean_is_exclusive(x_38);
if (x_39 == 0)
{
lean_object* x_42; lean_object* x_43;
x_42 = lean_ctor_get(x_40, 0);
lean_dec(x_42);
x_43 = lean_box(0);
lean_ctor_set(x_40, 0, x_43);
return x_40;
}
else
{
lean_object* x_44; lean_object* x_45; lean_object* x_46;
x_44 = lean_ctor_get(x_40, 1);
lean_inc(x_44);
lean_object* x_40; lean_object* x_41;
x_40 = lean_ctor_get(x_38, 0);
lean_dec(x_40);
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_44);
return x_46;
x_41 = lean_box(0);
lean_ctor_set(x_38, 0, x_41);
return x_38;
}
else
{
lean_object* x_42; lean_object* x_43; lean_object* x_44;
x_42 = lean_ctor_get(x_38, 1);
lean_inc(x_42);
lean_dec(x_38);
x_43 = lean_box(0);
x_44 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_42);
return x_44;
}
}
else
{
uint8_t x_47;
lean_dec(x_24);
lean_dec(x_18);
uint8_t x_45;
lean_dec(x_22);
lean_dec(x_16);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_47 = !lean_is_exclusive(x_35);
x_45 = !lean_is_exclusive(x_33);
if (x_45 == 0)
{
lean_object* x_46; uint8_t x_47;
x_46 = lean_ctor_get(x_33, 0);
lean_dec(x_46);
x_47 = !lean_is_exclusive(x_34);
if (x_47 == 0)
{
lean_object* x_48; uint8_t x_49;
x_48 = lean_ctor_get(x_35, 0);
lean_dec(x_48);
x_49 = !lean_is_exclusive(x_36);
if (x_49 == 0)
{
return x_35;
return x_33;
}
else
{
lean_object* x_50; lean_object* x_51;
x_50 = lean_ctor_get(x_36, 0);
lean_object* x_48; lean_object* x_49;
x_48 = lean_ctor_get(x_34, 0);
lean_inc(x_48);
lean_dec(x_34);
x_49 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_49, 0, x_48);
lean_ctor_set(x_33, 0, x_49);
return x_33;
}
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54;
x_50 = lean_ctor_get(x_33, 1);
lean_inc(x_50);
lean_dec(x_36);
x_51 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_51, 0, x_50);
lean_ctor_set(x_35, 0, x_51);
return x_35;
}
}
else
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56;
x_52 = lean_ctor_get(x_35, 1);
lean_inc(x_52);
lean_dec(x_35);
x_53 = lean_ctor_get(x_36, 0);
lean_inc(x_53);
if (lean_is_exclusive(x_36)) {
lean_ctor_release(x_36, 0);
x_54 = x_36;
lean_dec(x_33);
x_51 = lean_ctor_get(x_34, 0);
lean_inc(x_51);
if (lean_is_exclusive(x_34)) {
lean_ctor_release(x_34, 0);
x_52 = x_34;
} else {
lean_dec_ref(x_36);
x_54 = lean_box(0);
lean_dec_ref(x_34);
x_52 = lean_box(0);
}
if (lean_is_scalar(x_54)) {
x_55 = lean_alloc_ctor(1, 1, 0);
if (lean_is_scalar(x_52)) {
x_53 = lean_alloc_ctor(1, 1, 0);
} else {
x_55 = x_54;
x_53 = x_52;
}
lean_ctor_set(x_55, 0, x_53);
x_56 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_56, 0, x_55);
lean_ctor_set(x_56, 1, x_52);
return x_56;
lean_ctor_set(x_53, 0, x_51);
x_54 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_54, 0, x_53);
lean_ctor_set(x_54, 1, x_50);
return x_54;
}
}
}
else
{
lean_object* x_57; lean_object* x_58;
x_57 = lean_ctor_get(x_35, 0);
lean_inc(x_57);
x_58 = lean_ctor_get(x_35, 1);
lean_inc(x_58);
lean_dec(x_35);
x_25 = x_57;
x_26 = x_58;
goto block_34;
lean_object* x_55; lean_object* x_56;
x_55 = lean_ctor_get(x_33, 0);
lean_inc(x_55);
x_56 = lean_ctor_get(x_33, 1);
lean_inc(x_56);
lean_dec(x_33);
x_23 = x_55;
x_24 = x_56;
goto block_32;
}
block_34:
block_32:
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30;
x_27 = l_Lean_setEnv___at_Lean_Meta_orelse___spec__1(x_18, x_3, x_4, x_5, x_6, x_26);
x_28 = lean_ctor_get(x_27, 1);
lean_inc(x_28);
lean_dec(x_27);
x_29 = l_Lean_Meta_setMCtx(x_24, x_3, x_4, x_5, x_6, x_28);
lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28;
x_25 = l_Lean_setEnv___at_Lean_Meta_orelse___spec__1(x_16, x_3, x_4, x_5, x_6, x_24);
x_26 = lean_ctor_get(x_25, 1);
lean_inc(x_26);
lean_dec(x_25);
x_27 = l_Lean_Meta_setMCtx(x_22, x_3, x_4, x_5, x_6, x_26);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_30 = !lean_is_exclusive(x_29);
if (x_30 == 0)
x_28 = !lean_is_exclusive(x_27);
if (x_28 == 0)
{
lean_object* x_31;
x_31 = lean_ctor_get(x_29, 0);
lean_dec(x_31);
lean_ctor_set_tag(x_29, 1);
lean_ctor_set(x_29, 0, x_25);
return x_29;
lean_object* x_29;
x_29 = lean_ctor_get(x_27, 0);
lean_dec(x_29);
lean_ctor_set_tag(x_27, 1);
lean_ctor_set(x_27, 0, x_23);
return x_27;
}
else
{
lean_object* x_32; lean_object* x_33;
x_32 = lean_ctor_get(x_29, 1);
lean_inc(x_32);
lean_dec(x_29);
x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_25);
lean_ctor_set(x_33, 1, x_32);
return x_33;
lean_object* x_30; lean_object* x_31;
x_30 = lean_ctor_get(x_27, 1);
lean_inc(x_30);
lean_dec(x_27);
x_31 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_31, 0, x_23);
lean_ctor_set(x_31, 1, x_30);
return x_31;
}
}
}

View file

@ -66,7 +66,7 @@ lean_object* l_Lean_Meta_assert___lambda__1(lean_object*, lean_object*, lean_obj
size_t l_USize_shiftLeft(size_t, size_t);
lean_object* l_Lean_Meta_define___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_assertAfter___spec__5(lean_object*, size_t, size_t, lean_object*);
lean_object* l_Lean_mkFVar(lean_object*);
size_t lean_usize_of_nat(lean_object*);
@ -1325,28 +1325,28 @@ if (x_42 == 0)
{
lean_inc(x_21);
x_45 = x_21;
goto block_102;
goto block_103;
}
else
{
uint8_t x_103;
x_103 = lean_nat_dec_le(x_30, x_30);
if (x_103 == 0)
uint8_t x_104;
x_104 = lean_nat_dec_le(x_30, x_30);
if (x_104 == 0)
{
lean_inc(x_21);
x_45 = x_21;
goto block_102;
goto block_103;
}
else
{
lean_object* x_104;
lean_object* x_105;
lean_inc(x_21);
x_104 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_assertAfter___spec__10(x_29, x_32, x_31, x_21);
x_45 = x_104;
goto block_102;
x_105 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_assertAfter___spec__10(x_29, x_32, x_31, x_21);
x_45 = x_105;
goto block_103;
}
}
block_102:
block_103:
{
lean_object* x_46;
if (x_44 == 0)
@ -1354,31 +1354,31 @@ if (x_44 == 0)
lean_dec(x_43);
lean_dec(x_23);
x_46 = x_28;
goto block_98;
goto block_99;
}
else
{
uint8_t x_99;
x_99 = lean_nat_dec_le(x_43, x_43);
if (x_99 == 0)
uint8_t x_100;
x_100 = lean_nat_dec_le(x_43, x_43);
if (x_100 == 0)
{
lean_dec(x_43);
lean_dec(x_23);
x_46 = x_28;
goto block_98;
goto block_99;
}
else
{
size_t x_100; lean_object* x_101;
x_100 = lean_usize_of_nat(x_43);
size_t x_101; lean_object* x_102;
x_101 = lean_usize_of_nat(x_43);
lean_dec(x_43);
x_101 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_assertAfter___spec__9(x_29, x_23, x_32, x_100, x_28);
x_102 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_assertAfter___spec__9(x_29, x_23, x_32, x_101, x_28);
lean_dec(x_23);
x_46 = x_101;
goto block_98;
x_46 = x_102;
goto block_99;
}
}
block_98:
block_99:
{
uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
x_47 = 2;
@ -1394,27 +1394,27 @@ if (x_42 == 0)
{
lean_dec(x_21);
x_53 = x_28;
goto block_95;
goto block_96;
}
else
{
uint8_t x_96;
x_96 = lean_nat_dec_le(x_30, x_30);
if (x_96 == 0)
uint8_t x_97;
x_97 = lean_nat_dec_le(x_30, x_30);
if (x_97 == 0)
{
lean_dec(x_21);
x_53 = x_28;
goto block_95;
goto block_96;
}
else
{
lean_object* x_97;
x_97 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_assertAfter___spec__8(x_21, x_29, x_32, x_31, x_28);
x_53 = x_97;
goto block_95;
lean_object* x_98;
x_98 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_assertAfter___spec__8(x_21, x_29, x_32, x_31, x_28);
x_53 = x_98;
goto block_96;
}
}
block_95:
block_96:
{
lean_object* x_54; size_t 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; uint8_t x_64; lean_object* x_65;
x_54 = lean_array_get_size(x_53);
@ -1442,7 +1442,7 @@ lean_inc(x_7);
x_65 = l_Lean_Meta_intro1Core(x_63, x_64, x_7, x_8, x_9, x_10, x_62);
if (lean_obj_tag(x_65) == 0)
{
lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71;
lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72;
x_66 = lean_ctor_get(x_65, 0);
lean_inc(x_66);
x_67 = lean_ctor_get(x_65, 1);
@ -1454,115 +1454,116 @@ x_69 = lean_ctor_get(x_66, 1);
lean_inc(x_69);
lean_dec(x_66);
x_70 = lean_box(0);
x_71 = 0;
lean_inc(x_30);
x_71 = l_Lean_Meta_introNCore(x_69, x_30, x_70, x_64, x_7, x_8, x_9, x_10, x_67);
if (lean_obj_tag(x_71) == 0)
x_72 = l_Lean_Meta_introNCore(x_69, x_30, x_70, x_71, x_64, x_7, x_8, x_9, x_10, x_67);
if (lean_obj_tag(x_72) == 0)
{
uint8_t x_72;
x_72 = !lean_is_exclusive(x_71);
if (x_72 == 0)
uint8_t x_73;
x_73 = !lean_is_exclusive(x_72);
if (x_73 == 0)
{
lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78;
x_73 = lean_ctor_get(x_71, 0);
x_74 = lean_ctor_get(x_73, 0);
lean_inc(x_74);
x_75 = lean_ctor_get(x_73, 1);
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79;
x_74 = lean_ctor_get(x_72, 0);
x_75 = lean_ctor_get(x_74, 0);
lean_inc(x_75);
lean_dec(x_73);
x_76 = lean_box(0);
lean_inc(x_30);
x_77 = l_Nat_foldAux___at_Lean_Meta_assertAfter___spec__7(x_29, x_74, x_30, x_30, x_76);
lean_dec(x_30);
x_76 = lean_ctor_get(x_74, 1);
lean_inc(x_76);
lean_dec(x_74);
lean_dec(x_29);
x_78 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_78, 0, x_68);
lean_ctor_set(x_78, 1, x_75);
lean_ctor_set(x_78, 2, x_77);
lean_ctor_set(x_71, 0, x_78);
return x_71;
}
else
{
lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86;
x_79 = lean_ctor_get(x_71, 0);
x_80 = lean_ctor_get(x_71, 1);
lean_inc(x_80);
lean_inc(x_79);
lean_dec(x_71);
x_81 = lean_ctor_get(x_79, 0);
lean_inc(x_81);
x_82 = lean_ctor_get(x_79, 1);
lean_inc(x_82);
lean_dec(x_79);
x_83 = lean_box(0);
x_77 = lean_box(0);
lean_inc(x_30);
x_84 = l_Nat_foldAux___at_Lean_Meta_assertAfter___spec__7(x_29, x_81, x_30, x_30, x_83);
x_78 = l_Nat_foldAux___at_Lean_Meta_assertAfter___spec__7(x_29, x_75, x_30, x_30, x_77);
lean_dec(x_30);
lean_dec(x_81);
lean_dec(x_75);
lean_dec(x_29);
x_85 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_85, 0, x_68);
lean_ctor_set(x_85, 1, x_82);
lean_ctor_set(x_85, 2, x_84);
x_86 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_86, 0, x_85);
lean_ctor_set(x_86, 1, x_80);
return x_86;
x_79 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_79, 0, x_68);
lean_ctor_set(x_79, 1, x_76);
lean_ctor_set(x_79, 2, x_78);
lean_ctor_set(x_72, 0, x_79);
return x_72;
}
else
{
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;
x_80 = lean_ctor_get(x_72, 0);
x_81 = lean_ctor_get(x_72, 1);
lean_inc(x_81);
lean_inc(x_80);
lean_dec(x_72);
x_82 = lean_ctor_get(x_80, 0);
lean_inc(x_82);
x_83 = lean_ctor_get(x_80, 1);
lean_inc(x_83);
lean_dec(x_80);
x_84 = lean_box(0);
lean_inc(x_30);
x_85 = l_Nat_foldAux___at_Lean_Meta_assertAfter___spec__7(x_29, x_82, x_30, x_30, x_84);
lean_dec(x_30);
lean_dec(x_82);
lean_dec(x_29);
x_86 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_86, 0, x_68);
lean_ctor_set(x_86, 1, x_83);
lean_ctor_set(x_86, 2, x_85);
x_87 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_87, 0, x_86);
lean_ctor_set(x_87, 1, x_81);
return x_87;
}
}
else
{
uint8_t x_87;
uint8_t x_88;
lean_dec(x_68);
lean_dec(x_30);
lean_dec(x_29);
x_87 = !lean_is_exclusive(x_71);
if (x_87 == 0)
x_88 = !lean_is_exclusive(x_72);
if (x_88 == 0)
{
return x_71;
return x_72;
}
else
{
lean_object* x_88; lean_object* x_89; lean_object* x_90;
x_88 = lean_ctor_get(x_71, 0);
x_89 = lean_ctor_get(x_71, 1);
lean_object* x_89; lean_object* x_90; lean_object* x_91;
x_89 = lean_ctor_get(x_72, 0);
x_90 = lean_ctor_get(x_72, 1);
lean_inc(x_90);
lean_inc(x_89);
lean_inc(x_88);
lean_dec(x_71);
x_90 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_90, 0, x_88);
lean_ctor_set(x_90, 1, x_89);
return x_90;
lean_dec(x_72);
x_91 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_91, 0, x_89);
lean_ctor_set(x_91, 1, x_90);
return x_91;
}
}
}
else
{
uint8_t x_91;
uint8_t x_92;
lean_dec(x_30);
lean_dec(x_29);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
x_91 = !lean_is_exclusive(x_65);
if (x_91 == 0)
x_92 = !lean_is_exclusive(x_65);
if (x_92 == 0)
{
return x_65;
}
else
{
lean_object* x_92; lean_object* x_93; lean_object* x_94;
x_92 = lean_ctor_get(x_65, 0);
x_93 = lean_ctor_get(x_65, 1);
lean_object* x_93; lean_object* x_94; lean_object* x_95;
x_93 = lean_ctor_get(x_65, 0);
x_94 = lean_ctor_get(x_65, 1);
lean_inc(x_94);
lean_inc(x_93);
lean_inc(x_92);
lean_dec(x_65);
x_94 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_94, 0, x_92);
lean_ctor_set(x_94, 1, x_93);
return x_94;
x_95 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_95, 0, x_93);
lean_ctor_set(x_95, 1, x_94);
return x_95;
}
}
}
@ -1571,7 +1572,7 @@ return x_94;
}
else
{
uint8_t x_105;
uint8_t x_106;
lean_dec(x_30);
lean_dec(x_29);
lean_dec(x_23);
@ -1585,29 +1586,29 @@ lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_105 = !lean_is_exclusive(x_36);
if (x_105 == 0)
x_106 = !lean_is_exclusive(x_36);
if (x_106 == 0)
{
return x_36;
}
else
{
lean_object* x_106; lean_object* x_107; lean_object* x_108;
x_106 = lean_ctor_get(x_36, 0);
x_107 = lean_ctor_get(x_36, 1);
lean_object* x_107; lean_object* x_108; lean_object* x_109;
x_107 = lean_ctor_get(x_36, 0);
x_108 = lean_ctor_get(x_36, 1);
lean_inc(x_108);
lean_inc(x_107);
lean_inc(x_106);
lean_dec(x_36);
x_108 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_108, 0, x_106);
lean_ctor_set(x_108, 1, x_107);
return x_108;
x_109 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_109, 0, x_107);
lean_ctor_set(x_109, 1, x_108);
return x_109;
}
}
}
else
{
uint8_t x_109;
uint8_t x_110;
lean_dec(x_16);
lean_dec(x_13);
lean_dec(x_10);
@ -1618,29 +1619,29 @@ lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_109 = !lean_is_exclusive(x_18);
if (x_109 == 0)
x_110 = !lean_is_exclusive(x_18);
if (x_110 == 0)
{
return x_18;
}
else
{
lean_object* x_110; lean_object* x_111; lean_object* x_112;
x_110 = lean_ctor_get(x_18, 0);
x_111 = lean_ctor_get(x_18, 1);
lean_object* x_111; lean_object* x_112; lean_object* x_113;
x_111 = lean_ctor_get(x_18, 0);
x_112 = lean_ctor_get(x_18, 1);
lean_inc(x_112);
lean_inc(x_111);
lean_inc(x_110);
lean_dec(x_18);
x_112 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_112, 0, x_110);
lean_ctor_set(x_112, 1, x_111);
return x_112;
x_113 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_113, 0, x_111);
lean_ctor_set(x_113, 1, x_112);
return x_113;
}
}
}
else
{
uint8_t x_113;
uint8_t x_114;
lean_dec(x_13);
lean_dec(x_10);
lean_dec(x_9);
@ -1651,29 +1652,29 @@ lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_113 = !lean_is_exclusive(x_15);
if (x_113 == 0)
x_114 = !lean_is_exclusive(x_15);
if (x_114 == 0)
{
return x_15;
}
else
{
lean_object* x_114; lean_object* x_115; lean_object* x_116;
x_114 = lean_ctor_get(x_15, 0);
x_115 = lean_ctor_get(x_15, 1);
lean_object* x_115; lean_object* x_116; lean_object* x_117;
x_115 = lean_ctor_get(x_15, 0);
x_116 = lean_ctor_get(x_15, 1);
lean_inc(x_116);
lean_inc(x_115);
lean_inc(x_114);
lean_dec(x_15);
x_116 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_116, 0, x_114);
lean_ctor_set(x_116, 1, x_115);
return x_116;
x_117 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_117, 0, x_115);
lean_ctor_set(x_117, 1, x_116);
return x_117;
}
}
}
else
{
uint8_t x_117;
uint8_t x_118;
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
@ -1683,23 +1684,23 @@ lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_117 = !lean_is_exclusive(x_12);
if (x_117 == 0)
x_118 = !lean_is_exclusive(x_12);
if (x_118 == 0)
{
return x_12;
}
else
{
lean_object* x_118; lean_object* x_119; lean_object* x_120;
x_118 = lean_ctor_get(x_12, 0);
x_119 = lean_ctor_get(x_12, 1);
lean_object* x_119; lean_object* x_120; lean_object* x_121;
x_119 = lean_ctor_get(x_12, 0);
x_120 = lean_ctor_get(x_12, 1);
lean_inc(x_120);
lean_inc(x_119);
lean_inc(x_118);
lean_dec(x_12);
x_120 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_120, 0, x_118);
lean_ctor_set(x_120, 1, x_119);
return x_120;
x_121 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_121, 0, x_119);
lean_ctor_set(x_121, 1, x_120);
return x_121;
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -15,7 +15,6 @@ extern "C" {
#endif
lean_object* l_Nat_forM_loop___at_Lean_Meta_induction___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*, lean_object*);
extern lean_object* l_Lean_Parser_Tactic_induction___closed__1;
lean_object* l_Lean_Meta_induction___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_set(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_induction___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -69,7 +68,7 @@ lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams(le
lean_object* l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(size_t, size_t, lean_object*);
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__4;
lean_object* l_Lean_Meta_induction_match__8(lean_object*);
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2427_(lean_object*);
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2441_(lean_object*);
uint8_t l_USize_decLt(size_t, size_t);
lean_object* l_Lean_Meta_checkNotAssigned___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -104,6 +103,7 @@ lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_objec
extern lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___closed__1;
lean_object* l_Nat_forM_loop___at_Lean_Meta_induction___spec__3___closed__1;
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___lambda__2___closed__4;
lean_object* l_Lean_Meta_instInhabitedAltVarNames;
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams_match__2(lean_object*);
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_induction_match__5___rarg(lean_object*, lean_object*);
@ -131,6 +131,7 @@ lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___lambda_
lean_object* l_Lean_Meta_induction_match__2___rarg(lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop_match__5(lean_object*);
lean_object* lean_array_to_list(lean_object*, lean_object*);
lean_object* l_Lean_Meta_instInhabitedAltVarNames___closed__1;
lean_object* l_Lean_Meta_induction_match__11___rarg(lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams_match__1(lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_induction___spec__4___lambda__2___closed__2;
@ -142,7 +143,7 @@ lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_KernelException_toMessageData___closed__15;
uint8_t l_Array_isEmpty___rarg(lean_object*);
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_synthInstance_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___boxed(lean_object**);
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___closed__1;
@ -163,6 +164,7 @@ lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop_m
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop_match__2___rarg(lean_object*, lean_object*);
lean_object* l_Lean_Meta_mkRecursorInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_AltVarNames_varNames___default;
lean_object* l_Lean_LocalDecl_type(lean_object*);
lean_object* l_Lean_MetavarContext_exprDependsOn(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__5;
@ -250,8 +252,9 @@ lean_object* l_Lean_Meta_induction_match__11(lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_induction___spec__4___lambda__2___closed__1;
lean_object* l_Lean_Meta_whnfUntil(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_induction___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Meta_AltVarNames_explicit___default;
lean_object* l_Lean_Meta_induction_match__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_induction(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_induction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_List_foldlM___at_Lean_Meta_induction___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*);
extern lean_object* l_Lean_instInhabitedLevel;
lean_object* l_List_foldlM___at_Lean_Meta_induction___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -945,6 +948,42 @@ lean_dec(x_3);
return x_9;
}
}
static uint8_t _init_l_Lean_Meta_AltVarNames_explicit___default() {
_start:
{
uint8_t x_1;
x_1 = 0;
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_AltVarNames_varNames___default() {
_start:
{
lean_object* x_1;
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_instInhabitedAltVarNames___closed__1() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = 0;
x_3 = lean_alloc_ctor(0, 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_Meta_instInhabitedAltVarNames() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Meta_instInhabitedAltVarNames___closed__1;
return x_1;
}
}
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop_match__1___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
@ -1327,7 +1366,7 @@ return x_14;
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, uint8_t x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23, lean_object* x_24, lean_object* x_25) {
_start:
{
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_86; uint8_t x_87; lean_object* x_88; lean_object* x_89;
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_92; uint8_t x_93; lean_object* x_94; lean_object* x_95;
x_26 = lean_nat_sub(x_1, x_2);
x_27 = lean_array_get_size(x_3);
x_28 = lean_array_get_size(x_4);
@ -1335,41 +1374,41 @@ x_29 = lean_nat_sub(x_27, x_28);
x_30 = lean_unsigned_to_nat(1u);
x_31 = lean_nat_sub(x_29, x_30);
lean_dec(x_29);
x_86 = lean_array_get_size(x_13);
x_87 = lean_nat_dec_lt(x_11, x_86);
lean_dec(x_86);
x_88 = l_Lean_Name_append(x_17, x_18);
x_92 = lean_array_get_size(x_13);
x_93 = lean_nat_dec_lt(x_11, x_92);
lean_dec(x_92);
x_94 = l_Lean_Name_append(x_17, x_18);
lean_inc(x_21);
x_89 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_19, x_88, x_21, x_22, x_23, x_24, x_25);
if (x_87 == 0)
x_95 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_19, x_94, x_21, x_22, x_23, x_24, x_25);
if (x_93 == 0)
{
lean_object* x_90; lean_object* x_91; lean_object* x_92;
x_90 = lean_ctor_get(x_89, 0);
lean_inc(x_90);
x_91 = lean_ctor_get(x_89, 1);
lean_inc(x_91);
lean_dec(x_89);
x_92 = lean_box(0);
x_32 = x_92;
x_33 = x_90;
x_34 = x_91;
goto block_85;
lean_object* x_96; lean_object* x_97; lean_object* x_98;
x_96 = lean_ctor_get(x_95, 0);
lean_inc(x_96);
x_97 = lean_ctor_get(x_95, 1);
lean_inc(x_97);
lean_dec(x_95);
x_98 = l_Lean_Meta_instInhabitedAltVarNames___closed__1;
x_32 = x_98;
x_33 = x_96;
x_34 = x_97;
goto block_91;
}
else
{
lean_object* x_93; lean_object* x_94; lean_object* x_95;
x_93 = lean_ctor_get(x_89, 0);
lean_inc(x_93);
x_94 = lean_ctor_get(x_89, 1);
lean_inc(x_94);
lean_dec(x_89);
x_95 = lean_array_fget(x_13, x_11);
x_32 = x_95;
x_33 = x_93;
x_34 = x_94;
goto block_85;
lean_object* x_99; lean_object* x_100; lean_object* x_101;
x_99 = lean_ctor_get(x_95, 0);
lean_inc(x_99);
x_100 = lean_ctor_get(x_95, 1);
lean_inc(x_100);
lean_dec(x_95);
x_101 = lean_array_fget(x_13, x_11);
x_32 = x_101;
x_33 = x_99;
x_34 = x_100;
goto block_91;
}
block_85:
block_91:
{
lean_object* x_35; lean_object* x_36;
lean_inc(x_33);
@ -1398,79 +1437,100 @@ lean_inc(x_21);
x_41 = l_Lean_Meta_tryClear(x_39, x_40, x_21, x_22, x_23, x_24, x_38);
if (lean_obj_tag(x_41) == 0)
{
lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45;
lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_80;
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 = 0;
lean_inc(x_24);
lean_inc(x_23);
lean_inc(x_22);
lean_inc(x_21);
x_45 = l_Lean_Meta_introNCore(x_42, x_26, x_32, x_44, x_21, x_22, x_23, x_24, x_43);
if (lean_obj_tag(x_45) == 0)
x_44 = lean_ctor_get(x_32, 0);
lean_inc(x_44);
x_80 = lean_ctor_get_uint8(x_32, sizeof(void*)*1);
lean_dec(x_32);
if (x_80 == 0)
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52;
x_46 = lean_ctor_get(x_45, 0);
lean_inc(x_46);
x_47 = lean_ctor_get(x_45, 1);
lean_inc(x_47);
lean_dec(x_45);
x_48 = lean_ctor_get(x_46, 0);
lean_inc(x_48);
x_49 = lean_ctor_get(x_46, 1);
lean_inc(x_49);
lean_dec(x_46);
x_50 = lean_box(0);
x_51 = 1;
lean_inc(x_24);
lean_inc(x_23);
lean_inc(x_22);
lean_inc(x_21);
x_52 = l_Lean_Meta_introNCore(x_49, x_31, x_50, x_51, x_21, x_22, x_23, x_24, x_47);
if (lean_obj_tag(x_52) == 0)
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; size_t x_59; size_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68;
x_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);
x_55 = lean_ctor_get(x_53, 0);
lean_inc(x_55);
x_56 = lean_ctor_get(x_53, 1);
lean_inc(x_56);
lean_dec(x_53);
lean_inc(x_9);
lean_inc(x_27);
x_57 = l_Nat_foldAux___at___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___spec__1(x_3, x_4, x_28, x_55, x_27, x_27, x_9);
lean_dec(x_27);
lean_dec(x_55);
lean_dec(x_28);
x_58 = lean_array_get_size(x_48);
x_59 = lean_usize_of_nat(x_58);
lean_dec(x_58);
x_60 = 0;
x_61 = x_48;
x_62 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_59, x_60, x_61);
x_63 = x_62;
x_64 = lean_nat_add(x_10, x_30);
x_65 = lean_nat_add(x_11, x_30);
x_66 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_66, 0, x_56);
lean_ctor_set(x_66, 1, x_63);
lean_ctor_set(x_66, 2, x_57);
x_67 = lean_array_push(x_12, x_66);
x_68 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop(x_6, x_13, x_14, x_3, x_8, x_4, x_9, x_2, x_15, x_64, x_65, x_35, x_37, x_16, x_67, x_21, x_22, x_23, x_24, x_54);
lean_dec(x_65);
return x_68;
uint8_t x_81;
x_81 = 1;
x_45 = x_81;
goto block_79;
}
else
{
uint8_t x_69;
uint8_t x_82;
x_82 = 0;
x_45 = x_82;
goto block_79;
}
block_79:
{
uint8_t x_46; lean_object* x_47;
x_46 = 0;
lean_inc(x_24);
lean_inc(x_23);
lean_inc(x_22);
lean_inc(x_21);
x_47 = l_Lean_Meta_introNCore(x_42, x_26, x_44, x_45, x_46, x_21, x_22, x_23, x_24, x_43);
if (lean_obj_tag(x_47) == 0)
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54;
x_48 = lean_ctor_get(x_47, 0);
lean_inc(x_48);
x_49 = lean_ctor_get(x_47, 1);
lean_inc(x_49);
lean_dec(x_47);
x_50 = lean_ctor_get(x_48, 0);
lean_inc(x_50);
x_51 = lean_ctor_get(x_48, 1);
lean_inc(x_51);
lean_dec(x_48);
x_52 = lean_box(0);
x_53 = 1;
lean_inc(x_24);
lean_inc(x_23);
lean_inc(x_22);
lean_inc(x_21);
x_54 = l_Lean_Meta_introNCore(x_51, x_31, x_52, x_46, x_53, x_21, x_22, x_23, x_24, x_49);
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; size_t x_61; size_t 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;
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);
x_57 = lean_ctor_get(x_55, 0);
lean_inc(x_57);
x_58 = lean_ctor_get(x_55, 1);
lean_inc(x_58);
lean_dec(x_55);
lean_inc(x_9);
lean_inc(x_27);
x_59 = l_Nat_foldAux___at___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___spec__1(x_3, x_4, x_28, x_57, x_27, x_27, x_9);
lean_dec(x_27);
lean_dec(x_57);
lean_dec(x_28);
x_60 = lean_array_get_size(x_50);
x_61 = lean_usize_of_nat(x_60);
lean_dec(x_60);
x_62 = 0;
x_63 = x_50;
x_64 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_61, x_62, x_63);
x_65 = x_64;
x_66 = lean_nat_add(x_10, x_30);
x_67 = lean_nat_add(x_11, x_30);
x_68 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_68, 0, x_58);
lean_ctor_set(x_68, 1, x_65);
lean_ctor_set(x_68, 2, x_59);
x_69 = lean_array_push(x_12, x_68);
x_70 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop(x_6, x_13, x_14, x_3, x_8, x_4, x_9, x_2, x_15, x_66, x_67, x_35, x_37, x_16, x_69, x_21, x_22, x_23, x_24, x_56);
lean_dec(x_67);
return x_70;
}
else
{
uint8_t x_71;
lean_dec(x_50);
lean_dec(x_37);
lean_dec(x_35);
lean_dec(x_28);
@ -1483,29 +1543,29 @@ lean_dec(x_12);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
x_69 = !lean_is_exclusive(x_52);
if (x_69 == 0)
x_71 = !lean_is_exclusive(x_54);
if (x_71 == 0)
{
return x_52;
return x_54;
}
else
{
lean_object* x_70; lean_object* x_71; lean_object* x_72;
x_70 = lean_ctor_get(x_52, 0);
x_71 = lean_ctor_get(x_52, 1);
lean_inc(x_71);
lean_inc(x_70);
lean_dec(x_52);
x_72 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_72, 0, x_70);
lean_ctor_set(x_72, 1, x_71);
return x_72;
lean_object* x_72; lean_object* x_73; lean_object* x_74;
x_72 = lean_ctor_get(x_54, 0);
x_73 = lean_ctor_get(x_54, 1);
lean_inc(x_73);
lean_inc(x_72);
lean_dec(x_54);
x_74 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_74, 0, x_72);
lean_ctor_set(x_74, 1, x_73);
return x_74;
}
}
}
else
{
uint8_t x_73;
uint8_t x_75;
lean_dec(x_37);
lean_dec(x_35);
lean_dec(x_31);
@ -1519,29 +1579,30 @@ lean_dec(x_12);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
x_73 = !lean_is_exclusive(x_45);
if (x_73 == 0)
x_75 = !lean_is_exclusive(x_47);
if (x_75 == 0)
{
return x_45;
return x_47;
}
else
{
lean_object* x_74; lean_object* x_75; lean_object* x_76;
x_74 = lean_ctor_get(x_45, 0);
x_75 = lean_ctor_get(x_45, 1);
lean_inc(x_75);
lean_inc(x_74);
lean_dec(x_45);
x_76 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_76, 0, x_74);
lean_ctor_set(x_76, 1, x_75);
return x_76;
lean_object* x_76; lean_object* x_77; lean_object* x_78;
x_76 = lean_ctor_get(x_47, 0);
x_77 = lean_ctor_get(x_47, 1);
lean_inc(x_77);
lean_inc(x_76);
lean_dec(x_47);
x_78 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_78, 0, x_76);
lean_ctor_set(x_78, 1, x_77);
return x_78;
}
}
}
}
else
{
uint8_t x_77;
uint8_t x_83;
lean_dec(x_37);
lean_dec(x_35);
lean_dec(x_32);
@ -1557,29 +1618,29 @@ lean_dec(x_12);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
x_77 = !lean_is_exclusive(x_41);
if (x_77 == 0)
x_83 = !lean_is_exclusive(x_41);
if (x_83 == 0)
{
return x_41;
}
else
{
lean_object* x_78; lean_object* x_79; lean_object* x_80;
x_78 = lean_ctor_get(x_41, 0);
x_79 = lean_ctor_get(x_41, 1);
lean_inc(x_79);
lean_inc(x_78);
lean_object* x_84; lean_object* x_85; lean_object* x_86;
x_84 = lean_ctor_get(x_41, 0);
x_85 = lean_ctor_get(x_41, 1);
lean_inc(x_85);
lean_inc(x_84);
lean_dec(x_41);
x_80 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_80, 0, x_78);
lean_ctor_set(x_80, 1, x_79);
return x_80;
x_86 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_86, 0, x_84);
lean_ctor_set(x_86, 1, x_85);
return x_86;
}
}
}
else
{
uint8_t x_81;
uint8_t x_87;
lean_dec(x_35);
lean_dec(x_33);
lean_dec(x_32);
@ -1595,23 +1656,23 @@ lean_dec(x_12);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
x_81 = !lean_is_exclusive(x_36);
if (x_81 == 0)
x_87 = !lean_is_exclusive(x_36);
if (x_87 == 0)
{
return x_36;
}
else
{
lean_object* x_82; lean_object* x_83; lean_object* x_84;
x_82 = lean_ctor_get(x_36, 0);
x_83 = lean_ctor_get(x_36, 1);
lean_inc(x_83);
lean_inc(x_82);
lean_object* x_88; lean_object* x_89; lean_object* x_90;
x_88 = lean_ctor_get(x_36, 0);
x_89 = lean_ctor_get(x_36, 1);
lean_inc(x_89);
lean_inc(x_88);
lean_dec(x_36);
x_84 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_84, 0, x_82);
lean_ctor_set(x_84, 1, x_83);
return x_84;
x_90 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_90, 0, x_88);
lean_ctor_set(x_90, 1, x_89);
return x_90;
}
}
}
@ -1639,7 +1700,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_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__1;
x_2 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__2;
x_3 = lean_unsigned_to_nat(110u);
x_3 = lean_unsigned_to_nat(115u);
x_4 = lean_unsigned_to_nat(15u);
x_5 = l_Lean_Name_getString_x21___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -5010,7 +5071,7 @@ lean_inc(x_12);
x_24 = l_Lean_Meta_revert(x_4, x_22, x_23, x_12, x_13, x_14, x_15, x_16);
if (lean_obj_tag(x_24) == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31;
x_25 = lean_ctor_get(x_24, 0);
lean_inc(x_25);
x_26 = lean_ctor_get(x_24, 1);
@ -5022,73 +5083,73 @@ x_28 = lean_ctor_get(x_25, 1);
lean_inc(x_28);
lean_dec(x_25);
x_29 = lean_box(0);
x_30 = 0;
lean_inc(x_15);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
x_30 = l_Lean_Meta_introNCore(x_28, x_17, x_29, x_23, x_12, x_13, x_14, x_15, x_26);
if (lean_obj_tag(x_30) == 0)
x_31 = l_Lean_Meta_introNCore(x_28, x_17, x_29, x_30, x_23, x_12, x_13, x_14, x_15, x_26);
if (lean_obj_tag(x_31) == 0)
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
x_32 = lean_ctor_get(x_30, 1);
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36;
x_32 = lean_ctor_get(x_31, 0);
lean_inc(x_32);
lean_dec(x_30);
x_33 = lean_ctor_get(x_31, 0);
x_33 = lean_ctor_get(x_31, 1);
lean_inc(x_33);
x_34 = lean_ctor_get(x_31, 1);
lean_inc(x_34);
lean_dec(x_31);
x_34 = lean_ctor_get(x_32, 0);
lean_inc(x_34);
x_35 = lean_ctor_get(x_32, 1);
lean_inc(x_35);
lean_dec(x_32);
lean_inc(x_15);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
x_35 = l_Lean_Meta_intro1Core(x_34, x_23, x_12, x_13, x_14, x_15, x_32);
if (lean_obj_tag(x_35) == 0)
x_36 = l_Lean_Meta_intro1Core(x_35, x_23, x_12, x_13, x_14, x_15, x_33);
if (lean_obj_tag(x_36) == 0)
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_55; lean_object* x_56; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69;
x_36 = lean_ctor_get(x_35, 0);
lean_inc(x_36);
x_37 = lean_ctor_get(x_35, 1);
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_56; lean_object* x_57; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70;
x_37 = lean_ctor_get(x_36, 0);
lean_inc(x_37);
lean_dec(x_35);
x_38 = lean_ctor_get(x_36, 0);
x_38 = lean_ctor_get(x_36, 1);
lean_inc(x_38);
x_39 = lean_ctor_get(x_36, 1);
lean_inc(x_39);
lean_dec(x_36);
x_40 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___lambda__2___closed__1;
x_41 = l_Array_forInUnsafe_loop___at_Lean_Meta_induction___spec__5(x_33, x_1, x_18, x_2, x_40);
x_39 = lean_ctor_get(x_37, 0);
lean_inc(x_39);
x_40 = lean_ctor_get(x_37, 1);
lean_inc(x_40);
lean_dec(x_37);
x_41 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___lambda__2___closed__1;
x_42 = l_Array_forInUnsafe_loop___at_Lean_Meta_induction___spec__5(x_34, x_1, x_18, x_2, x_41);
lean_dec(x_1);
x_42 = lean_ctor_get(x_41, 0);
lean_inc(x_42);
lean_dec(x_41);
x_66 = lean_st_ref_get(x_15, x_37);
x_67 = lean_ctor_get(x_66, 0);
lean_inc(x_67);
x_68 = lean_ctor_get(x_67, 3);
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
lean_dec(x_42);
x_67 = lean_st_ref_get(x_15, x_38);
x_68 = lean_ctor_get(x_67, 0);
lean_inc(x_68);
lean_dec(x_67);
x_69 = lean_ctor_get_uint8(x_68, sizeof(void*)*1);
x_69 = lean_ctor_get(x_68, 3);
lean_inc(x_69);
lean_dec(x_68);
if (x_69 == 0)
x_70 = lean_ctor_get_uint8(x_69, sizeof(void*)*1);
lean_dec(x_69);
if (x_70 == 0)
{
lean_object* x_70; uint8_t x_71;
x_70 = lean_ctor_get(x_66, 1);
lean_inc(x_70);
lean_dec(x_66);
x_71 = 0;
x_55 = x_71;
x_56 = x_70;
goto block_65;
lean_object* x_71;
x_71 = lean_ctor_get(x_67, 1);
lean_inc(x_71);
lean_dec(x_67);
x_56 = x_30;
x_57 = x_71;
goto block_66;
}
else
{
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77;
x_72 = lean_ctor_get(x_66, 1);
x_72 = lean_ctor_get(x_67, 1);
lean_inc(x_72);
lean_dec(x_66);
lean_dec(x_67);
x_73 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___lambda__2___closed__2;
x_74 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_73, x_12, x_13, x_14, x_15, x_72);
x_75 = lean_ctor_get(x_74, 0);
@ -5098,79 +5159,79 @@ lean_inc(x_76);
lean_dec(x_74);
x_77 = lean_unbox(x_75);
lean_dec(x_75);
x_55 = x_77;
x_56 = x_76;
goto block_65;
x_56 = x_77;
x_57 = x_76;
goto block_66;
}
block_54:
block_55:
{
lean_object* x_44; size_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
x_44 = lean_array_get_size(x_33);
x_45 = lean_usize_of_nat(x_44);
lean_dec(x_44);
x_46 = x_33;
x_47 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_45, x_2, x_46);
x_48 = x_47;
lean_inc(x_38);
x_49 = l_Lean_mkFVar(x_38);
lean_object* x_45; size_t 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_45 = lean_array_get_size(x_34);
x_46 = lean_usize_of_nat(x_45);
lean_dec(x_45);
x_47 = x_34;
x_48 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_46, x_2, x_47);
x_49 = x_48;
lean_inc(x_39);
x_50 = lean_alloc_closure((void*)(l_Lean_Meta_getMVarType___boxed), 6, 1);
lean_closure_set(x_50, 0, x_39);
lean_inc(x_39);
x_51 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___lambda__1___boxed), 18, 12);
lean_closure_set(x_51, 0, x_38);
lean_closure_set(x_51, 1, x_5);
lean_closure_set(x_51, 2, x_39);
lean_closure_set(x_51, 3, x_6);
lean_closure_set(x_51, 4, x_7);
lean_closure_set(x_51, 5, x_8);
lean_closure_set(x_51, 6, x_9);
lean_closure_set(x_51, 7, x_10);
lean_closure_set(x_51, 8, x_27);
lean_closure_set(x_51, 9, x_42);
lean_closure_set(x_51, 10, x_48);
lean_closure_set(x_51, 11, x_49);
x_52 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2);
lean_closure_set(x_52, 0, x_50);
lean_closure_set(x_52, 1, x_51);
x_53 = l_Lean_Meta_withMVarContext___at_Lean_Meta_induction___spec__8___rarg(x_39, x_52, x_12, x_13, x_14, x_15, x_43);
return x_53;
x_50 = l_Lean_mkFVar(x_39);
lean_inc(x_40);
x_51 = lean_alloc_closure((void*)(l_Lean_Meta_getMVarType___boxed), 6, 1);
lean_closure_set(x_51, 0, x_40);
lean_inc(x_40);
x_52 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___lambda__1___boxed), 18, 12);
lean_closure_set(x_52, 0, x_39);
lean_closure_set(x_52, 1, x_5);
lean_closure_set(x_52, 2, x_40);
lean_closure_set(x_52, 3, x_6);
lean_closure_set(x_52, 4, x_7);
lean_closure_set(x_52, 5, x_8);
lean_closure_set(x_52, 6, x_9);
lean_closure_set(x_52, 7, x_10);
lean_closure_set(x_52, 8, x_27);
lean_closure_set(x_52, 9, x_43);
lean_closure_set(x_52, 10, x_49);
lean_closure_set(x_52, 11, x_50);
x_53 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2);
lean_closure_set(x_53, 0, x_51);
lean_closure_set(x_53, 1, x_52);
x_54 = l_Lean_Meta_withMVarContext___at_Lean_Meta_induction___spec__8___rarg(x_40, x_53, x_12, x_13, x_14, x_15, x_44);
return x_54;
}
block_65:
block_66:
{
if (x_55 == 0)
if (x_56 == 0)
{
x_43 = x_56;
goto block_54;
x_44 = x_57;
goto block_55;
}
else
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64;
lean_inc(x_39);
x_57 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_57, 0, x_39);
x_58 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___lambda__2___closed__4;
x_59 = lean_alloc_ctor(10, 2, 0);
lean_ctor_set(x_59, 0, x_58);
lean_ctor_set(x_59, 1, x_57);
x_60 = l_Lean_KernelException_toMessageData___closed__15;
x_61 = lean_alloc_ctor(10, 2, 0);
lean_ctor_set(x_61, 0, x_59);
lean_ctor_set(x_61, 1, x_60);
x_62 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___lambda__2___closed__2;
x_63 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_62, x_61, x_12, x_13, x_14, x_15, x_56);
x_64 = lean_ctor_get(x_63, 1);
lean_inc(x_64);
lean_dec(x_63);
x_43 = x_64;
goto block_54;
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_inc(x_40);
x_58 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_58, 0, x_40);
x_59 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___lambda__2___closed__4;
x_60 = lean_alloc_ctor(10, 2, 0);
lean_ctor_set(x_60, 0, x_59);
lean_ctor_set(x_60, 1, x_58);
x_61 = l_Lean_KernelException_toMessageData___closed__15;
x_62 = lean_alloc_ctor(10, 2, 0);
lean_ctor_set(x_62, 0, x_60);
lean_ctor_set(x_62, 1, x_61);
x_63 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___lambda__2___closed__2;
x_64 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_63, x_62, x_12, x_13, x_14, x_15, x_57);
x_65 = lean_ctor_get(x_64, 1);
lean_inc(x_65);
lean_dec(x_64);
x_44 = x_65;
goto block_55;
}
}
}
else
{
uint8_t x_78;
lean_dec(x_33);
lean_dec(x_34);
lean_dec(x_27);
lean_dec(x_15);
lean_dec(x_14);
@ -5183,19 +5244,19 @@ lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_1);
x_78 = !lean_is_exclusive(x_35);
x_78 = !lean_is_exclusive(x_36);
if (x_78 == 0)
{
return x_35;
return x_36;
}
else
{
lean_object* x_79; lean_object* x_80; lean_object* x_81;
x_79 = lean_ctor_get(x_35, 0);
x_80 = lean_ctor_get(x_35, 1);
x_79 = lean_ctor_get(x_36, 0);
x_80 = lean_ctor_get(x_36, 1);
lean_inc(x_80);
lean_inc(x_79);
lean_dec(x_35);
lean_dec(x_36);
x_81 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_81, 0, x_79);
lean_ctor_set(x_81, 1, x_80);
@ -5218,19 +5279,19 @@ lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_1);
x_82 = !lean_is_exclusive(x_30);
x_82 = !lean_is_exclusive(x_31);
if (x_82 == 0)
{
return x_30;
return x_31;
}
else
{
lean_object* x_83; lean_object* x_84; lean_object* x_85;
x_83 = lean_ctor_get(x_30, 0);
x_84 = lean_ctor_get(x_30, 1);
x_83 = lean_ctor_get(x_31, 0);
x_84 = lean_ctor_get(x_31, 1);
lean_inc(x_84);
lean_inc(x_83);
lean_dec(x_30);
lean_dec(x_31);
x_85 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_85, 0, x_83);
lean_ctor_set(x_85, 1, x_84);
@ -5772,27 +5833,27 @@ return x_45;
}
}
}
lean_object* l_Lean_Meta_induction(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
lean_object* l_Lean_Meta_induction(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
x_11 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__1;
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
x_10 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__1;
lean_inc(x_1);
x_12 = lean_alloc_closure((void*)(l_Lean_Meta_checkNotAssigned___boxed), 7, 2);
lean_closure_set(x_12, 0, x_1);
lean_closure_set(x_12, 1, x_11);
x_11 = lean_alloc_closure((void*)(l_Lean_Meta_checkNotAssigned___boxed), 7, 2);
lean_closure_set(x_11, 0, x_1);
lean_closure_set(x_11, 1, x_10);
lean_inc(x_1);
x_13 = lean_alloc_closure((void*)(l_Lean_Meta_induction___lambda__1___boxed), 11, 5);
lean_closure_set(x_13, 0, x_2);
lean_closure_set(x_13, 1, x_3);
lean_closure_set(x_13, 2, x_1);
lean_closure_set(x_13, 3, x_4);
lean_closure_set(x_13, 4, x_11);
x_14 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2);
lean_closure_set(x_14, 0, x_12);
lean_closure_set(x_14, 1, x_13);
x_15 = l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(x_1, x_14, x_6, x_7, x_8, x_9, x_10);
return x_15;
x_12 = lean_alloc_closure((void*)(l_Lean_Meta_induction___lambda__1___boxed), 11, 5);
lean_closure_set(x_12, 0, x_2);
lean_closure_set(x_12, 1, x_3);
lean_closure_set(x_12, 2, x_1);
lean_closure_set(x_12, 3, x_4);
lean_closure_set(x_12, 4, x_10);
x_13 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2);
lean_closure_set(x_13, 0, x_11);
lean_closure_set(x_13, 1, x_12);
x_14 = l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(x_1, x_13, x_5, x_6, x_7, x_8, x_9);
return x_14;
}
}
lean_object* l_List_forM___at_Lean_Meta_induction___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) {
@ -6084,17 +6145,7 @@ lean_dec(x_6);
return x_12;
}
}
lean_object* l_Lean_Meta_induction___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12;
x_11 = lean_unbox(x_5);
lean_dec(x_5);
x_12 = l_Lean_Meta_induction(x_1, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9, x_10);
return x_12;
}
}
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2427_(lean_object* x_1) {
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2441_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
@ -6162,6 +6213,13 @@ l_Lean_Meta_instInhabitedInductionSubgoal___closed__1 = _init_l_Lean_Meta_instIn
lean_mark_persistent(l_Lean_Meta_instInhabitedInductionSubgoal___closed__1);
l_Lean_Meta_instInhabitedInductionSubgoal = _init_l_Lean_Meta_instInhabitedInductionSubgoal();
lean_mark_persistent(l_Lean_Meta_instInhabitedInductionSubgoal);
l_Lean_Meta_AltVarNames_explicit___default = _init_l_Lean_Meta_AltVarNames_explicit___default();
l_Lean_Meta_AltVarNames_varNames___default = _init_l_Lean_Meta_AltVarNames_varNames___default();
lean_mark_persistent(l_Lean_Meta_AltVarNames_varNames___default);
l_Lean_Meta_instInhabitedAltVarNames___closed__1 = _init_l_Lean_Meta_instInhabitedAltVarNames___closed__1();
lean_mark_persistent(l_Lean_Meta_instInhabitedAltVarNames___closed__1);
l_Lean_Meta_instInhabitedAltVarNames = _init_l_Lean_Meta_instInhabitedAltVarNames();
lean_mark_persistent(l_Lean_Meta_instInhabitedAltVarNames);
l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__1 = _init_l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__1();
lean_mark_persistent(l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__1);
l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__2 = _init_l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__2();
@ -6226,7 +6284,7 @@ l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___closed__2 = _init_l_
lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___closed__2);
l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___boxed__const__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___boxed__const__1();
lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__9___boxed__const__1);
res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2427_(lean_io_mk_world());
res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2441_(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));

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -142,7 +142,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(lea
lean_object* l_Lean_Parser_Term_unreachable_formatter___closed__3;
lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Term_structInstField___elambda__1(lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__11;
lean_object* l_Lean_Parser_Term_optEllipsis___elambda__1___closed__4;
lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__10;
lean_object* l_Lean_Parser_Term_optIdent___closed__3;
@ -839,7 +838,6 @@ lean_object* l_Lean_Parser_Term_optExprPrecedence_formatter___closed__1;
lean_object* l_Lean_Parser_Term_sorry_formatter___closed__1;
lean_object* l___regBuiltin_Lean_Parser_Term_let_x21_parenthesizer(lean_object*);
lean_object* l_Lean_Parser_Term_binderType_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer___closed__2;
lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__1;
lean_object* l_Lean_Parser_Term_parser_x21_formatter___closed__2;
@ -1608,7 +1606,6 @@ lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__10;
lean_object* l_Lean_Parser_Term_macroDollarArg___elambda__1___closed__1;
lean_object* l_Lean_Parser_Term_nativeRefl___closed__6;
lean_object* l_Lean_Parser_Term_quotedName___elambda__1___closed__4;
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__12;
lean_object* l_Lean_Parser_Term_stateRefT___closed__4;
lean_object* l___regBuiltin_Lean_Parser_Level_quot_formatter___closed__1;
lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__6;
@ -2049,6 +2046,7 @@ lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__1;
lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__9;
lean_object* l_Lean_Parser_Term_explicitBinder___boxed(lean_object*);
lean_object* l_Lean_Parser_Term_dynamicQuot___closed__5;
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__18;
lean_object* l___regBuiltin_Lean_Parser_Term_doubleQuotedName_parenthesizer(lean_object*);
lean_object* l_Lean_Parser_Term_binrel_formatter___closed__1;
lean_object* l_Lean_Parser_Term_show___closed__5;
@ -2062,6 +2060,7 @@ lean_object* l_Lean_Parser_Term_char___elambda__1(lean_object*, lean_object*);
lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__2;
lean_object* l_Lean_PrettyPrinter_Formatter_lookahead_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_parserOfStack(lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__15;
lean_object* l_Lean_Parser_Term_let_x2a___closed__5;
lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_formatter___closed__1;
extern lean_object* l_Lean_Parser_Tactic_suffices___closed__1;
@ -2398,6 +2397,7 @@ lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__5;
lean_object* l_Lean_Parser_Term_funImplicitBinder___closed__5;
lean_object* l_Lean_Parser_Term_letDecl___closed__4;
lean_object* l___regBuiltin_Lean_Parser_Term_let_x21_formatter(lean_object*);
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__10;
lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__4;
lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__4;
@ -2777,6 +2777,7 @@ lean_object* l_Lean_Parser_Term_attr_quot_parenthesizer___closed__5;
lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__2;
lean_object* l_Lean_Parser_Term_letIdLhs___elambda__1(lean_object*, lean_object*);
lean_object* l_Lean_Parser_Term_forall___closed__2;
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__17;
lean_object* l___regBuiltinParser_Lean_Parser_Term_dynamicQuot(lean_object*);
lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1(lean_object*, lean_object*);
lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__5;
@ -2935,7 +2936,6 @@ lean_object* l_Lean_Parser_Term_app___elambda__1___closed__2;
lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__4;
lean_object* l_Lean_Parser_Term_emptyC___closed__3;
lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__6;
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__9;
lean_object* l_Lean_Parser_Term_tparser_x21___closed__7;
lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__5;
lean_object* l_Lean_Parser_Term_binrel_formatter___closed__5;
@ -3115,6 +3115,7 @@ lean_object* l_Lean_Parser_Term_typeAscription_formatter___closed__1;
lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__4;
lean_object* l_Lean_Parser_Term_matchDiscr_quot_formatter___closed__2;
lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__3;
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2;
extern lean_object* l_myMacro____x40_Init_Notation___hyg_12938____closed__11;
lean_object* l_Lean_Parser_Term_letDecl___closed__12;
lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__1;
@ -3272,6 +3273,7 @@ lean_object* l_Lean_Parser_Term_arrow_parenthesizer(lean_object*, lean_object*,
lean_object* l_Lean_Parser_Term_ellipsis_parenthesizer___closed__2;
lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__12;
lean_object* l_Lean_Parser_Term_implicitBinder___boxed(lean_object*);
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__1;
lean_object* l_Lean_Parser_Term_nativeRefl___elambda__1(lean_object*, lean_object*);
lean_object* l___regBuiltin_Lean_Parser_Term_noindex_parenthesizer___closed__1;
lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__1;
@ -3427,7 +3429,6 @@ lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__2;
lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__1;
lean_object* l_Lean_Parser_Command_docComment_parenthesizer___closed__2;
extern lean_object* l_Lean_Parser_Tactic_changeWith___closed__3;
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2;
lean_object* l_Lean_Parser_Term_forall___closed__5;
lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__6;
lean_object* l_Lean_Parser_Term_app_formatter___closed__7;
@ -3547,7 +3548,6 @@ extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2;
lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__1;
lean_object* l_Lean_Parser_Term_depArrow___elambda__1(lean_object*, lean_object*);
lean_object* l_Lean_Parser_Term_app___elambda__1___closed__5;
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__1;
lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__2;
lean_object* l_Lean_Parser_Term_letrec___closed__6;
@ -8564,7 +8564,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_myMacro____x40_Init_Notation___hyg_2191____closed__2;
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__11;
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__17;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
@ -8583,7 +8583,7 @@ static lean_object* _init_l_Lean_Parser_Term_syntheticHole___elambda__1___closed
_start:
{
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__11;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__17;
x_2 = l_Lean_Parser_Term_syntheticHole___elambda__1___closed__2;
x_3 = 1;
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
@ -8752,7 +8752,7 @@ static lean_object* _init_l_Lean_Parser_Term_syntheticHole_formatter___closed__1
_start:
{
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__11;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__17;
x_2 = l_Lean_Parser_Term_syntheticHole___elambda__1___closed__2;
x_3 = 1;
x_4 = lean_box(x_3);
@ -12298,7 +12298,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__1
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
@ -12308,7 +12308,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__2
_start:
{
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__1;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__1;
x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1;
x_3 = 1;
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
@ -12360,7 +12360,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__7
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2;
x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__6;
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
lean_closure_set(x_3, 0, x_1);
@ -12418,7 +12418,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2;
x_2 = l_Lean_Parser_Term_haveAssign___closed__2;
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
return x_3;
@ -13202,7 +13202,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__1()
_start:
{
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__1;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__1;
x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1;
x_3 = 1;
x_4 = lean_box(x_3);
@ -13239,7 +13239,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__4()
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2;
x_2 = lean_unsigned_to_nat(1024u);
x_3 = l_Lean_Parser_Term_haveAssign_formatter___closed__3;
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
@ -13574,7 +13574,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_parenthesizer___closed__
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17846____closed__2;
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17858____closed__2;
x_2 = lean_unsigned_to_nat(1024u);
x_3 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2;
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
@ -17709,7 +17709,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicit___elambda__1___closed__3()
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_2 = l_String_trim(x_1);
return x_2;
}
@ -17918,7 +17918,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicit_formatter___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_1 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
@ -48438,7 +48438,7 @@ 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_Tactic_inductionAlt___closed__9;
x_45 = l_Lean_Parser_Tactic_inductionAlt___closed__15;
x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3880____closed__13;
x_47 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_45, x_46, x_44);
if (lean_obj_tag(x_47) == 0)
@ -48463,7 +48463,7 @@ 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_Tactic_inductionAlt___closed__12;
x_55 = l_Lean_Parser_Tactic_inductionAlt___closed__18;
x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3880____closed__16;
x_57 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_55, x_56, x_54);
if (lean_obj_tag(x_57) == 0)

View file

@ -188,7 +188,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar(lean_object*, lean_objec
lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil___closed__1;
lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__4;
lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__4;
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray(lean_object*);
lean_object* l_Lean_PrettyPrinter_Delaborator_delabConsList___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte_match__1(lean_object*);
@ -491,6 +490,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___rarg(l
lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppWithUnexpander_match__2___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1;
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
size_t l_USize_land(size_t, size_t);
lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -4334,7 +4334,7 @@ lean_inc(x_23);
x_24 = lean_ctor_get(x_22, 1);
lean_inc(x_24);
lean_dec(x_22);
x_25 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_25 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_26 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_26, 0, x_23);
lean_ctor_set(x_26, 1, x_25);
@ -23525,7 +23525,7 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean
x_24 = lean_ctor_get(x_22, 0);
x_25 = l_Array_empty___closed__1;
x_26 = lean_array_push(x_25, x_10);
x_27 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_27 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_28 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_28, 0, x_24);
lean_ctor_set(x_28, 1, x_27);
@ -23548,7 +23548,7 @@ lean_inc(x_33);
lean_dec(x_22);
x_35 = l_Array_empty___closed__1;
x_36 = lean_array_push(x_35, x_10);
x_37 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_37 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_38 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_38, 0, x_33);
lean_ctor_set(x_38, 1, x_37);

View file

@ -41,7 +41,6 @@ lean_object* lean_string_append(lean_object*, lean_object*);
lean_object* l_Leanpkg_constructPath_match__1(lean_object*);
lean_object* l_Leanpkg_constructPath_match__1___rarg(lean_object*, lean_object*);
lean_object* l_Leanpkg_notYetAssigned___boxed(lean_object*, lean_object*, lean_object*);
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
lean_object* l_Leanpkg_Assignment_fold_match__1(lean_object*);
lean_object* l_Leanpkg_Assignment_fold_match__1___rarg(lean_object*, lean_object*);
lean_object* l_Leanpkg_materialize___lambda__1___closed__4;
@ -85,6 +84,7 @@ lean_object* l_List_forIn_loop___at_Leanpkg_solveDepsCore___spec__3(lean_object*
extern lean_object* l_Lean_Syntax_mkAntiquotNode___closed__9;
lean_object* l_List_forIn_loop___at_Leanpkg_solveDepsCore___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Leanpkg_materialize___lambda__1___closed__2;
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
lean_object* l_List_forIn_loop___at_Leanpkg_solveDepsCore___spec__3___closed__2;
lean_object* l_IO_isDir___at_Leanpkg_materialize___spec__1(lean_object*, lean_object*, lean_object*);
lean_object* l_Leanpkg_solveDepsCore_match__3(lean_object*);
@ -1130,7 +1130,7 @@ lean_object* x_122; lean_object* x_123; lean_object* x_124;
x_122 = lean_ctor_get(x_32, 0);
lean_inc(x_122);
lean_dec(x_32);
x_123 = l_myMacro____x40_Init_NotationExtra___hyg_3363____closed__35;
x_123 = l_Lean_Parser_Tactic_inductionAlt___closed__5;
x_124 = lean_string_append(x_123, x_122);
lean_dec(x_122);
x_86 = x_124;