chore: update stage0

This commit is contained in:
Leonardo de Moura 2021-09-05 18:49:02 -07:00
parent dc3b4a06f3
commit 0d751f3bd3
24 changed files with 14553 additions and 14342 deletions

View file

@ -120,7 +120,7 @@ def addDecl [Monad m] [MonadEnv m] [MonadError m] [MonadOptions m] (decl : Decla
| Except.error ex => throwKernelException ex
private def supportedRecursors :=
#[``Empty.rec, ``False.rec, ``Eq.rec, ``Eq.recOn, ``Eq.casesOn, ``False.casesOn, ``Empty.casesOn, ``And.rec, ``And.casesOn]
#[``Empty.rec, ``False.rec, ``Eq.ndrec, ``Eq.rec, ``Eq.recOn, ``Eq.casesOn, ``False.casesOn, ``Empty.casesOn, ``And.rec, ``And.casesOn]
/- This is a temporary workaround for generating better error messages for the compiler. It can be deleted after we
rewrite the remaining parts of the compiler in Lean. -/

View file

@ -3574,7 +3574,7 @@ x_185 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg
x_186 = !lean_is_exclusive(x_185);
if (x_186 == 0)
{
lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340;
lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341;
x_187 = lean_ctor_get(x_185, 0);
x_188 = l_myMacro____x40_Init_Enum___hyg_33____closed__89;
lean_inc(x_187);
@ -3710,11 +3710,11 @@ x_248 = l_myMacro____x40_Init_Enum___hyg_33____closed__108;
x_249 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_249, 0, x_248);
lean_ctor_set(x_249, 1, x_247);
x_250 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__19;
x_251 = lean_array_push(x_250, x_189);
x_252 = lean_array_push(x_251, x_196);
x_253 = lean_array_push(x_252, x_219);
x_254 = lean_array_push(x_253, x_249);
x_250 = lean_array_push(x_140, x_189);
x_251 = lean_array_push(x_250, x_196);
x_252 = lean_array_push(x_251, x_219);
x_253 = lean_array_push(x_252, x_249);
x_254 = lean_array_push(x_253, x_27);
x_255 = l_myMacro____x40_Init_Enum___hyg_33____closed__90;
x_256 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_256, 0, x_255);
@ -3803,389 +3803,391 @@ lean_ctor_set(x_294, 0, x_187);
lean_ctor_set(x_294, 1, x_293);
lean_ctor_set(x_294, 2, x_292);
lean_ctor_set(x_294, 3, x_37);
x_295 = lean_array_push(x_250, x_193);
x_296 = lean_array_push(x_295, x_223);
x_297 = lean_array_push(x_296, x_294);
x_298 = lean_array_push(x_297, x_228);
x_299 = l_myMacro____x40_Init_Enum___hyg_33____closed__144;
x_300 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_300, 0, x_299);
lean_ctor_set(x_300, 1, x_298);
x_301 = lean_array_push(x_86, x_288);
x_302 = lean_array_push(x_301, x_290);
x_303 = lean_array_push(x_302, x_300);
x_304 = l_myMacro____x40_Init_Enum___hyg_33____closed__134;
x_305 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_305, 0, x_304);
lean_ctor_set(x_305, 1, x_303);
x_306 = lean_array_push(x_25, x_276);
x_307 = lean_array_push(x_306, x_305);
x_308 = l_myMacro____x40_Init_Enum___hyg_33____closed__132;
x_309 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_309, 0, x_308);
lean_ctor_set(x_309, 1, x_307);
x_310 = lean_array_push(x_21, x_309);
x_311 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_311, 0, x_41);
lean_ctor_set(x_311, 1, x_310);
x_312 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__18;
x_313 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_313, 0, x_187);
lean_ctor_set(x_313, 1, x_312);
x_314 = lean_array_push(x_86, x_274);
x_315 = lean_array_push(x_314, x_311);
x_316 = lean_array_push(x_315, x_313);
x_317 = l_myMacro____x40_Init_Enum___hyg_33____closed__130;
x_318 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_318, 0, x_317);
lean_ctor_set(x_318, 1, x_316);
x_319 = lean_array_push(x_245, x_318);
x_320 = lean_array_push(x_319, x_27);
x_321 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_321, 0, x_248);
lean_ctor_set(x_321, 1, x_320);
x_322 = l_myMacro____x40_Init_Enum___hyg_33____closed__150;
x_323 = lean_array_push(x_322, x_259);
x_324 = lean_array_push(x_323, x_27);
x_295 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__19;
x_296 = lean_array_push(x_295, x_193);
x_297 = lean_array_push(x_296, x_223);
x_298 = lean_array_push(x_297, x_294);
x_299 = lean_array_push(x_298, x_228);
x_300 = l_myMacro____x40_Init_Enum___hyg_33____closed__144;
x_301 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_301, 0, x_300);
lean_ctor_set(x_301, 1, x_299);
x_302 = lean_array_push(x_86, x_288);
x_303 = lean_array_push(x_302, x_290);
x_304 = lean_array_push(x_303, x_301);
x_305 = l_myMacro____x40_Init_Enum___hyg_33____closed__134;
x_306 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_306, 0, x_305);
lean_ctor_set(x_306, 1, x_304);
x_307 = lean_array_push(x_25, x_276);
x_308 = lean_array_push(x_307, x_306);
x_309 = l_myMacro____x40_Init_Enum___hyg_33____closed__132;
x_310 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_310, 0, x_309);
lean_ctor_set(x_310, 1, x_308);
x_311 = lean_array_push(x_21, x_310);
x_312 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_312, 0, x_41);
lean_ctor_set(x_312, 1, x_311);
x_313 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__18;
x_314 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_314, 0, x_187);
lean_ctor_set(x_314, 1, x_313);
x_315 = lean_array_push(x_86, x_274);
x_316 = lean_array_push(x_315, x_312);
x_317 = lean_array_push(x_316, x_314);
x_318 = l_myMacro____x40_Init_Enum___hyg_33____closed__130;
x_319 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_319, 0, x_318);
lean_ctor_set(x_319, 1, x_317);
x_320 = lean_array_push(x_245, x_319);
x_321 = lean_array_push(x_320, x_27);
x_322 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_322, 0, x_248);
lean_ctor_set(x_322, 1, x_321);
x_323 = l_myMacro____x40_Init_Enum___hyg_33____closed__150;
x_324 = lean_array_push(x_323, x_259);
x_325 = lean_array_push(x_324, x_27);
x_326 = lean_array_push(x_325, x_272);
x_327 = lean_array_push(x_326, x_321);
x_328 = l_myMacro____x40_Init_Enum___hyg_33____closed__119;
x_329 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_329, 0, x_328);
lean_ctor_set(x_329, 1, x_327);
x_330 = lean_array_push(x_102, x_329);
x_331 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_331, 0, x_104);
lean_ctor_set(x_331, 1, x_330);
x_332 = lean_array_push(x_25, x_258);
x_333 = lean_array_push(x_332, x_331);
x_334 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_334, 0, x_41);
lean_ctor_set(x_334, 1, x_333);
x_335 = lean_array_push(x_86, x_105);
x_336 = lean_array_push(x_335, x_157);
x_337 = lean_array_push(x_336, x_334);
x_338 = l_Array_append___rarg(x_337, x_176);
x_339 = l_Lean_nullKind;
x_340 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_340, 0, x_339);
lean_ctor_set(x_340, 1, x_338);
lean_ctor_set(x_185, 0, x_340);
x_326 = lean_array_push(x_325, x_27);
x_327 = lean_array_push(x_326, x_272);
x_328 = lean_array_push(x_327, x_322);
x_329 = l_myMacro____x40_Init_Enum___hyg_33____closed__119;
x_330 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_330, 0, x_329);
lean_ctor_set(x_330, 1, x_328);
x_331 = lean_array_push(x_102, x_330);
x_332 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_332, 0, x_104);
lean_ctor_set(x_332, 1, x_331);
x_333 = lean_array_push(x_25, x_258);
x_334 = lean_array_push(x_333, x_332);
x_335 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_335, 0, x_41);
lean_ctor_set(x_335, 1, x_334);
x_336 = lean_array_push(x_86, x_105);
x_337 = lean_array_push(x_336, x_157);
x_338 = lean_array_push(x_337, x_335);
x_339 = l_Array_append___rarg(x_338, x_176);
x_340 = l_Lean_nullKind;
x_341 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_341, 0, x_340);
lean_ctor_set(x_341, 1, x_339);
lean_ctor_set(x_185, 0, x_341);
return x_185;
}
else
{
lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496;
x_341 = lean_ctor_get(x_185, 0);
x_342 = lean_ctor_get(x_185, 1);
lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498;
x_342 = lean_ctor_get(x_185, 0);
x_343 = lean_ctor_get(x_185, 1);
lean_inc(x_343);
lean_inc(x_342);
lean_inc(x_341);
lean_dec(x_185);
x_343 = l_myMacro____x40_Init_Enum___hyg_33____closed__89;
lean_inc(x_341);
x_344 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_344, 0, x_341);
lean_ctor_set(x_344, 1, x_343);
x_345 = l_myMacro____x40_Init_Enum___hyg_33____closed__94;
x_344 = l_myMacro____x40_Init_Enum___hyg_33____closed__89;
lean_inc(x_342);
x_345 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_345, 0, x_342);
lean_ctor_set(x_345, 1, x_344);
x_346 = l_myMacro____x40_Init_Enum___hyg_33____closed__94;
lean_inc(x_17);
lean_inc(x_18);
x_346 = l_Lean_addMacroScope(x_18, x_345, x_17);
x_347 = l_myMacro____x40_Init_Enum___hyg_33____closed__93;
lean_inc(x_341);
x_348 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_348, 0, x_341);
lean_ctor_set(x_348, 1, x_347);
lean_ctor_set(x_348, 2, x_346);
lean_ctor_set(x_348, 3, x_37);
lean_inc(x_348);
x_349 = lean_array_push(x_25, x_348);
x_350 = lean_array_push(x_349, x_27);
x_351 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_351, 0, x_29);
lean_ctor_set(x_351, 1, x_350);
lean_inc(x_341);
x_352 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_352, 0, x_341);
lean_ctor_set(x_352, 1, x_43);
x_353 = l_myMacro____x40_Init_Enum___hyg_33____closed__98;
x_347 = l_Lean_addMacroScope(x_18, x_346, x_17);
x_348 = l_myMacro____x40_Init_Enum___hyg_33____closed__93;
lean_inc(x_342);
x_349 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_349, 0, x_342);
lean_ctor_set(x_349, 1, x_348);
lean_ctor_set(x_349, 2, x_347);
lean_ctor_set(x_349, 3, x_37);
lean_inc(x_349);
x_350 = lean_array_push(x_25, x_349);
x_351 = lean_array_push(x_350, x_27);
x_352 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_352, 0, x_29);
lean_ctor_set(x_352, 1, x_351);
lean_inc(x_342);
x_353 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_353, 0, x_342);
lean_ctor_set(x_353, 1, x_43);
x_354 = l_myMacro____x40_Init_Enum___hyg_33____closed__98;
lean_inc(x_17);
lean_inc(x_18);
x_354 = l_Lean_addMacroScope(x_18, x_353, x_17);
x_355 = l_myMacro____x40_Init_Enum___hyg_33____closed__97;
x_356 = l_myMacro____x40_Init_Enum___hyg_33____closed__100;
lean_inc(x_341);
x_357 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_357, 0, x_341);
lean_ctor_set(x_357, 1, x_355);
lean_ctor_set(x_357, 2, x_354);
lean_ctor_set(x_357, 3, x_356);
x_358 = l_myMacro____x40_Init_Enum___hyg_33____closed__105;
x_355 = l_Lean_addMacroScope(x_18, x_354, x_17);
x_356 = l_myMacro____x40_Init_Enum___hyg_33____closed__97;
x_357 = l_myMacro____x40_Init_Enum___hyg_33____closed__100;
lean_inc(x_342);
x_358 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_358, 0, x_342);
lean_ctor_set(x_358, 1, x_356);
lean_ctor_set(x_358, 2, x_355);
lean_ctor_set(x_358, 3, x_357);
x_359 = l_myMacro____x40_Init_Enum___hyg_33____closed__105;
lean_inc(x_17);
lean_inc(x_18);
x_359 = l_Lean_addMacroScope(x_18, x_358, x_17);
x_360 = l_myMacro____x40_Init_Enum___hyg_33____closed__103;
x_361 = l_myMacro____x40_Init_Enum___hyg_33____closed__107;
lean_inc(x_341);
x_362 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_362, 0, x_341);
lean_ctor_set(x_362, 1, x_360);
lean_ctor_set(x_362, 2, x_359);
lean_ctor_set(x_362, 3, x_361);
x_363 = lean_array_push(x_21, x_362);
x_364 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_364, 0, x_41);
lean_ctor_set(x_364, 1, x_363);
x_365 = lean_array_push(x_25, x_357);
x_366 = lean_array_push(x_365, x_364);
x_367 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_367, 0, x_58);
lean_ctor_set(x_367, 1, x_366);
x_368 = lean_array_push(x_25, x_352);
lean_inc(x_368);
x_369 = lean_array_push(x_368, x_367);
x_370 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_370, 0, x_62);
lean_ctor_set(x_370, 1, x_369);
x_371 = lean_array_push(x_21, x_370);
x_372 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_372, 0, x_41);
lean_ctor_set(x_372, 1, x_371);
x_373 = lean_array_push(x_66, x_372);
x_374 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_374, 0, x_68);
lean_ctor_set(x_374, 1, x_373);
x_375 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__15;
lean_inc(x_341);
x_376 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_376, 0, x_341);
lean_ctor_set(x_376, 1, x_375);
x_377 = l_myMacro____x40_Init_Enum___hyg_33____closed__113;
lean_inc(x_341);
x_378 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_378, 0, x_341);
lean_ctor_set(x_378, 1, x_377);
x_379 = l_Lean_Syntax_SepArray_ofElems(x_122, x_183);
x_360 = l_Lean_addMacroScope(x_18, x_359, x_17);
x_361 = l_myMacro____x40_Init_Enum___hyg_33____closed__103;
x_362 = l_myMacro____x40_Init_Enum___hyg_33____closed__107;
lean_inc(x_342);
x_363 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_363, 0, x_342);
lean_ctor_set(x_363, 1, x_361);
lean_ctor_set(x_363, 2, x_360);
lean_ctor_set(x_363, 3, x_362);
x_364 = lean_array_push(x_21, x_363);
x_365 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_365, 0, x_41);
lean_ctor_set(x_365, 1, x_364);
x_366 = lean_array_push(x_25, x_358);
x_367 = lean_array_push(x_366, x_365);
x_368 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_368, 0, x_58);
lean_ctor_set(x_368, 1, x_367);
x_369 = lean_array_push(x_25, x_353);
lean_inc(x_369);
x_370 = lean_array_push(x_369, x_368);
x_371 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_371, 0, x_62);
lean_ctor_set(x_371, 1, x_370);
x_372 = lean_array_push(x_21, x_371);
x_373 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_373, 0, x_41);
lean_ctor_set(x_373, 1, x_372);
x_374 = lean_array_push(x_66, x_373);
x_375 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_375, 0, x_68);
lean_ctor_set(x_375, 1, x_374);
x_376 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__15;
lean_inc(x_342);
x_377 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_377, 0, x_342);
lean_ctor_set(x_377, 1, x_376);
x_378 = l_myMacro____x40_Init_Enum___hyg_33____closed__113;
lean_inc(x_342);
x_379 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_379, 0, x_342);
lean_ctor_set(x_379, 1, x_378);
x_380 = l_Lean_Syntax_SepArray_ofElems(x_122, x_183);
lean_dec(x_183);
x_380 = l_Array_append___rarg(x_163, x_379);
x_381 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_381, 0, x_41);
lean_ctor_set(x_381, 1, x_380);
x_382 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__11;
lean_inc(x_341);
x_383 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_383, 0, x_341);
lean_ctor_set(x_383, 1, x_382);
lean_inc(x_378);
x_384 = lean_array_push(x_86, x_378);
x_385 = lean_array_push(x_384, x_381);
lean_inc(x_383);
x_386 = lean_array_push(x_385, x_383);
x_387 = l_myMacro____x40_Init_Enum___hyg_33____closed__112;
x_388 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_388, 0, x_387);
lean_ctor_set(x_388, 1, x_386);
x_389 = l_myMacro____x40_Init_Enum___hyg_33____closed__114;
lean_inc(x_341);
x_390 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_390, 0, x_341);
lean_ctor_set(x_390, 1, x_389);
x_391 = l_myMacro____x40_Init_Enum___hyg_33____closed__118;
x_381 = l_Array_append___rarg(x_163, x_380);
x_382 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_382, 0, x_41);
lean_ctor_set(x_382, 1, x_381);
x_383 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__11;
lean_inc(x_342);
x_384 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_384, 0, x_342);
lean_ctor_set(x_384, 1, x_383);
lean_inc(x_379);
x_385 = lean_array_push(x_86, x_379);
x_386 = lean_array_push(x_385, x_382);
lean_inc(x_384);
x_387 = lean_array_push(x_386, x_384);
x_388 = l_myMacro____x40_Init_Enum___hyg_33____closed__112;
x_389 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_389, 0, x_388);
lean_ctor_set(x_389, 1, x_387);
x_390 = l_myMacro____x40_Init_Enum___hyg_33____closed__114;
lean_inc(x_342);
x_391 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_391, 0, x_342);
lean_ctor_set(x_391, 1, x_390);
x_392 = l_myMacro____x40_Init_Enum___hyg_33____closed__118;
lean_inc(x_17);
lean_inc(x_18);
x_392 = l_Lean_addMacroScope(x_18, x_391, x_17);
x_393 = l_myMacro____x40_Init_Enum___hyg_33____closed__117;
lean_inc(x_341);
x_394 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_394, 0, x_341);
lean_ctor_set(x_394, 1, x_393);
lean_ctor_set(x_394, 2, x_392);
lean_ctor_set(x_394, 3, x_37);
x_395 = lean_array_push(x_86, x_388);
x_396 = lean_array_push(x_395, x_390);
x_397 = lean_array_push(x_396, x_394);
x_398 = l_myMacro____x40_Init_Enum___hyg_33____closed__110;
x_399 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_399, 0, x_398);
lean_ctor_set(x_399, 1, x_397);
x_400 = lean_array_push(x_86, x_376);
lean_inc(x_400);
x_401 = lean_array_push(x_400, x_399);
x_402 = lean_array_push(x_401, x_27);
x_403 = l_myMacro____x40_Init_Enum___hyg_33____closed__108;
x_404 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_404, 0, x_403);
lean_ctor_set(x_404, 1, x_402);
x_405 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__19;
x_406 = lean_array_push(x_405, x_344);
x_407 = lean_array_push(x_406, x_351);
x_408 = lean_array_push(x_407, x_374);
x_409 = lean_array_push(x_408, x_404);
x_410 = l_myMacro____x40_Init_Enum___hyg_33____closed__90;
x_411 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_411, 0, x_410);
lean_ctor_set(x_411, 1, x_409);
x_412 = lean_array_push(x_102, x_411);
x_413 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_413, 0, x_104);
lean_ctor_set(x_413, 1, x_412);
lean_inc(x_341);
x_414 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_414, 0, x_341);
lean_ctor_set(x_414, 1, x_111);
x_415 = l_myMacro____x40_Init_Enum___hyg_33____closed__127;
x_393 = l_Lean_addMacroScope(x_18, x_392, x_17);
x_394 = l_myMacro____x40_Init_Enum___hyg_33____closed__117;
lean_inc(x_342);
x_395 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_395, 0, x_342);
lean_ctor_set(x_395, 1, x_394);
lean_ctor_set(x_395, 2, x_393);
lean_ctor_set(x_395, 3, x_37);
x_396 = lean_array_push(x_86, x_389);
x_397 = lean_array_push(x_396, x_391);
x_398 = lean_array_push(x_397, x_395);
x_399 = l_myMacro____x40_Init_Enum___hyg_33____closed__110;
x_400 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_400, 0, x_399);
lean_ctor_set(x_400, 1, x_398);
x_401 = lean_array_push(x_86, x_377);
lean_inc(x_401);
x_402 = lean_array_push(x_401, x_400);
x_403 = lean_array_push(x_402, x_27);
x_404 = l_myMacro____x40_Init_Enum___hyg_33____closed__108;
x_405 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_405, 0, x_404);
lean_ctor_set(x_405, 1, x_403);
x_406 = lean_array_push(x_140, x_345);
x_407 = lean_array_push(x_406, x_352);
x_408 = lean_array_push(x_407, x_375);
x_409 = lean_array_push(x_408, x_405);
x_410 = lean_array_push(x_409, x_27);
x_411 = l_myMacro____x40_Init_Enum___hyg_33____closed__90;
x_412 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_412, 0, x_411);
lean_ctor_set(x_412, 1, x_410);
x_413 = lean_array_push(x_102, x_412);
x_414 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_414, 0, x_104);
lean_ctor_set(x_414, 1, x_413);
lean_inc(x_342);
x_415 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_415, 0, x_342);
lean_ctor_set(x_415, 1, x_111);
x_416 = l_myMacro____x40_Init_Enum___hyg_33____closed__127;
lean_inc(x_17);
lean_inc(x_18);
x_416 = l_Lean_addMacroScope(x_18, x_415, x_17);
x_417 = l_myMacro____x40_Init_Enum___hyg_33____closed__126;
x_418 = l_myMacro____x40_Init_Enum___hyg_33____closed__129;
lean_inc(x_341);
x_419 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_419, 0, x_341);
lean_ctor_set(x_419, 1, x_417);
lean_ctor_set(x_419, 2, x_416);
lean_ctor_set(x_419, 3, x_418);
x_420 = lean_array_push(x_25, x_419);
x_421 = lean_array_push(x_420, x_150);
x_422 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_422, 0, x_58);
lean_ctor_set(x_422, 1, x_421);
x_423 = lean_array_push(x_368, x_422);
x_424 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_424, 0, x_62);
lean_ctor_set(x_424, 1, x_423);
x_425 = lean_array_push(x_66, x_424);
x_426 = l_myMacro____x40_Init_Enum___hyg_33____closed__123;
x_427 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_427, 0, x_426);
lean_ctor_set(x_427, 1, x_425);
x_428 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__17;
lean_inc(x_341);
x_429 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_429, 0, x_341);
lean_ctor_set(x_429, 1, x_428);
x_430 = l_myMacro____x40_Init_Enum___hyg_33____closed__131;
lean_inc(x_341);
x_431 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_431, 0, x_341);
lean_ctor_set(x_431, 1, x_430);
x_432 = l_myMacro____x40_Init_Enum___hyg_33____closed__138;
x_417 = l_Lean_addMacroScope(x_18, x_416, x_17);
x_418 = l_myMacro____x40_Init_Enum___hyg_33____closed__126;
x_419 = l_myMacro____x40_Init_Enum___hyg_33____closed__129;
lean_inc(x_342);
x_420 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_420, 0, x_342);
lean_ctor_set(x_420, 1, x_418);
lean_ctor_set(x_420, 2, x_417);
lean_ctor_set(x_420, 3, x_419);
x_421 = lean_array_push(x_25, x_420);
x_422 = lean_array_push(x_421, x_150);
x_423 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_423, 0, x_58);
lean_ctor_set(x_423, 1, x_422);
x_424 = lean_array_push(x_369, x_423);
x_425 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_425, 0, x_62);
lean_ctor_set(x_425, 1, x_424);
x_426 = lean_array_push(x_66, x_425);
x_427 = l_myMacro____x40_Init_Enum___hyg_33____closed__123;
x_428 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_428, 0, x_427);
lean_ctor_set(x_428, 1, x_426);
x_429 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__17;
lean_inc(x_342);
x_430 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_430, 0, x_342);
lean_ctor_set(x_430, 1, x_429);
x_431 = l_myMacro____x40_Init_Enum___hyg_33____closed__131;
lean_inc(x_342);
x_432 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_432, 0, x_342);
lean_ctor_set(x_432, 1, x_431);
x_433 = l_myMacro____x40_Init_Enum___hyg_33____closed__138;
lean_inc(x_17);
lean_inc(x_18);
x_433 = l_Lean_addMacroScope(x_18, x_432, x_17);
x_434 = l_myMacro____x40_Init_Enum___hyg_33____closed__137;
lean_inc(x_341);
x_435 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_435, 0, x_341);
lean_ctor_set(x_435, 1, x_434);
lean_ctor_set(x_435, 2, x_433);
lean_ctor_set(x_435, 3, x_37);
x_436 = l_myMacro____x40_Init_Enum___hyg_33____closed__141;
lean_inc(x_341);
x_437 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_437, 0, x_341);
lean_ctor_set(x_437, 1, x_436);
x_438 = lean_array_push(x_21, x_437);
x_439 = l_myMacro____x40_Init_Enum___hyg_33____closed__140;
x_440 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_440, 0, x_439);
lean_ctor_set(x_440, 1, x_438);
x_441 = lean_array_push(x_25, x_435);
x_442 = lean_array_push(x_441, x_440);
x_443 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_443, 0, x_41);
lean_ctor_set(x_443, 1, x_442);
x_444 = l_myMacro____x40_Init_Enum___hyg_33____closed__142;
lean_inc(x_341);
x_445 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_445, 0, x_341);
lean_ctor_set(x_445, 1, x_444);
x_446 = l_myMacro____x40_Init_Enum___hyg_33____closed__149;
x_447 = l_Lean_addMacroScope(x_18, x_446, x_17);
x_448 = l_myMacro____x40_Init_Enum___hyg_33____closed__147;
lean_inc(x_341);
x_449 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_449, 0, x_341);
lean_ctor_set(x_449, 1, x_448);
lean_ctor_set(x_449, 2, x_447);
lean_ctor_set(x_449, 3, x_37);
x_450 = lean_array_push(x_405, x_348);
x_451 = lean_array_push(x_450, x_378);
x_452 = lean_array_push(x_451, x_449);
x_453 = lean_array_push(x_452, x_383);
x_454 = l_myMacro____x40_Init_Enum___hyg_33____closed__144;
x_455 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_455, 0, x_454);
lean_ctor_set(x_455, 1, x_453);
x_456 = lean_array_push(x_86, x_443);
x_457 = lean_array_push(x_456, x_445);
x_458 = lean_array_push(x_457, x_455);
x_459 = l_myMacro____x40_Init_Enum___hyg_33____closed__134;
x_460 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_460, 0, x_459);
lean_ctor_set(x_460, 1, x_458);
x_461 = lean_array_push(x_25, x_431);
x_462 = lean_array_push(x_461, x_460);
x_463 = l_myMacro____x40_Init_Enum___hyg_33____closed__132;
x_464 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_464, 0, x_463);
lean_ctor_set(x_464, 1, x_462);
x_465 = lean_array_push(x_21, x_464);
x_434 = l_Lean_addMacroScope(x_18, x_433, x_17);
x_435 = l_myMacro____x40_Init_Enum___hyg_33____closed__137;
lean_inc(x_342);
x_436 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_436, 0, x_342);
lean_ctor_set(x_436, 1, x_435);
lean_ctor_set(x_436, 2, x_434);
lean_ctor_set(x_436, 3, x_37);
x_437 = l_myMacro____x40_Init_Enum___hyg_33____closed__141;
lean_inc(x_342);
x_438 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_438, 0, x_342);
lean_ctor_set(x_438, 1, x_437);
x_439 = lean_array_push(x_21, x_438);
x_440 = l_myMacro____x40_Init_Enum___hyg_33____closed__140;
x_441 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_441, 0, x_440);
lean_ctor_set(x_441, 1, x_439);
x_442 = lean_array_push(x_25, x_436);
x_443 = lean_array_push(x_442, x_441);
x_444 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_444, 0, x_41);
lean_ctor_set(x_444, 1, x_443);
x_445 = l_myMacro____x40_Init_Enum___hyg_33____closed__142;
lean_inc(x_342);
x_446 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_446, 0, x_342);
lean_ctor_set(x_446, 1, x_445);
x_447 = l_myMacro____x40_Init_Enum___hyg_33____closed__149;
x_448 = l_Lean_addMacroScope(x_18, x_447, x_17);
x_449 = l_myMacro____x40_Init_Enum___hyg_33____closed__147;
lean_inc(x_342);
x_450 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_450, 0, x_342);
lean_ctor_set(x_450, 1, x_449);
lean_ctor_set(x_450, 2, x_448);
lean_ctor_set(x_450, 3, x_37);
x_451 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__19;
x_452 = lean_array_push(x_451, x_349);
x_453 = lean_array_push(x_452, x_379);
x_454 = lean_array_push(x_453, x_450);
x_455 = lean_array_push(x_454, x_384);
x_456 = l_myMacro____x40_Init_Enum___hyg_33____closed__144;
x_457 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_457, 0, x_456);
lean_ctor_set(x_457, 1, x_455);
x_458 = lean_array_push(x_86, x_444);
x_459 = lean_array_push(x_458, x_446);
x_460 = lean_array_push(x_459, x_457);
x_461 = l_myMacro____x40_Init_Enum___hyg_33____closed__134;
x_462 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_462, 0, x_461);
lean_ctor_set(x_462, 1, x_460);
x_463 = lean_array_push(x_25, x_432);
x_464 = lean_array_push(x_463, x_462);
x_465 = l_myMacro____x40_Init_Enum___hyg_33____closed__132;
x_466 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_466, 0, x_41);
lean_ctor_set(x_466, 1, x_465);
x_467 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__18;
x_468 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_468, 0, x_341);
lean_ctor_set(x_466, 0, x_465);
lean_ctor_set(x_466, 1, x_464);
x_467 = lean_array_push(x_21, x_466);
x_468 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_468, 0, x_41);
lean_ctor_set(x_468, 1, x_467);
x_469 = lean_array_push(x_86, x_429);
x_470 = lean_array_push(x_469, x_466);
x_471 = lean_array_push(x_470, x_468);
x_472 = l_myMacro____x40_Init_Enum___hyg_33____closed__130;
x_473 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_473, 0, x_472);
lean_ctor_set(x_473, 1, x_471);
x_474 = lean_array_push(x_400, x_473);
x_475 = lean_array_push(x_474, x_27);
x_476 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_476, 0, x_403);
lean_ctor_set(x_476, 1, x_475);
x_477 = l_myMacro____x40_Init_Enum___hyg_33____closed__150;
x_478 = lean_array_push(x_477, x_414);
x_479 = lean_array_push(x_478, x_27);
x_480 = lean_array_push(x_479, x_27);
x_481 = lean_array_push(x_480, x_427);
x_482 = lean_array_push(x_481, x_476);
x_483 = l_myMacro____x40_Init_Enum___hyg_33____closed__119;
x_484 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_484, 0, x_483);
lean_ctor_set(x_484, 1, x_482);
x_485 = lean_array_push(x_102, x_484);
x_469 = l_Array_forInUnsafe_loop___at_myMacro____x40_Init_Enum___hyg_33____spec__1___closed__18;
x_470 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_470, 0, x_342);
lean_ctor_set(x_470, 1, x_469);
x_471 = lean_array_push(x_86, x_430);
x_472 = lean_array_push(x_471, x_468);
x_473 = lean_array_push(x_472, x_470);
x_474 = l_myMacro____x40_Init_Enum___hyg_33____closed__130;
x_475 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_475, 0, x_474);
lean_ctor_set(x_475, 1, x_473);
x_476 = lean_array_push(x_401, x_475);
x_477 = lean_array_push(x_476, x_27);
x_478 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_478, 0, x_404);
lean_ctor_set(x_478, 1, x_477);
x_479 = l_myMacro____x40_Init_Enum___hyg_33____closed__150;
x_480 = lean_array_push(x_479, x_415);
x_481 = lean_array_push(x_480, x_27);
x_482 = lean_array_push(x_481, x_27);
x_483 = lean_array_push(x_482, x_428);
x_484 = lean_array_push(x_483, x_478);
x_485 = l_myMacro____x40_Init_Enum___hyg_33____closed__119;
x_486 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_486, 0, x_104);
lean_ctor_set(x_486, 1, x_485);
x_487 = lean_array_push(x_25, x_413);
x_488 = lean_array_push(x_487, x_486);
x_489 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_489, 0, x_41);
lean_ctor_set(x_489, 1, x_488);
x_490 = lean_array_push(x_86, x_105);
x_491 = lean_array_push(x_490, x_157);
x_492 = lean_array_push(x_491, x_489);
x_493 = l_Array_append___rarg(x_492, x_176);
x_494 = l_Lean_nullKind;
x_495 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_495, 0, x_494);
lean_ctor_set(x_495, 1, x_493);
x_496 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_496, 0, x_495);
lean_ctor_set(x_496, 1, x_342);
return x_496;
lean_ctor_set(x_486, 0, x_485);
lean_ctor_set(x_486, 1, x_484);
x_487 = lean_array_push(x_102, x_486);
x_488 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_488, 0, x_104);
lean_ctor_set(x_488, 1, x_487);
x_489 = lean_array_push(x_25, x_414);
x_490 = lean_array_push(x_489, x_488);
x_491 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_491, 0, x_41);
lean_ctor_set(x_491, 1, x_490);
x_492 = lean_array_push(x_86, x_105);
x_493 = lean_array_push(x_492, x_157);
x_494 = lean_array_push(x_493, x_491);
x_495 = l_Array_append___rarg(x_494, x_176);
x_496 = l_Lean_nullKind;
x_497 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_497, 0, x_496);
lean_ctor_set(x_497, 1, x_495);
x_498 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_498, 0, x_497);
lean_ctor_set(x_498, 1, x_343);
return x_498;
}
}
else
{
uint8_t x_497;
uint8_t x_499;
lean_dec(x_176);
lean_dec(x_157);
lean_dec(x_150);
@ -4193,29 +4195,29 @@ lean_dec(x_105);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_2);
x_497 = !lean_is_exclusive(x_182);
if (x_497 == 0)
x_499 = !lean_is_exclusive(x_182);
if (x_499 == 0)
{
return x_182;
}
else
{
lean_object* x_498; lean_object* x_499; lean_object* x_500;
x_498 = lean_ctor_get(x_182, 0);
x_499 = lean_ctor_get(x_182, 1);
lean_inc(x_499);
lean_inc(x_498);
lean_object* x_500; lean_object* x_501; lean_object* x_502;
x_500 = lean_ctor_get(x_182, 0);
x_501 = lean_ctor_get(x_182, 1);
lean_inc(x_501);
lean_inc(x_500);
lean_dec(x_182);
x_500 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_500, 0, x_498);
lean_ctor_set(x_500, 1, x_499);
return x_500;
x_502 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_502, 0, x_500);
lean_ctor_set(x_502, 1, x_501);
return x_502;
}
}
}
else
{
uint8_t x_501;
uint8_t x_503;
lean_dec(x_157);
lean_dec(x_150);
lean_dec(x_105);
@ -4225,23 +4227,23 @@ lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_9);
lean_dec(x_2);
x_501 = !lean_is_exclusive(x_158);
if (x_501 == 0)
x_503 = !lean_is_exclusive(x_158);
if (x_503 == 0)
{
return x_158;
}
else
{
lean_object* x_502; lean_object* x_503; lean_object* x_504;
x_502 = lean_ctor_get(x_158, 0);
x_503 = lean_ctor_get(x_158, 1);
lean_inc(x_503);
lean_inc(x_502);
lean_object* x_504; lean_object* x_505; lean_object* x_506;
x_504 = lean_ctor_get(x_158, 0);
x_505 = lean_ctor_get(x_158, 1);
lean_inc(x_505);
lean_inc(x_504);
lean_dec(x_158);
x_504 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_504, 0, x_502);
lean_ctor_set(x_504, 1, x_503);
return x_504;
x_506 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_506, 0, x_504);
lean_ctor_set(x_506, 1, x_505);
return x_506;
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -439,7 +439,6 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Ela
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7;
lean_object* l_Lean_Syntax_getKind(lean_object*);
static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__1;
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__2;
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType_match__1(lean_object*);
@ -449,6 +448,7 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinder
lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl___closed__1;
lean_object* lean_panic_fn(lean_object*, lean_object*);
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__31;
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1125____closed__3;
lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -19309,7 +19309,7 @@ lean_dec(x_1);
x_11 = l_Lean_Syntax_getArgs(x_10);
lean_dec(x_10);
x_12 = l_Lean_Elab_Term_expandWhereDecls___closed__3;
x_13 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(x_11, x_12);
x_13 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(x_11, x_12);
lean_dec(x_11);
if (lean_obj_tag(x_13) == 0)
{

View file

@ -435,6 +435,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__5;
lean_object* l_Lean_Syntax_getArgs(lean_object*);
uint8_t l_Lean_BinderInfo_isExplicit(uint8_t);
lean_object* l_Lean_Syntax_getKind(lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(size_t, size_t, lean_object*);
lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__7;
static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed__3;
@ -446,7 +447,6 @@ lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3
lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__1___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable___closed__3;
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(size_t, size_t, lean_object*);
lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Term_expandShow___closed__10;
static lean_object* l_Lean_Elab_Term_expandParen___closed__5;
@ -1360,7 +1360,7 @@ x_34 = lean_usize_of_nat(x_33);
lean_dec(x_33);
x_35 = 0;
x_36 = x_32;
x_37 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_34, x_35, x_36);
x_37 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_34, x_35, x_36);
x_38 = x_37;
x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__6;
x_40 = l_Lean_mkSepArray(x_38, x_39);

File diff suppressed because it is too large Load diff

View file

@ -150,7 +150,8 @@ static 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*);
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__5;
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__8;
lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2169_(lean_object*);
lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179_(lean_object*);
static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__29;
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__3;
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMutualBlock___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___closed__5;
@ -167,11 +168,11 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*);
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__3;
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__7;
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__5;
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(size_t, size_t, lean_object*);
static lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__9;
static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__5;
static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__26;
static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__12;
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(size_t, size_t, lean_object*);
static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__3;
static lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__13;
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___closed__7;
@ -201,6 +202,7 @@ extern lean_object* l_Lean_instInhabitedInductiveVal;
static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__28;
static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__14;
static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__5;
static lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1;
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
@ -210,7 +212,6 @@ static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed_
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___closed__8;
static lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__6;
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__6;
static lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2169____closed__1;
lean_object* l_Lean_Elab_Deriving_BEq_mkBEqInstanceHandler(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__7;
lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -806,7 +807,7 @@ x_67 = lean_usize_of_nat(x_66);
lean_dec(x_66);
x_68 = 0;
x_69 = x_41;
x_70 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_67, x_68, x_69);
x_70 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_67, x_68, x_69);
x_71 = x_70;
x_72 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
x_73 = l_Lean_mkSepArray(x_71, x_72);
@ -848,7 +849,7 @@ x_90 = lean_usize_of_nat(x_89);
lean_dec(x_89);
x_91 = 0;
x_92 = x_41;
x_93 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_90, x_91, x_92);
x_93 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_90, x_91, x_92);
x_94 = x_93;
x_95 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
x_96 = l_Lean_mkSepArray(x_94, x_95);
@ -2269,7 +2270,7 @@ x_111 = lean_usize_of_nat(x_110);
lean_dec(x_110);
x_112 = 0;
x_113 = x_99;
x_114 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_111, x_112, x_113);
x_114 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_111, x_112, x_113);
x_115 = x_114;
x_116 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
x_117 = l_Lean_mkSepArray(x_115, x_116);
@ -2310,7 +2311,7 @@ x_133 = lean_usize_of_nat(x_132);
lean_dec(x_132);
x_134 = 0;
x_135 = x_99;
x_136 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_133, x_134, x_135);
x_136 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_133, x_134, x_135);
x_137 = x_136;
x_138 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
x_139 = l_Lean_mkSepArray(x_137, x_138);
@ -2528,7 +2529,7 @@ x_220 = lean_usize_of_nat(x_219);
lean_dec(x_219);
x_221 = 0;
x_222 = x_208;
x_223 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_220, x_221, x_222);
x_223 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_220, x_221, x_222);
x_224 = x_223;
x_225 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
x_226 = l_Lean_mkSepArray(x_224, x_225);
@ -3054,7 +3055,7 @@ x_28 = lean_usize_of_nat(x_27);
lean_dec(x_27);
x_29 = 0;
x_30 = x_12;
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_28, x_29, x_30);
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_28, x_29, x_30);
x_32 = x_31;
x_33 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
x_34 = l_Lean_mkSepArray(x_32, x_33);
@ -3110,7 +3111,7 @@ x_61 = lean_usize_of_nat(x_60);
lean_dec(x_60);
x_62 = 0;
x_63 = x_12;
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_61, x_62, x_63);
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_61, x_62, x_63);
x_65 = x_64;
x_66 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
x_67 = l_Lean_mkSepArray(x_65, x_66);
@ -3480,17 +3481,26 @@ return x_1;
static lean_object* _init_l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__27() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("partial");
return x_1;
lean_object* x_1; lean_object* x_2;
x_1 = lean_unsigned_to_nat(5u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__28() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("partial");
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__2;
x_2 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__27;
x_2 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__28;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
@ -3524,7 +3534,7 @@ x_21 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_20);
x_22 = !lean_is_exclusive(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87;
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88;
x_23 = lean_ctor_get(x_21, 0);
x_24 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_16);
@ -3613,413 +3623,417 @@ x_75 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__25;
x_76 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_76, 0, x_75);
lean_ctor_set(x_76, 1, x_74);
x_77 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__19;
x_77 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__27;
x_78 = lean_array_push(x_77, x_42);
x_79 = lean_array_push(x_78, x_48);
x_80 = lean_array_push(x_79, x_68);
x_81 = lean_array_push(x_80, x_76);
x_82 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__12;
x_83 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_83, 0, x_82);
lean_ctor_set(x_83, 1, x_81);
x_84 = lean_array_push(x_44, x_40);
x_85 = lean_array_push(x_84, x_83);
x_86 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4;
x_87 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_87, 0, x_86);
lean_ctor_set(x_87, 1, x_85);
lean_ctor_set(x_21, 0, x_87);
x_82 = lean_array_push(x_81, x_35);
x_83 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__12;
x_84 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_84, 0, x_83);
lean_ctor_set(x_84, 1, x_82);
x_85 = lean_array_push(x_44, x_40);
x_86 = lean_array_push(x_85, x_84);
x_87 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4;
x_88 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_88, 0, x_87);
lean_ctor_set(x_88, 1, x_86);
lean_ctor_set(x_21, 0, x_88);
return x_21;
}
else
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154;
x_88 = lean_ctor_get(x_21, 0);
x_89 = lean_ctor_get(x_21, 1);
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156;
x_89 = lean_ctor_get(x_21, 0);
x_90 = lean_ctor_get(x_21, 1);
lean_inc(x_90);
lean_inc(x_89);
lean_inc(x_88);
lean_dec(x_21);
x_90 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__7;
x_91 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_16);
x_91 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_91, 0, x_16);
lean_ctor_set(x_91, 1, x_90);
x_92 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___closed__10;
x_93 = lean_array_push(x_92, x_91);
x_94 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__8;
x_95 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_95, 0, x_94);
lean_ctor_set(x_95, 1, x_93);
x_96 = lean_array_push(x_92, x_95);
x_97 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__15;
x_98 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_98, 0, x_97);
lean_ctor_set(x_98, 1, x_96);
x_99 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__10;
x_100 = lean_array_push(x_99, x_98);
x_101 = l_Lean_Elab_Deriving_BEq_mkMatch___rarg___closed__3;
x_102 = lean_array_push(x_100, x_101);
x_103 = lean_array_push(x_102, x_101);
x_104 = lean_array_push(x_103, x_101);
x_105 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__6;
x_106 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_106, 0, x_105);
lean_ctor_set(x_106, 1, x_104);
x_107 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__11;
x_92 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_92, 0, x_16);
lean_ctor_set(x_92, 1, x_91);
x_93 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___closed__10;
x_94 = lean_array_push(x_93, x_92);
x_95 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__8;
x_96 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_96, 0, x_95);
lean_ctor_set(x_96, 1, x_94);
x_97 = lean_array_push(x_93, x_96);
x_98 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__15;
x_99 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_99, 0, x_98);
lean_ctor_set(x_99, 1, x_97);
x_100 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__10;
x_101 = lean_array_push(x_100, x_99);
x_102 = l_Lean_Elab_Deriving_BEq_mkMatch___rarg___closed__3;
x_103 = lean_array_push(x_101, x_102);
x_104 = lean_array_push(x_103, x_102);
x_105 = lean_array_push(x_104, x_102);
x_106 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__6;
x_107 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_107, 0, x_106);
lean_ctor_set(x_107, 1, x_105);
x_108 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__11;
lean_inc(x_16);
x_108 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_108, 0, x_16);
lean_ctor_set(x_108, 1, x_107);
x_109 = lean_mk_syntax_ident(x_3);
x_110 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__14;
x_111 = lean_array_push(x_110, x_109);
x_112 = lean_array_push(x_111, x_101);
x_113 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__14;
x_114 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_114, 0, x_113);
lean_ctor_set(x_114, 1, x_112);
x_115 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__1;
x_116 = l_Array_append___rarg(x_115, x_14);
x_117 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_117, 0, x_97);
lean_ctor_set(x_117, 1, x_116);
x_118 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__19;
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_16);
lean_ctor_set(x_109, 1, x_108);
x_110 = lean_mk_syntax_ident(x_3);
x_111 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__14;
x_112 = lean_array_push(x_111, x_110);
x_113 = lean_array_push(x_112, x_102);
x_114 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__14;
x_115 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_115, 0, x_114);
lean_ctor_set(x_115, 1, x_113);
x_116 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__1;
x_117 = l_Array_append___rarg(x_116, x_14);
x_118 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_118, 0, x_98);
lean_ctor_set(x_118, 1, x_117);
x_119 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__19;
lean_inc(x_16);
x_119 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_119, 0, x_16);
lean_ctor_set(x_119, 1, x_118);
x_120 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__7;
x_121 = l_Lean_addMacroScope(x_88, x_120, x_19);
x_122 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__21;
x_123 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__23;
x_120 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_120, 0, x_16);
lean_ctor_set(x_120, 1, x_119);
x_121 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__7;
x_122 = l_Lean_addMacroScope(x_89, x_121, x_19);
x_123 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__21;
x_124 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__23;
lean_inc(x_16);
x_124 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_124, 0, x_16);
lean_ctor_set(x_124, 1, x_122);
lean_ctor_set(x_124, 2, x_121);
lean_ctor_set(x_124, 3, x_123);
x_125 = lean_array_push(x_110, x_119);
x_126 = lean_array_push(x_125, x_124);
x_127 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__18;
x_128 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_128, 0, x_127);
lean_ctor_set(x_128, 1, x_126);
x_129 = lean_array_push(x_92, x_128);
x_130 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_130, 0, x_97);
lean_ctor_set(x_130, 1, x_129);
x_131 = lean_array_push(x_110, x_117);
x_132 = lean_array_push(x_131, x_130);
x_133 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__16;
x_134 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_134, 0, x_133);
lean_ctor_set(x_134, 1, x_132);
x_135 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__26;
x_136 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_136, 0, x_16);
lean_ctor_set(x_136, 1, x_135);
x_137 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__11;
x_138 = lean_array_push(x_137, x_136);
x_139 = lean_array_push(x_138, x_4);
x_140 = lean_array_push(x_139, x_101);
x_141 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__25;
x_142 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_142, 0, x_141);
lean_ctor_set(x_142, 1, x_140);
x_143 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__19;
x_144 = lean_array_push(x_143, x_108);
x_145 = lean_array_push(x_144, x_114);
x_146 = lean_array_push(x_145, x_134);
x_147 = lean_array_push(x_146, x_142);
x_148 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__12;
x_149 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_149, 0, x_148);
lean_ctor_set(x_149, 1, x_147);
x_150 = lean_array_push(x_110, x_106);
x_151 = lean_array_push(x_150, x_149);
x_152 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4;
x_153 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_153, 0, x_152);
lean_ctor_set(x_153, 1, x_151);
x_154 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_154, 0, x_153);
lean_ctor_set(x_154, 1, x_89);
return x_154;
x_125 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_125, 0, x_16);
lean_ctor_set(x_125, 1, x_123);
lean_ctor_set(x_125, 2, x_122);
lean_ctor_set(x_125, 3, x_124);
x_126 = lean_array_push(x_111, x_120);
x_127 = lean_array_push(x_126, x_125);
x_128 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__18;
x_129 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_129, 0, x_128);
lean_ctor_set(x_129, 1, x_127);
x_130 = lean_array_push(x_93, x_129);
x_131 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_131, 0, x_98);
lean_ctor_set(x_131, 1, x_130);
x_132 = lean_array_push(x_111, x_118);
x_133 = lean_array_push(x_132, x_131);
x_134 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__16;
x_135 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_135, 0, x_134);
lean_ctor_set(x_135, 1, x_133);
x_136 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__26;
x_137 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_137, 0, x_16);
lean_ctor_set(x_137, 1, x_136);
x_138 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__11;
x_139 = lean_array_push(x_138, x_137);
x_140 = lean_array_push(x_139, x_4);
x_141 = lean_array_push(x_140, x_102);
x_142 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__25;
x_143 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_143, 0, x_142);
lean_ctor_set(x_143, 1, x_141);
x_144 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__27;
x_145 = lean_array_push(x_144, x_109);
x_146 = lean_array_push(x_145, x_115);
x_147 = lean_array_push(x_146, x_135);
x_148 = lean_array_push(x_147, x_143);
x_149 = lean_array_push(x_148, x_102);
x_150 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__12;
x_151 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_151, 0, x_150);
lean_ctor_set(x_151, 1, x_149);
x_152 = lean_array_push(x_111, x_107);
x_153 = lean_array_push(x_152, x_151);
x_154 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4;
x_155 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_155, 0, x_154);
lean_ctor_set(x_155, 1, x_153);
x_156 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_156, 0, x_155);
lean_ctor_set(x_156, 1, x_90);
return x_156;
}
}
else
{
lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163;
x_155 = lean_ctor_get(x_1, 0);
lean_inc(x_155);
lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165;
x_157 = lean_ctor_get(x_1, 0);
lean_inc(x_157);
lean_dec(x_1);
lean_inc(x_10);
x_156 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_10, x_11, x_12);
x_157 = lean_ctor_get(x_156, 0);
lean_inc(x_157);
x_158 = lean_ctor_get(x_156, 1);
lean_inc(x_158);
lean_dec(x_156);
x_159 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_158);
lean_dec(x_10);
x_160 = lean_ctor_get(x_159, 0);
x_158 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_10, x_11, x_12);
x_159 = lean_ctor_get(x_158, 0);
lean_inc(x_159);
x_160 = lean_ctor_get(x_158, 1);
lean_inc(x_160);
x_161 = lean_ctor_get(x_159, 1);
lean_inc(x_161);
lean_dec(x_159);
x_162 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_161);
x_163 = !lean_is_exclusive(x_162);
if (x_163 == 0)
lean_dec(x_158);
x_161 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_160);
lean_dec(x_10);
x_162 = lean_ctor_get(x_161, 0);
lean_inc(x_162);
x_163 = lean_ctor_get(x_161, 1);
lean_inc(x_163);
lean_dec(x_161);
x_164 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_163);
x_165 = !lean_is_exclusive(x_164);
if (x_165 == 0)
{
lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235;
x_164 = lean_ctor_get(x_162, 0);
x_165 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_157);
x_166 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_166, 0, x_157);
lean_ctor_set(x_166, 1, x_165);
x_167 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___closed__10;
x_168 = lean_array_push(x_167, x_166);
x_169 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__8;
x_170 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_170, 0, x_169);
lean_ctor_set(x_170, 1, x_168);
x_171 = lean_array_push(x_167, x_170);
x_172 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__15;
x_173 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_173, 0, x_172);
lean_ctor_set(x_173, 1, x_171);
x_174 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__27;
lean_inc(x_157);
x_175 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_175, 0, x_157);
lean_ctor_set(x_175, 1, x_174);
x_176 = lean_array_push(x_167, x_175);
x_177 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__28;
x_178 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_178, 0, x_177);
lean_ctor_set(x_178, 1, x_176);
x_179 = lean_array_push(x_167, x_178);
lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238;
x_166 = lean_ctor_get(x_164, 0);
x_167 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_159);
x_168 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_168, 0, x_159);
lean_ctor_set(x_168, 1, x_167);
x_169 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___closed__10;
x_170 = lean_array_push(x_169, x_168);
x_171 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__8;
x_172 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_172, 0, x_171);
lean_ctor_set(x_172, 1, x_170);
x_173 = lean_array_push(x_169, x_172);
x_174 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__15;
x_175 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_175, 0, x_174);
lean_ctor_set(x_175, 1, x_173);
x_176 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__28;
lean_inc(x_159);
x_177 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_177, 0, x_159);
lean_ctor_set(x_177, 1, x_176);
x_178 = lean_array_push(x_169, x_177);
x_179 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__29;
x_180 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_180, 0, x_172);
lean_ctor_set(x_180, 1, x_179);
x_181 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__10;
x_182 = lean_array_push(x_181, x_173);
x_183 = l_Lean_Elab_Deriving_BEq_mkMatch___rarg___closed__3;
x_184 = lean_array_push(x_182, x_183);
x_185 = lean_array_push(x_184, x_183);
x_186 = lean_array_push(x_185, x_180);
x_187 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__6;
x_188 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_188, 0, x_187);
lean_ctor_set(x_188, 1, x_186);
x_189 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__11;
lean_inc(x_157);
x_190 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_190, 0, x_157);
lean_ctor_set(x_190, 1, x_189);
x_191 = lean_mk_syntax_ident(x_3);
x_192 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__14;
x_193 = lean_array_push(x_192, x_191);
x_194 = lean_array_push(x_193, x_183);
x_195 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__14;
x_196 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_196, 0, x_195);
lean_ctor_set(x_196, 1, x_194);
x_197 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__1;
x_198 = l_Array_append___rarg(x_197, x_155);
x_199 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_199, 0, x_172);
lean_ctor_set(x_199, 1, x_198);
x_200 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__19;
lean_inc(x_157);
x_201 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_201, 0, x_157);
lean_ctor_set(x_180, 0, x_179);
lean_ctor_set(x_180, 1, x_178);
x_181 = lean_array_push(x_169, x_180);
x_182 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_182, 0, x_174);
lean_ctor_set(x_182, 1, x_181);
x_183 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__10;
x_184 = lean_array_push(x_183, x_175);
x_185 = l_Lean_Elab_Deriving_BEq_mkMatch___rarg___closed__3;
x_186 = lean_array_push(x_184, x_185);
x_187 = lean_array_push(x_186, x_185);
x_188 = lean_array_push(x_187, x_182);
x_189 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__6;
x_190 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_190, 0, x_189);
lean_ctor_set(x_190, 1, x_188);
x_191 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__11;
lean_inc(x_159);
x_192 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_192, 0, x_159);
lean_ctor_set(x_192, 1, x_191);
x_193 = lean_mk_syntax_ident(x_3);
x_194 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__14;
x_195 = lean_array_push(x_194, x_193);
x_196 = lean_array_push(x_195, x_185);
x_197 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__14;
x_198 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_198, 0, x_197);
lean_ctor_set(x_198, 1, x_196);
x_199 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__1;
x_200 = l_Array_append___rarg(x_199, x_157);
x_201 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_201, 0, x_174);
lean_ctor_set(x_201, 1, x_200);
x_202 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__7;
x_203 = l_Lean_addMacroScope(x_164, x_202, x_160);
x_204 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__21;
x_205 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__23;
lean_inc(x_157);
x_206 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_206, 0, x_157);
lean_ctor_set(x_206, 1, x_204);
lean_ctor_set(x_206, 2, x_203);
lean_ctor_set(x_206, 3, x_205);
x_207 = lean_array_push(x_192, x_201);
x_208 = lean_array_push(x_207, x_206);
x_209 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__18;
x_210 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_210, 0, x_209);
lean_ctor_set(x_210, 1, x_208);
x_211 = lean_array_push(x_167, x_210);
x_202 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__19;
lean_inc(x_159);
x_203 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_203, 0, x_159);
lean_ctor_set(x_203, 1, x_202);
x_204 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__7;
x_205 = l_Lean_addMacroScope(x_166, x_204, x_162);
x_206 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__21;
x_207 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__23;
lean_inc(x_159);
x_208 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_208, 0, x_159);
lean_ctor_set(x_208, 1, x_206);
lean_ctor_set(x_208, 2, x_205);
lean_ctor_set(x_208, 3, x_207);
x_209 = lean_array_push(x_194, x_203);
x_210 = lean_array_push(x_209, x_208);
x_211 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__18;
x_212 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_212, 0, x_172);
lean_ctor_set(x_212, 1, x_211);
x_213 = lean_array_push(x_192, x_199);
x_214 = lean_array_push(x_213, x_212);
x_215 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__16;
x_216 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_216, 0, x_215);
lean_ctor_set(x_216, 1, x_214);
x_217 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__26;
x_218 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_218, 0, x_157);
lean_ctor_set(x_218, 1, x_217);
x_219 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__11;
x_220 = lean_array_push(x_219, x_218);
x_221 = lean_array_push(x_220, x_4);
x_222 = lean_array_push(x_221, x_183);
x_223 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__25;
x_224 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_224, 0, x_223);
lean_ctor_set(x_224, 1, x_222);
x_225 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__19;
x_226 = lean_array_push(x_225, x_190);
x_227 = lean_array_push(x_226, x_196);
x_228 = lean_array_push(x_227, x_216);
x_229 = lean_array_push(x_228, x_224);
x_230 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__12;
x_231 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_231, 0, x_230);
lean_ctor_set(x_231, 1, x_229);
x_232 = lean_array_push(x_192, x_188);
x_233 = lean_array_push(x_232, x_231);
x_234 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4;
x_235 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_235, 0, x_234);
lean_ctor_set(x_235, 1, x_233);
lean_ctor_set(x_162, 0, x_235);
return x_162;
lean_ctor_set(x_212, 0, x_211);
lean_ctor_set(x_212, 1, x_210);
x_213 = lean_array_push(x_169, x_212);
x_214 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_214, 0, x_174);
lean_ctor_set(x_214, 1, x_213);
x_215 = lean_array_push(x_194, x_201);
x_216 = lean_array_push(x_215, x_214);
x_217 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__16;
x_218 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_218, 0, x_217);
lean_ctor_set(x_218, 1, x_216);
x_219 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__26;
x_220 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_220, 0, x_159);
lean_ctor_set(x_220, 1, x_219);
x_221 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__11;
x_222 = lean_array_push(x_221, x_220);
x_223 = lean_array_push(x_222, x_4);
x_224 = lean_array_push(x_223, x_185);
x_225 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__25;
x_226 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_226, 0, x_225);
lean_ctor_set(x_226, 1, x_224);
x_227 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__27;
x_228 = lean_array_push(x_227, x_192);
x_229 = lean_array_push(x_228, x_198);
x_230 = lean_array_push(x_229, x_218);
x_231 = lean_array_push(x_230, x_226);
x_232 = lean_array_push(x_231, x_185);
x_233 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__12;
x_234 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_234, 0, x_233);
lean_ctor_set(x_234, 1, x_232);
x_235 = lean_array_push(x_194, x_190);
x_236 = lean_array_push(x_235, x_234);
x_237 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4;
x_238 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_238, 0, x_237);
lean_ctor_set(x_238, 1, x_236);
lean_ctor_set(x_164, 0, x_238);
return x_164;
}
else
{
lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309;
x_236 = lean_ctor_get(x_162, 0);
x_237 = lean_ctor_get(x_162, 1);
lean_inc(x_237);
lean_inc(x_236);
lean_dec(x_162);
x_238 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_157);
x_239 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_239, 0, x_157);
lean_ctor_set(x_239, 1, x_238);
x_240 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___closed__10;
x_241 = lean_array_push(x_240, x_239);
x_242 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__8;
x_243 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_243, 0, x_242);
lean_ctor_set(x_243, 1, x_241);
x_244 = lean_array_push(x_240, x_243);
x_245 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__15;
lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313;
x_239 = lean_ctor_get(x_164, 0);
x_240 = lean_ctor_get(x_164, 1);
lean_inc(x_240);
lean_inc(x_239);
lean_dec(x_164);
x_241 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_159);
x_242 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_242, 0, x_159);
lean_ctor_set(x_242, 1, x_241);
x_243 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___closed__10;
x_244 = lean_array_push(x_243, x_242);
x_245 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__8;
x_246 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_246, 0, x_245);
lean_ctor_set(x_246, 1, x_244);
x_247 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__27;
lean_inc(x_157);
x_248 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_248, 0, x_157);
lean_ctor_set(x_248, 1, x_247);
x_249 = lean_array_push(x_240, x_248);
x_247 = lean_array_push(x_243, x_246);
x_248 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__15;
x_249 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_249, 0, x_248);
lean_ctor_set(x_249, 1, x_247);
x_250 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__28;
x_251 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_251, 0, x_250);
lean_ctor_set(x_251, 1, x_249);
x_252 = lean_array_push(x_240, x_251);
x_253 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_253, 0, x_245);
lean_ctor_set(x_253, 1, x_252);
x_254 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__10;
x_255 = lean_array_push(x_254, x_246);
x_256 = l_Lean_Elab_Deriving_BEq_mkMatch___rarg___closed__3;
x_257 = lean_array_push(x_255, x_256);
x_258 = lean_array_push(x_257, x_256);
x_259 = lean_array_push(x_258, x_253);
x_260 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__6;
x_261 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_261, 0, x_260);
lean_ctor_set(x_261, 1, x_259);
x_262 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__11;
lean_inc(x_157);
x_263 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_263, 0, x_157);
lean_ctor_set(x_263, 1, x_262);
x_264 = lean_mk_syntax_ident(x_3);
x_265 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__14;
x_266 = lean_array_push(x_265, x_264);
x_267 = lean_array_push(x_266, x_256);
x_268 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__14;
x_269 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_269, 0, x_268);
lean_ctor_set(x_269, 1, x_267);
x_270 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__1;
x_271 = l_Array_append___rarg(x_270, x_155);
lean_inc(x_159);
x_251 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_251, 0, x_159);
lean_ctor_set(x_251, 1, x_250);
x_252 = lean_array_push(x_243, x_251);
x_253 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__29;
x_254 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_254, 0, x_253);
lean_ctor_set(x_254, 1, x_252);
x_255 = lean_array_push(x_243, x_254);
x_256 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_256, 0, x_248);
lean_ctor_set(x_256, 1, x_255);
x_257 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__10;
x_258 = lean_array_push(x_257, x_249);
x_259 = l_Lean_Elab_Deriving_BEq_mkMatch___rarg___closed__3;
x_260 = lean_array_push(x_258, x_259);
x_261 = lean_array_push(x_260, x_259);
x_262 = lean_array_push(x_261, x_256);
x_263 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__6;
x_264 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_264, 0, x_263);
lean_ctor_set(x_264, 1, x_262);
x_265 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__11;
lean_inc(x_159);
x_266 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_266, 0, x_159);
lean_ctor_set(x_266, 1, x_265);
x_267 = lean_mk_syntax_ident(x_3);
x_268 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__14;
x_269 = lean_array_push(x_268, x_267);
x_270 = lean_array_push(x_269, x_259);
x_271 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__14;
x_272 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_272, 0, x_245);
lean_ctor_set(x_272, 1, x_271);
x_273 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__19;
lean_inc(x_157);
x_274 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_274, 0, x_157);
lean_ctor_set(x_274, 1, x_273);
x_275 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__7;
x_276 = l_Lean_addMacroScope(x_236, x_275, x_160);
x_277 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__21;
x_278 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__23;
lean_inc(x_157);
x_279 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_279, 0, x_157);
lean_ctor_set(x_279, 1, x_277);
lean_ctor_set(x_279, 2, x_276);
lean_ctor_set(x_279, 3, x_278);
x_280 = lean_array_push(x_265, x_274);
x_281 = lean_array_push(x_280, x_279);
x_282 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__18;
x_283 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_283, 0, x_282);
lean_ctor_set(x_283, 1, x_281);
x_284 = lean_array_push(x_240, x_283);
x_285 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_285, 0, x_245);
lean_ctor_set(x_285, 1, x_284);
x_286 = lean_array_push(x_265, x_272);
x_287 = lean_array_push(x_286, x_285);
x_288 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__16;
x_289 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_289, 0, x_288);
lean_ctor_set(x_289, 1, x_287);
x_290 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__26;
x_291 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_291, 0, x_157);
lean_ctor_set(x_291, 1, x_290);
x_292 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__11;
x_293 = lean_array_push(x_292, x_291);
x_294 = lean_array_push(x_293, x_4);
x_295 = lean_array_push(x_294, x_256);
x_296 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__25;
x_297 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_297, 0, x_296);
lean_ctor_set(x_297, 1, x_295);
x_298 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__19;
x_299 = lean_array_push(x_298, x_263);
x_300 = lean_array_push(x_299, x_269);
x_301 = lean_array_push(x_300, x_289);
x_302 = lean_array_push(x_301, x_297);
x_303 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__12;
x_304 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_304, 0, x_303);
lean_ctor_set(x_304, 1, x_302);
x_305 = lean_array_push(x_265, x_261);
x_306 = lean_array_push(x_305, x_304);
x_307 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4;
lean_ctor_set(x_272, 0, x_271);
lean_ctor_set(x_272, 1, x_270);
x_273 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__1;
x_274 = l_Array_append___rarg(x_273, x_157);
x_275 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_275, 0, x_248);
lean_ctor_set(x_275, 1, x_274);
x_276 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__19;
lean_inc(x_159);
x_277 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_277, 0, x_159);
lean_ctor_set(x_277, 1, x_276);
x_278 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__7;
x_279 = l_Lean_addMacroScope(x_239, x_278, x_162);
x_280 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__21;
x_281 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__23;
lean_inc(x_159);
x_282 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_282, 0, x_159);
lean_ctor_set(x_282, 1, x_280);
lean_ctor_set(x_282, 2, x_279);
lean_ctor_set(x_282, 3, x_281);
x_283 = lean_array_push(x_268, x_277);
x_284 = lean_array_push(x_283, x_282);
x_285 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__18;
x_286 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_286, 0, x_285);
lean_ctor_set(x_286, 1, x_284);
x_287 = lean_array_push(x_243, x_286);
x_288 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_288, 0, x_248);
lean_ctor_set(x_288, 1, x_287);
x_289 = lean_array_push(x_268, x_275);
x_290 = lean_array_push(x_289, x_288);
x_291 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__16;
x_292 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_292, 0, x_291);
lean_ctor_set(x_292, 1, x_290);
x_293 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__26;
x_294 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_294, 0, x_159);
lean_ctor_set(x_294, 1, x_293);
x_295 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__11;
x_296 = lean_array_push(x_295, x_294);
x_297 = lean_array_push(x_296, x_4);
x_298 = lean_array_push(x_297, x_259);
x_299 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__25;
x_300 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_300, 0, x_299);
lean_ctor_set(x_300, 1, x_298);
x_301 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__27;
x_302 = lean_array_push(x_301, x_266);
x_303 = lean_array_push(x_302, x_272);
x_304 = lean_array_push(x_303, x_292);
x_305 = lean_array_push(x_304, x_300);
x_306 = lean_array_push(x_305, x_259);
x_307 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__12;
x_308 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_308, 0, x_307);
lean_ctor_set(x_308, 1, x_306);
x_309 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_309, 0, x_308);
lean_ctor_set(x_309, 1, x_237);
return x_309;
x_309 = lean_array_push(x_268, x_264);
x_310 = lean_array_push(x_309, x_308);
x_311 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4;
x_312 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_312, 0, x_311);
lean_ctor_set(x_312, 1, x_310);
x_313 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_313, 0, x_312);
lean_ctor_set(x_313, 1, x_240);
return x_313;
}
}
}
@ -5684,7 +5698,7 @@ lean_dec(x_1);
return x_9;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2169____closed__1() {
static lean_object* _init_l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1() {
_start:
{
lean_object* x_1;
@ -5692,12 +5706,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_BEq_mkBEqInstanceHandler),
return x_1;
}
}
lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2169_(lean_object* x_1) {
lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_2 = l_Lean_Elab_Deriving_BEq_mkBEqHeader___rarg___closed__2;
x_3 = l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2169____closed__1;
x_3 = l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1;
x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1);
if (lean_obj_tag(x_4) == 0)
{
@ -5946,6 +5960,8 @@ l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__27 = _init_l_Lean_E
lean_mark_persistent(l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__27);
l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__28 = _init_l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__28();
lean_mark_persistent(l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__28);
l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__29 = _init_l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__29();
lean_mark_persistent(l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__29);
l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__1 = _init_l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__1);
l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__2 = _init_l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__2();
@ -5994,9 +6010,9 @@ l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds__
lean_mark_persistent(l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__9);
l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__10 = _init_l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__10();
lean_mark_persistent(l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__10);
l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2169____closed__1 = _init_l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2169____closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2169____closed__1);
res = l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2169_(lean_io_mk_world());
l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1 = _init_l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1);
res = l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179_(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));

View file

@ -155,7 +155,7 @@ lean_object* l_Lean_throwErrorAt___at_Lean_Elab_elabDeriving___spec__9(lean_obje
lean_object* l_Lean_Syntax_getArgs(lean_object*);
lean_object* l_Array_sequenceMap___at_Lean_Elab_elabDeriving___spec__2___boxed(lean_object*, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_elabDeriving___spec__5(size_t, size_t, lean_object*);
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(lean_object*, lean_object*);
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(lean_object*, lean_object*);
lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_elabDeriving___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_elabDeriving___spec__18(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_sequenceMap___at_Lean_Elab_elabDeriving___spec__2___closed__1;
@ -3522,7 +3522,7 @@ block_66:
{
lean_object* x_33; lean_object* x_34;
x_33 = l_Lean_Elab_elabDeriving___closed__11;
x_34 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(x_32, x_33);
x_34 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(x_32, x_33);
lean_dec(x_32);
if (lean_obj_tag(x_34) == 0)
{

View file

@ -40,7 +40,6 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__2;
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__6;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__3;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2475____closed__1;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__9;
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -110,6 +109,7 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1
lean_object* l_List_mapTRAux___at_Lean_Elab_Deriving_DecEq_mkDecEqCmds___spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8;
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2480____closed__1;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__67;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__7;
@ -200,12 +200,12 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__12;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__82;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__22;
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(size_t, size_t, lean_object*);
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__25;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__31;
lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2475_(lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(size_t, size_t, lean_object*);
lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2480_(lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__59;
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -3615,7 +3615,7 @@ x_98 = lean_usize_of_nat(x_97);
lean_dec(x_97);
x_99 = 0;
x_100 = x_82;
x_101 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_98, x_99, x_100);
x_101 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_98, x_99, x_100);
x_102 = x_101;
x_103 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
x_104 = l_Lean_mkSepArray(x_102, x_103);
@ -3656,7 +3656,7 @@ x_120 = lean_usize_of_nat(x_119);
lean_dec(x_119);
x_121 = 0;
x_122 = x_82;
x_123 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_120, x_121, x_122);
x_123 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_120, x_121, x_122);
x_124 = x_123;
x_125 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
x_126 = l_Lean_mkSepArray(x_124, x_125);
@ -3926,7 +3926,7 @@ x_216 = lean_usize_of_nat(x_215);
lean_dec(x_215);
x_217 = 0;
x_218 = x_200;
x_219 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_216, x_217, x_218);
x_219 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_216, x_217, x_218);
x_220 = x_219;
x_221 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
x_222 = l_Lean_mkSepArray(x_220, x_221);
@ -4452,7 +4452,7 @@ x_168 = lean_usize_of_nat(x_167);
lean_dec(x_167);
x_169 = 0;
x_170 = x_78;
x_171 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_168, x_169, x_170);
x_171 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_168, x_169, x_170);
x_172 = x_171;
x_173 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
x_174 = l_Lean_mkSepArray(x_172, x_173);
@ -5007,7 +5007,7 @@ x_29 = lean_usize_of_nat(x_28);
lean_dec(x_28);
x_30 = 0;
x_31 = x_13;
x_32 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_29, x_30, x_31);
x_32 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_29, x_30, x_31);
x_33 = x_32;
x_34 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
x_35 = l_Lean_mkSepArray(x_33, x_34);
@ -5063,7 +5063,7 @@ x_62 = lean_usize_of_nat(x_61);
lean_dec(x_61);
x_63 = 0;
x_64 = x_13;
x_65 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_62, x_63, x_64);
x_65 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_62, x_63, x_64);
x_66 = x_65;
x_67 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
x_68 = l_Lean_mkSepArray(x_66, x_67);
@ -5579,7 +5579,7 @@ lean_dec(x_7);
x_80 = !lean_is_exclusive(x_79);
if (x_80 == 0)
{
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135;
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136;
x_81 = lean_ctor_get(x_79, 0);
lean_dec(x_81);
x_82 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__11;
@ -5654,126 +5654,128 @@ x_123 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__24;
x_124 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_124, 0, x_123);
lean_ctor_set(x_124, 1, x_122);
x_125 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72;
x_125 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86;
x_126 = lean_array_push(x_125, x_97);
x_127 = lean_array_push(x_126, x_102);
x_128 = lean_array_push(x_127, x_117);
x_129 = lean_array_push(x_128, x_124);
x_130 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__16;
x_131 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_131, 0, x_130);
lean_ctor_set(x_131, 1, x_129);
x_132 = lean_array_push(x_54, x_95);
x_133 = lean_array_push(x_132, x_131);
x_134 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__8;
x_135 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_135, 0, x_134);
lean_ctor_set(x_135, 1, x_133);
lean_ctor_set(x_79, 0, x_135);
x_130 = lean_array_push(x_129, x_56);
x_131 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__16;
x_132 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_132, 0, x_131);
lean_ctor_set(x_132, 1, x_130);
x_133 = lean_array_push(x_54, x_95);
x_134 = lean_array_push(x_133, x_132);
x_135 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__8;
x_136 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_136, 0, x_135);
lean_ctor_set(x_136, 1, x_134);
lean_ctor_set(x_79, 0, x_136);
return x_79;
}
else
{
lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191;
x_136 = lean_ctor_get(x_79, 1);
lean_inc(x_136);
lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193;
x_137 = lean_ctor_get(x_79, 1);
lean_inc(x_137);
lean_dec(x_79);
x_137 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__11;
x_138 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__11;
lean_inc(x_75);
x_138 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_138, 0, x_75);
lean_ctor_set(x_138, 1, x_137);
x_139 = lean_array_push(x_67, x_138);
x_140 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__12;
x_141 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_141, 0, x_140);
lean_ctor_set(x_141, 1, x_139);
x_142 = lean_array_push(x_67, x_141);
x_143 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_143, 0, x_58);
lean_ctor_set(x_143, 1, x_142);
x_144 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__14;
x_145 = lean_array_push(x_144, x_143);
x_146 = lean_array_push(x_145, x_56);
x_139 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_139, 0, x_75);
lean_ctor_set(x_139, 1, x_138);
x_140 = lean_array_push(x_67, x_139);
x_141 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__12;
x_142 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_142, 0, x_141);
lean_ctor_set(x_142, 1, x_140);
x_143 = lean_array_push(x_67, x_142);
x_144 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_144, 0, x_58);
lean_ctor_set(x_144, 1, x_143);
x_145 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__14;
x_146 = lean_array_push(x_145, x_144);
x_147 = lean_array_push(x_146, x_56);
x_148 = lean_array_push(x_147, x_56);
x_149 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__10;
x_150 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_150, 0, x_149);
lean_ctor_set(x_150, 1, x_148);
x_151 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__15;
x_149 = lean_array_push(x_148, x_56);
x_150 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__10;
x_151 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_151, 0, x_150);
lean_ctor_set(x_151, 1, x_149);
x_152 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__15;
lean_inc(x_75);
x_152 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_152, 0, x_75);
lean_ctor_set(x_152, 1, x_151);
x_153 = lean_mk_syntax_ident(x_12);
x_154 = lean_array_push(x_54, x_153);
x_155 = lean_array_push(x_154, x_56);
x_156 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__18;
x_157 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_157, 0, x_156);
lean_ctor_set(x_157, 1, x_155);
x_158 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40;
x_159 = l_Array_append___rarg(x_158, x_23);
x_160 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_160, 0, x_58);
lean_ctor_set(x_160, 1, x_159);
x_161 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8;
x_153 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_153, 0, x_75);
lean_ctor_set(x_153, 1, x_152);
x_154 = lean_mk_syntax_ident(x_12);
x_155 = lean_array_push(x_54, x_154);
x_156 = lean_array_push(x_155, x_56);
x_157 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__18;
x_158 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_158, 0, x_157);
lean_ctor_set(x_158, 1, x_156);
x_159 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40;
x_160 = l_Array_append___rarg(x_159, x_23);
x_161 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_161, 0, x_58);
lean_ctor_set(x_161, 1, x_160);
x_162 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8;
lean_inc(x_75);
x_162 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_162, 0, x_75);
lean_ctor_set(x_162, 1, x_161);
x_163 = lean_array_push(x_54, x_162);
x_164 = lean_array_push(x_163, x_73);
x_165 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__22;
x_166 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_166, 0, x_165);
lean_ctor_set(x_166, 1, x_164);
x_167 = lean_array_push(x_67, x_166);
x_168 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_168, 0, x_58);
lean_ctor_set(x_168, 1, x_167);
x_169 = lean_array_push(x_54, x_160);
x_170 = lean_array_push(x_169, x_168);
x_171 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__20;
x_172 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_172, 0, x_171);
lean_ctor_set(x_172, 1, x_170);
x_173 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85;
x_174 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_174, 0, x_75);
lean_ctor_set(x_174, 1, x_173);
x_175 = lean_array_push(x_48, x_174);
x_176 = lean_array_push(x_175, x_21);
x_177 = lean_array_push(x_176, x_56);
x_178 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__24;
x_179 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_179, 0, x_178);
lean_ctor_set(x_179, 1, x_177);
x_180 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72;
x_181 = lean_array_push(x_180, x_152);
x_182 = lean_array_push(x_181, x_157);
x_183 = lean_array_push(x_182, x_172);
x_184 = lean_array_push(x_183, x_179);
x_185 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__16;
x_186 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_186, 0, x_185);
lean_ctor_set(x_186, 1, x_184);
x_187 = lean_array_push(x_54, x_150);
x_188 = lean_array_push(x_187, x_186);
x_189 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__8;
x_190 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_190, 0, x_189);
lean_ctor_set(x_190, 1, x_188);
x_191 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_191, 0, x_190);
lean_ctor_set(x_191, 1, x_136);
return x_191;
x_163 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_163, 0, x_75);
lean_ctor_set(x_163, 1, x_162);
x_164 = lean_array_push(x_54, x_163);
x_165 = lean_array_push(x_164, x_73);
x_166 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__22;
x_167 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_167, 0, x_166);
lean_ctor_set(x_167, 1, x_165);
x_168 = lean_array_push(x_67, x_167);
x_169 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_169, 0, x_58);
lean_ctor_set(x_169, 1, x_168);
x_170 = lean_array_push(x_54, x_161);
x_171 = lean_array_push(x_170, x_169);
x_172 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__20;
x_173 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_173, 0, x_172);
lean_ctor_set(x_173, 1, x_171);
x_174 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85;
x_175 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_175, 0, x_75);
lean_ctor_set(x_175, 1, x_174);
x_176 = lean_array_push(x_48, x_175);
x_177 = lean_array_push(x_176, x_21);
x_178 = lean_array_push(x_177, x_56);
x_179 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__24;
x_180 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_180, 0, x_179);
lean_ctor_set(x_180, 1, x_178);
x_181 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86;
x_182 = lean_array_push(x_181, x_153);
x_183 = lean_array_push(x_182, x_158);
x_184 = lean_array_push(x_183, x_173);
x_185 = lean_array_push(x_184, x_180);
x_186 = lean_array_push(x_185, x_56);
x_187 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__16;
x_188 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_188, 0, x_187);
lean_ctor_set(x_188, 1, x_186);
x_189 = lean_array_push(x_54, x_151);
x_190 = lean_array_push(x_189, x_188);
x_191 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__8;
x_192 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_192, 0, x_191);
lean_ctor_set(x_192, 1, x_190);
x_193 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_193, 0, x_192);
lean_ctor_set(x_193, 1, x_137);
return x_193;
}
}
else
{
uint8_t x_192;
uint8_t x_194;
lean_dec(x_17);
lean_dec(x_12);
lean_dec(x_7);
@ -5782,29 +5784,29 @@ lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_192 = !lean_is_exclusive(x_20);
if (x_192 == 0)
x_194 = !lean_is_exclusive(x_20);
if (x_194 == 0)
{
return x_20;
}
else
{
lean_object* x_193; lean_object* x_194; lean_object* x_195;
x_193 = lean_ctor_get(x_20, 0);
x_194 = lean_ctor_get(x_20, 1);
lean_inc(x_194);
lean_inc(x_193);
lean_object* x_195; lean_object* x_196; lean_object* x_197;
x_195 = lean_ctor_get(x_20, 0);
x_196 = lean_ctor_get(x_20, 1);
lean_inc(x_196);
lean_inc(x_195);
lean_dec(x_20);
x_195 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_195, 0, x_193);
lean_ctor_set(x_195, 1, x_194);
return x_195;
x_197 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_197, 0, x_195);
lean_ctor_set(x_197, 1, x_196);
return x_197;
}
}
}
else
{
uint8_t x_196;
uint8_t x_198;
lean_dec(x_15);
lean_dec(x_12);
lean_dec(x_7);
@ -5813,23 +5815,23 @@ lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_196 = !lean_is_exclusive(x_16);
if (x_196 == 0)
x_198 = !lean_is_exclusive(x_16);
if (x_198 == 0)
{
return x_16;
}
else
{
lean_object* x_197; lean_object* x_198; lean_object* x_199;
x_197 = lean_ctor_get(x_16, 0);
x_198 = lean_ctor_get(x_16, 1);
lean_inc(x_198);
lean_inc(x_197);
lean_object* x_199; lean_object* x_200; lean_object* x_201;
x_199 = lean_ctor_get(x_16, 0);
x_200 = lean_ctor_get(x_16, 1);
lean_inc(x_200);
lean_inc(x_199);
lean_dec(x_16);
x_199 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_199, 0, x_197);
lean_ctor_set(x_199, 1, x_198);
return x_199;
x_201 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_201, 0, x_199);
lean_ctor_set(x_201, 1, x_200);
return x_201;
}
}
}
@ -6800,7 +6802,7 @@ lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2475____closed__1() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2480____closed__1() {
_start:
{
lean_object* x_1;
@ -6808,12 +6810,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandl
return x_1;
}
}
lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2475_(lean_object* x_1) {
lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2480_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg___closed__2;
x_3 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2475____closed__1;
x_3 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2480____closed__1;
x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1);
if (lean_obj_tag(x_4) == 0)
{
@ -7208,9 +7210,9 @@ l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler__
lean_mark_persistent(l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1___closed__1);
l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1___closed__2 = _init_l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1___closed__2();
lean_mark_persistent(l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1___closed__2);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2475____closed__1 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2475____closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2475____closed__1);
res = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2475_(lean_io_mk_world());
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2480____closed__1 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2480____closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2480____closed__1);
res = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2480_(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

View file

@ -83,6 +83,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_Ord_mkMutualBlock___closed__3;
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMutualBlock___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__1___closed__4;
static lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2228____closed__1;
lean_object* l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__7;
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__24;
@ -92,7 +93,6 @@ lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts_
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__19;
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__8;
lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2218____closed__1;
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__9;
lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__7;
@ -120,6 +120,7 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28;
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__17;
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__5;
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__29;
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__36;
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__25;
lean_object* l_Lean_Elab_Deriving_Ord_mkMutualBlock(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -158,7 +159,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_m
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__20;
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__20;
lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2218_(lean_object*);
lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2228_(lean_object*);
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__12;
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__12;
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__4;
@ -174,8 +175,8 @@ static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed_
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_Ord_mkOrdHeader___rarg___closed__1;
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__9;
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(size_t, size_t, lean_object*);
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__1;
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(size_t, size_t, lean_object*);
lean_object* l_Lean_Elab_Deriving_Ord_mkOrdHeader___boxed(lean_object*);
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__2;
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__3;
@ -2162,7 +2163,7 @@ x_142 = lean_usize_of_nat(x_141);
lean_dec(x_141);
x_143 = 0;
x_144 = x_103;
x_145 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_142, x_143, x_144);
x_145 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_142, x_143, x_144);
x_146 = x_145;
x_147 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16;
x_148 = l_Lean_mkSepArray(x_146, x_147);
@ -2212,7 +2213,7 @@ x_170 = lean_array_get_size(x_118);
x_171 = lean_usize_of_nat(x_170);
lean_dec(x_170);
x_172 = x_118;
x_173 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_171, x_143, x_172);
x_173 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_171, x_143, x_172);
x_174 = x_173;
x_175 = l_Lean_mkSepArray(x_174, x_147);
lean_dec(x_174);
@ -2272,7 +2273,7 @@ x_199 = lean_array_get_size(x_131);
x_200 = lean_usize_of_nat(x_199);
lean_dec(x_199);
x_201 = x_131;
x_202 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_200, x_143, x_201);
x_202 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_200, x_143, x_201);
x_203 = x_202;
x_204 = l_Lean_mkSepArray(x_203, x_147);
lean_dec(x_203);
@ -2323,7 +2324,7 @@ x_225 = lean_array_get_size(x_131);
x_226 = lean_usize_of_nat(x_225);
lean_dec(x_225);
x_227 = x_131;
x_228 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_226, x_143, x_227);
x_228 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_226, x_143, x_227);
x_229 = x_228;
x_230 = l_Lean_mkSepArray(x_229, x_147);
lean_dec(x_229);
@ -2600,7 +2601,7 @@ x_348 = lean_usize_of_nat(x_347);
lean_dec(x_347);
x_349 = 0;
x_350 = x_309;
x_351 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_348, x_349, x_350);
x_351 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_348, x_349, x_350);
x_352 = x_351;
x_353 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16;
x_354 = l_Lean_mkSepArray(x_352, x_353);
@ -2650,7 +2651,7 @@ x_376 = lean_array_get_size(x_324);
x_377 = lean_usize_of_nat(x_376);
lean_dec(x_376);
x_378 = x_324;
x_379 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_377, x_349, x_378);
x_379 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_377, x_349, x_378);
x_380 = x_379;
x_381 = l_Lean_mkSepArray(x_380, x_353);
lean_dec(x_380);
@ -2717,7 +2718,7 @@ x_406 = lean_array_get_size(x_337);
x_407 = lean_usize_of_nat(x_406);
lean_dec(x_406);
x_408 = x_337;
x_409 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_407, x_349, x_408);
x_409 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_407, x_349, x_408);
x_410 = x_409;
x_411 = l_Lean_mkSepArray(x_410, x_353);
lean_dec(x_410);
@ -3214,7 +3215,7 @@ x_28 = lean_usize_of_nat(x_27);
lean_dec(x_27);
x_29 = 0;
x_30 = x_12;
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_28, x_29, x_30);
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_28, x_29, x_30);
x_32 = x_31;
x_33 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16;
x_34 = l_Lean_mkSepArray(x_32, x_33);
@ -3270,7 +3271,7 @@ x_61 = lean_usize_of_nat(x_60);
lean_dec(x_60);
x_62 = 0;
x_63 = x_12;
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_61, x_62, x_63);
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_61, x_62, x_63);
x_65 = x_64;
x_66 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16;
x_67 = l_Lean_mkSepArray(x_65, x_66);
@ -3663,278 +3664,289 @@ x_1 = lean_mk_string(":=");
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = lean_unsigned_to_nat(5u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; lean_object* x_15; uint8_t x_171;
lean_object* x_14; lean_object* x_15; uint8_t x_173;
x_14 = lean_ctor_get(x_1, 0);
lean_inc(x_14);
lean_dec(x_1);
x_171 = lean_ctor_get_uint8(x_3, sizeof(void*)*2);
if (x_171 == 0)
x_173 = lean_ctor_get_uint8(x_3, sizeof(void*)*2);
if (x_173 == 0)
{
uint8_t x_172;
x_172 = lean_ctor_get_uint8(x_4, sizeof(void*)*5);
if (x_172 == 0)
uint8_t x_174;
x_174 = lean_ctor_get_uint8(x_4, sizeof(void*)*5);
if (x_174 == 0)
{
lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180;
lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182;
lean_inc(x_11);
x_173 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_11, x_12, x_13);
x_174 = lean_ctor_get(x_173, 0);
lean_inc(x_174);
x_175 = lean_ctor_get(x_173, 1);
lean_inc(x_175);
lean_dec(x_173);
x_176 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_175);
lean_dec(x_11);
x_177 = lean_ctor_get(x_176, 0);
x_175 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_11, x_12, x_13);
x_176 = lean_ctor_get(x_175, 0);
lean_inc(x_176);
x_177 = lean_ctor_get(x_175, 1);
lean_inc(x_177);
x_178 = lean_ctor_get(x_176, 1);
lean_inc(x_178);
lean_dec(x_176);
x_179 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_178);
x_180 = !lean_is_exclusive(x_179);
if (x_180 == 0)
lean_dec(x_175);
x_178 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_177);
lean_dec(x_11);
x_179 = lean_ctor_get(x_178, 0);
lean_inc(x_179);
x_180 = lean_ctor_get(x_178, 1);
lean_inc(x_180);
lean_dec(x_178);
x_181 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_180);
x_182 = !lean_is_exclusive(x_181);
if (x_182 == 0)
{
lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245;
x_181 = lean_ctor_get(x_179, 0);
x_182 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_174);
x_183 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_183, 0, x_174);
lean_ctor_set(x_183, 1, x_182);
x_184 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__10;
x_185 = lean_array_push(x_184, x_183);
x_186 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__8;
x_187 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_187, 0, x_186);
lean_ctor_set(x_187, 1, x_185);
x_188 = lean_array_push(x_184, x_187);
x_189 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__8;
x_190 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_190, 0, x_189);
lean_ctor_set(x_190, 1, x_188);
x_191 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__12;
x_192 = lean_array_push(x_191, x_190);
x_193 = l_Lean_Elab_Deriving_Ord_mkMatch___rarg___closed__1;
x_194 = lean_array_push(x_192, x_193);
x_195 = lean_array_push(x_194, x_193);
x_196 = lean_array_push(x_195, x_193);
x_197 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__6;
x_198 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_198, 0, x_197);
lean_ctor_set(x_198, 1, x_196);
x_199 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__13;
lean_inc(x_174);
x_200 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_200, 0, x_174);
lean_ctor_set(x_200, 1, x_199);
x_201 = lean_mk_syntax_ident(x_2);
x_202 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__18;
x_203 = lean_array_push(x_202, x_201);
x_204 = lean_array_push(x_203, x_193);
x_205 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__16;
x_206 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_206, 0, x_205);
lean_ctor_set(x_206, 1, x_204);
x_207 = l_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___closed__1;
x_208 = l_Array_append___rarg(x_207, x_14);
x_209 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_209, 0, x_189);
lean_ctor_set(x_209, 1, x_208);
x_210 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__21;
lean_inc(x_174);
x_211 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_211, 0, x_174);
lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248;
x_183 = lean_ctor_get(x_181, 0);
x_184 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_176);
x_185 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_185, 0, x_176);
lean_ctor_set(x_185, 1, x_184);
x_186 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__10;
x_187 = lean_array_push(x_186, x_185);
x_188 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__8;
x_189 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_189, 0, x_188);
lean_ctor_set(x_189, 1, x_187);
x_190 = lean_array_push(x_186, x_189);
x_191 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__8;
x_192 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_192, 0, x_191);
lean_ctor_set(x_192, 1, x_190);
x_193 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__12;
x_194 = lean_array_push(x_193, x_192);
x_195 = l_Lean_Elab_Deriving_Ord_mkMatch___rarg___closed__1;
x_196 = lean_array_push(x_194, x_195);
x_197 = lean_array_push(x_196, x_195);
x_198 = lean_array_push(x_197, x_195);
x_199 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__6;
x_200 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_200, 0, x_199);
lean_ctor_set(x_200, 1, x_198);
x_201 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__13;
lean_inc(x_176);
x_202 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_202, 0, x_176);
lean_ctor_set(x_202, 1, x_201);
x_203 = lean_mk_syntax_ident(x_2);
x_204 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__18;
x_205 = lean_array_push(x_204, x_203);
x_206 = lean_array_push(x_205, x_195);
x_207 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__16;
x_208 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_208, 0, x_207);
lean_ctor_set(x_208, 1, x_206);
x_209 = l_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___closed__1;
x_210 = l_Array_append___rarg(x_209, x_14);
x_211 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_211, 0, x_191);
lean_ctor_set(x_211, 1, x_210);
x_212 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__7;
x_213 = l_Lean_addMacroScope(x_181, x_212, x_177);
x_214 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__23;
x_215 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__25;
lean_inc(x_174);
x_216 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_216, 0, x_174);
lean_ctor_set(x_216, 1, x_214);
lean_ctor_set(x_216, 2, x_213);
lean_ctor_set(x_216, 3, x_215);
x_217 = lean_array_push(x_202, x_211);
x_218 = lean_array_push(x_217, x_216);
x_219 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__20;
x_220 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_220, 0, x_219);
lean_ctor_set(x_220, 1, x_218);
x_221 = lean_array_push(x_184, x_220);
x_212 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__21;
lean_inc(x_176);
x_213 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_213, 0, x_176);
lean_ctor_set(x_213, 1, x_212);
x_214 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__7;
x_215 = l_Lean_addMacroScope(x_183, x_214, x_179);
x_216 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__23;
x_217 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__25;
lean_inc(x_176);
x_218 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_218, 0, x_176);
lean_ctor_set(x_218, 1, x_216);
lean_ctor_set(x_218, 2, x_215);
lean_ctor_set(x_218, 3, x_217);
x_219 = lean_array_push(x_204, x_213);
x_220 = lean_array_push(x_219, x_218);
x_221 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__20;
x_222 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_222, 0, x_189);
lean_ctor_set(x_222, 1, x_221);
x_223 = lean_array_push(x_202, x_209);
x_224 = lean_array_push(x_223, x_222);
x_225 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__18;
x_226 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_226, 0, x_225);
lean_ctor_set(x_226, 1, x_224);
x_227 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28;
x_228 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_228, 0, x_174);
lean_ctor_set(x_228, 1, x_227);
x_229 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__35;
x_230 = lean_array_push(x_229, x_228);
x_231 = lean_array_push(x_230, x_5);
x_232 = lean_array_push(x_231, x_193);
x_233 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__27;
x_234 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_234, 0, x_233);
lean_ctor_set(x_234, 1, x_232);
x_235 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__30;
x_236 = lean_array_push(x_235, x_200);
x_237 = lean_array_push(x_236, x_206);
x_238 = lean_array_push(x_237, x_226);
x_239 = lean_array_push(x_238, x_234);
x_240 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__14;
x_241 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_241, 0, x_240);
lean_ctor_set(x_241, 1, x_239);
x_242 = lean_array_push(x_202, x_198);
x_243 = lean_array_push(x_242, x_241);
x_244 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__4;
x_245 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_245, 0, x_244);
lean_ctor_set(x_245, 1, x_243);
lean_ctor_set(x_179, 0, x_245);
return x_179;
lean_ctor_set(x_222, 0, x_221);
lean_ctor_set(x_222, 1, x_220);
x_223 = lean_array_push(x_186, x_222);
x_224 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_224, 0, x_191);
lean_ctor_set(x_224, 1, x_223);
x_225 = lean_array_push(x_204, x_211);
x_226 = lean_array_push(x_225, x_224);
x_227 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__18;
x_228 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_228, 0, x_227);
lean_ctor_set(x_228, 1, x_226);
x_229 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28;
x_230 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_230, 0, x_176);
lean_ctor_set(x_230, 1, x_229);
x_231 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__35;
x_232 = lean_array_push(x_231, x_230);
x_233 = lean_array_push(x_232, x_5);
x_234 = lean_array_push(x_233, x_195);
x_235 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__27;
x_236 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_236, 0, x_235);
lean_ctor_set(x_236, 1, x_234);
x_237 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__29;
x_238 = lean_array_push(x_237, x_202);
x_239 = lean_array_push(x_238, x_208);
x_240 = lean_array_push(x_239, x_228);
x_241 = lean_array_push(x_240, x_236);
x_242 = lean_array_push(x_241, x_195);
x_243 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__14;
x_244 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_244, 0, x_243);
lean_ctor_set(x_244, 1, x_242);
x_245 = lean_array_push(x_204, x_200);
x_246 = lean_array_push(x_245, x_244);
x_247 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__4;
x_248 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_248, 0, x_247);
lean_ctor_set(x_248, 1, x_246);
lean_ctor_set(x_181, 0, x_248);
return x_181;
}
else
{
lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312;
x_246 = lean_ctor_get(x_179, 0);
x_247 = lean_ctor_get(x_179, 1);
lean_inc(x_247);
lean_inc(x_246);
lean_dec(x_179);
x_248 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_174);
x_249 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_249, 0, x_174);
lean_ctor_set(x_249, 1, x_248);
x_250 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__10;
x_251 = lean_array_push(x_250, x_249);
x_252 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__8;
x_253 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_253, 0, x_252);
lean_ctor_set(x_253, 1, x_251);
x_254 = lean_array_push(x_250, x_253);
x_255 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__8;
lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316;
x_249 = lean_ctor_get(x_181, 0);
x_250 = lean_ctor_get(x_181, 1);
lean_inc(x_250);
lean_inc(x_249);
lean_dec(x_181);
x_251 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_176);
x_252 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_252, 0, x_176);
lean_ctor_set(x_252, 1, x_251);
x_253 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__10;
x_254 = lean_array_push(x_253, x_252);
x_255 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__8;
x_256 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_256, 0, x_255);
lean_ctor_set(x_256, 1, x_254);
x_257 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__12;
x_258 = lean_array_push(x_257, x_256);
x_259 = l_Lean_Elab_Deriving_Ord_mkMatch___rarg___closed__1;
x_260 = lean_array_push(x_258, x_259);
x_257 = lean_array_push(x_253, x_256);
x_258 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__8;
x_259 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_259, 0, x_258);
lean_ctor_set(x_259, 1, x_257);
x_260 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__12;
x_261 = lean_array_push(x_260, x_259);
x_262 = lean_array_push(x_261, x_259);
x_263 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__6;
x_264 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_264, 0, x_263);
lean_ctor_set(x_264, 1, x_262);
x_265 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__13;
lean_inc(x_174);
x_266 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_266, 0, x_174);
lean_ctor_set(x_266, 1, x_265);
x_267 = lean_mk_syntax_ident(x_2);
x_268 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__18;
x_269 = lean_array_push(x_268, x_267);
x_270 = lean_array_push(x_269, x_259);
x_271 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__16;
x_272 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_272, 0, x_271);
lean_ctor_set(x_272, 1, x_270);
x_273 = l_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___closed__1;
x_274 = l_Array_append___rarg(x_273, x_14);
x_262 = l_Lean_Elab_Deriving_Ord_mkMatch___rarg___closed__1;
x_263 = lean_array_push(x_261, x_262);
x_264 = lean_array_push(x_263, x_262);
x_265 = lean_array_push(x_264, x_262);
x_266 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__6;
x_267 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_267, 0, x_266);
lean_ctor_set(x_267, 1, x_265);
x_268 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__13;
lean_inc(x_176);
x_269 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_269, 0, x_176);
lean_ctor_set(x_269, 1, x_268);
x_270 = lean_mk_syntax_ident(x_2);
x_271 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__18;
x_272 = lean_array_push(x_271, x_270);
x_273 = lean_array_push(x_272, x_262);
x_274 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__16;
x_275 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_275, 0, x_255);
lean_ctor_set(x_275, 1, x_274);
x_276 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__21;
lean_inc(x_174);
x_277 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_277, 0, x_174);
lean_ctor_set(x_277, 1, x_276);
x_278 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__7;
x_279 = l_Lean_addMacroScope(x_246, x_278, x_177);
x_280 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__23;
x_281 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__25;
lean_inc(x_174);
x_282 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_282, 0, x_174);
lean_ctor_set(x_282, 1, x_280);
lean_ctor_set(x_282, 2, x_279);
lean_ctor_set(x_282, 3, x_281);
x_283 = lean_array_push(x_268, x_277);
x_284 = lean_array_push(x_283, x_282);
x_285 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__20;
x_286 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_286, 0, x_285);
lean_ctor_set(x_286, 1, x_284);
x_287 = lean_array_push(x_250, x_286);
x_288 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_288, 0, x_255);
lean_ctor_set(x_288, 1, x_287);
x_289 = lean_array_push(x_268, x_275);
x_290 = lean_array_push(x_289, x_288);
x_291 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__18;
x_292 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_292, 0, x_291);
lean_ctor_set(x_292, 1, x_290);
x_293 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28;
x_294 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_294, 0, x_174);
lean_ctor_set(x_294, 1, x_293);
x_295 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__35;
x_296 = lean_array_push(x_295, x_294);
x_297 = lean_array_push(x_296, x_5);
x_298 = lean_array_push(x_297, x_259);
x_299 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__27;
x_300 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_300, 0, x_299);
lean_ctor_set(x_300, 1, x_298);
x_301 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__30;
x_302 = lean_array_push(x_301, x_266);
x_303 = lean_array_push(x_302, x_272);
x_304 = lean_array_push(x_303, x_292);
x_305 = lean_array_push(x_304, x_300);
x_306 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__14;
x_307 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_307, 0, x_306);
lean_ctor_set(x_307, 1, x_305);
x_308 = lean_array_push(x_268, x_264);
x_309 = lean_array_push(x_308, x_307);
x_310 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__4;
lean_ctor_set(x_275, 0, x_274);
lean_ctor_set(x_275, 1, x_273);
x_276 = l_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___closed__1;
x_277 = l_Array_append___rarg(x_276, x_14);
x_278 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_278, 0, x_258);
lean_ctor_set(x_278, 1, x_277);
x_279 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__21;
lean_inc(x_176);
x_280 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_280, 0, x_176);
lean_ctor_set(x_280, 1, x_279);
x_281 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__7;
x_282 = l_Lean_addMacroScope(x_249, x_281, x_179);
x_283 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__23;
x_284 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__25;
lean_inc(x_176);
x_285 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_285, 0, x_176);
lean_ctor_set(x_285, 1, x_283);
lean_ctor_set(x_285, 2, x_282);
lean_ctor_set(x_285, 3, x_284);
x_286 = lean_array_push(x_271, x_280);
x_287 = lean_array_push(x_286, x_285);
x_288 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__20;
x_289 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_289, 0, x_288);
lean_ctor_set(x_289, 1, x_287);
x_290 = lean_array_push(x_253, x_289);
x_291 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_291, 0, x_258);
lean_ctor_set(x_291, 1, x_290);
x_292 = lean_array_push(x_271, x_278);
x_293 = lean_array_push(x_292, x_291);
x_294 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__18;
x_295 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_295, 0, x_294);
lean_ctor_set(x_295, 1, x_293);
x_296 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28;
x_297 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_297, 0, x_176);
lean_ctor_set(x_297, 1, x_296);
x_298 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__35;
x_299 = lean_array_push(x_298, x_297);
x_300 = lean_array_push(x_299, x_5);
x_301 = lean_array_push(x_300, x_262);
x_302 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__27;
x_303 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_303, 0, x_302);
lean_ctor_set(x_303, 1, x_301);
x_304 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__29;
x_305 = lean_array_push(x_304, x_269);
x_306 = lean_array_push(x_305, x_275);
x_307 = lean_array_push(x_306, x_295);
x_308 = lean_array_push(x_307, x_303);
x_309 = lean_array_push(x_308, x_262);
x_310 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__14;
x_311 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_311, 0, x_310);
lean_ctor_set(x_311, 1, x_309);
x_312 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_312, 0, x_311);
lean_ctor_set(x_312, 1, x_247);
return x_312;
x_312 = lean_array_push(x_271, x_267);
x_313 = lean_array_push(x_312, x_311);
x_314 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__4;
x_315 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_315, 0, x_314);
lean_ctor_set(x_315, 1, x_313);
x_316 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_316, 0, x_315);
lean_ctor_set(x_316, 1, x_250);
return x_316;
}
}
else
{
lean_object* x_313;
x_313 = lean_box(0);
x_15 = x_313;
goto block_170;
lean_object* x_317;
x_317 = lean_box(0);
x_15 = x_317;
goto block_172;
}
}
else
{
lean_object* x_314;
x_314 = lean_box(0);
x_15 = x_314;
goto block_170;
lean_object* x_318;
x_318 = lean_box(0);
x_15 = x_318;
goto block_172;
}
block_170:
block_172:
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23;
lean_dec(x_15);
@ -3956,7 +3968,7 @@ x_22 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_21);
x_23 = !lean_is_exclusive(x_22);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95;
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96;
x_24 = lean_ctor_get(x_22, 0);
x_25 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_17);
@ -4059,152 +4071,154 @@ x_83 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__27;
x_84 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_84, 0, x_83);
lean_ctor_set(x_84, 1, x_82);
x_85 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__30;
x_85 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__29;
x_86 = lean_array_push(x_85, x_50);
x_87 = lean_array_push(x_86, x_56);
x_88 = lean_array_push(x_87, x_76);
x_89 = lean_array_push(x_88, x_84);
x_90 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__14;
x_91 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_91, 0, x_90);
lean_ctor_set(x_91, 1, x_89);
x_92 = lean_array_push(x_52, x_48);
x_93 = lean_array_push(x_92, x_91);
x_94 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__4;
x_95 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_95, 0, x_94);
lean_ctor_set(x_95, 1, x_93);
lean_ctor_set(x_22, 0, x_95);
x_90 = lean_array_push(x_89, x_43);
x_91 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__14;
x_92 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_92, 0, x_91);
lean_ctor_set(x_92, 1, x_90);
x_93 = lean_array_push(x_52, x_48);
x_94 = lean_array_push(x_93, x_92);
x_95 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__4;
x_96 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_96, 0, x_95);
lean_ctor_set(x_96, 1, x_94);
lean_ctor_set(x_22, 0, x_96);
return x_22;
}
else
{
lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169;
x_96 = lean_ctor_get(x_22, 0);
x_97 = lean_ctor_get(x_22, 1);
lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171;
x_97 = lean_ctor_get(x_22, 0);
x_98 = lean_ctor_get(x_22, 1);
lean_inc(x_98);
lean_inc(x_97);
lean_inc(x_96);
lean_dec(x_22);
x_98 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__7;
x_99 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_17);
x_99 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_99, 0, x_17);
lean_ctor_set(x_99, 1, x_98);
x_100 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__10;
x_101 = lean_array_push(x_100, x_99);
x_102 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__8;
x_103 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_103, 0, x_102);
lean_ctor_set(x_103, 1, x_101);
x_104 = lean_array_push(x_100, x_103);
x_105 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__8;
x_106 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_106, 0, x_105);
lean_ctor_set(x_106, 1, x_104);
x_107 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__9;
x_100 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_100, 0, x_17);
lean_ctor_set(x_100, 1, x_99);
x_101 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__10;
x_102 = lean_array_push(x_101, x_100);
x_103 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__8;
x_104 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_104, 0, x_103);
lean_ctor_set(x_104, 1, x_102);
x_105 = lean_array_push(x_101, x_104);
x_106 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__8;
x_107 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_107, 0, x_106);
lean_ctor_set(x_107, 1, x_105);
x_108 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__9;
lean_inc(x_17);
x_108 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_108, 0, x_17);
lean_ctor_set(x_108, 1, x_107);
x_109 = lean_array_push(x_100, x_108);
x_110 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__10;
x_111 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_111, 0, x_110);
lean_ctor_set(x_111, 1, x_109);
x_112 = lean_array_push(x_100, x_111);
x_113 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_113, 0, x_105);
lean_ctor_set(x_113, 1, x_112);
x_114 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__12;
x_115 = lean_array_push(x_114, x_106);
x_116 = l_Lean_Elab_Deriving_Ord_mkMatch___rarg___closed__1;
x_117 = lean_array_push(x_115, x_116);
x_118 = lean_array_push(x_117, x_116);
x_119 = lean_array_push(x_118, x_113);
x_120 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__6;
x_121 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_121, 0, x_120);
lean_ctor_set(x_121, 1, x_119);
x_122 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__13;
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_17);
lean_ctor_set(x_109, 1, x_108);
x_110 = lean_array_push(x_101, x_109);
x_111 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__10;
x_112 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_112, 0, x_111);
lean_ctor_set(x_112, 1, x_110);
x_113 = lean_array_push(x_101, x_112);
x_114 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_114, 0, x_106);
lean_ctor_set(x_114, 1, x_113);
x_115 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__12;
x_116 = lean_array_push(x_115, x_107);
x_117 = l_Lean_Elab_Deriving_Ord_mkMatch___rarg___closed__1;
x_118 = lean_array_push(x_116, x_117);
x_119 = lean_array_push(x_118, x_117);
x_120 = lean_array_push(x_119, x_114);
x_121 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__6;
x_122 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_122, 0, x_121);
lean_ctor_set(x_122, 1, x_120);
x_123 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__13;
lean_inc(x_17);
x_123 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_123, 0, x_17);
lean_ctor_set(x_123, 1, x_122);
x_124 = lean_mk_syntax_ident(x_2);
x_125 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__18;
x_126 = lean_array_push(x_125, x_124);
x_127 = lean_array_push(x_126, x_116);
x_128 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__16;
x_129 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_129, 0, x_128);
lean_ctor_set(x_129, 1, x_127);
x_130 = l_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___closed__1;
x_131 = l_Array_append___rarg(x_130, x_14);
x_132 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_132, 0, x_105);
lean_ctor_set(x_132, 1, x_131);
x_133 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__21;
x_124 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_124, 0, x_17);
lean_ctor_set(x_124, 1, x_123);
x_125 = lean_mk_syntax_ident(x_2);
x_126 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__18;
x_127 = lean_array_push(x_126, x_125);
x_128 = lean_array_push(x_127, x_117);
x_129 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__16;
x_130 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_130, 0, x_129);
lean_ctor_set(x_130, 1, x_128);
x_131 = l_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___closed__1;
x_132 = l_Array_append___rarg(x_131, x_14);
x_133 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_133, 0, x_106);
lean_ctor_set(x_133, 1, x_132);
x_134 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__21;
lean_inc(x_17);
x_134 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_134, 0, x_17);
lean_ctor_set(x_134, 1, x_133);
x_135 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__7;
x_136 = l_Lean_addMacroScope(x_96, x_135, x_20);
x_137 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__23;
x_138 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__25;
x_135 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_135, 0, x_17);
lean_ctor_set(x_135, 1, x_134);
x_136 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__7;
x_137 = l_Lean_addMacroScope(x_97, x_136, x_20);
x_138 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__23;
x_139 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__25;
lean_inc(x_17);
x_139 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_139, 0, x_17);
lean_ctor_set(x_139, 1, x_137);
lean_ctor_set(x_139, 2, x_136);
lean_ctor_set(x_139, 3, x_138);
x_140 = lean_array_push(x_125, x_134);
x_141 = lean_array_push(x_140, x_139);
x_142 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__20;
x_143 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_143, 0, x_142);
lean_ctor_set(x_143, 1, x_141);
x_144 = lean_array_push(x_100, x_143);
x_145 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_145, 0, x_105);
lean_ctor_set(x_145, 1, x_144);
x_146 = lean_array_push(x_125, x_132);
x_147 = lean_array_push(x_146, x_145);
x_148 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__18;
x_149 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_149, 0, x_148);
lean_ctor_set(x_149, 1, x_147);
x_150 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28;
x_151 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_151, 0, x_17);
lean_ctor_set(x_151, 1, x_150);
x_152 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__35;
x_153 = lean_array_push(x_152, x_151);
x_154 = lean_array_push(x_153, x_5);
x_155 = lean_array_push(x_154, x_116);
x_156 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__27;
x_157 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_157, 0, x_156);
lean_ctor_set(x_157, 1, x_155);
x_158 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__30;
x_159 = lean_array_push(x_158, x_123);
x_160 = lean_array_push(x_159, x_129);
x_161 = lean_array_push(x_160, x_149);
x_162 = lean_array_push(x_161, x_157);
x_163 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__14;
x_164 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_164, 0, x_163);
lean_ctor_set(x_164, 1, x_162);
x_165 = lean_array_push(x_125, x_121);
x_166 = lean_array_push(x_165, x_164);
x_167 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__4;
x_168 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_168, 0, x_167);
lean_ctor_set(x_168, 1, x_166);
x_169 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_169, 0, x_168);
lean_ctor_set(x_169, 1, x_97);
return x_169;
x_140 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_140, 0, x_17);
lean_ctor_set(x_140, 1, x_138);
lean_ctor_set(x_140, 2, x_137);
lean_ctor_set(x_140, 3, x_139);
x_141 = lean_array_push(x_126, x_135);
x_142 = lean_array_push(x_141, x_140);
x_143 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__20;
x_144 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_144, 0, x_143);
lean_ctor_set(x_144, 1, x_142);
x_145 = lean_array_push(x_101, x_144);
x_146 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_146, 0, x_106);
lean_ctor_set(x_146, 1, x_145);
x_147 = lean_array_push(x_126, x_133);
x_148 = lean_array_push(x_147, x_146);
x_149 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__18;
x_150 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_150, 0, x_149);
lean_ctor_set(x_150, 1, x_148);
x_151 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28;
x_152 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_152, 0, x_17);
lean_ctor_set(x_152, 1, x_151);
x_153 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__35;
x_154 = lean_array_push(x_153, x_152);
x_155 = lean_array_push(x_154, x_5);
x_156 = lean_array_push(x_155, x_117);
x_157 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__27;
x_158 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_158, 0, x_157);
lean_ctor_set(x_158, 1, x_156);
x_159 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__29;
x_160 = lean_array_push(x_159, x_124);
x_161 = lean_array_push(x_160, x_130);
x_162 = lean_array_push(x_161, x_150);
x_163 = lean_array_push(x_162, x_158);
x_164 = lean_array_push(x_163, x_117);
x_165 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__14;
x_166 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_166, 0, x_165);
lean_ctor_set(x_166, 1, x_164);
x_167 = lean_array_push(x_126, x_122);
x_168 = lean_array_push(x_167, x_166);
x_169 = l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__4;
x_170 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_170, 0, x_169);
lean_ctor_set(x_170, 1, x_168);
x_171 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_171, 0, x_170);
lean_ctor_set(x_171, 1, x_98);
return x_171;
}
}
}
@ -5789,7 +5803,7 @@ lean_dec(x_1);
return x_9;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2218____closed__1() {
static lean_object* _init_l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2228____closed__1() {
_start:
{
lean_object* x_1;
@ -5797,12 +5811,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_Ord_mkOrdInstanceHandler),
return x_1;
}
}
lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2218_(lean_object* x_1) {
lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2228_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_2 = l_Lean_Elab_Deriving_Ord_mkOrdHeader___rarg___closed__2;
x_3 = l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2218____closed__1;
x_3 = l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2228____closed__1;
x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1);
if (lean_obj_tag(x_4) == 0)
{
@ -6067,6 +6081,8 @@ l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__27 = _init_l_Lean_E
lean_mark_persistent(l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__27);
l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28 = _init_l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28();
lean_mark_persistent(l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28);
l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__29 = _init_l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__29();
lean_mark_persistent(l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__29);
l_Lean_Elab_Deriving_Ord_mkMutualBlock___closed__1 = _init_l_Lean_Elab_Deriving_Ord_mkMutualBlock___closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_Ord_mkMutualBlock___closed__1);
l_Lean_Elab_Deriving_Ord_mkMutualBlock___closed__2 = _init_l_Lean_Elab_Deriving_Ord_mkMutualBlock___closed__2();
@ -6093,9 +6109,9 @@ l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds__
lean_mark_persistent(l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__9);
l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__10 = _init_l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__10();
lean_mark_persistent(l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__10);
l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2218____closed__1 = _init_l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2218____closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2218____closed__1);
res = l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2218_(lean_io_mk_world());
l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2228____closed__1 = _init_l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2228____closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2228____closed__1);
res = l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2228_(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));

View file

@ -47,6 +47,7 @@ lean_object* l_List_head_x21___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec
static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__2___closed__3;
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___closed__19;
lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Deriving_Repr_mkReprInstanceHandler___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1;
static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__18;
static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__1___closed__5;
static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__30;
@ -54,7 +55,6 @@ static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForIndu
static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__22;
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___closed__4;
lean_object* l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2753____closed__1;
lean_object* lean_environment_find(lean_object*, lean_object*);
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__46;
static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__2___closed__4;
@ -221,6 +221,7 @@ static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2
static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__25;
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__35;
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts_match__1(lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(size_t, size_t, lean_object*);
static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__29;
lean_object* lean_panic_fn(lean_object*, lean_object*);
lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -228,7 +229,6 @@ lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Repr_mkBodyForStruc
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___closed__3;
static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__2___closed__2;
static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__6;
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(size_t, size_t, lean_object*);
lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader(lean_object*);
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__19;
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__36;
@ -325,7 +325,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyFo
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2753_(lean_object*);
lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763_(lean_object*);
static lean_object* _init_l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__1() {
_start:
{
@ -4303,7 +4303,7 @@ x_99 = lean_usize_of_nat(x_98);
lean_dec(x_98);
x_100 = 0;
x_101 = x_86;
x_102 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_99, x_100, x_101);
x_102 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_99, x_100, x_101);
x_103 = x_102;
x_104 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16;
x_105 = l_Lean_mkSepArray(x_103, x_104);
@ -4554,7 +4554,7 @@ x_226 = lean_usize_of_nat(x_225);
lean_dec(x_225);
x_227 = 0;
x_228 = x_86;
x_229 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_226, x_227, x_228);
x_229 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_226, x_227, x_228);
x_230 = x_229;
x_231 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16;
x_232 = l_Lean_mkSepArray(x_230, x_231);
@ -5196,7 +5196,7 @@ x_28 = lean_usize_of_nat(x_27);
lean_dec(x_27);
x_29 = 0;
x_30 = x_12;
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_28, x_29, x_30);
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_28, x_29, x_30);
x_32 = x_31;
x_33 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16;
x_34 = l_Lean_mkSepArray(x_32, x_33);
@ -5252,7 +5252,7 @@ x_61 = lean_usize_of_nat(x_60);
lean_dec(x_60);
x_62 = 0;
x_63 = x_12;
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_61, x_62, x_63);
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_61, x_62, x_63);
x_65 = x_64;
x_66 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16;
x_67 = l_Lean_mkSepArray(x_65, x_66);
@ -5710,7 +5710,7 @@ x_21 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_20);
x_22 = !lean_is_exclusive(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87;
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88;
x_23 = lean_ctor_get(x_21, 0);
x_24 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_16);
@ -5799,413 +5799,417 @@ x_75 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__24;
x_76 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_76, 0, x_75);
lean_ctor_set(x_76, 1, x_74);
x_77 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__54;
x_77 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__30;
x_78 = lean_array_push(x_77, x_42);
x_79 = lean_array_push(x_78, x_48);
x_80 = lean_array_push(x_79, x_68);
x_81 = lean_array_push(x_80, x_76);
x_82 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__12;
x_83 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_83, 0, x_82);
lean_ctor_set(x_83, 1, x_81);
x_84 = lean_array_push(x_44, x_40);
x_85 = lean_array_push(x_84, x_83);
x_86 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__4;
x_87 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_87, 0, x_86);
lean_ctor_set(x_87, 1, x_85);
lean_ctor_set(x_21, 0, x_87);
x_82 = lean_array_push(x_81, x_35);
x_83 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__12;
x_84 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_84, 0, x_83);
lean_ctor_set(x_84, 1, x_82);
x_85 = lean_array_push(x_44, x_40);
x_86 = lean_array_push(x_85, x_84);
x_87 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__4;
x_88 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_88, 0, x_87);
lean_ctor_set(x_88, 1, x_86);
lean_ctor_set(x_21, 0, x_88);
return x_21;
}
else
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154;
x_88 = lean_ctor_get(x_21, 0);
x_89 = lean_ctor_get(x_21, 1);
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156;
x_89 = lean_ctor_get(x_21, 0);
x_90 = lean_ctor_get(x_21, 1);
lean_inc(x_90);
lean_inc(x_89);
lean_inc(x_88);
lean_dec(x_21);
x_90 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__7;
x_91 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_16);
x_91 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_91, 0, x_16);
lean_ctor_set(x_91, 1, x_90);
x_92 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__18;
x_93 = lean_array_push(x_92, x_91);
x_94 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__8;
x_95 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_95, 0, x_94);
lean_ctor_set(x_95, 1, x_93);
x_96 = lean_array_push(x_92, x_95);
x_97 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__13;
x_98 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_98, 0, x_97);
lean_ctor_set(x_98, 1, x_96);
x_99 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__10;
x_100 = lean_array_push(x_99, x_98);
x_101 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__28;
x_102 = lean_array_push(x_100, x_101);
x_103 = lean_array_push(x_102, x_101);
x_104 = lean_array_push(x_103, x_101);
x_105 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__6;
x_106 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_106, 0, x_105);
lean_ctor_set(x_106, 1, x_104);
x_107 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__11;
x_92 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_92, 0, x_16);
lean_ctor_set(x_92, 1, x_91);
x_93 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__18;
x_94 = lean_array_push(x_93, x_92);
x_95 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__8;
x_96 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_96, 0, x_95);
lean_ctor_set(x_96, 1, x_94);
x_97 = lean_array_push(x_93, x_96);
x_98 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__13;
x_99 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_99, 0, x_98);
lean_ctor_set(x_99, 1, x_97);
x_100 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__10;
x_101 = lean_array_push(x_100, x_99);
x_102 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__28;
x_103 = lean_array_push(x_101, x_102);
x_104 = lean_array_push(x_103, x_102);
x_105 = lean_array_push(x_104, x_102);
x_106 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__6;
x_107 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_107, 0, x_106);
lean_ctor_set(x_107, 1, x_105);
x_108 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__11;
lean_inc(x_16);
x_108 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_108, 0, x_16);
lean_ctor_set(x_108, 1, x_107);
x_109 = lean_mk_syntax_ident(x_3);
x_110 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__26;
x_111 = lean_array_push(x_110, x_109);
x_112 = lean_array_push(x_111, x_101);
x_113 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__14;
x_114 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_114, 0, x_113);
lean_ctor_set(x_114, 1, x_112);
x_115 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__27;
x_116 = l_Array_append___rarg(x_115, x_14);
x_117 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_117, 0, x_97);
lean_ctor_set(x_117, 1, x_116);
x_118 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__19;
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_16);
lean_ctor_set(x_109, 1, x_108);
x_110 = lean_mk_syntax_ident(x_3);
x_111 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__26;
x_112 = lean_array_push(x_111, x_110);
x_113 = lean_array_push(x_112, x_102);
x_114 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__14;
x_115 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_115, 0, x_114);
lean_ctor_set(x_115, 1, x_113);
x_116 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__27;
x_117 = l_Array_append___rarg(x_116, x_14);
x_118 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_118, 0, x_98);
lean_ctor_set(x_118, 1, x_117);
x_119 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__19;
lean_inc(x_16);
x_119 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_119, 0, x_16);
lean_ctor_set(x_119, 1, x_118);
x_120 = l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2___closed__5;
x_121 = l_Lean_addMacroScope(x_88, x_120, x_19);
x_122 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__20;
x_123 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__22;
x_120 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_120, 0, x_16);
lean_ctor_set(x_120, 1, x_119);
x_121 = l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2___closed__5;
x_122 = l_Lean_addMacroScope(x_89, x_121, x_19);
x_123 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__20;
x_124 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__22;
lean_inc(x_16);
x_124 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_124, 0, x_16);
lean_ctor_set(x_124, 1, x_122);
lean_ctor_set(x_124, 2, x_121);
lean_ctor_set(x_124, 3, x_123);
x_125 = lean_array_push(x_110, x_119);
x_126 = lean_array_push(x_125, x_124);
x_127 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__18;
x_128 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_128, 0, x_127);
lean_ctor_set(x_128, 1, x_126);
x_129 = lean_array_push(x_92, x_128);
x_130 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_130, 0, x_97);
lean_ctor_set(x_130, 1, x_129);
x_131 = lean_array_push(x_110, x_117);
x_132 = lean_array_push(x_131, x_130);
x_133 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__16;
x_134 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_134, 0, x_133);
lean_ctor_set(x_134, 1, x_132);
x_135 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__25;
x_136 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_136, 0, x_16);
lean_ctor_set(x_136, 1, x_135);
x_137 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___closed__4;
x_138 = lean_array_push(x_137, x_136);
x_139 = lean_array_push(x_138, x_4);
x_140 = lean_array_push(x_139, x_101);
x_141 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__24;
x_142 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_142, 0, x_141);
lean_ctor_set(x_142, 1, x_140);
x_143 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__54;
x_144 = lean_array_push(x_143, x_108);
x_145 = lean_array_push(x_144, x_114);
x_146 = lean_array_push(x_145, x_134);
x_147 = lean_array_push(x_146, x_142);
x_148 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__12;
x_149 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_149, 0, x_148);
lean_ctor_set(x_149, 1, x_147);
x_150 = lean_array_push(x_110, x_106);
x_151 = lean_array_push(x_150, x_149);
x_152 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__4;
x_153 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_153, 0, x_152);
lean_ctor_set(x_153, 1, x_151);
x_154 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_154, 0, x_153);
lean_ctor_set(x_154, 1, x_89);
return x_154;
x_125 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_125, 0, x_16);
lean_ctor_set(x_125, 1, x_123);
lean_ctor_set(x_125, 2, x_122);
lean_ctor_set(x_125, 3, x_124);
x_126 = lean_array_push(x_111, x_120);
x_127 = lean_array_push(x_126, x_125);
x_128 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__18;
x_129 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_129, 0, x_128);
lean_ctor_set(x_129, 1, x_127);
x_130 = lean_array_push(x_93, x_129);
x_131 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_131, 0, x_98);
lean_ctor_set(x_131, 1, x_130);
x_132 = lean_array_push(x_111, x_118);
x_133 = lean_array_push(x_132, x_131);
x_134 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__16;
x_135 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_135, 0, x_134);
lean_ctor_set(x_135, 1, x_133);
x_136 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__25;
x_137 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_137, 0, x_16);
lean_ctor_set(x_137, 1, x_136);
x_138 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___closed__4;
x_139 = lean_array_push(x_138, x_137);
x_140 = lean_array_push(x_139, x_4);
x_141 = lean_array_push(x_140, x_102);
x_142 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__24;
x_143 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_143, 0, x_142);
lean_ctor_set(x_143, 1, x_141);
x_144 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__30;
x_145 = lean_array_push(x_144, x_109);
x_146 = lean_array_push(x_145, x_115);
x_147 = lean_array_push(x_146, x_135);
x_148 = lean_array_push(x_147, x_143);
x_149 = lean_array_push(x_148, x_102);
x_150 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__12;
x_151 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_151, 0, x_150);
lean_ctor_set(x_151, 1, x_149);
x_152 = lean_array_push(x_111, x_107);
x_153 = lean_array_push(x_152, x_151);
x_154 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__4;
x_155 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_155, 0, x_154);
lean_ctor_set(x_155, 1, x_153);
x_156 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_156, 0, x_155);
lean_ctor_set(x_156, 1, x_90);
return x_156;
}
}
else
{
lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163;
x_155 = lean_ctor_get(x_1, 0);
lean_inc(x_155);
lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165;
x_157 = lean_ctor_get(x_1, 0);
lean_inc(x_157);
lean_dec(x_1);
lean_inc(x_10);
x_156 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_10, x_11, x_12);
x_157 = lean_ctor_get(x_156, 0);
lean_inc(x_157);
x_158 = lean_ctor_get(x_156, 1);
lean_inc(x_158);
lean_dec(x_156);
x_159 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_158);
lean_dec(x_10);
x_160 = lean_ctor_get(x_159, 0);
x_158 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_10, x_11, x_12);
x_159 = lean_ctor_get(x_158, 0);
lean_inc(x_159);
x_160 = lean_ctor_get(x_158, 1);
lean_inc(x_160);
x_161 = lean_ctor_get(x_159, 1);
lean_inc(x_161);
lean_dec(x_159);
x_162 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_161);
x_163 = !lean_is_exclusive(x_162);
if (x_163 == 0)
lean_dec(x_158);
x_161 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_160);
lean_dec(x_10);
x_162 = lean_ctor_get(x_161, 0);
lean_inc(x_162);
x_163 = lean_ctor_get(x_161, 1);
lean_inc(x_163);
lean_dec(x_161);
x_164 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_163);
x_165 = !lean_is_exclusive(x_164);
if (x_165 == 0)
{
lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235;
x_164 = lean_ctor_get(x_162, 0);
x_165 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_157);
x_166 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_166, 0, x_157);
lean_ctor_set(x_166, 1, x_165);
x_167 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__18;
x_168 = lean_array_push(x_167, x_166);
x_169 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__8;
x_170 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_170, 0, x_169);
lean_ctor_set(x_170, 1, x_168);
x_171 = lean_array_push(x_167, x_170);
x_172 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__13;
x_173 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_173, 0, x_172);
lean_ctor_set(x_173, 1, x_171);
x_174 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__26;
lean_inc(x_157);
x_175 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_175, 0, x_157);
lean_ctor_set(x_175, 1, x_174);
x_176 = lean_array_push(x_167, x_175);
x_177 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__27;
x_178 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_178, 0, x_177);
lean_ctor_set(x_178, 1, x_176);
x_179 = lean_array_push(x_167, x_178);
lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238;
x_166 = lean_ctor_get(x_164, 0);
x_167 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_159);
x_168 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_168, 0, x_159);
lean_ctor_set(x_168, 1, x_167);
x_169 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__18;
x_170 = lean_array_push(x_169, x_168);
x_171 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__8;
x_172 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_172, 0, x_171);
lean_ctor_set(x_172, 1, x_170);
x_173 = lean_array_push(x_169, x_172);
x_174 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__13;
x_175 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_175, 0, x_174);
lean_ctor_set(x_175, 1, x_173);
x_176 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__26;
lean_inc(x_159);
x_177 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_177, 0, x_159);
lean_ctor_set(x_177, 1, x_176);
x_178 = lean_array_push(x_169, x_177);
x_179 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__27;
x_180 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_180, 0, x_172);
lean_ctor_set(x_180, 1, x_179);
x_181 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__10;
x_182 = lean_array_push(x_181, x_173);
x_183 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__28;
x_184 = lean_array_push(x_182, x_183);
x_185 = lean_array_push(x_184, x_183);
x_186 = lean_array_push(x_185, x_180);
x_187 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__6;
x_188 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_188, 0, x_187);
lean_ctor_set(x_188, 1, x_186);
x_189 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__11;
lean_inc(x_157);
x_190 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_190, 0, x_157);
lean_ctor_set(x_190, 1, x_189);
x_191 = lean_mk_syntax_ident(x_3);
x_192 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__26;
x_193 = lean_array_push(x_192, x_191);
x_194 = lean_array_push(x_193, x_183);
x_195 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__14;
x_196 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_196, 0, x_195);
lean_ctor_set(x_196, 1, x_194);
x_197 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__27;
x_198 = l_Array_append___rarg(x_197, x_155);
x_199 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_199, 0, x_172);
lean_ctor_set(x_199, 1, x_198);
x_200 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__19;
lean_inc(x_157);
x_201 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_201, 0, x_157);
lean_ctor_set(x_180, 0, x_179);
lean_ctor_set(x_180, 1, x_178);
x_181 = lean_array_push(x_169, x_180);
x_182 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_182, 0, x_174);
lean_ctor_set(x_182, 1, x_181);
x_183 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__10;
x_184 = lean_array_push(x_183, x_175);
x_185 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__28;
x_186 = lean_array_push(x_184, x_185);
x_187 = lean_array_push(x_186, x_185);
x_188 = lean_array_push(x_187, x_182);
x_189 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__6;
x_190 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_190, 0, x_189);
lean_ctor_set(x_190, 1, x_188);
x_191 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__11;
lean_inc(x_159);
x_192 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_192, 0, x_159);
lean_ctor_set(x_192, 1, x_191);
x_193 = lean_mk_syntax_ident(x_3);
x_194 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__26;
x_195 = lean_array_push(x_194, x_193);
x_196 = lean_array_push(x_195, x_185);
x_197 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__14;
x_198 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_198, 0, x_197);
lean_ctor_set(x_198, 1, x_196);
x_199 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__27;
x_200 = l_Array_append___rarg(x_199, x_157);
x_201 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_201, 0, x_174);
lean_ctor_set(x_201, 1, x_200);
x_202 = l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2___closed__5;
x_203 = l_Lean_addMacroScope(x_164, x_202, x_160);
x_204 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__20;
x_205 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__22;
lean_inc(x_157);
x_206 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_206, 0, x_157);
lean_ctor_set(x_206, 1, x_204);
lean_ctor_set(x_206, 2, x_203);
lean_ctor_set(x_206, 3, x_205);
x_207 = lean_array_push(x_192, x_201);
x_208 = lean_array_push(x_207, x_206);
x_209 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__18;
x_210 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_210, 0, x_209);
lean_ctor_set(x_210, 1, x_208);
x_211 = lean_array_push(x_167, x_210);
x_202 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__19;
lean_inc(x_159);
x_203 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_203, 0, x_159);
lean_ctor_set(x_203, 1, x_202);
x_204 = l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2___closed__5;
x_205 = l_Lean_addMacroScope(x_166, x_204, x_162);
x_206 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__20;
x_207 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__22;
lean_inc(x_159);
x_208 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_208, 0, x_159);
lean_ctor_set(x_208, 1, x_206);
lean_ctor_set(x_208, 2, x_205);
lean_ctor_set(x_208, 3, x_207);
x_209 = lean_array_push(x_194, x_203);
x_210 = lean_array_push(x_209, x_208);
x_211 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__18;
x_212 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_212, 0, x_172);
lean_ctor_set(x_212, 1, x_211);
x_213 = lean_array_push(x_192, x_199);
x_214 = lean_array_push(x_213, x_212);
x_215 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__16;
x_216 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_216, 0, x_215);
lean_ctor_set(x_216, 1, x_214);
x_217 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__25;
x_218 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_218, 0, x_157);
lean_ctor_set(x_218, 1, x_217);
x_219 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___closed__4;
x_220 = lean_array_push(x_219, x_218);
x_221 = lean_array_push(x_220, x_4);
x_222 = lean_array_push(x_221, x_183);
x_223 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__24;
x_224 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_224, 0, x_223);
lean_ctor_set(x_224, 1, x_222);
x_225 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__54;
x_226 = lean_array_push(x_225, x_190);
x_227 = lean_array_push(x_226, x_196);
x_228 = lean_array_push(x_227, x_216);
x_229 = lean_array_push(x_228, x_224);
x_230 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__12;
x_231 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_231, 0, x_230);
lean_ctor_set(x_231, 1, x_229);
x_232 = lean_array_push(x_192, x_188);
x_233 = lean_array_push(x_232, x_231);
x_234 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__4;
x_235 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_235, 0, x_234);
lean_ctor_set(x_235, 1, x_233);
lean_ctor_set(x_162, 0, x_235);
return x_162;
lean_ctor_set(x_212, 0, x_211);
lean_ctor_set(x_212, 1, x_210);
x_213 = lean_array_push(x_169, x_212);
x_214 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_214, 0, x_174);
lean_ctor_set(x_214, 1, x_213);
x_215 = lean_array_push(x_194, x_201);
x_216 = lean_array_push(x_215, x_214);
x_217 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__16;
x_218 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_218, 0, x_217);
lean_ctor_set(x_218, 1, x_216);
x_219 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__25;
x_220 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_220, 0, x_159);
lean_ctor_set(x_220, 1, x_219);
x_221 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___closed__4;
x_222 = lean_array_push(x_221, x_220);
x_223 = lean_array_push(x_222, x_4);
x_224 = lean_array_push(x_223, x_185);
x_225 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__24;
x_226 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_226, 0, x_225);
lean_ctor_set(x_226, 1, x_224);
x_227 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__30;
x_228 = lean_array_push(x_227, x_192);
x_229 = lean_array_push(x_228, x_198);
x_230 = lean_array_push(x_229, x_218);
x_231 = lean_array_push(x_230, x_226);
x_232 = lean_array_push(x_231, x_185);
x_233 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__12;
x_234 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_234, 0, x_233);
lean_ctor_set(x_234, 1, x_232);
x_235 = lean_array_push(x_194, x_190);
x_236 = lean_array_push(x_235, x_234);
x_237 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__4;
x_238 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_238, 0, x_237);
lean_ctor_set(x_238, 1, x_236);
lean_ctor_set(x_164, 0, x_238);
return x_164;
}
else
{
lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309;
x_236 = lean_ctor_get(x_162, 0);
x_237 = lean_ctor_get(x_162, 1);
lean_inc(x_237);
lean_inc(x_236);
lean_dec(x_162);
x_238 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_157);
x_239 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_239, 0, x_157);
lean_ctor_set(x_239, 1, x_238);
x_240 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__18;
x_241 = lean_array_push(x_240, x_239);
x_242 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__8;
x_243 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_243, 0, x_242);
lean_ctor_set(x_243, 1, x_241);
x_244 = lean_array_push(x_240, x_243);
x_245 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__13;
lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313;
x_239 = lean_ctor_get(x_164, 0);
x_240 = lean_ctor_get(x_164, 1);
lean_inc(x_240);
lean_inc(x_239);
lean_dec(x_164);
x_241 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__7;
lean_inc(x_159);
x_242 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_242, 0, x_159);
lean_ctor_set(x_242, 1, x_241);
x_243 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__18;
x_244 = lean_array_push(x_243, x_242);
x_245 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__8;
x_246 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_246, 0, x_245);
lean_ctor_set(x_246, 1, x_244);
x_247 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__26;
lean_inc(x_157);
x_248 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_248, 0, x_157);
lean_ctor_set(x_248, 1, x_247);
x_249 = lean_array_push(x_240, x_248);
x_250 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__27;
x_251 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_251, 0, x_250);
lean_ctor_set(x_251, 1, x_249);
x_252 = lean_array_push(x_240, x_251);
x_253 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_253, 0, x_245);
lean_ctor_set(x_253, 1, x_252);
x_254 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__10;
x_255 = lean_array_push(x_254, x_246);
x_256 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__28;
x_257 = lean_array_push(x_255, x_256);
x_258 = lean_array_push(x_257, x_256);
x_259 = lean_array_push(x_258, x_253);
x_260 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__6;
x_261 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_261, 0, x_260);
lean_ctor_set(x_261, 1, x_259);
x_262 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__11;
lean_inc(x_157);
x_263 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_263, 0, x_157);
lean_ctor_set(x_263, 1, x_262);
x_264 = lean_mk_syntax_ident(x_3);
x_265 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__26;
x_266 = lean_array_push(x_265, x_264);
x_267 = lean_array_push(x_266, x_256);
x_268 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__14;
x_269 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_269, 0, x_268);
lean_ctor_set(x_269, 1, x_267);
x_270 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__27;
x_271 = l_Array_append___rarg(x_270, x_155);
x_247 = lean_array_push(x_243, x_246);
x_248 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__13;
x_249 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_249, 0, x_248);
lean_ctor_set(x_249, 1, x_247);
x_250 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__26;
lean_inc(x_159);
x_251 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_251, 0, x_159);
lean_ctor_set(x_251, 1, x_250);
x_252 = lean_array_push(x_243, x_251);
x_253 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__27;
x_254 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_254, 0, x_253);
lean_ctor_set(x_254, 1, x_252);
x_255 = lean_array_push(x_243, x_254);
x_256 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_256, 0, x_248);
lean_ctor_set(x_256, 1, x_255);
x_257 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__10;
x_258 = lean_array_push(x_257, x_249);
x_259 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__28;
x_260 = lean_array_push(x_258, x_259);
x_261 = lean_array_push(x_260, x_259);
x_262 = lean_array_push(x_261, x_256);
x_263 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__6;
x_264 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_264, 0, x_263);
lean_ctor_set(x_264, 1, x_262);
x_265 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__11;
lean_inc(x_159);
x_266 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_266, 0, x_159);
lean_ctor_set(x_266, 1, x_265);
x_267 = lean_mk_syntax_ident(x_3);
x_268 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__26;
x_269 = lean_array_push(x_268, x_267);
x_270 = lean_array_push(x_269, x_259);
x_271 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__14;
x_272 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_272, 0, x_245);
lean_ctor_set(x_272, 1, x_271);
x_273 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__19;
lean_inc(x_157);
x_274 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_274, 0, x_157);
lean_ctor_set(x_274, 1, x_273);
x_275 = l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2___closed__5;
x_276 = l_Lean_addMacroScope(x_236, x_275, x_160);
x_277 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__20;
x_278 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__22;
lean_inc(x_157);
x_279 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_279, 0, x_157);
lean_ctor_set(x_279, 1, x_277);
lean_ctor_set(x_279, 2, x_276);
lean_ctor_set(x_279, 3, x_278);
x_280 = lean_array_push(x_265, x_274);
x_281 = lean_array_push(x_280, x_279);
x_282 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__18;
x_283 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_283, 0, x_282);
lean_ctor_set(x_283, 1, x_281);
x_284 = lean_array_push(x_240, x_283);
x_285 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_285, 0, x_245);
lean_ctor_set(x_285, 1, x_284);
x_286 = lean_array_push(x_265, x_272);
x_287 = lean_array_push(x_286, x_285);
x_288 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__16;
x_289 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_289, 0, x_288);
lean_ctor_set(x_289, 1, x_287);
x_290 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__25;
x_291 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_291, 0, x_157);
lean_ctor_set(x_291, 1, x_290);
x_292 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___closed__4;
x_293 = lean_array_push(x_292, x_291);
x_294 = lean_array_push(x_293, x_4);
x_295 = lean_array_push(x_294, x_256);
x_296 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__24;
x_297 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_297, 0, x_296);
lean_ctor_set(x_297, 1, x_295);
x_298 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__54;
x_299 = lean_array_push(x_298, x_263);
x_300 = lean_array_push(x_299, x_269);
x_301 = lean_array_push(x_300, x_289);
x_302 = lean_array_push(x_301, x_297);
x_303 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__12;
x_304 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_304, 0, x_303);
lean_ctor_set(x_304, 1, x_302);
x_305 = lean_array_push(x_265, x_261);
x_306 = lean_array_push(x_305, x_304);
x_307 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__4;
lean_ctor_set(x_272, 0, x_271);
lean_ctor_set(x_272, 1, x_270);
x_273 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__27;
x_274 = l_Array_append___rarg(x_273, x_157);
x_275 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_275, 0, x_248);
lean_ctor_set(x_275, 1, x_274);
x_276 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__19;
lean_inc(x_159);
x_277 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_277, 0, x_159);
lean_ctor_set(x_277, 1, x_276);
x_278 = l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2___closed__5;
x_279 = l_Lean_addMacroScope(x_239, x_278, x_162);
x_280 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__20;
x_281 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__22;
lean_inc(x_159);
x_282 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_282, 0, x_159);
lean_ctor_set(x_282, 1, x_280);
lean_ctor_set(x_282, 2, x_279);
lean_ctor_set(x_282, 3, x_281);
x_283 = lean_array_push(x_268, x_277);
x_284 = lean_array_push(x_283, x_282);
x_285 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__18;
x_286 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_286, 0, x_285);
lean_ctor_set(x_286, 1, x_284);
x_287 = lean_array_push(x_243, x_286);
x_288 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_288, 0, x_248);
lean_ctor_set(x_288, 1, x_287);
x_289 = lean_array_push(x_268, x_275);
x_290 = lean_array_push(x_289, x_288);
x_291 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__16;
x_292 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_292, 0, x_291);
lean_ctor_set(x_292, 1, x_290);
x_293 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__25;
x_294 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_294, 0, x_159);
lean_ctor_set(x_294, 1, x_293);
x_295 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___closed__4;
x_296 = lean_array_push(x_295, x_294);
x_297 = lean_array_push(x_296, x_4);
x_298 = lean_array_push(x_297, x_259);
x_299 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__24;
x_300 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_300, 0, x_299);
lean_ctor_set(x_300, 1, x_298);
x_301 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__30;
x_302 = lean_array_push(x_301, x_266);
x_303 = lean_array_push(x_302, x_272);
x_304 = lean_array_push(x_303, x_292);
x_305 = lean_array_push(x_304, x_300);
x_306 = lean_array_push(x_305, x_259);
x_307 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__12;
x_308 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_308, 0, x_307);
lean_ctor_set(x_308, 1, x_306);
x_309 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_309, 0, x_308);
lean_ctor_set(x_309, 1, x_237);
return x_309;
x_309 = lean_array_push(x_268, x_264);
x_310 = lean_array_push(x_309, x_308);
x_311 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__4;
x_312 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_312, 0, x_311);
lean_ctor_set(x_312, 1, x_310);
x_313 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_313, 0, x_312);
lean_ctor_set(x_313, 1, x_240);
return x_313;
}
}
}
@ -7688,7 +7692,7 @@ lean_dec(x_1);
return x_9;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2753____closed__1() {
static lean_object* _init_l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1() {
_start:
{
lean_object* x_1;
@ -7696,12 +7700,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_Repr_mkReprInstanceHandler
return x_1;
}
}
lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2753_(lean_object* x_1) {
lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_2 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__2;
x_3 = l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2753____closed__1;
x_3 = l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1;
x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1);
if (lean_obj_tag(x_4) == 0)
{
@ -8148,9 +8152,9 @@ l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmd
lean_mark_persistent(l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__8);
l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__9 = _init_l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__9();
lean_mark_persistent(l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__9);
l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2753____closed__1 = _init_l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2753____closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2753____closed__1);
res = l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2753_(lean_io_mk_world());
l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1 = _init_l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1);
res = l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763_(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

View file

@ -89,12 +89,12 @@ static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__24;
static lean_object* l_Lean_Elab_Command_expandMacro___closed__7;
lean_object* l_Lean_Syntax_getArgs(lean_object*);
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(size_t, size_t, lean_object*);
lean_object* l_Lean_Elab_Command_expandMacro___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__10;
static lean_object* l_Lean_Elab_Command_expandMacro___lambda__6___closed__1;
static lean_object* l_Lean_Elab_Command_expandMacro___lambda__6___closed__2;
static lean_object* l_Lean_Elab_Command_expandMacro___closed__10;
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(size_t, size_t, lean_object*);
static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__15;
static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__18;
lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1;
@ -644,7 +644,7 @@ x_206 = lean_array_get_size(x_8);
x_207 = lean_usize_of_nat(x_206);
lean_dec(x_206);
x_208 = x_8;
x_209 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_207, x_9, x_208);
x_209 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_207, x_9, x_208);
x_210 = x_209;
x_211 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__4;
x_212 = l_Array_append___rarg(x_211, x_210);

File diff suppressed because it is too large Load diff

View file

@ -633,10 +633,10 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__3;
static lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__5;
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices___boxed__const__1;
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_match__1___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Term_precheckMatch___closed__1;
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(size_t, size_t, lean_object*);
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedTypeAndDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__3;
static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9;
@ -645,13 +645,13 @@ lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_
lean_object* lean_panic_fn(lean_object*, lean_object*);
lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__4;
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_LocalDecl_hasExprMVar(lean_object*);
lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__1___rarg(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__8;
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(size_t, size_t, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___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* l_Lean_LocalContext_addDecl(lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -5807,7 +5807,7 @@ lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_3);
x_15 = l_Lean_Elab_Term_precheckMatch___lambda__3___closed__1;
x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(x_2, x_15);
x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(x_2, x_15);
if (lean_obj_tag(x_16) == 0)
{
lean_object* x_17;
@ -5861,7 +5861,7 @@ lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_3);
x_29 = l_Lean_Elab_Term_precheckMatch___lambda__3___closed__1;
x_30 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(x_2, x_29);
x_30 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(x_2, x_29);
if (lean_obj_tag(x_30) == 0)
{
lean_object* x_31;
@ -5916,7 +5916,7 @@ x_45 = lean_ctor_get(x_44, 1);
lean_inc(x_45);
lean_dec(x_44);
x_46 = l_Lean_Elab_Term_precheckMatch___lambda__3___closed__1;
x_47 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(x_45, x_46);
x_47 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(x_45, x_46);
lean_dec(x_45);
if (lean_obj_tag(x_47) == 0)
{
@ -6107,7 +6107,7 @@ block_130:
{
lean_object* x_25; lean_object* x_26;
x_25 = l_Lean_Elab_Term_precheckMatch___closed__2;
x_26 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(x_24, x_25);
x_26 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(x_24, x_25);
lean_dec(x_24);
if (lean_obj_tag(x_26) == 0)
{
@ -33129,7 +33129,7 @@ x_15 = lean_usize_of_nat(x_14);
lean_dec(x_14);
x_16 = 0;
x_17 = x_13;
x_18 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_15, x_16, x_17);
x_18 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_15, x_16, x_17);
x_19 = x_18;
lean_inc(x_1);
x_20 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f(x_1);

View file

@ -614,9 +614,9 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0_
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun(lean_object*, lean_object*, lean_object*);
static lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__4___closed__4;
lean_object* l_Lean_Syntax_getKind(lean_object*);
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(lean_object*, lean_object*);
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__7;
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(size_t, size_t, lean_object*);
lean_object* l_Array_erase___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__1(lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_panic_fn(lean_object*, lean_object*);
@ -624,6 +624,7 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0_
static lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___spec__1___closed__3;
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_processDefDeriving___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(lean_object*, lean_object*);
lean_object* l_List_mapTRAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___spec__2(lean_object*, lean_object*);
lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage(lean_object*);
@ -635,7 +636,6 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToT
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_Closure_mkForall(lean_object*, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(size_t, size_t, lean_object*);
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_isModified___boxed(lean_object*);
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___closed__1;
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf_match__1(lean_object*);
@ -6803,7 +6803,7 @@ x_20 = lean_name_mk_string(x_1, x_19);
x_21 = lean_usize_of_nat(x_9);
lean_dec(x_9);
x_22 = x_3;
x_23 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_21, x_4, x_22);
x_23 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_21, x_4, x_22);
x_24 = x_23;
x_25 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1;
x_26 = l_Array_append___rarg(x_25, x_24);
@ -7171,7 +7171,7 @@ x_34 = l_Lean_Syntax_getArg(x_22, x_33);
x_35 = l_Lean_Syntax_getArgs(x_34);
lean_dec(x_34);
x_36 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___closed__3;
x_37 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(x_35, x_36);
x_37 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(x_35, x_36);
lean_dec(x_35);
if (lean_obj_tag(x_37) == 0)
{
@ -7709,7 +7709,7 @@ lean_dec(x_1);
x_10 = l_Lean_Syntax_getArgs(x_9);
lean_dec(x_9);
x_11 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__3;
x_12 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__1(x_10, x_11);
x_12 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(x_10, x_11);
lean_dec(x_10);
if (lean_obj_tag(x_12) == 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

@ -79,6 +79,7 @@ lean_object* l_Lean_hasConst___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_List_foldlM___at___private_Lean_MonadEnv_0__Lean_checkUnsupported___spec__2___rarg___boxed__const__1;
lean_object* l_Lean_addAndCompile___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__10;
static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__32;
extern lean_object* l_Lean_levelZero;
lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l_Lean_getConstInfo___rarg___lambda__1___closed__3;
@ -131,6 +132,7 @@ lean_object* l_Lean_matchConstStruct___rarg___lambda__2(lean_object*, lean_objec
lean_object* l_Lean_matchConst(lean_object*, lean_object*);
lean_object* lean_eval_const(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Environment_contains(lean_object*, lean_object*);
static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__31;
lean_object* l_Lean_matchConstInduct(lean_object*, lean_object*);
static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__26;
lean_object* l_List_foldlM___at___private_Lean_MonadEnv_0__Lean_checkUnsupported___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*);
@ -191,6 +193,7 @@ extern lean_object* l_Lean_instInhabitedName;
static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__8;
lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*);
static lean_object* l_Lean_getConstInfoCtor___rarg___lambda__1___closed__2;
static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__33;
static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__13;
lean_object* l_Lean_isInductivePredicate_visit___boxed(lean_object*);
lean_object* l_Lean_Declaration_foldExprM___at___private_Lean_MonadEnv_0__Lean_checkUnsupported___spec__1___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
@ -2338,19 +2341,19 @@ return x_3;
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__9;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__3;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
lean_object* x_1;
x_1 = lean_mk_string("ndrec");
return x_1;
}
}
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__11() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("recOn");
return x_1;
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__9;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__10;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__12() {
@ -2358,7 +2361,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__9;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__11;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__3;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
@ -2367,7 +2370,7 @@ static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors__
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("casesOn");
x_1 = lean_mk_string("recOn");
return x_1;
}
}
@ -2384,19 +2387,17 @@ return x_3;
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__6;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__13;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
lean_object* x_1;
x_1 = lean_mk_string("casesOn");
return x_1;
}
}
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__2;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__13;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__9;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__15;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
@ -2404,17 +2405,19 @@ return x_3;
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__17() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("And");
return x_1;
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__6;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__15;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__17;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__2;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__15;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
@ -2422,19 +2425,17 @@ return x_3;
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__18;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__3;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
lean_object* x_1;
x_1 = lean_mk_string("And");
return x_1;
}
}
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__18;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__13;
x_1 = lean_box(0);
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__19;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
@ -2442,30 +2443,30 @@ return x_3;
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = lean_unsigned_to_nat(9u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__20;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__3;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__21;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__4;
x_3 = lean_array_push(x_1, x_2);
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__20;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__15;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__22;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__7;
x_3 = lean_array_push(x_1, x_2);
return x_3;
lean_object* x_1; lean_object* x_2;
x_1 = lean_unsigned_to_nat(10u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__24() {
@ -2473,7 +2474,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__23;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__10;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__4;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
@ -2483,7 +2484,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__24;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__12;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__7;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
@ -2493,7 +2494,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__25;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__14;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__11;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
@ -2503,7 +2504,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__26;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__15;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__12;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
@ -2513,7 +2514,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__27;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__16;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__14;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
@ -2523,7 +2524,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__28;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__19;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__16;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
@ -2533,7 +2534,37 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__29;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__20;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__17;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__31() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__30;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__18;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__31;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__21;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__33() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__32;
x_2 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__22;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
@ -2542,7 +2573,7 @@ static lean_object* _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors()
_start:
{
lean_object* x_1;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__30;
x_1 = l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__33;
return x_1;
}
}
@ -4328,6 +4359,12 @@ l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__29 = _init_l___pr
lean_mark_persistent(l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__29);
l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__30 = _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__30();
lean_mark_persistent(l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__30);
l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__31 = _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__31();
lean_mark_persistent(l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__31);
l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__32 = _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__32();
lean_mark_persistent(l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__32);
l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__33 = _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__33();
lean_mark_persistent(l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__33);
l___private_Lean_MonadEnv_0__Lean_supportedRecursors = _init_l___private_Lean_MonadEnv_0__Lean_supportedRecursors();
lean_mark_persistent(l___private_Lean_MonadEnv_0__Lean_supportedRecursors);
l_List_foldlM___at___private_Lean_MonadEnv_0__Lean_checkUnsupported___spec__2___rarg___lambda__2___closed__1 = _init_l_List_foldlM___at___private_Lean_MonadEnv_0__Lean_checkUnsupported___spec__2___rarg___lambda__2___closed__1();

View file

@ -784,6 +784,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4;
static lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__3;
lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__2(lean_object*);
uint8_t l_Lean_Name_isAnonymous(lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(size_t, size_t, lean_object*);
static lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___lambda__3___closed__8;
static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1;
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -803,7 +804,6 @@ lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNameMkNum___closed__1;
uint8_t l_Lean_getPPMotivesAll(lean_object*);
lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(size_t, size_t, lean_object*);
static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__6___closed__3;
static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__3___closed__5;
lean_object* l_Lean_getPPMatch___boxed(lean_object*);
@ -4184,7 +4184,7 @@ x_52 = lean_array_get_size(x_51);
x_53 = lean_usize_of_nat(x_52);
lean_dec(x_52);
x_54 = x_51;
x_55 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6588____spec__3(x_53, x_48, x_54);
x_55 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__3(x_53, x_48, x_54);
x_56 = x_55;
x_57 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__3___closed__10;
x_58 = l_Lean_mkSepArray(x_56, x_57);

View file

@ -288,6 +288,7 @@ static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncod
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__5;
lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4088____closed__1;
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__18;
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__2___closed__1;
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__15;
@ -351,7 +352,6 @@ static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncod
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__236;
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__86;
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__178;
static lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4078____closed__1;
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__12;
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__173;
static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__5___closed__12;
@ -498,7 +498,7 @@ static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncod
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__2___closed__2;
lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__194;
lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4078_(lean_object*);
lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4088_(lean_object*);
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__37;
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfConstant___spec__1(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_isStructure(lean_object*, lean_object*);
@ -3414,7 +3414,7 @@ x_193 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_30, x_1);
x_194 = lean_array_push(x_19, x_192);
lean_inc(x_187);
x_195 = lean_array_push(x_48, x_187);
x_196 = lean_array_push(x_59, x_94);
x_196 = lean_array_push(x_155, x_94);
lean_inc(x_196);
x_197 = lean_array_push(x_196, x_102);
x_198 = lean_array_push(x_197, x_185);
@ -3992,37 +3992,37 @@ x_499 = lean_array_push(x_498, x_23);
x_500 = lean_array_push(x_499, x_71);
if (lean_obj_tag(x_193) == 0)
{
lean_object* x_548;
x_548 = l___private_Init_Meta_0__Lean_quoteNameMk(x_1);
x_501 = x_548;
goto block_547;
lean_object* x_550;
x_550 = l___private_Init_Meta_0__Lean_quoteNameMk(x_1);
x_501 = x_550;
goto block_549;
}
else
{
lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559;
lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561;
lean_dec(x_1);
x_549 = lean_ctor_get(x_193, 0);
lean_inc(x_549);
x_551 = lean_ctor_get(x_193, 0);
lean_inc(x_551);
lean_dec(x_193);
x_550 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__256;
x_551 = l_String_intercalate(x_550, x_549);
x_552 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__257;
x_553 = lean_string_append(x_552, x_551);
lean_dec(x_551);
x_554 = l_Lean_nameLitKind;
x_555 = lean_box(2);
x_556 = l_Lean_Syntax_mkLit(x_554, x_553, x_555);
x_557 = lean_array_push(x_33, x_556);
x_558 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__255;
x_559 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_559, 0, x_558);
lean_ctor_set(x_559, 1, x_557);
x_501 = x_559;
goto block_547;
x_552 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__256;
x_553 = l_String_intercalate(x_552, x_551);
x_554 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__257;
x_555 = lean_string_append(x_554, x_553);
lean_dec(x_553);
x_556 = l_Lean_nameLitKind;
x_557 = lean_box(2);
x_558 = l_Lean_Syntax_mkLit(x_556, x_555, x_557);
x_559 = lean_array_push(x_33, x_558);
x_560 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__255;
x_561 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_561, 0, x_560);
lean_ctor_set(x_561, 1, x_559);
x_501 = x_561;
goto block_549;
}
block_547:
block_549:
{
lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534;
lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536;
lean_inc(x_501);
x_502 = lean_array_push(x_19, x_501);
lean_inc(x_138);
@ -4041,95 +4041,97 @@ x_509 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_509, 0, x_272);
lean_ctor_set(x_509, 1, x_508);
x_510 = lean_array_push(x_198, x_509);
x_511 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__48;
x_512 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_512, 0, x_511);
lean_ctor_set(x_512, 1, x_510);
x_511 = lean_array_push(x_510, x_42);
x_512 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__48;
x_513 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_513, 0, x_512);
lean_ctor_set(x_513, 1, x_511);
lean_inc(x_199);
x_513 = lean_array_push(x_199, x_512);
x_514 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_514, 0, x_284);
lean_ctor_set(x_514, 1, x_513);
x_515 = lean_array_push(x_338, x_501);
x_516 = lean_array_push(x_515, x_138);
x_517 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_517, 0, x_35);
lean_ctor_set(x_517, 1, x_516);
x_518 = lean_array_push(x_339, x_517);
x_519 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_519, 0, x_112);
lean_ctor_set(x_519, 1, x_518);
x_520 = lean_array_push(x_195, x_519);
x_521 = lean_array_push(x_520, x_42);
x_522 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_522, 0, x_272);
lean_ctor_set(x_522, 1, x_521);
x_523 = lean_array_push(x_341, x_522);
x_524 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_524, 0, x_511);
lean_ctor_set(x_524, 1, x_523);
x_525 = lean_array_push(x_199, x_524);
x_514 = lean_array_push(x_199, x_513);
x_515 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_515, 0, x_284);
lean_ctor_set(x_515, 1, x_514);
x_516 = lean_array_push(x_338, x_501);
x_517 = lean_array_push(x_516, x_138);
x_518 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_518, 0, x_35);
lean_ctor_set(x_518, 1, x_517);
x_519 = lean_array_push(x_339, x_518);
x_520 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_520, 0, x_112);
lean_ctor_set(x_520, 1, x_519);
x_521 = lean_array_push(x_195, x_520);
x_522 = lean_array_push(x_521, x_42);
x_523 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_523, 0, x_272);
lean_ctor_set(x_523, 1, x_522);
x_524 = lean_array_push(x_341, x_523);
x_525 = lean_array_push(x_524, x_42);
x_526 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_526, 0, x_284);
lean_ctor_set(x_526, 0, x_512);
lean_ctor_set(x_526, 1, x_525);
x_527 = lean_array_push(x_500, x_514);
x_528 = lean_array_push(x_527, x_285);
x_529 = lean_array_push(x_528, x_526);
x_530 = lean_array_push(x_529, x_396);
x_531 = lean_array_push(x_530, x_491);
x_532 = lean_array_push(x_531, x_497);
x_533 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_533, 0, x_35);
lean_ctor_set(x_533, 1, x_532);
x_534 = l_Lean_Elab_Command_elabCommand(x_533, x_2, x_3, x_16);
if (lean_obj_tag(x_534) == 0)
x_527 = lean_array_push(x_199, x_526);
x_528 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_528, 0, x_284);
lean_ctor_set(x_528, 1, x_527);
x_529 = lean_array_push(x_500, x_515);
x_530 = lean_array_push(x_529, x_285);
x_531 = lean_array_push(x_530, x_528);
x_532 = lean_array_push(x_531, x_396);
x_533 = lean_array_push(x_532, x_491);
x_534 = lean_array_push(x_533, x_497);
x_535 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_535, 0, x_35);
lean_ctor_set(x_535, 1, x_534);
x_536 = l_Lean_Elab_Command_elabCommand(x_535, x_2, x_3, x_16);
if (lean_obj_tag(x_536) == 0)
{
uint8_t x_535;
x_535 = !lean_is_exclusive(x_534);
if (x_535 == 0)
uint8_t x_537;
x_537 = !lean_is_exclusive(x_536);
if (x_537 == 0)
{
lean_object* x_536; uint8_t x_537; lean_object* x_538;
x_536 = lean_ctor_get(x_534, 0);
lean_object* x_538; uint8_t x_539; lean_object* x_540;
x_538 = lean_ctor_get(x_536, 0);
lean_dec(x_538);
x_539 = 1;
x_540 = lean_box(x_539);
lean_ctor_set(x_536, 0, x_540);
return x_536;
}
else
{
lean_object* x_541; uint8_t x_542; lean_object* x_543; lean_object* x_544;
x_541 = lean_ctor_get(x_536, 1);
lean_inc(x_541);
lean_dec(x_536);
x_537 = 1;
x_538 = lean_box(x_537);
lean_ctor_set(x_534, 0, x_538);
return x_534;
}
else
{
lean_object* x_539; uint8_t x_540; lean_object* x_541; lean_object* x_542;
x_539 = lean_ctor_get(x_534, 1);
lean_inc(x_539);
lean_dec(x_534);
x_540 = 1;
x_541 = lean_box(x_540);
x_542 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_542, 0, x_541);
lean_ctor_set(x_542, 1, x_539);
return x_542;
x_542 = 1;
x_543 = lean_box(x_542);
x_544 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_544, 0, x_543);
lean_ctor_set(x_544, 1, x_541);
return x_544;
}
}
else
{
uint8_t x_543;
x_543 = !lean_is_exclusive(x_534);
if (x_543 == 0)
uint8_t x_545;
x_545 = !lean_is_exclusive(x_536);
if (x_545 == 0)
{
return x_534;
return x_536;
}
else
{
lean_object* x_544; lean_object* x_545; lean_object* x_546;
x_544 = lean_ctor_get(x_534, 0);
x_545 = lean_ctor_get(x_534, 1);
lean_inc(x_545);
lean_inc(x_544);
lean_dec(x_534);
x_546 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_546, 0, x_544);
lean_ctor_set(x_546, 1, x_545);
return x_546;
lean_object* x_546; lean_object* x_547; lean_object* x_548;
x_546 = lean_ctor_get(x_536, 0);
x_547 = lean_ctor_get(x_536, 1);
lean_inc(x_547);
lean_inc(x_546);
lean_dec(x_536);
x_548 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_548, 0, x_546);
lean_ctor_set(x_548, 1, x_547);
return x_548;
}
}
}
@ -8988,7 +8990,7 @@ lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4078____closed__1() {
static lean_object* _init_l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4088____closed__1() {
_start:
{
lean_object* x_1;
@ -8996,12 +8998,12 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Se
return x_1;
}
}
lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4078_(lean_object* x_1) {
lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4088_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__212;
x_3 = l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4078____closed__1;
x_3 = l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4088____closed__1;
x_4 = l_Lean_Elab_registerBuiltinDerivingHandlerWithArgs(x_2, x_3, x_1);
return x_4;
}
@ -9763,9 +9765,9 @@ l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveIn
lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstance___rarg___closed__1);
l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstance___rarg___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstance___rarg___closed__2();
lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstance___rarg___closed__2);
l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4078____closed__1 = _init_l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4078____closed__1();
lean_mark_persistent(l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4078____closed__1);
res = l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4078_(lean_io_mk_world());
l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4088____closed__1 = _init_l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4088____closed__1();
lean_mark_persistent(l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4088____closed__1);
res = l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_4088_(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));