Datasets:
Record 20 verified HPC batch manifests
Browse filesFiles changed (20)
- manifests/batches/mathlib/001019.jsonAdded
- manifests/batches/mathlib/001020.jsonAdded+1612
- manifests/batches/mathlib/001021.jsonAdded+1338
- manifests/batches/mathlib/001022.jsonAdded
- manifests/batches/mathlib/001023.jsonAdded
- manifests/batches/mathlib/001024.jsonAdded+847
- manifests/batches/mathlib/001025.jsonAdded
- manifests/batches/mathlib/001026.jsonAdded
- manifests/batches/mathlib/001027.jsonAdded+627
- manifests/batches/mathlib/001028.jsonAdded
- manifests/batches/numina/001778.jsonAdded+51
- manifests/batches/numina/001779.jsonAdded+44
- manifests/batches/numina/001780.jsonAdded+44
- manifests/batches/numina/001781.jsonAdded+51
- manifests/batches/numina/001782.jsonAdded+44
- manifests/batches/numina/001783.jsonAdded+52
- manifests/batches/numina/001784.jsonAdded+44
- manifests/batches/numina/001785.jsonAdded+69
- manifests/batches/numina/001786.jsonAdded+45
- manifests/batches/numina/001787.jsonAdded+44
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612{ "format": "leangpt-parquet-v2", "batch": "mathlib/001020", "batch_fingerprint": "450669c98d8041785ed661f28c991126f4411f8e3dbf457f21c58419685e9b95", "evidence": { "batch_fingerprint": "450669c98d8041785ed661f28c991126f4411f8e3dbf457f21c58419685e9b95", "contamination_matches": [], "failures": [ { "error": "theorem has no selected tactic transitions", "full_name": "Nat.count_le_iff_le_nth", "id": "Nat.count_le_iff_le_nth", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 407, 22 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.count_le_iff_le_nth", "start": [ 406, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.count_nth_of_infinite", "id": "Nat.count_nth_of_infinite", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 351, 35 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.count_nth_of_infinite", "start": [ 350, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.count_nth_of_lt_card_finite", "id": "Nat.count_nth_of_lt_card_finite", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 347, 25 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.count_nth_of_lt_card_finite", "start": [ 345, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.filter_range_nth_eq_insert_of_finite", "id": "Nat.filter_range_nth_eq_insert_of_finite", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 328, 42 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.filter_range_nth_eq_insert_of_finite", "start": [ 325, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.filter_range_nth_eq_insert_of_infinite", "id": "Nat.filter_range_nth_eq_insert_of_infinite", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 333, 52 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.filter_range_nth_eq_insert_of_infinite", "start": [ 331, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.gc_count_nth", "id": "Nat.gc_count_nth", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 403, 21 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.gc_count_nth", "start": [ 402, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.isLeast_nth", "id": "Nat.isLeast_nth", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 230, 101 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.isLeast_nth", "start": [ 226, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.isLeast_nth_of_infinite", "id": "Nat.isLeast_nth_of_infinite", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 240, 35 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.isLeast_nth_of_infinite", "start": [ 238, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.isLeast_nth_of_lt_card", "id": "Nat.isLeast_nth_of_lt_card", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 235, 26 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.isLeast_nth_of_lt_card", "start": [ 233, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.le_nth", "id": "Nat.le_nth", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 223, 42 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.le_nth", "start": [ 220, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.le_nth_count", "id": "Nat.le_nth_count", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 392, 31 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.le_nth_count", "start": [ 390, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.le_nth_count'", "id": "Nat.le_nth_count'", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 387, 69 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.le_nth_count'", "start": [ 386, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.le_of_nth_le_nth_of_lt_card", "id": "Nat.le_of_nth_le_nth_of_lt_card", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 100, 66 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.le_of_nth_le_nth_of_lt_card", "start": [ 98, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.lt_nth_iff_count_lt", "id": "Nat.lt_nth_iff_count_lt", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 411, 30 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.lt_nth_iff_count_lt", "start": [ 410, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.lt_of_nth_lt_nth_of_lt_card", "id": "Nat.lt_of_nth_lt_nth_of_lt_card", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 95, 66 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.lt_of_nth_lt_nth_of_lt_card", "start": [ 93, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_count", "id": "Nat.nth_count", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 361, 56 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_count", "start": [ 359, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_eq_getD_sort", "id": "Nat.nth_eq_getD_sort", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 68, 12 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_eq_getD_sort", "start": [ 66, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_eq_orderIsoOfNat", "id": "Nat.nth_eq_orderIsoOfNat", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 144, 42 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_eq_orderIsoOfNat", "start": [ 142, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_false", "id": "Nat.nth_false", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 430, 96 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_false", "start": [ 430, 9 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_injOn", "id": "Nat.nth_injOn", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 104, 30 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_injOn", "start": [ 103, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_injective", "id": "Nat.nth_injective", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 153, 32 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_injective", "start": [ 152, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_le_nth", "id": "Nat.nth_le_nth", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 165, 32 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_le_nth", "start": [ 164, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_le_nth'", "id": "Nat.nth_le_nth'", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 217, 26 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_le_nth'", "start": [ 214, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_le_nth_of_lt_card", "id": "Nat.nth_le_nth_of_lt_card", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 90, 56 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_le_nth_of_lt_card", "start": [ 88, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_lt_nth", "id": "Nat.nth_lt_nth", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 161, 32 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_lt_nth", "start": [ 160, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_mem", "id": "Nat.nth_mem", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 205, 28 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_mem", "start": [ 203, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_mem_of_infinite", "id": "Nat.nth_mem_of_infinite", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 176, 57 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_mem_of_infinite", "start": [ 175, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_mem_of_lt_card", "id": "Nat.nth_mem_of_lt_card", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 124, 63 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_mem_of_lt_card", "start": [ 122, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_monotone", "id": "Nat.nth_monotone", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 157, 31 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_monotone", "start": [ 156, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.nth_of_forall", "id": "Nat.nth_of_forall", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 417, 78 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_of_forall", "start": [ 416, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "no internal trace for tactic \"intro n' hn'\"", "full_name": "Nat.nth_of_forall_not", "id": "Nat.nth_of_forall_not", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 428, 46 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_of_forall_not", "start": [ 421, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"have : <a>setOf<\\/a> p \\u2286 <a>Finset.range<\\/a> n := by\\n intro n' hn'\\n contrapose! hp\\n exact \\u27e8n', by simpa using hp, Set.mem_setOf.mp hn'\\u27e9\"", "[{\"full_name\":\"setOf\",\"def_path\":\"Mathlib\\/Init\\/Set.lean\",\"def_pos\":[51,5],\"def_end_pos\":[51,10]},{\"full_name\":\"Finset.range\",\"def_path\":\"Mathlib\\/Data\\/Finset\\/Basic.lean\",\"def_pos\":[2925,5],\"def_end_pos\":[2925,10]}]" ], "state_after": "p : \u2115 \u2192 Prop\nn : \u2115\nhp : \u2200 n' \u2265 n, \u00acp n'\nthis : setOf p \u2286 \u2191(range n)\n\u22a2 nth p n = 0", "state_before": "p : \u2115 \u2192 Prop\nn : \u2115\nhp : \u2200 n' \u2265 n, \u00acp n'\n\u22a2 nth p n = 0", "tactic": "have : setOf p \u2286 Finset.range n := by\n intro n' hn'\n contrapose! hp\n exact \u27e8n', by simpa using hp, Set.mem_setOf.mp hn'\u27e9" }, { "annotated_tactic": [ "\"rw [<a>nth_of_card_le<\\/a> ((<a>finite_toSet<\\/a> _).<a>subset<\\/a> this)]\"", "[{\"full_name\":\"Nat.nth_of_card_le\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[62,9],\"def_end_pos\":[62,23]},{\"full_name\":\"Finset.finite_toSet\",\"def_path\":\"Mathlib\\/Data\\/Set\\/Finite.lean\",\"def_pos\":[550,9],\"def_end_pos\":[550,21]},{\"full_name\":\"Set.Finite.subset\",\"def_path\":\"Mathlib\\/Data\\/Set\\/Finite.lean\",\"def_pos\":[737,9],\"def_end_pos\":[737,22]}]" ], "state_after": "p : \u2115 \u2192 Prop\nn : \u2115\nhp : \u2200 n' \u2265 n, \u00acp n'\nthis : setOf p \u2286 \u2191(range n)\n\u22a2 \u22ef.toFinset.card \u2264 n", "state_before": "p : \u2115 \u2192 Prop\nn : \u2115\nhp : \u2200 n' \u2265 n, \u00acp n'\nthis : setOf p \u2286 \u2191(range n)\n\u22a2 nth p n = 0", "tactic": "rw [nth_of_card_le ((finite_toSet _).subset this)]" }, { "annotated_tactic": [ "\"intro n' hn'\"", "[]" ], "state_after": "p : \u2115 \u2192 Prop\nn : \u2115\nhp : \u2200 n' \u2265 n, \u00acp n'\nn' : \u2115\nhn' : n' \u2208 setOf p\n\u22a2 n' \u2208 \u2191(range n)", "state_before": "p : \u2115 \u2192 Prop\nn : \u2115\nhp : \u2200 n' \u2265 n, \u00acp n'\n\u22a2 setOf p \u2286 \u2191(range n)", "tactic": "intro n' hn'" }, { "annotated_tactic": [ "\"contrapose! hp\"", "[]" ], "state_after": "p : \u2115 \u2192 Prop\nn n' : \u2115\nhn' : n' \u2208 setOf p\nhp : n' \u2209 \u2191(range n)\n\u22a2 \u2203 n' \u2265 n, p n'", "state_before": "p : \u2115 \u2192 Prop\nn : \u2115\nhp : \u2200 n' \u2265 n, \u00acp n'\nn' : \u2115\nhn' : n' \u2208 setOf p\n\u22a2 n' \u2208 \u2191(range n)", "tactic": "contrapose! hp" }, { "annotated_tactic": [ "\"exact \\u27e8n', by simpa using hp, Set.mem_setOf.mp hn'\\u27e9\"", "[]" ], "state_after": "no goals", "state_before": "p : \u2115 \u2192 Prop\nn n' : \u2115\nhn' : n' \u2208 setOf p\nhp : n' \u2209 \u2191(range n)\n\u22a2 \u2203 n' \u2265 n, p n'", "tactic": "exact \u27e8n', by simpa using hp, Set.mem_setOf.mp hn'\u27e9" }, { "annotated_tactic": [ "\"simpa using hp\"", "[]" ], "state_after": "no goals", "state_before": "p : \u2115 \u2192 Prop\nn n' : \u2115\nhn' : n' \u2208 setOf p\nhp : n' \u2209 \u2191(range n)\n\u22a2 n' \u2265 n", "tactic": "simpa using hp" }, { "annotated_tactic": [ "\"refine (<a>Finset.card_le_card<\\/a> ?_).<a>trans_eq<\\/a> (<a>Finset.card_range<\\/a> n)\"", "[{\"full_name\":\"Finset.card_le_card\",\"def_path\":\"Mathlib\\/Data\\/Finset\\/Card.lean\",\"def_pos\":[64,9],\"def_end_pos\":[64,21]},{\"full_name\":\"LE.le.trans_eq\",\"def_path\":\"Mathlib\\/Order\\/Basic.lean\",\"def_pos\":[190,7],\"def_end_pos\":[190,21]},{\"full_name\":\"Finset.card_range\",\"def_path\":\"Mathlib\\/Data\\/Finset\\/Card.lean\",\"def_pos\":[206,9],\"def_end_pos\":[206,19]}]" ], "state_after": "p : \u2115 \u2192 Prop\nn : \u2115\nhp : \u2200 n' \u2265 n, \u00acp n'\nthis : setOf p \u2286 \u2191(range n)\n\u22a2 \u22ef.toFinset \u2286 range n", "state_before": "p : \u2115 \u2192 Prop\nn : \u2115\nhp : \u2200 n' \u2265 n, \u00acp n'\nthis : setOf p \u2286 \u2191(range n)\n\u22a2 \u22ef.toFinset.card \u2264 n", "tactic": "refine (Finset.card_le_card ?_).trans_eq (Finset.card_range n)" }, { "annotated_tactic": [ "\"exact Set.Finite.toFinset_subset.mpr this\"", "[]" ], "state_after": "no goals", "state_before": "p : \u2115 \u2192 Prop\nn : \u2115\nhp : \u2200 n' \u2265 n, \u00acp n'\nthis : setOf p \u2286 \u2191(range n)\n\u22a2 \u22ef.toFinset \u2286 range n", "tactic": "exact Set.Finite.toFinset_subset.mpr this" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.range_nth_of_finite", "id": "Nat.range_nth_of_finite", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 109, 59 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.range_nth_of_finite", "start": [ 107, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "no internal trace for tactic 'exact Nat.Subtype.coe_comp_ofNat_range'", "full_name": "Nat.range_nth_of_infinite", "id": "Nat.range_nth_of_infinite", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 172, 51 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.range_nth_of_infinite", "start": [ 168, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"rw [<a>nth_eq_orderIsoOfNat<\\/a> hf]\"", "[{\"full_name\":\"Nat.nth_eq_orderIsoOfNat\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[142,9],\"def_end_pos\":[142,29]}]" ], "state_after": "p : \u2115 \u2192 Prop\nhf : (setOf p).Infinite\n\u22a2 Set.range (Subtype.val \u2218 \u21d1(Subtype.orderIsoOfNat (setOf p))) = setOf p", "state_before": "p : \u2115 \u2192 Prop\nhf : (setOf p).Infinite\n\u22a2 Set.range (nth p) = setOf p", "tactic": "rw [nth_eq_orderIsoOfNat hf]" }, { "annotated_tactic": [ "\"haveI := hf.to_subtype\"", "[]" ], "state_after": "p : \u2115 \u2192 Prop\nhf : (setOf p).Infinite\nthis : Infinite \u2191(setOf p)\n\u22a2 Set.range (Subtype.val \u2218 \u21d1(Subtype.orderIsoOfNat (setOf p))) = setOf p", "state_before": "p : \u2115 \u2192 Prop\nhf : (setOf p).Infinite\n\u22a2 Set.range (Subtype.val \u2218 \u21d1(Subtype.orderIsoOfNat (setOf p))) = setOf p", "tactic": "haveI := hf.to_subtype" }, { "annotated_tactic": [ "\"classical exact <a>Nat.Subtype.coe_comp_ofNat_range<\\/a>\"", "[{\"full_name\":\"Nat.Subtype.coe_comp_ofNat_range\",\"def_path\":\"Mathlib\\/Logic\\/Denumerable.lean\",\"def_pos\":[311,9],\"def_end_pos\":[311,29]}]" ], "state_after": "no goals", "state_before": "p : \u2115 \u2192 Prop\nhf : (setOf p).Infinite\nthis : Infinite \u2191(setOf p)\n\u22a2 Set.range (Subtype.val \u2218 \u21d1(Subtype.orderIsoOfNat (setOf p))) = setOf p", "tactic": "classical exact Nat.Subtype.coe_comp_ofNat_range" }, { "annotated_tactic": [ "\"exact <a>Nat.Subtype.coe_comp_ofNat_range<\\/a>\"", "[{\"full_name\":\"Nat.Subtype.coe_comp_ofNat_range\",\"def_path\":\"Mathlib\\/Logic\\/Denumerable.lean\",\"def_pos\":[311,9],\"def_end_pos\":[311,29]}]" ], "state_after": "no goals", "state_before": "p : \u2115 \u2192 Prop\nhf : (setOf p).Infinite\nthis : Infinite \u2191(setOf p)\n\u22a2 Set.range (Subtype.val \u2218 \u21d1(Subtype.orderIsoOfNat (setOf p))) = setOf p", "tactic": "exact Nat.Subtype.coe_comp_ofNat_range" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.range_nth_subset", "id": "Nat.range_nth_subset", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 200, 67 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.range_nth_subset", "start": [ 198, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.subset_range_nth", "id": "Nat.subset_range_nth", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 195, 10 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.subset_range_nth", "start": [ 193, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Nth.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.Subtype.coe_bot", "id": "Nat.Subtype.coe_bot", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 41, 6 ], "file_path": "Mathlib/Data/Nat/Order/Lemmas.lean", "full_name": "Nat.Subtype.coe_bot", "start": [ 39, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Order/Lemmas.lean" }, { "error": "no internal trace for tactic 'let k := Nat.find H'", "full_name": "Nat.exists_not_and_succ_of_not_zero_of_exists", "id": "Nat.exists_not_and_succ_of_not_zero_of_exists", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 57, 25 ], "file_path": "Mathlib/Data/Nat/Order/Lemmas.lean", "full_name": "Nat.exists_not_and_succ_of_not_zero_of_exists", "start": [ 48, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"classical\\n let k := <a>Nat.find<\\/a> H\\n have hk : p k := <a>Nat.find_spec<\\/a> H\\n suffices 0 < k from\\n \\u27e8k - 1, <a>Nat.find_min<\\/a> H <| <a>Nat.pred_lt<\\/a> this.ne', by rwa [<a>Nat.sub_add_cancel<\\/a> this]\\u27e9\\n by_contra! contra\\n rw [<a>le_zero_eq<\\/a>] at contra\\n exact H' (contra \\u25b8 hk)\"", "[{\"full_name\":\"Nat.find\",\"def_path\":\"Mathlib\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[703,15],\"def_end_pos\":[703,19]},{\"full_name\":\"Nat.find_spec\",\"def_path\":\"Mathlib\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[707,19],\"def_end_pos\":[707,28]},{\"full_name\":\"Nat.find_min\",\"def_path\":\"Mathlib\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[711,19],\"def_end_pos\":[711,27]},{\"full_name\":\"Nat.pred_lt\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[285,9],\"def_end_pos\":[285,16]},{\"full_name\":\"Nat.sub_add_cancel\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[893,27],\"def_end_pos\":[893,41]},{\"full_name\":\"Nat.le_zero_eq\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/SimpLemmas.lean\",\"def_pos\":[288,17],\"def_end_pos\":[288,31]}]" ], "state_after": "no goals", "state_before": "a b m n k : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\n\u22a2 \u2203 n, \u00acp n \u2227 p (n + 1)", "tactic": "classical\nlet k := Nat.find H\nhave hk : p k := Nat.find_spec H\nsuffices 0 < k from\n \u27e8k - 1, Nat.find_min H <| Nat.pred_lt this.ne', by rwa [Nat.sub_add_cancel this]\u27e9\nby_contra! contra\nrw [le_zero_eq] at contra\nexact H' (contra \u25b8 hk)" }, { "annotated_tactic": [ "\"let k := <a>Nat.find<\\/a> H\"", "[{\"full_name\":\"Nat.find\",\"def_path\":\"Mathlib\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[703,15],\"def_end_pos\":[703,19]}]" ], "state_after": "a b m n k\u271d : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\nk : \u2115 := Nat.find H\n\u22a2 \u2203 n, \u00acp n \u2227 p (n + 1)", "state_before": "a b m n k : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\n\u22a2 \u2203 n, \u00acp n \u2227 p (n + 1)", "tactic": "let k := Nat.find H" }, { "annotated_tactic": [ "\"have hk : p k := <a>Nat.find_spec<\\/a> H\"", "[{\"full_name\":\"Nat.find_spec\",\"def_path\":\"Mathlib\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[707,19],\"def_end_pos\":[707,28]}]" ], "state_after": "a b m n k\u271d : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\nk : \u2115 := Nat.find H\nhk : p k\n\u22a2 \u2203 n, \u00acp n \u2227 p (n + 1)", "state_before": "a b m n k\u271d : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\nk : \u2115 := Nat.find H\n\u22a2 \u2203 n, \u00acp n \u2227 p (n + 1)", "tactic": "have hk : p k := Nat.find_spec H" }, { "annotated_tactic": [ "\"suffices 0 < k from\\n \\u27e8k - 1, <a>Nat.find_min<\\/a> H <| <a>Nat.pred_lt<\\/a> this.ne', by rwa [<a>Nat.sub_add_cancel<\\/a> this]\\u27e9\"", "[{\"full_name\":\"Nat.find_min\",\"def_path\":\"Mathlib\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[711,19],\"def_end_pos\":[711,27]},{\"full_name\":\"Nat.pred_lt\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[285,9],\"def_end_pos\":[285,16]},{\"full_name\":\"Nat.sub_add_cancel\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[893,27],\"def_end_pos\":[893,41]}]" ], "state_after": "a b m n k\u271d : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\nk : \u2115 := Nat.find H\nhk : p k\n\u22a2 0 < k", "state_before": "a b m n k\u271d : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\nk : \u2115 := Nat.find H\nhk : p k\n\u22a2 \u2203 n, \u00acp n \u2227 p (n + 1)", "tactic": "suffices 0 < k from\n \u27e8k - 1, Nat.find_min H <| Nat.pred_lt this.ne', by rwa [Nat.sub_add_cancel this]\u27e9" }, { "annotated_tactic": [ "\"by_contra! contra\"", "[]" ], "state_after": "a b m n k\u271d : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\nk : \u2115 := Nat.find H\nhk : p k\ncontra : k \u2264 0\n\u22a2 False", "state_before": "a b m n k\u271d : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\nk : \u2115 := Nat.find H\nhk : p k\n\u22a2 0 < k", "tactic": "by_contra! contra" }, { "annotated_tactic": [ "\"rw [<a>le_zero_eq<\\/a>] at contra\"", "[{\"full_name\":\"Nat.le_zero_eq\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/SimpLemmas.lean\",\"def_pos\":[288,17],\"def_end_pos\":[288,31]}]" ], "state_after": "a b m n k\u271d : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\nk : \u2115 := Nat.find H\nhk : p k\ncontra : k = 0\n\u22a2 False", "state_before": "a b m n k\u271d : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\nk : \u2115 := Nat.find H\nhk : p k\ncontra : k \u2264 0\n\u22a2 False", "tactic": "rw [le_zero_eq] at contra" }, { "annotated_tactic": [ "\"exact H' (contra \\u25b8 hk)\"", "[]" ], "state_after": "no goals", "state_before": "a b m n k\u271d : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\nk : \u2115 := Nat.find H\nhk : p k\ncontra : k = 0\n\u22a2 False", "tactic": "exact H' (contra \u25b8 hk)" }, { "annotated_tactic": [ "\"rwa [<a>Nat.sub_add_cancel<\\/a> this]\"", "[{\"full_name\":\"Nat.sub_add_cancel\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[893,27],\"def_end_pos\":[893,41]}]" ], "state_after": "no goals", "state_before": "a b m n k\u271d : \u2115\np : \u2115 \u2192 Prop\nH' : \u00acp 0\nH : \u2203 n, p n\nk : \u2115 := Nat.find H\nhk : p k\nthis : 0 < k\n\u22a2 p (k - 1 + 1)", "tactic": "rwa [Nat.sub_add_cancel this]" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Order/Lemmas.lean" } ], "input_proofs": 59, "input_units": 2, "proofs": 22, "published_proofs": 15, "published_transitions": 31, "replay_failures": [], "transitions": 71, "validation_failures": [ { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/Nth.lean", "proof_id": "mathlib:Nat.count_nth", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 342, 9 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.count_nth", "start": [ 336, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"induction' n with k ihk\"", "[]" ], "state_after": "case zero\np : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nhn : \u2200 (hf : (setOf p).Finite), 0 < hf.toFinset.card\n\u22a2 count p (nth p 0) = 0\n\ncase succ\np : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nihk : (\u2200 (hf : (setOf p).Finite), k < hf.toFinset.card) \u2192 count p (nth p k) = k\nhn : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\n\u22a2 count p (nth p (k + 1)) = k + 1", "state_before": "p : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nn : \u2115\nhn : \u2200 (hf : (setOf p).Finite), n < hf.toFinset.card\n\u22a2 count p (nth p n) = n", "tactic": "induction' n with k ihk" }, { "annotated_tactic": [ "\"exact <a>count_nth_zero<\\/a> _\"", "[{\"full_name\":\"Nat.count_nth_zero\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[300,9],\"def_end_pos\":[300,23]}]" ], "state_after": "no goals", "state_before": "case zero\np : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nhn : \u2200 (hf : (setOf p).Finite), 0 < hf.toFinset.card\n\u22a2 count p (nth p 0) = 0", "tactic": "exact count_nth_zero _" }, { "annotated_tactic": [ "\"rw [<a>count_eq_card_filter_range<\\/a>, <a>filter_range_nth_eq_insert<\\/a> hn, <a>card_insert_of_not_mem<\\/a>, \\u2190\\n <a>count_eq_card_filter_range<\\/a>, ihk fun hf => <a>lt_of_succ_lt<\\/a> (hn hf)]\"", "[{\"full_name\":\"Nat.count_eq_card_filter_range\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Count.lean\",\"def_pos\":[54,9],\"def_end_pos\":[54,35]},{\"full_name\":\"Nat.filter_range_nth_eq_insert\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[314,9],\"def_end_pos\":[314,35]},{\"full_name\":\"Finset.card_insert_of_not_mem\",\"def_path\":\"Mathlib\\/Data\\/Finset\\/Card.lean\",\"def_pos\":[108,9],\"def_end_pos\":[108,31]},{\"full_name\":\"Nat.count_eq_card_filter_range\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Count.lean\",\"def_pos\":[54,9],\"def_end_pos\":[54,35]},{\"full_name\":\"Nat.lt_of_succ_lt\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[342,9],\"def_end_pos\":[342,22]}]" ], "state_after": "case succ\np : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nihk : (\u2200 (hf : (setOf p).Finite), k < hf.toFinset.card) \u2192 count p (nth p k) = k\nhn : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\n\u22a2 nth p k \u2209 filter p (range (nth p k))", "state_before": "case succ\np : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nihk : (\u2200 (hf : (setOf p).Finite), k < hf.toFinset.card) \u2192 count p (nth p k) = k\nhn : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\n\u22a2 count p (nth p (k + 1)) = k + 1", "tactic": "rw [count_eq_card_filter_range, filter_range_nth_eq_insert hn, card_insert_of_not_mem, \u2190\n count_eq_card_filter_range, ihk fun hf => lt_of_succ_lt (hn hf)]" }, { "annotated_tactic": [ "\"simp\"", "[]" ], "state_after": "no goals", "state_before": "case succ\np : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nihk : (\u2200 (hf : (setOf p).Finite), k < hf.toFinset.card) \u2192 count p (nth p k) = k\nhn : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\n\u22a2 nth p k \u2209 filter p (range (nth p k))", "tactic": "simp" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.count_nth" }, { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/Nth.lean", "proof_id": "mathlib:Nat.exists_lt_card_nth_eq", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 190, 44 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.exists_lt_card_nth_eq", "start": [ 183, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"refine (<a>setOf<\\/a> p).finite_or_infinite.elim (fun hf => ?_) fun hf => ?_\"", "[{\"full_name\":\"setOf\",\"def_path\":\"Mathlib\\/Init\\/Set.lean\",\"def_pos\":[51,5],\"def_end_pos\":[51,10]}]" ], "state_after": "case refine_1\np : \u2115 \u2192 Prop\nx : \u2115\nh : p x\nhf : (setOf p).Finite\n\u22a2 \u2203 n, (\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card) \u2227 nth p n = x\n\ncase refine_2\np : \u2115 \u2192 Prop\nx : \u2115\nh : p x\nhf : (setOf p).Infinite\n\u22a2 \u2203 n, (\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card) \u2227 nth p n = x", "state_before": "p : \u2115 \u2192 Prop\nx : \u2115\nh : p x\n\u22a2 \u2203 n, (\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card) \u2227 nth p n = x", "tactic": "refine (setOf p).finite_or_infinite.elim (fun hf => ?_) fun hf => ?_" }, { "annotated_tactic": [ "\"rcases <a>exists_lt_card_finite_nth_eq<\\/a> hf h with \\u27e8n, hn, hx\\u27e9\"", "[{\"full_name\":\"Nat.exists_lt_card_finite_nth_eq\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[127,9],\"def_end_pos\":[127,37]}]" ], "state_after": "case refine_1.intro.intro\np : \u2115 \u2192 Prop\nx : \u2115\nh : p x\nhf : (setOf p).Finite\nn : \u2115\nhn : n < hf.toFinset.card\nhx : nth p n = x\n\u22a2 \u2203 n, (\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card) \u2227 nth p n = x", "state_before": "case refine_1\np : \u2115 \u2192 Prop\nx : \u2115\nh : p x\nhf : (setOf p).Finite\n\u22a2 \u2203 n, (\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card) \u2227 nth p n = x", "tactic": "rcases exists_lt_card_finite_nth_eq hf h with \u27e8n, hn, hx\u27e9" }, { "annotated_tactic": [ "\"exact \\u27e8n, fun _ => hn, hx\\u27e9\"", "[]" ], "state_after": "no goals", "state_before": "case refine_1.intro.intro\np : \u2115 \u2192 Prop\nx : \u2115\nh : p x\nhf : (setOf p).Finite\nn : \u2115\nhn : n < hf.toFinset.card\nhx : nth p n = x\n\u22a2 \u2203 n, (\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card) \u2227 nth p n = x", "tactic": "exact \u27e8n, fun _ => hn, hx\u27e9" }, { "annotated_tactic": [ "\"rw [\\u2190 @<a>Set.mem_setOf_eq<\\/a> _ _ p, \\u2190 <a>range_nth_of_infinite<\\/a> hf] at h\"", "[{\"full_name\":\"Set.mem_setOf_eq\",\"def_path\":\"Mathlib\\/Data\\/Set\\/Defs.lean\",\"def_pos\":[79,29],\"def_end_pos\":[79,41]},{\"full_name\":\"Nat.range_nth_of_infinite\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[168,9],\"def_end_pos\":[168,30]}]" ], "state_after": "case refine_2\np : \u2115 \u2192 Prop\nx : \u2115\nh : x \u2208 Set.range (nth p)\nhf : (setOf p).Infinite\n\u22a2 \u2203 n, (\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card) \u2227 nth p n = x", "state_before": "case refine_2\np : \u2115 \u2192 Prop\nx : \u2115\nh : p x\nhf : (setOf p).Infinite\n\u22a2 \u2203 n, (\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card) \u2227 nth p n = x", "tactic": "rw [\u2190 @Set.mem_setOf_eq _ _ p, \u2190 range_nth_of_infinite hf] at h" }, { "annotated_tactic": [ "\"rcases h with \\u27e8n, hx\\u27e9\"", "[]" ], "state_after": "case refine_2.intro\np : \u2115 \u2192 Prop\nx : \u2115\nhf : (setOf p).Infinite\nn : \u2115\nhx : nth p n = x\n\u22a2 \u2203 n, (\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card) \u2227 nth p n = x", "state_before": "case refine_2\np : \u2115 \u2192 Prop\nx : \u2115\nh : x \u2208 Set.range (nth p)\nhf : (setOf p).Infinite\n\u22a2 \u2203 n, (\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card) \u2227 nth p n = x", "tactic": "rcases h with \u27e8n, hx\u27e9" }, { "annotated_tactic": [ "\"exact \\u27e8n, fun hf' => <a>absurd<\\/a> hf' hf, hx\\u27e9\"", "[{\"full_name\":\"absurd\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[246,21],\"def_end_pos\":[246,27]}]" ], "state_after": "no goals", "state_before": "case refine_2.intro\np : \u2115 \u2192 Prop\nx : \u2115\nhf : (setOf p).Infinite\nn : \u2115\nhx : nth p n = x\n\u22a2 \u2203 n, (\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card) \u2227 nth p n = x", "tactic": "exact \u27e8n, fun hf' => absurd hf' hf, hx\u27e9" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.exists_lt_card_nth_eq" }, { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/Nth.lean", "proof_id": "mathlib:Nat.filter_range_nth_eq_insert", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 322, 32 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.filter_range_nth_eq_insert", "start": [ 314, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"refine (<a>filter_range_nth_subset_insert<\\/a> p k).<a>antisymm<\\/a> fun a ha => ?_\"", "[{\"full_name\":\"Nat.filter_range_nth_subset_insert\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[305,9],\"def_end_pos\":[305,39]},{\"full_name\":\"HasSubset.Subset.antisymm\",\"def_path\":\"Mathlib\\/Order\\/RelClasses.lean\",\"def_pos\":[658,7],\"def_end_pos\":[658,32]}]" ], "state_after": "p : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nhlt : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\na : \u2115\nha : a \u2208 insert (nth p k) (filter p (range (nth p k)))\n\u22a2 a \u2208 filter p (range (nth p (k + 1)))", "state_before": "p : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nhlt : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\n\u22a2 filter p (range (nth p (k + 1))) = insert (nth p k) (filter p (range (nth p k)))", "tactic": "refine (filter_range_nth_subset_insert p k).antisymm fun a ha => ?_" }, { "annotated_tactic": [ "\"simp only [<a>mem_insert<\\/a>, <a>mem_filter<\\/a>, <a>mem_range<\\/a>] at ha \\u22a2\"", "[{\"full_name\":\"Finset.mem_insert\",\"def_path\":\"Mathlib\\/Data\\/Finset\\/Basic.lean\",\"def_pos\":[1113,9],\"def_end_pos\":[1113,19]},{\"full_name\":\"Finset.mem_filter\",\"def_path\":\"Mathlib\\/Data\\/Finset\\/Basic.lean\",\"def_pos\":[2593,9],\"def_end_pos\":[2593,19]},{\"full_name\":\"Finset.mem_range\",\"def_path\":\"Mathlib\\/Data\\/Finset\\/Basic.lean\",\"def_pos\":[2935,9],\"def_end_pos\":[2935,18]}]" ], "state_after": "p : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nhlt : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\na : \u2115\nha : a = nth p k \u2228 a < nth p k \u2227 p a\n\u22a2 a < nth p (k + 1) \u2227 p a", "state_before": "p : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nhlt : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\na : \u2115\nha : a \u2208 insert (nth p k) (filter p (range (nth p k)))\n\u22a2 a \u2208 filter p (range (nth p (k + 1)))", "tactic": "simp only [mem_insert, mem_filter, mem_range] at ha \u22a2" }, { "annotated_tactic": [ "\"have : <a>nth<\\/a> p k < <a>nth<\\/a> p (k + 1) := <a>nth_lt_nth'<\\/a> k.lt_succ_self hlt\"", "[{\"full_name\":\"Nat.nth\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[49,19],\"def_end_pos\":[49,22]},{\"full_name\":\"Nat.nth\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[49,19],\"def_end_pos\":[49,22]},{\"full_name\":\"Nat.nth_lt_nth'\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[208,9],\"def_end_pos\":[208,20]}]" ], "state_after": "p : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nhlt : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\na : \u2115\nha : a = nth p k \u2228 a < nth p k \u2227 p a\nthis : nth p k < nth p (k + 1)\n\u22a2 a < nth p (k + 1) \u2227 p a", "state_before": "p : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nhlt : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\na : \u2115\nha : a = nth p k \u2228 a < nth p k \u2227 p a\n\u22a2 a < nth p (k + 1) \u2227 p a", "tactic": "have : nth p k < nth p (k + 1) := nth_lt_nth' k.lt_succ_self hlt" }, { "annotated_tactic": [ "\"rcases ha with (rfl | \\u27e8hlt, hpa\\u27e9)\"", "[]" ], "state_after": "case inl\np : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nhlt : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\nthis : nth p k < nth p (k + 1)\n\u22a2 nth p k < nth p (k + 1) \u2227 p (nth p k)\n\ncase inr.intro\np : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nhlt\u271d : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\na : \u2115\nthis : nth p k < nth p (k + 1)\nhlt : a < nth p k\nhpa : p a\n\u22a2 a < nth p (k + 1) \u2227 p a", "state_before": "p : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nhlt : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\na : \u2115\nha : a = nth p k \u2228 a < nth p k \u2227 p a\nthis : nth p k < nth p (k + 1)\n\u22a2 a < nth p (k + 1) \u2227 p a", "tactic": "rcases ha with (rfl | \u27e8hlt, hpa\u27e9)" }, { "annotated_tactic": [ "\"exact \\u27e8this, <a>nth_mem<\\/a> _ fun hf => k.lt_succ_self.trans (hlt hf)\\u27e9\"", "[{\"full_name\":\"Nat.nth_mem\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[203,9],\"def_end_pos\":[203,16]}]" ], "state_after": "no goals", "state_before": "case inl\np : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nhlt : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\nthis : nth p k < nth p (k + 1)\n\u22a2 nth p k < nth p (k + 1) \u2227 p (nth p k)", "tactic": "exact \u27e8this, nth_mem _ fun hf => k.lt_succ_self.trans (hlt hf)\u27e9" }, { "annotated_tactic": [ "\"exact \\u27e8hlt.trans this, hpa\\u27e9\"", "[]" ], "state_after": "no goals", "state_before": "case inr.intro\np : \u2115 \u2192 Prop\ninst\u271d : DecidablePred p\nk : \u2115\nhlt\u271d : \u2200 (hf : (setOf p).Finite), k + 1 < hf.toFinset.card\na : \u2115\nthis : nth p k < nth p (k + 1)\nhlt : a < nth p k\nhpa : p a\n\u22a2 a < nth p (k + 1) \u2227 p a", "tactic": "exact \u27e8hlt.trans this, hpa\u27e9" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.filter_range_nth_eq_insert" }, { "errors": [ "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/Nth.lean", "proof_id": "mathlib:Nat.image_nth_Iio_card", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 119, 72 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.image_nth_Iio_card", "start": [ 113, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"ext x\"", "[]" ], "state_after": "case h\np : \u2115 \u2192 Prop\nhf : (setOf p).Finite\nx : \u2115\n\u22a2 x \u2208 nth p '' Set.Iio hf.toFinset.card \u2194 x \u2208 Set.range \u21d1(hf.toFinset.orderEmbOfFin \u22ef)", "state_before": "p : \u2115 \u2192 Prop\nhf : (setOf p).Finite\n\u22a2 nth p '' Set.Iio hf.toFinset.card = Set.range \u21d1(hf.toFinset.orderEmbOfFin \u22ef)", "tactic": "ext x" }, { "annotated_tactic": [ "\"simp only [<a>Set.mem_image<\\/a>, <a>Set.mem_range<\\/a>, <a>Fin.exists_iff<\\/a>, \\u2190 <a>nth_eq_orderEmbOfFin<\\/a> hf,\\n <a>Set.mem_Iio<\\/a>, <a>exists_prop<\\/a>]\"", "[{\"full_name\":\"Set.mem_image\",\"def_path\":\"Mathlib\\/Data\\/Set\\/Defs.lean\",\"def_pos\":[127,9],\"def_end_pos\":[127,18]},{\"full_name\":\"Set.mem_range\",\"def_path\":\"Mathlib\\/Data\\/Set\\/Defs.lean\",\"def_pos\":[160,17],\"def_end_pos\":[160,26]},{\"full_name\":\"Fin.exists_iff\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Fin\\/Basic.lean\",\"def_pos\":[213,9],\"def_end_pos\":[213,19]},{\"full_name\":\"Nat.nth_eq_orderEmbOfFin\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[71,9],\"def_end_pos\":[71,29]},{\"full_name\":\"Set.mem_Iio\",\"def_path\":\"Mathlib\\/Order\\/Interval\\/Set\\/Basic.lean\",\"def_pos\":[126,9],\"def_end_pos\":[126,16]},{\"full_name\":\"exists_prop\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/PropLemmas.lean\",\"def_pos\":[307,17],\"def_end_pos\":[307,28]}]" ], "state_after": "no goals", "state_before": "case h\np : \u2115 \u2192 Prop\nhf : (setOf p).Finite\nx : \u2115\n\u22a2 x \u2208 nth p '' Set.Iio hf.toFinset.card \u2194 x \u2208 Set.range \u21d1(hf.toFinset.orderEmbOfFin \u22ef)", "tactic": "simp only [Set.mem_image, Set.mem_range, Fin.exists_iff, \u2190 nth_eq_orderEmbOfFin hf,\n Set.mem_Iio, exists_prop]" }, { "annotated_tactic": [ "\"rw [<a>range_orderEmbOfFin<\\/a>, <a>Set.Finite.coe_toFinset<\\/a>]\"", "[{\"full_name\":\"Finset.range_orderEmbOfFin\",\"def_path\":\"Mathlib\\/Data\\/Finset\\/Sort.lean\",\"def_pos\":[188,9],\"def_end_pos\":[188,28]},{\"full_name\":\"Set.Finite.coe_toFinset\",\"def_path\":\"Mathlib\\/Data\\/Set\\/Finite.lean\",\"def_pos\":[171,19],\"def_end_pos\":[171,31]}]" ], "state_after": "no goals", "state_before": "p : \u2115 \u2192 Prop\nhf : (setOf p).Finite\n\u22a2 Set.range \u21d1(hf.toFinset.orderEmbOfFin \u22ef) = setOf p", "tactic": "rw [range_orderEmbOfFin, Set.Finite.coe_toFinset]" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.image_nth_Iio_card" }, { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch", "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/Nth.lean", "proof_id": "mathlib:Nat.le_nth_of_lt_nth_succ", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 292, 63 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.le_nth_of_lt_nth_succ", "start": [ 283, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"cases' (<a>setOf<\\/a> p).<a>finite_or_infinite<\\/a> with hf hf\"", "[{\"full_name\":\"setOf\",\"def_path\":\"Mathlib\\/Init\\/Set.lean\",\"def_pos\":[51,5],\"def_end_pos\":[51,10]},{\"full_name\":\"Set.finite_or_infinite\",\"def_path\":\"Mathlib\\/Data\\/Set\\/Finite.lean\",\"def_pos\":[150,19],\"def_end_pos\":[150,37]}]" ], "state_after": "case inl\np : \u2115 \u2192 Prop\nk a : \u2115\nh : a < nth p (k + 1)\nha : p a\nhf : (setOf p).Finite\n\u22a2 a \u2264 nth p k\n\ncase inr\np : \u2115 \u2192 Prop\nk a : \u2115\nh : a < nth p (k + 1)\nha : p a\nhf : (setOf p).Infinite\n\u22a2 a \u2264 nth p k", "state_before": "p : \u2115 \u2192 Prop\nk a : \u2115\nh : a < nth p (k + 1)\nha : p a\n\u22a2 a \u2264 nth p k", "tactic": "cases' (setOf p).finite_or_infinite with hf hf" }, { "annotated_tactic": [ "\"rcases <a>exists_lt_card_finite_nth_eq<\\/a> hf ha with \\u27e8n, hn, rfl\\u27e9\"", "[{\"full_name\":\"Nat.exists_lt_card_finite_nth_eq\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[127,9],\"def_end_pos\":[127,37]}]" ], "state_after": "case inl.intro.intro\np : \u2115 \u2192 Prop\nk : \u2115\nhf : (setOf p).Finite\nn : \u2115\nhn : n < hf.toFinset.card\nh : nth p n < nth p (k + 1)\nha : p (nth p n)\n\u22a2 nth p n \u2264 nth p k", "state_before": "case inl\np : \u2115 \u2192 Prop\nk a : \u2115\nh : a < nth p (k + 1)\nha : p a\nhf : (setOf p).Finite\n\u22a2 a \u2264 nth p k", "tactic": "rcases exists_lt_card_finite_nth_eq hf ha with \u27e8n, hn, rfl\u27e9" }, { "annotated_tactic": [ "\"cases' <a>lt_or_le<\\/a> (k + 1) hf.toFinset.card with hk hk\"", "[{\"full_name\":\"lt_or_le\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[338,9],\"def_end_pos\":[338,17]}]" ], "state_after": "case inl.intro.intro.inl\np : \u2115 \u2192 Prop\nk : \u2115\nhf : (setOf p).Finite\nn : \u2115\nhn : n < hf.toFinset.card\nh : nth p n < nth p (k + 1)\nha : p (nth p n)\nhk : k + 1 < hf.toFinset.card\n\u22a2 nth p n \u2264 nth p k\n\ncase inl.intro.intro.inr\np : \u2115 \u2192 Prop\nk : \u2115\nhf : (setOf p).Finite\nn : \u2115\nhn : n < hf.toFinset.card\nh : nth p n < nth p (k + 1)\nha : p (nth p n)\nhk : hf.toFinset.card \u2264 k + 1\n\u22a2 nth p n \u2264 nth p k", "state_before": "case inl.intro.intro\np : \u2115 \u2192 Prop\nk : \u2115\nhf : (setOf p).Finite\nn : \u2115\nhn : n < hf.toFinset.card\nh : nth p n < nth p (k + 1)\nha : p (nth p n)\n\u22a2 nth p n \u2264 nth p k", "tactic": "cases' lt_or_le (k + 1) hf.toFinset.card with hk hk" }, { "annotated_tactic": [ "\"rwa [(<a>nth_strictMonoOn<\\/a> hf).<a>lt_iff_lt<\\/a> hn hk, <a>Nat.lt_succ_iff<\\/a>,\\n \\u2190 (<a>nth_strictMonoOn<\\/a> hf).<a>le_iff_le<\\/a> hn (k.lt_succ_self.trans hk)] at h\"", "[{\"full_name\":\"Nat.nth_strictMonoOn\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[76,9],\"def_end_pos\":[76,25]},{\"full_name\":\"StrictMonoOn.lt_iff_lt\",\"def_path\":\"Mathlib\\/Order\\/Monotone\\/Basic.lean\",\"def_pos\":[850,9],\"def_end_pos\":[850,31]},{\"full_name\":\"Nat.lt_succ_iff\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[573,19],\"def_end_pos\":[573,30]},{\"full_name\":\"Nat.nth_strictMonoOn\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[76,9],\"def_end_pos\":[76,25]},{\"full_name\":\"StrictMonoOn.le_iff_le\",\"def_path\":\"Mathlib\\/Order\\/Monotone\\/Basic.lean\",\"def_pos\":[827,9],\"def_end_pos\":[827,31]}]" ], "state_after": "no goals", "state_before": "case inl.intro.intro.inl\np : \u2115 \u2192 Prop\nk : \u2115\nhf : (setOf p).Finite\nn : \u2115\nhn : n < hf.toFinset.card\nh : nth p n < nth p (k + 1)\nha : p (nth p n)\nhk : k + 1 < hf.toFinset.card\n\u22a2 nth p n \u2264 nth p k", "tactic": "rwa [(nth_strictMonoOn hf).lt_iff_lt hn hk, Nat.lt_succ_iff,\n \u2190 (nth_strictMonoOn hf).le_iff_le hn (k.lt_succ_self.trans hk)] at h" }, { "annotated_tactic": [ "\"rw [<a>nth_of_card_le<\\/a> _ hk] at h\"", "[{\"full_name\":\"Nat.nth_of_card_le\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[62,9],\"def_end_pos\":[62,23]}]" ], "state_after": "case inl.intro.intro.inr\np : \u2115 \u2192 Prop\nk : \u2115\nhf : (setOf p).Finite\nn : \u2115\nhn : n < hf.toFinset.card\nh : nth p n < 0\nha : p (nth p n)\nhk : hf.toFinset.card \u2264 k + 1\n\u22a2 nth p n \u2264 nth p k", "state_before": "case inl.intro.intro.inr\np : \u2115 \u2192 Prop\nk : \u2115\nhf : (setOf p).Finite\nn : \u2115\nhn : n < hf.toFinset.card\nh : nth p n < nth p (k + 1)\nha : p (nth p n)\nhk : hf.toFinset.card \u2264 k + 1\n\u22a2 nth p n \u2264 nth p k", "tactic": "rw [nth_of_card_le _ hk] at h" }, { "annotated_tactic": [ "\"exact <a>absurd<\\/a> h (<a>zero_le<\\/a> _).<a>not_lt<\\/a>\"", "[{\"full_name\":\"absurd\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[246,21],\"def_end_pos\":[246,27]},{\"full_name\":\"Nat.zero_le\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[1663,9],\"def_end_pos\":[1663,20]},{\"full_name\":\"LE.le.not_lt\",\"def_path\":\"Mathlib\\/Order\\/Basic.lean\",\"def_pos\":[346,7],\"def_end_pos\":[346,19]}]" ], "state_after": "no goals", "state_before": "case inl.intro.intro.inr\np : \u2115 \u2192 Prop\nk : \u2115\nhf : (setOf p).Finite\nn : \u2115\nhn : n < hf.toFinset.card\nh : nth p n < 0\nha : p (nth p n)\nhk : hf.toFinset.card \u2264 k + 1\n\u22a2 nth p n \u2264 nth p k", "tactic": "exact absurd h (zero_le _).not_lt" }, { "annotated_tactic": [ "\"rcases <a>subset_range_nth<\\/a> ha with \\u27e8n, rfl\\u27e9\"", "[{\"full_name\":\"Nat.subset_range_nth\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[193,9],\"def_end_pos\":[193,25]}]" ], "state_after": "case inr.intro\np : \u2115 \u2192 Prop\nk : \u2115\nhf : (setOf p).Infinite\nn : \u2115\nh : nth p n < nth p (k + 1)\nha : p (nth p n)\n\u22a2 nth p n \u2264 nth p k", "state_before": "case inr\np : \u2115 \u2192 Prop\nk a : \u2115\nh : a < nth p (k + 1)\nha : p a\nhf : (setOf p).Infinite\n\u22a2 a \u2264 nth p k", "tactic": "rcases subset_range_nth ha with \u27e8n, rfl\u27e9" }, { "annotated_tactic": [ "\"rwa [<a>nth_lt_nth<\\/a> hf, <a>Nat.lt_succ_iff<\\/a>, \\u2190 <a>nth_le_nth<\\/a> hf] at h\"", "[{\"full_name\":\"Nat.nth_lt_nth\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[160,9],\"def_end_pos\":[160,19]},{\"full_name\":\"Nat.lt_succ_iff\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[573,19],\"def_end_pos\":[573,30]},{\"full_name\":\"Nat.nth_le_nth\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[164,9],\"def_end_pos\":[164,19]}]" ], "state_after": "no goals", "state_before": "case inr.intro\np : \u2115 \u2192 Prop\nk : \u2115\nhf : (setOf p).Infinite\nn : \u2115\nh : nth p n < nth p (k + 1)\nha : p (nth p n)\n\u22a2 nth p n \u2264 nth p k", "tactic": "rwa [nth_lt_nth hf, Nat.lt_succ_iff, \u2190 nth_le_nth hf] at h" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.le_nth_of_lt_nth_succ" }, { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/Nth.lean", "proof_id": "mathlib:Nat.nth_eq_sInf", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 255, 48 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_eq_sInf", "start": [ 247, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"by_cases hn : \\u2200 hf : (<a>setOf<\\/a> p).<a>Finite<\\/a>, n < hf.toFinset.card\"", "[{\"full_name\":\"setOf\",\"def_path\":\"Mathlib\\/Init\\/Set.lean\",\"def_pos\":[51,5],\"def_end_pos\":[51,10]},{\"full_name\":\"Set.Finite\",\"def_path\":\"Mathlib\\/Data\\/Set\\/Finite.lean\",\"def_pos\":[58,15],\"def_end_pos\":[58,21]}]" ], "state_after": "case pos\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhn : \u2200 (hf : (setOf p).Finite), n < hf.toFinset.card\n\u22a2 nth p n = sInf {x | p x \u2227 \u2200 k < n, nth p k < x}\n\ncase neg\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhn : \u00ac\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card\n\u22a2 nth p n = sInf {x | p x \u2227 \u2200 k < n, nth p k < x}", "state_before": "p\u271d p : \u2115 \u2192 Prop\nn : \u2115\n\u22a2 nth p n = sInf {x | p x \u2227 \u2200 k < n, nth p k < x}", "tactic": "by_cases hn : \u2200 hf : (setOf p).Finite, n < hf.toFinset.card" }, { "annotated_tactic": [ "\"exact (<a>isLeast_nth<\\/a> hn).csInf_eq.symm\"", "[{\"full_name\":\"Nat.isLeast_nth\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[226,9],\"def_end_pos\":[226,20]}]" ], "state_after": "no goals", "state_before": "case pos\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhn : \u2200 (hf : (setOf p).Finite), n < hf.toFinset.card\n\u22a2 nth p n = sInf {x | p x \u2227 \u2200 k < n, nth p k < x}", "tactic": "exact (isLeast_nth hn).csInf_eq.symm" }, { "annotated_tactic": [ "\"push_neg at hn\"", "[]" ], "state_after": "case neg\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhn : \u2203 (h : (setOf p).Finite), \u22ef.toFinset.card \u2264 n\n\u22a2 nth p n = sInf {x | p x \u2227 \u2200 k < n, nth p k < x}", "state_before": "case neg\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhn : \u00ac\u2200 (hf : (setOf p).Finite), n < hf.toFinset.card\n\u22a2 nth p n = sInf {x | p x \u2227 \u2200 k < n, nth p k < x}", "tactic": "push_neg at hn" }, { "annotated_tactic": [ "\"rcases hn with \\u27e8hf, hn\\u27e9\"", "[]" ], "state_after": "case neg.intro\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhf : (setOf p).Finite\nhn : \u22ef.toFinset.card \u2264 n\n\u22a2 nth p n = sInf {x | p x \u2227 \u2200 k < n, nth p k < x}", "state_before": "case neg\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhn : \u2203 (h : (setOf p).Finite), \u22ef.toFinset.card \u2264 n\n\u22a2 nth p n = sInf {x | p x \u2227 \u2200 k < n, nth p k < x}", "tactic": "rcases hn with \u27e8hf, hn\u27e9" }, { "annotated_tactic": [ "\"rw [<a>nth_of_card_le<\\/a> _ hn]\"", "[{\"full_name\":\"Nat.nth_of_card_le\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[62,9],\"def_end_pos\":[62,23]}]" ], "state_after": "case neg.intro\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhf : (setOf p).Finite\nhn : \u22ef.toFinset.card \u2264 n\n\u22a2 0 = sInf {x | p x \u2227 \u2200 k < n, nth p k < x}", "state_before": "case neg.intro\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhf : (setOf p).Finite\nhn : \u22ef.toFinset.card \u2264 n\n\u22a2 nth p n = sInf {x | p x \u2227 \u2200 k < n, nth p k < x}", "tactic": "rw [nth_of_card_le _ hn]" }, { "annotated_tactic": [ "\"refine ((<a>congr_arg<\\/a> <a>sInf<\\/a> <| <a>Set.eq_empty_of_forall_not_mem<\\/a> fun k hk => ?_).<a>trans<\\/a> <a>sInf_empty<\\/a>).<a>symm<\\/a>\"", "[{\"full_name\":\"congr_arg\",\"def_path\":\".lake\\/packages\\/batteries\\/Batteries\\/Logic.lean\",\"def_pos\":[76,7],\"def_end_pos\":[76,16]},{\"full_name\":\"InfSet.sInf\",\"def_path\":\"Mathlib\\/Order\\/SetNotation.lean\",\"def_pos\":[50,3],\"def_end_pos\":[50,7]},{\"full_name\":\"Set.eq_empty_of_forall_not_mem\",\"def_path\":\"Mathlib\\/Data\\/Set\\/Basic.lean\",\"def_pos\":[556,9],\"def_end_pos\":[556,35]},{\"full_name\":\"Eq.trans\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[335,9],\"def_end_pos\":[335,17]},{\"full_name\":\"Nat.sInf_empty\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Lattice.lean\",\"def_pos\":[59,9],\"def_end_pos\":[59,19]},{\"full_name\":\"Eq.symm\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[323,9],\"def_end_pos\":[323,16]}]" ], "state_after": "case neg.intro\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhf : (setOf p).Finite\nhn : \u22ef.toFinset.card \u2264 n\nk : \u2115\nhk : k \u2208 {x | p x \u2227 \u2200 k < n, nth p k < x}\n\u22a2 False", "state_before": "case neg.intro\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhf : (setOf p).Finite\nhn : \u22ef.toFinset.card \u2264 n\n\u22a2 0 = sInf {x | p x \u2227 \u2200 k < n, nth p k < x}", "tactic": "refine ((congr_arg sInf <| Set.eq_empty_of_forall_not_mem fun k hk => ?_).trans sInf_empty).symm" }, { "annotated_tactic": [ "\"rcases <a>exists_lt_card_nth_eq<\\/a> hk.1 with \\u27e8k, hlt, rfl\\u27e9\"", "[{\"full_name\":\"Nat.exists_lt_card_nth_eq\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[183,9],\"def_end_pos\":[183,30]}]" ], "state_after": "case neg.intro.intro.intro\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhf : (setOf p).Finite\nhn : \u22ef.toFinset.card \u2264 n\nk : \u2115\nhlt : \u2200 (hf : (setOf p).Finite), k < hf.toFinset.card\nhk : nth p k \u2208 {x | p x \u2227 \u2200 k < n, nth p k < x}\n\u22a2 False", "state_before": "case neg.intro\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhf : (setOf p).Finite\nhn : \u22ef.toFinset.card \u2264 n\nk : \u2115\nhk : k \u2208 {x | p x \u2227 \u2200 k < n, nth p k < x}\n\u22a2 False", "tactic": "rcases exists_lt_card_nth_eq hk.1 with \u27e8k, hlt, rfl\u27e9" }, { "annotated_tactic": [ "\"exact (hk.2 _ ((hlt hf).<a>trans_le<\\/a> hn)).<a>false<\\/a>\"", "[{\"full_name\":\"LT.lt.trans_le\",\"def_path\":\"Mathlib\\/Order\\/Basic.lean\",\"def_pos\":[143,7],\"def_end_pos\":[143,21]},{\"full_name\":\"LT.lt.false\",\"def_path\":\"Mathlib\\/Order\\/Basic.lean\",\"def_pos\":[302,19],\"def_end_pos\":[302,24]}]" ], "state_after": "no goals", "state_before": "case neg.intro.intro.intro\np\u271d p : \u2115 \u2192 Prop\nn : \u2115\nhf : (setOf p).Finite\nhn : \u22ef.toFinset.card \u2264 n\nk : \u2115\nhlt : \u2200 (hf : (setOf p).Finite), k < hf.toFinset.card\nhk : nth p k \u2208 {x | p x \u2227 \u2200 k < n, nth p k < x}\n\u22a2 False", "tactic": "exact (hk.2 _ ((hlt hf).trans_le hn)).false" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.nth_eq_sInf" }, { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/Nth.lean", "proof_id": "mathlib:Nat.nth_eq_zero", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 275, 56 ], "file_path": "Mathlib/Data/Nat/Nth.lean", "full_name": "Nat.nth_eq_zero", "start": [ 269, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"refine \\u27e8fun h => ?_, ?_\\u27e9\"", "[]" ], "state_after": "case refine_1\np : \u2115 \u2192 Prop\nn : \u2115\nh : nth p n = 0\n\u22a2 p 0 \u2227 n = 0 \u2228 \u2203 (hf : (setOf p).Finite), hf.toFinset.card \u2264 n\n\ncase refine_2\np : \u2115 \u2192 Prop\nn : \u2115\n\u22a2 (p 0 \u2227 n = 0 \u2228 \u2203 (hf : (setOf p).Finite), hf.toFinset.card \u2264 n) \u2192 nth p n = 0", "state_before": "p : \u2115 \u2192 Prop\nn : \u2115\n\u22a2 nth p n = 0 \u2194 p 0 \u2227 n = 0 \u2228 \u2203 (hf : (setOf p).Finite), hf.toFinset.card \u2264 n", "tactic": "refine \u27e8fun h => ?_, ?_\u27e9" }, { "annotated_tactic": [ "\"simp only [<a>or_iff_not_imp_right<\\/a>, <a>not_exists<\\/a>, <a>not_le<\\/a>]\"", "[{\"full_name\":\"Classical.or_iff_not_imp_right\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Classical.lean\",\"def_pos\":[148,9],\"def_end_pos\":[148,29]},{\"full_name\":\"not_exists\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/PropLemmas.lean\",\"def_pos\":[254,17],\"def_end_pos\":[254,27]},{\"full_name\":\"not_le\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[375,9],\"def_end_pos\":[375,15]}]" ], "state_after": "case refine_1\np : \u2115 \u2192 Prop\nn : \u2115\nh : nth p n = 0\n\u22a2 (\u2200 (x : (setOf p).Finite), n < x.toFinset.card) \u2192 p 0 \u2227 n = 0", "state_before": "case refine_1\np : \u2115 \u2192 Prop\nn : \u2115\nh : nth p n = 0\n\u22a2 p 0 \u2227 n = 0 \u2228 \u2203 (hf : (setOf p).Finite), hf.toFinset.card \u2264 n", "tactic": "simp only [or_iff_not_imp_right, not_exists, not_le]" }, { "annotated_tactic": [ "\"exact fun hn => \\u27e8h \\u25b8 <a>nth_mem<\\/a> _ hn, <a>nonpos_iff_eq_zero<\\/a>.1 <| h \\u25b8 <a>le_nth<\\/a> hn\\u27e9\"", "[{\"full_name\":\"Nat.nth_mem\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[203,9],\"def_end_pos\":[203,16]},{\"full_name\":\"nonpos_iff_eq_zero\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/Canonical\\/Defs.lean\",\"def_pos\":[224,3],\"def_end_pos\":[224,14]},{\"full_name\":\"Nat.le_nth\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[220,9],\"def_end_pos\":[220,15]}]" ], "state_after": "no goals", "state_before": "case refine_1\np : \u2115 \u2192 Prop\nn : \u2115\nh : nth p n = 0\n\u22a2 (\u2200 (x : (setOf p).Finite), n < x.toFinset.card) \u2192 p 0 \u2227 n = 0", "tactic": "exact fun hn => \u27e8h \u25b8 nth_mem _ hn, nonpos_iff_eq_zero.1 <| h \u25b8 le_nth hn\u27e9" }, { "annotated_tactic": [ "\"rintro (\\u27e8h\\u2080, rfl\\u27e9 | \\u27e8hf, hle\\u27e9)\"", "[]" ], "state_after": "case refine_2.inl.intro\np : \u2115 \u2192 Prop\nh\u2080 : p 0\n\u22a2 nth p 0 = 0\n\ncase refine_2.inr.intro\np : \u2115 \u2192 Prop\nn : \u2115\nhf : (setOf p).Finite\nhle : hf.toFinset.card \u2264 n\n\u22a2 nth p n = 0", "state_before": "case refine_2\np : \u2115 \u2192 Prop\nn : \u2115\n\u22a2 (p 0 \u2227 n = 0 \u2228 \u2203 (hf : (setOf p).Finite), hf.toFinset.card \u2264 n) \u2192 nth p n = 0", "tactic": "rintro (\u27e8h\u2080, rfl\u27e9 | \u27e8hf, hle\u27e9)" }, { "annotated_tactic": [ "\"exacts [<a>nth_zero_of_zero<\\/a> h\\u2080, <a>nth_of_card_le<\\/a> hf hle]\"", "[{\"full_name\":\"Nat.nth_zero_of_zero\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[262,9],\"def_end_pos\":[262,25]},{\"full_name\":\"Nat.nth_of_card_le\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Nth.lean\",\"def_pos\":[62,9],\"def_end_pos\":[62,23]}]" ], "state_after": "no goals", "state_before": "case refine_2.inl.intro\np : \u2115 \u2192 Prop\nh\u2080 : p 0\n\u22a2 nth p 0 = 0\n\ncase refine_2.inr.intro\np : \u2115 \u2192 Prop\nn : \u2115\nhf : (setOf p).Finite\nhle : hf.toFinset.card \u2264 n\n\u22a2 nth p n = 0", "tactic": "exacts [nth_zero_of_zero h\u2080, nth_of_card_le hf hle]" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.nth_eq_zero" } ], "validation_rejected_proofs": 7, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/mathlib-001020-0000-dbc00520cdef2813.parquet", "sha256": "dbc00520cdef28132be1d3b637523447d0f052d008c21802ea2be4fc87bb685a", "bytes": 77575, "rows": 31, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "mathlib:Nat.count_nth_succ", "mathlib:Nat.count_nth_zero", "mathlib:Nat.exists_lt_card_finite_nth_eq", "mathlib:Nat.filter_range_nth_subset_insert", "mathlib:Nat.nth_apply_eq_orderIsoOfNat", "mathlib:Nat.nth_count_eq_sInf", "mathlib:Nat.nth_eq_orderEmbOfFin", "mathlib:Nat.nth_eq_zero_mono", "mathlib:Nat.nth_lt_of_lt_count", "mathlib:Nat.nth_strictMono", "mathlib:Nat.nth_strictMonoOn", "mathlib:Nat.nth_zero", "mathlib:Nat.nth_zero_of_exists", "mathlib:Nat.nth_zero_of_zero", "mathlib:Nat.set_eq_univ" ], "proof_keys": [ "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.count_nth_succ\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.count_nth_zero\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.exists_lt_card_finite_nth_eq\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.filter_range_nth_subset_insert\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.nth_apply_eq_orderIsoOfNat\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.nth_count_eq_sInf\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.nth_eq_orderEmbOfFin\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.nth_eq_zero_mono\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.nth_lt_of_lt_count\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.nth_strictMono\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.nth_strictMonoOn\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.nth_zero\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.nth_zero_of_exists\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Nth.lean\",null,null,\"Nat.nth_zero_of_zero\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Order/Lemmas.lean\",null,null,\"Nat.set_eq_univ\"]" ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338{ "format": "leangpt-parquet-v2", "batch": "mathlib/001021", "batch_fingerprint": "3f20d83ff4422231de15c500aac7c273a9e9d7bbcf835a37fd03d1569991dc66", "evidence": { "batch_fingerprint": "3f20d83ff4422231de15c500aac7c273a9e9d7bbcf835a37fd03d1569991dc66", "contamination_matches": [], "failures": [ { "error": "theorem has no selected tactic transitions", "full_name": "Nat.ppred_eq_pred", "id": "Nat.ppred_eq_pred", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 97, 43 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.ppred_eq_pred", "start": [ 96, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/PSub.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.ppred_succ", "id": "Nat.ppred_succ", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 39, 60 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.ppred_succ", "start": [ 39, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/PSub.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.ppred_zero", "id": "Nat.ppred_zero", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 36, 43 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.ppred_zero", "start": [ 36, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/PSub.lean" }, { "error": "no internal trace for tactic 'simp only [zero_eq, add_zero, psub_zero, Option.bind_eq_bind, Option.bind_some]'", "full_name": "Nat.psub_add", "id": "Nat.psub_add", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 109, 67 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.psub_add", "start": [ 105, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"induction k with\\n | zero => simp only [<a>zero_eq<\\/a>, <a>add_zero<\\/a>, <a>psub_zero<\\/a>, <a>Option.bind_eq_bind<\\/a>, <a>Option.bind_some<\\/a>]\\n | succ n ih => simp only [ih, <a>add_succ<\\/a>, <a>psub_succ<\\/a>, <a>bind_assoc<\\/a>]\"", "[{\"full_name\":\"Nat.zero_eq\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[106,17],\"def_end_pos\":[106,24]},{\"full_name\":\"add_zero\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Defs.lean\",\"def_pos\":[482,3],\"def_end_pos\":[482,14]},{\"full_name\":\"Nat.psub_zero\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/PSub.lean\",\"def_pos\":[49,9],\"def_end_pos\":[49,18]},{\"full_name\":\"Option.bind_eq_bind\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Option\\/Lemmas.lean\",\"def_pos\":[97,17],\"def_end_pos\":[97,29]},{\"full_name\":\"Option.bind_some\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Option\\/Lemmas.lean\",\"def_pos\":[99,17],\"def_end_pos\":[99,26]},{\"full_name\":\"Nat.add_succ\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[148,9],\"def_end_pos\":[148,17]},{\"full_name\":\"Nat.psub_succ\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/PSub.lean\",\"def_pos\":[52,9],\"def_end_pos\":[52,18]},{\"full_name\":\"LawfulMonad.bind_assoc\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Control\\/Lawful\\/Basic.lean\",\"def_pos\":[80,3],\"def_end_pos\":[80,13]}]" ], "state_after": "no goals", "state_before": "m n k : \u2115\n\u22a2 m.psub (n + k) = do\n let __do_lift \u2190 m.psub n\n __do_lift.psub k", "tactic": "induction k with\n| zero => simp only [zero_eq, add_zero, psub_zero, Option.bind_eq_bind, Option.bind_some]\n| succ n ih => simp only [ih, add_succ, psub_succ, bind_assoc]" }, { "annotated_tactic": [ "\"simp only [<a>zero_eq<\\/a>, <a>add_zero<\\/a>, <a>psub_zero<\\/a>, <a>Option.bind_eq_bind<\\/a>, <a>Option.bind_some<\\/a>]\"", "[{\"full_name\":\"Nat.zero_eq\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[106,17],\"def_end_pos\":[106,24]},{\"full_name\":\"add_zero\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Defs.lean\",\"def_pos\":[482,3],\"def_end_pos\":[482,14]},{\"full_name\":\"Nat.psub_zero\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/PSub.lean\",\"def_pos\":[49,9],\"def_end_pos\":[49,18]},{\"full_name\":\"Option.bind_eq_bind\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Option\\/Lemmas.lean\",\"def_pos\":[97,17],\"def_end_pos\":[97,29]},{\"full_name\":\"Option.bind_some\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Option\\/Lemmas.lean\",\"def_pos\":[99,17],\"def_end_pos\":[99,26]}]" ], "state_after": "no goals", "state_before": "case zero\nm n : \u2115\n\u22a2 m.psub (n + 0) = do\n let __do_lift \u2190 m.psub n\n __do_lift.psub 0", "tactic": "simp only [zero_eq, add_zero, psub_zero, Option.bind_eq_bind, Option.bind_some]" }, { "annotated_tactic": [ "\"simp only [ih, <a>add_succ<\\/a>, <a>psub_succ<\\/a>, <a>bind_assoc<\\/a>]\"", "[{\"full_name\":\"Nat.add_succ\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[148,9],\"def_end_pos\":[148,17]},{\"full_name\":\"Nat.psub_succ\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/PSub.lean\",\"def_pos\":[52,9],\"def_end_pos\":[52,18]},{\"full_name\":\"LawfulMonad.bind_assoc\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Control\\/Lawful\\/Basic.lean\",\"def_pos\":[80,3],\"def_end_pos\":[80,13]}]" ], "state_after": "no goals", "state_before": "case succ\nm n\u271d n : \u2115\nih :\n m.psub (n\u271d + n) = do\n let __do_lift \u2190 m.psub n\u271d\n __do_lift.psub n\n\u22a2 m.psub (n\u271d + (n + 1)) = do\n let __do_lift \u2190 m.psub n\u271d\n __do_lift.psub (n + 1)", "tactic": "simp only [ih, add_succ, psub_succ, bind_assoc]" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/PSub.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.psub_eq_sub", "id": "Nat.psub_eq_sub", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 101, 41 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.psub_eq_sub", "start": [ 100, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/PSub.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.psub_succ", "id": "Nat.psub_succ", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 52, 74 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.psub_succ", "start": [ 52, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/PSub.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.psub_zero", "id": "Nat.psub_zero", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 49, 53 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.psub_zero", "start": [ 49, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/PSub.lean" }, { "error": "no internal trace for tactic 'rw [if_pos h, max_eq_right h.le, min_eq_left h.le, Nat.pow_two]'", "full_name": "Nat.max_sq_add_min_le_pair", "id": "Nat.max_sq_add_min_le_pair", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 160, 28 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Nat.max_sq_add_min_le_pair", "start": [ 154, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"rw [<a>pair<\\/a>]\"", "[{\"full_name\":\"Nat.pair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[35,5],\"def_end_pos\":[35,9]}]" ], "state_after": "m n : \u2115\n\u22a2 max m n ^ 2 + min m n \u2264 if m < n then n * n + m else m * m + m + n", "state_before": "m n : \u2115\n\u22a2 max m n ^ 2 + min m n \u2264 pair m n", "tactic": "rw [pair]" }, { "annotated_tactic": [ "\"cases' <a>lt_or_le<\\/a> m n with h h\"", "[{\"full_name\":\"lt_or_le\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[338,9],\"def_end_pos\":[338,17]}]" ], "state_after": "case inl\nm n : \u2115\nh : m < n\n\u22a2 max m n ^ 2 + min m n \u2264 if m < n then n * n + m else m * m + m + n\n\ncase inr\nm n : \u2115\nh : n \u2264 m\n\u22a2 max m n ^ 2 + min m n \u2264 if m < n then n * n + m else m * m + m + n", "state_before": "m n : \u2115\n\u22a2 max m n ^ 2 + min m n \u2264 if m < n then n * n + m else m * m + m + n", "tactic": "cases' lt_or_le m n with h h" }, { "annotated_tactic": [ "\"rw [<a>if_neg<\\/a> h.not_lt, <a>max_eq_left<\\/a> h, <a>min_eq_right<\\/a> h, <a>Nat.pow_two<\\/a>, <a>Nat.add_assoc<\\/a>,\\n <a>Nat.add_le_add_iff_left<\\/a>]\"", "[{\"full_name\":\"if_neg\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Core.lean\",\"def_pos\":[937,9],\"def_end_pos\":[937,15]},{\"full_name\":\"max_eq_left\",\"def_path\":\"Mathlib\\/Init\\/Order\\/LinearOrder.lean\",\"def_pos\":[133,9],\"def_end_pos\":[133,20]},{\"full_name\":\"min_eq_right\",\"def_path\":\"Mathlib\\/Init\\/Order\\/LinearOrder.lean\",\"def_pos\":[104,9],\"def_end_pos\":[104,21]},{\"full_name\":\"Nat.pow_two\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[602,19],\"def_end_pos\":[602,26]},{\"full_name\":\"Nat.add_assoc\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[168,19],\"def_end_pos\":[168,28]},{\"full_name\":\"Nat.add_le_add_iff_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[45,19],\"def_end_pos\":[45,38]}]" ], "state_after": "case inr\nm n : \u2115\nh : n \u2264 m\n\u22a2 n \u2264 m + n", "state_before": "case inr\nm n : \u2115\nh : n \u2264 m\n\u22a2 max m n ^ 2 + min m n \u2264 if m < n then n * n + m else m * m + m + n", "tactic": "rw [if_neg h.not_lt, max_eq_left h, min_eq_right h, Nat.pow_two, Nat.add_assoc,\n Nat.add_le_add_iff_left]" }, { "annotated_tactic": [ "\"exact <a>Nat.le_add_left<\\/a> _ _\"", "[{\"full_name\":\"Nat.le_add_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[399,9],\"def_end_pos\":[399,20]}]" ], "state_after": "no goals", "state_before": "case inr\nm n : \u2115\nh : n \u2264 m\n\u22a2 n \u2264 m + n", "tactic": "exact Nat.le_add_left _ _" }, { "annotated_tactic": [ "\"rw [<a>if_pos<\\/a> h, <a>max_eq_right<\\/a> h.le, <a>min_eq_left<\\/a> h.le, <a>Nat.pow_two<\\/a>]\"", "[{\"full_name\":\"if_pos\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Core.lean\",\"def_pos\":[932,9],\"def_end_pos\":[932,15]},{\"full_name\":\"max_eq_right\",\"def_path\":\"Mathlib\\/Init\\/Order\\/LinearOrder.lean\",\"def_pos\":[137,9],\"def_end_pos\":[137,21]},{\"full_name\":\"min_eq_left\",\"def_path\":\"Mathlib\\/Init\\/Order\\/LinearOrder.lean\",\"def_pos\":[100,9],\"def_end_pos\":[100,20]},{\"full_name\":\"Nat.pow_two\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[602,19],\"def_end_pos\":[602,26]}]" ], "state_after": "no goals", "state_before": "case inl\nm n : \u2115\nh : m < n\n\u22a2 max m n ^ 2 + min m n \u2264 if m < n then n * n + m else m * m + m + n", "tactic": "rw [if_pos h, max_eq_right h.le, min_eq_left h.le, Nat.pow_two]" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Pairing.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.pair_eq_pair", "id": "Nat.pair_eq_pair", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 88, 69 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Nat.pair_eq_pair", "start": [ 87, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Pairing.lean" }, { "error": "no internal trace for tactic 'simp only [not_lt] at h\u2082'", "full_name": "Nat.pair_lt_pair_left", "id": "Nat.pair_lt_pair_left", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 135, 45 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Nat.pair_lt_pair_left", "start": [ 124, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"by_cases h\\u2081 : a\\u2081 < b <;> simp [<a>pair<\\/a>, h\\u2081, <a>Nat.add_assoc<\\/a>]\"", "[{\"full_name\":\"Nat.pair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[35,5],\"def_end_pos\":[35,9]},{\"full_name\":\"Nat.add_assoc\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[168,19],\"def_end_pos\":[168,28]}]" ], "state_after": "case pos\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\n\u22a2 b * b + a\u2081 < if a\u2082 < b then b * b + a\u2082 else a\u2082 * a\u2082 + (a\u2082 + b)\n\ncase neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : \u00aca\u2081 < b\n\u22a2 a\u2081 * a\u2081 + (a\u2081 + b) < if a\u2082 < b then b * b + a\u2082 else a\u2082 * a\u2082 + (a\u2082 + b)", "state_before": "a\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\n\u22a2 pair a\u2081 b < pair a\u2082 b", "tactic": "by_cases h\u2081 : a\u2081 < b <;> simp [pair, h\u2081, Nat.add_assoc]" }, { "annotated_tactic": [ "\"by_cases h\\u2082 : a\\u2082 < b <;> simp [<a>pair<\\/a>, h\\u2082, h]\"", "[{\"full_name\":\"Nat.pair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[35,5],\"def_end_pos\":[35,9]}]" ], "state_after": "case neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\nh\u2082 : \u00aca\u2082 < b\n\u22a2 b * b + a\u2081 < a\u2082 * a\u2082 + (a\u2082 + b)", "state_before": "case pos\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\n\u22a2 b * b + a\u2081 < if a\u2082 < b then b * b + a\u2082 else a\u2082 * a\u2082 + (a\u2082 + b)", "tactic": "by_cases h\u2082 : a\u2082 < b <;> simp [pair, h\u2082, h]" }, { "annotated_tactic": [ "\"simp? at h\\u2082 says simp only [<a>not_lt<\\/a>] at h\\u2082\"", "[{\"full_name\":\"not_lt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[370,9],\"def_end_pos\":[370,15]}]" ], "state_after": "case neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\nh\u2082 : b \u2264 a\u2082\n\u22a2 b * b + a\u2081 < a\u2082 * a\u2082 + (a\u2082 + b)", "state_before": "case neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\nh\u2082 : \u00aca\u2082 < b\n\u22a2 b * b + a\u2081 < a\u2082 * a\u2082 + (a\u2082 + b)", "tactic": "simp? at h\u2082 says simp only [not_lt] at h\u2082" }, { "annotated_tactic": [ "\"apply <a>Nat.add_lt_add_of_le_of_lt<\\/a>\"", "[{\"full_name\":\"Nat.add_lt_add_of_le_of_lt\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[61,19],\"def_end_pos\":[61,41]}]" ], "state_after": "case neg.hle\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\nh\u2082 : b \u2264 a\u2082\n\u22a2 b * b \u2264 a\u2082 * a\u2082\n\ncase neg.hlt\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\nh\u2082 : b \u2264 a\u2082\n\u22a2 a\u2081 < a\u2082 + b", "state_before": "case neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\nh\u2082 : b \u2264 a\u2082\n\u22a2 b * b + a\u2081 < a\u2082 * a\u2082 + (a\u2082 + b)", "tactic": "apply Nat.add_lt_add_of_le_of_lt" }, { "annotated_tactic": [ "\"simp only [<a>not_lt<\\/a>] at h\\u2082\"", "[{\"full_name\":\"not_lt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[370,9],\"def_end_pos\":[370,15]}]" ], "state_after": "case neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\nh\u2082 : b \u2264 a\u2082\n\u22a2 b * b + a\u2081 < a\u2082 * a\u2082 + (a\u2082 + b)", "state_before": "case neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\nh\u2082 : \u00aca\u2082 < b\n\u22a2 b * b + a\u2081 < a\u2082 * a\u2082 + (a\u2082 + b)", "tactic": "simp only [not_lt] at h\u2082" }, { "annotated_tactic": [ "\"exact <a>Nat.mul_self_le_mul_self<\\/a> h\\u2082\"", "[{\"full_name\":\"Nat.mul_self_le_mul_self\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[468,7],\"def_end_pos\":[468,27]}]" ], "state_after": "no goals", "state_before": "case neg.hle\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\nh\u2082 : b \u2264 a\u2082\n\u22a2 b * b \u2264 a\u2082 * a\u2082", "tactic": "exact Nat.mul_self_le_mul_self h\u2082" }, { "annotated_tactic": [ "\"exact <a>Nat.lt_add_right<\\/a> _ h\"", "[{\"full_name\":\"Nat.lt_add_right\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[415,19],\"def_end_pos\":[415,31]}]" ], "state_after": "no goals", "state_before": "case neg.hlt\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : a\u2081 < b\nh\u2082 : b \u2264 a\u2082\n\u22a2 a\u2081 < a\u2082 + b", "tactic": "exact Nat.lt_add_right _ h" }, { "annotated_tactic": [ "\"simp at h\\u2081\"", "[]" ], "state_after": "case neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : b \u2264 a\u2081\n\u22a2 a\u2081 * a\u2081 + (a\u2081 + b) < if a\u2082 < b then b * b + a\u2082 else a\u2082 * a\u2082 + (a\u2082 + b)", "state_before": "case neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : \u00aca\u2081 < b\n\u22a2 a\u2081 * a\u2081 + (a\u2081 + b) < if a\u2082 < b then b * b + a\u2082 else a\u2082 * a\u2082 + (a\u2082 + b)", "tactic": "simp at h\u2081" }, { "annotated_tactic": [ "\"simp only [<a>not_lt_of_gt<\\/a> (<a>lt_of_le_of_lt<\\/a> h\\u2081 h), <a>ite_false<\\/a>]\"", "[{\"full_name\":\"not_lt_of_gt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[309,9],\"def_end_pos\":[309,21]},{\"full_name\":\"lt_of_le_of_lt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[122,9],\"def_end_pos\":[122,23]},{\"full_name\":\"ite_false\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/SimpLemmas.lean\",\"def_pos\":[92,17],\"def_end_pos\":[92,26]}]" ], "state_after": "case neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : b \u2264 a\u2081\n\u22a2 a\u2081 * a\u2081 + (a\u2081 + b) < a\u2082 * a\u2082 + (a\u2082 + b)", "state_before": "case neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : b \u2264 a\u2081\n\u22a2 a\u2081 * a\u2081 + (a\u2081 + b) < if a\u2082 < b then b * b + a\u2082 else a\u2082 * a\u2082 + (a\u2082 + b)", "tactic": "simp only [not_lt_of_gt (lt_of_le_of_lt h\u2081 h), ite_false]" }, { "annotated_tactic": [ "\"apply <a>add_lt_add<\\/a>\"", "[{\"full_name\":\"Nat.add_lt_add\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[521,9],\"def_end_pos\":[521,19]}]" ], "state_after": "case neg.h\u2081\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : b \u2264 a\u2081\n\u22a2 a\u2081 * a\u2081 < a\u2082 * a\u2082\n\ncase neg.h\u2082\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : b \u2264 a\u2081\n\u22a2 a\u2081 + b < a\u2082 + b", "state_before": "case neg\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : b \u2264 a\u2081\n\u22a2 a\u2081 * a\u2081 + (a\u2081 + b) < a\u2082 * a\u2082 + (a\u2082 + b)", "tactic": "apply add_lt_add" }, { "annotated_tactic": [ "\"exact <a>Nat.mul_self_lt_mul_self<\\/a> h\"", "[{\"full_name\":\"Nat.mul_self_lt_mul_self\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[474,7],\"def_end_pos\":[474,27]}]" ], "state_after": "no goals", "state_before": "case neg.h\u2081\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : b \u2264 a\u2081\n\u22a2 a\u2081 * a\u2081 < a\u2082 * a\u2082", "tactic": "exact Nat.mul_self_lt_mul_self h" }, { "annotated_tactic": [ "\"apply <a>Nat.add_lt_add_right<\\/a>\"", "[{\"full_name\":\"Nat.add_lt_add_right\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[507,19],\"def_end_pos\":[507,35]}]" ], "state_after": "case neg.h\u2082.h\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : b \u2264 a\u2081\n\u22a2 a\u2081 < a\u2082", "state_before": "case neg.h\u2082\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : b \u2264 a\u2081\n\u22a2 a\u2081 + b < a\u2082 + b", "tactic": "apply Nat.add_lt_add_right" }, { "annotated_tactic": [ "\"assumption\"", "[]" ], "state_after": "no goals", "state_before": "case neg.h\u2082.h\na\u2081 a\u2082 b : \u2115\nh : a\u2081 < a\u2082\nh\u2081 : b \u2264 a\u2081\n\u22a2 a\u2081 < a\u2082", "tactic": "assumption" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Pairing.lean" }, { "error": "no internal trace for tactic 'simp only [not_lt] at h\u2081'", "full_name": "Nat.pair_lt_pair_right", "id": "Nat.pair_lt_pair_right", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 146, 44 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Nat.pair_lt_pair_right", "start": [ 138, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"by_cases h\\u2081 : a < b\\u2081 <;> simp [<a>pair<\\/a>, h\\u2081, <a>Nat.add_assoc<\\/a>]\"", "[{\"full_name\":\"Nat.pair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[35,5],\"def_end_pos\":[35,9]},{\"full_name\":\"Nat.add_assoc\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[168,19],\"def_end_pos\":[168,28]}]" ], "state_after": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2081 : a < b\u2081\n\u22a2 b\u2081 * b\u2081 + a < if a < b\u2082 then b\u2082 * b\u2082 + a else a * a + (a + b\u2082)\n\ncase neg\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2081 : \u00aca < b\u2081\n\u22a2 a * a + (a + b\u2081) < if a < b\u2082 then b\u2082 * b\u2082 + a else a * a + (a + b\u2082)", "state_before": "a b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\n\u22a2 pair a b\u2081 < pair a b\u2082", "tactic": "by_cases h\u2081 : a < b\u2081 <;> simp [pair, h\u2081, Nat.add_assoc]" }, { "annotated_tactic": [ "\"simp [<a>pair<\\/a>, <a>lt_trans<\\/a> h\\u2081 h, h]\"", "[{\"full_name\":\"Nat.pair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[35,5],\"def_end_pos\":[35,9]},{\"full_name\":\"lt_trans\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[90,9],\"def_end_pos\":[90,17]}]" ], "state_after": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2081 : a < b\u2081\n\u22a2 b\u2081 * b\u2081 < b\u2082 * b\u2082", "state_before": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2081 : a < b\u2081\n\u22a2 b\u2081 * b\u2081 + a < if a < b\u2082 then b\u2082 * b\u2082 + a else a * a + (a + b\u2082)", "tactic": "simp [pair, lt_trans h\u2081 h, h]" }, { "annotated_tactic": [ "\"exact <a>mul_self_lt_mul_self<\\/a> h\"", "[{\"full_name\":\"Nat.mul_self_lt_mul_self\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[474,7],\"def_end_pos\":[474,27]}]" ], "state_after": "no goals", "state_before": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2081 : a < b\u2081\n\u22a2 b\u2081 * b\u2081 < b\u2082 * b\u2082", "tactic": "exact mul_self_lt_mul_self h" }, { "annotated_tactic": [ "\"by_cases h\\u2082 : a < b\\u2082 <;> simp [<a>pair<\\/a>, h\\u2082, h]\"", "[{\"full_name\":\"Nat.pair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[35,5],\"def_end_pos\":[35,9]}]" ], "state_after": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2081 : \u00aca < b\u2081\nh\u2082 : a < b\u2082\n\u22a2 a * a + (a + b\u2081) < b\u2082 * b\u2082 + a", "state_before": "case neg\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2081 : \u00aca < b\u2081\n\u22a2 a * a + (a + b\u2081) < if a < b\u2082 then b\u2082 * b\u2082 + a else a * a + (a + b\u2082)", "tactic": "by_cases h\u2082 : a < b\u2082 <;> simp [pair, h\u2082, h]" }, { "annotated_tactic": [ "\"simp? at h\\u2081 says simp only [<a>not_lt<\\/a>] at h\\u2081\"", "[{\"full_name\":\"not_lt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[370,9],\"def_end_pos\":[370,15]}]" ], "state_after": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2082 : a < b\u2082\nh\u2081 : b\u2081 \u2264 a\n\u22a2 a * a + (a + b\u2081) < b\u2082 * b\u2082 + a", "state_before": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2081 : \u00aca < b\u2081\nh\u2082 : a < b\u2082\n\u22a2 a * a + (a + b\u2081) < b\u2082 * b\u2082 + a", "tactic": "simp? at h\u2081 says simp only [not_lt] at h\u2081" }, { "annotated_tactic": [ "\"rw [<a>Nat.add_comm<\\/a>, <a>Nat.add_comm<\\/a> _ a, <a>Nat.add_assoc<\\/a>, <a>Nat.add_lt_add_iff_left<\\/a>]\"", "[{\"full_name\":\"Nat.add_comm\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[160,19],\"def_end_pos\":[160,27]},{\"full_name\":\"Nat.add_comm\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[160,19],\"def_end_pos\":[160,27]},{\"full_name\":\"Nat.add_assoc\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[168,19],\"def_end_pos\":[168,28]},{\"full_name\":\"Nat.add_lt_add_iff_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[55,19],\"def_end_pos\":[55,38]}]" ], "state_after": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2082 : a < b\u2082\nh\u2081 : b\u2081 \u2264 a\n\u22a2 b\u2081 + a * a < b\u2082 * b\u2082", "state_before": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2082 : a < b\u2082\nh\u2081 : b\u2081 \u2264 a\n\u22a2 a * a + (a + b\u2081) < b\u2082 * b\u2082 + a", "tactic": "rw [Nat.add_comm, Nat.add_comm _ a, Nat.add_assoc, Nat.add_lt_add_iff_left]" }, { "annotated_tactic": [ "\"rwa [<a>Nat.add_comm<\\/a>, \\u2190 <a>sqrt_lt<\\/a>, <a>sqrt_add_eq<\\/a>]\"", "[{\"full_name\":\"Nat.add_comm\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[160,19],\"def_end_pos\":[160,27]},{\"full_name\":\"Nat.sqrt_lt\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[1620,7],\"def_end_pos\":[1620,14]},{\"full_name\":\"Nat.sqrt_add_eq\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[1665,7],\"def_end_pos\":[1665,18]}]" ], "state_after": "case pos.h\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2082 : a < b\u2082\nh\u2081 : b\u2081 \u2264 a\n\u22a2 b\u2081 \u2264 a + a", "state_before": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2082 : a < b\u2082\nh\u2081 : b\u2081 \u2264 a\n\u22a2 b\u2081 + a * a < b\u2082 * b\u2082", "tactic": "rwa [Nat.add_comm, \u2190 sqrt_lt, sqrt_add_eq]" }, { "annotated_tactic": [ "\"exact <a>le_trans<\\/a> h\\u2081 (<a>Nat.le_add_left<\\/a> _ _)\"", "[{\"full_name\":\"le_trans\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[56,9],\"def_end_pos\":[56,17]},{\"full_name\":\"Nat.le_add_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[399,9],\"def_end_pos\":[399,20]}]" ], "state_after": "no goals", "state_before": "case pos.h\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2082 : a < b\u2082\nh\u2081 : b\u2081 \u2264 a\n\u22a2 b\u2081 \u2264 a + a", "tactic": "exact le_trans h\u2081 (Nat.le_add_left _ _)" }, { "annotated_tactic": [ "\"simp only [<a>not_lt<\\/a>] at h\\u2081\"", "[{\"full_name\":\"not_lt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[370,9],\"def_end_pos\":[370,15]}]" ], "state_after": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2082 : a < b\u2082\nh\u2081 : b\u2081 \u2264 a\n\u22a2 a * a + (a + b\u2081) < b\u2082 * b\u2082 + a", "state_before": "case pos\na b\u2081 b\u2082 : \u2115\nh : b\u2081 < b\u2082\nh\u2081 : \u00aca < b\u2081\nh\u2082 : a < b\u2082\n\u22a2 a * a + (a + b\u2081) < b\u2082 * b\u2082 + a", "tactic": "simp only [not_lt] at h\u2081" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Pairing.lean" }, { "error": "no internal trace for tactic 'rw [\u2190 Nat.add_assoc]'", "full_name": "Nat.pair_unpair", "id": "Nat.pair_unpair", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 54, 84 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Nat.pair_unpair", "start": [ 47, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"dsimp only [<a>unpair<\\/a>]\"", "[{\"full_name\":\"Nat.unpair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[41,5],\"def_end_pos\":[41,11]}]" ], "state_after": "n : \u2115\n\u22a2 pair\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt) else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).1\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt)\n else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).2 =\n n", "state_before": "n : \u2115\n\u22a2 pair (unpair n).1 (unpair n).2 = n", "tactic": "dsimp only [unpair]" }, { "annotated_tactic": [ "\"let s := <a>sqrt<\\/a> n\"", "[{\"full_name\":\"Nat.sqrt\",\"def_path\":\".lake\\/packages\\/batteries\\/Batteries\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[103,5],\"def_end_pos\":[103,9]}]" ], "state_after": "n : \u2115\ns : \u2115 := n.sqrt\n\u22a2 pair\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt) else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).1\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt)\n else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).2 =\n n", "state_before": "n : \u2115\n\u22a2 pair\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt) else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).1\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt)\n else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).2 =\n n", "tactic": "let s := sqrt n" }, { "annotated_tactic": [ "\"have sm : s * s + (n - s * s) = n := <a>Nat.add_sub_cancel'<\\/a> (<a>sqrt_le<\\/a> _)\"", "[{\"full_name\":\"Nat.add_sub_cancel'\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[113,27],\"def_end_pos\":[113,42]},{\"full_name\":\"Nat.sqrt_le\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[1596,7],\"def_end_pos\":[1596,14]}]" ], "state_after": "n : \u2115\ns : \u2115 := n.sqrt\nsm : s * s + (n - s * s) = n\n\u22a2 pair\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt) else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).1\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt)\n else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).2 =\n n", "state_before": "n : \u2115\ns : \u2115 := n.sqrt\n\u22a2 pair\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt) else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).1\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt)\n else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).2 =\n n", "tactic": "have sm : s * s + (n - s * s) = n := Nat.add_sub_cancel' (sqrt_le _)" }, { "annotated_tactic": [ "\"split_ifs with h\"", "[]" ], "state_after": "case pos\nn : \u2115\ns : \u2115 := n.sqrt\nsm : s * s + (n - s * s) = n\nh : n - n.sqrt * n.sqrt < n.sqrt\n\u22a2 pair (n - n.sqrt * n.sqrt, n.sqrt).1 (n - n.sqrt * n.sqrt, n.sqrt).2 = n\n\ncase neg\nn : \u2115\ns : \u2115 := n.sqrt\nsm : s * s + (n - s * s) = n\nh : \u00acn - n.sqrt * n.sqrt < n.sqrt\n\u22a2 pair (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt).1 (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt).2 = n", "state_before": "n : \u2115\ns : \u2115 := n.sqrt\nsm : s * s + (n - s * s) = n\n\u22a2 pair\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt) else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).1\n (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt)\n else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).2 =\n n", "tactic": "split_ifs with h" }, { "annotated_tactic": [ "\"simp [<a>pair<\\/a>, h, sm]\"", "[{\"full_name\":\"Nat.pair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[35,5],\"def_end_pos\":[35,9]}]" ], "state_after": "no goals", "state_before": "case pos\nn : \u2115\ns : \u2115 := n.sqrt\nsm : s * s + (n - s * s) = n\nh : n - n.sqrt * n.sqrt < n.sqrt\n\u22a2 pair (n - n.sqrt * n.sqrt, n.sqrt).1 (n - n.sqrt * n.sqrt, n.sqrt).2 = n", "tactic": "simp [pair, h, sm]" }, { "annotated_tactic": [ "\"have hl : n - s * s - s \\u2264 s := <a>Nat.sub_le_iff_le_add<\\/a>.2\\n (<a>Nat.sub_le_iff_le_add'<\\/a>.2 <| by rw [\\u2190 <a>Nat.add_assoc<\\/a>]; apply <a>sqrt_le_add<\\/a>)\"", "[{\"full_name\":\"Nat.sub_le_iff_le_add\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[135,19],\"def_end_pos\":[135,36]},{\"full_name\":\"Nat.sub_le_iff_le_add'\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[138,19],\"def_end_pos\":[138,37]},{\"full_name\":\"Nat.add_assoc\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[168,19],\"def_end_pos\":[168,28]},{\"full_name\":\"Nat.sqrt_le_add\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[1608,7],\"def_end_pos\":[1608,18]}]" ], "state_after": "case neg\nn : \u2115\ns : \u2115 := n.sqrt\nsm : s * s + (n - s * s) = n\nh : \u00acn - n.sqrt * n.sqrt < n.sqrt\nhl : n - s * s - s \u2264 s\n\u22a2 pair (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt).1 (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt).2 = n", "state_before": "case neg\nn : \u2115\ns : \u2115 := n.sqrt\nsm : s * s + (n - s * s) = n\nh : \u00acn - n.sqrt * n.sqrt < n.sqrt\n\u22a2 pair (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt).1 (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt).2 = n", "tactic": "have hl : n - s * s - s \u2264 s := Nat.sub_le_iff_le_add.2\n (Nat.sub_le_iff_le_add'.2 <| by rw [\u2190 Nat.add_assoc]; apply sqrt_le_add)" }, { "annotated_tactic": [ "\"simp [<a>pair<\\/a>, hl.not_lt, <a>Nat.add_assoc<\\/a>, <a>Nat.add_sub_cancel'<\\/a> (<a>le_of_not_gt<\\/a> h), sm]\"", "[{\"full_name\":\"Nat.pair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[35,5],\"def_end_pos\":[35,9]},{\"full_name\":\"Nat.add_assoc\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[168,19],\"def_end_pos\":[168,28]},{\"full_name\":\"Nat.add_sub_cancel'\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[113,27],\"def_end_pos\":[113,42]},{\"full_name\":\"le_of_not_gt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[330,9],\"def_end_pos\":[330,21]}]" ], "state_after": "no goals", "state_before": "case neg\nn : \u2115\ns : \u2115 := n.sqrt\nsm : s * s + (n - s * s) = n\nh : \u00acn - n.sqrt * n.sqrt < n.sqrt\nhl : n - s * s - s \u2264 s\n\u22a2 pair (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt).1 (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt).2 = n", "tactic": "simp [pair, hl.not_lt, Nat.add_assoc, Nat.add_sub_cancel' (le_of_not_gt h), sm]" }, { "annotated_tactic": [ "\"rw [\\u2190 <a>Nat.add_assoc<\\/a>]\"", "[{\"full_name\":\"Nat.add_assoc\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[168,19],\"def_end_pos\":[168,28]}]" ], "state_after": "n : \u2115\ns : \u2115 := n.sqrt\nsm : s * s + (n - s * s) = n\nh : \u00acn - n.sqrt * n.sqrt < n.sqrt\n\u22a2 n \u2264 s * s + s + s", "state_before": "n : \u2115\ns : \u2115 := n.sqrt\nsm : s * s + (n - s * s) = n\nh : \u00acn - n.sqrt * n.sqrt < n.sqrt\n\u22a2 n \u2264 s * s + (s + s)", "tactic": "rw [\u2190 Nat.add_assoc]" }, { "annotated_tactic": [ "\"apply <a>sqrt_le_add<\\/a>\"", "[{\"full_name\":\"Nat.sqrt_le_add\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[1608,7],\"def_end_pos\":[1608,18]}]" ], "state_after": "no goals", "state_before": "n : \u2115\ns : \u2115 := n.sqrt\nsm : s * s + (n - s * s) = n\nh : \u00acn - n.sqrt * n.sqrt < n.sqrt\n\u22a2 n \u2264 s * s + s + s", "tactic": "apply sqrt_le_add" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Pairing.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.surjective_unpair", "id": "Nat.surjective_unpair", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 83, 28 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Nat.surjective_unpair", "start": [ 82, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Pairing.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.unpair_add_le", "id": "Nat.unpair_add_le", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 172, 45 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Nat.unpair_add_le", "start": [ 171, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Pairing.lean" }, { "error": "no internal trace for tactic 'rw [sqrt_add_eq]'", "full_name": "Nat.unpair_pair", "id": "Nat.unpair_pair", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 71, 79 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Nat.unpair_pair", "start": [ 62, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"dsimp only [<a>pair<\\/a>]\"", "[{\"full_name\":\"Nat.pair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[35,5],\"def_end_pos\":[35,9]}]" ], "state_after": "a b : \u2115\n\u22a2 unpair (if a < b then b * b + a else a * a + a + b) = (a, b)", "state_before": "a b : \u2115\n\u22a2 unpair (pair a b) = (a, b)", "tactic": "dsimp only [pair]" }, { "annotated_tactic": [ "\"split_ifs with h\"", "[]" ], "state_after": "case pos\na b : \u2115\nh : a < b\n\u22a2 unpair (b * b + a) = (a, b)\n\ncase neg\na b : \u2115\nh : \u00aca < b\n\u22a2 unpair (a * a + a + b) = (a, b)", "state_before": "a b : \u2115\n\u22a2 unpair (if a < b then b * b + a else a * a + a + b) = (a, b)", "tactic": "split_ifs with h" }, { "annotated_tactic": [ "\"have be : <a>sqrt<\\/a> (b * b + a) = b := <a>sqrt_add_eq<\\/a> _ (<a>le_trans<\\/a> (<a>le_of_lt<\\/a> h) (<a>Nat.le_add_left<\\/a> _ _))\"", "[{\"full_name\":\"Nat.sqrt\",\"def_path\":\".lake\\/packages\\/batteries\\/Batteries\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[103,5],\"def_end_pos\":[103,9]},{\"full_name\":\"Nat.sqrt_add_eq\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[1665,7],\"def_end_pos\":[1665,18]},{\"full_name\":\"le_trans\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[56,9],\"def_end_pos\":[56,17]},{\"full_name\":\"le_of_lt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[110,9],\"def_end_pos\":[110,17]},{\"full_name\":\"Nat.le_add_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[399,9],\"def_end_pos\":[399,20]}]" ], "state_after": "case pos\na b : \u2115\nh : a < b\nbe : (b * b + a).sqrt = b\n\u22a2 unpair (b * b + a) = (a, b)", "state_before": "case pos\na b : \u2115\nh : a < b\n\u22a2 unpair (b * b + a) = (a, b)", "tactic": "have be : sqrt (b * b + a) = b := sqrt_add_eq _ (le_trans (le_of_lt h) (Nat.le_add_left _ _))" }, { "annotated_tactic": [ "\"simp [<a>unpair<\\/a>, be, <a>Nat.add_sub_cancel_left<\\/a>, h]\"", "[{\"full_name\":\"Nat.unpair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[41,5],\"def_end_pos\":[41,11]},{\"full_name\":\"Nat.add_sub_cancel_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[908,19],\"def_end_pos\":[908,38]}]" ], "state_after": "no goals", "state_before": "case pos\na b : \u2115\nh : a < b\nbe : (b * b + a).sqrt = b\n\u22a2 unpair (b * b + a) = (a, b)", "tactic": "simp [unpair, be, Nat.add_sub_cancel_left, h]" }, { "annotated_tactic": [ "\"have ae : <a>sqrt<\\/a> (a * a + (a + b)) = a := by\\n rw [<a>sqrt_add_eq<\\/a>]\\n exact <a>Nat.add_le_add_left<\\/a> (<a>le_of_not_gt<\\/a> h) _\"", "[{\"full_name\":\"Nat.sqrt\",\"def_path\":\".lake\\/packages\\/batteries\\/Batteries\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[103,5],\"def_end_pos\":[103,9]},{\"full_name\":\"Nat.sqrt_add_eq\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[1665,7],\"def_end_pos\":[1665,18]},{\"full_name\":\"Nat.add_le_add_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[492,19],\"def_end_pos\":[492,34]},{\"full_name\":\"le_of_not_gt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[330,9],\"def_end_pos\":[330,21]}]" ], "state_after": "case neg\na b : \u2115\nh : \u00aca < b\nae : (a * a + (a + b)).sqrt = a\n\u22a2 unpair (a * a + a + b) = (a, b)", "state_before": "case neg\na b : \u2115\nh : \u00aca < b\n\u22a2 unpair (a * a + a + b) = (a, b)", "tactic": "have ae : sqrt (a * a + (a + b)) = a := by\n rw [sqrt_add_eq]\n exact Nat.add_le_add_left (le_of_not_gt h) _" }, { "annotated_tactic": [ "\"simp [<a>unpair<\\/a>, ae, <a>Nat.not_lt_zero<\\/a>, <a>Nat.add_assoc<\\/a>, <a>Nat.add_sub_cancel_left<\\/a>]\"", "[{\"full_name\":\"Nat.unpair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[41,5],\"def_end_pos\":[41,11]},{\"full_name\":\"Nat.not_lt_zero\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[1660,9],\"def_end_pos\":[1660,24]},{\"full_name\":\"Nat.add_assoc\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[168,19],\"def_end_pos\":[168,28]},{\"full_name\":\"Nat.add_sub_cancel_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[908,19],\"def_end_pos\":[908,38]}]" ], "state_after": "no goals", "state_before": "case neg\na b : \u2115\nh : \u00aca < b\nae : (a * a + (a + b)).sqrt = a\n\u22a2 unpair (a * a + a + b) = (a, b)", "tactic": "simp [unpair, ae, Nat.not_lt_zero, Nat.add_assoc, Nat.add_sub_cancel_left]" }, { "annotated_tactic": [ "\"rw [<a>sqrt_add_eq<\\/a>]\"", "[{\"full_name\":\"Nat.sqrt_add_eq\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[1665,7],\"def_end_pos\":[1665,18]}]" ], "state_after": "case h\na b : \u2115\nh : \u00aca < b\n\u22a2 a + b \u2264 a + a", "state_before": "a b : \u2115\nh : \u00aca < b\n\u22a2 (a * a + (a + b)).sqrt = a", "tactic": "rw [sqrt_add_eq]" }, { "annotated_tactic": [ "\"exact <a>Nat.add_le_add_left<\\/a> (<a>le_of_not_gt<\\/a> h) _\"", "[{\"full_name\":\"Nat.add_le_add_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[492,19],\"def_end_pos\":[492,34]},{\"full_name\":\"le_of_not_gt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[330,9],\"def_end_pos\":[330,21]}]" ], "state_after": "no goals", "state_before": "case h\na b : \u2115\nh : \u00aca < b\n\u22a2 a + b \u2264 a + a", "tactic": "exact Nat.add_le_add_left (le_of_not_gt h) _" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Pairing.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Set.iInter_unpair", "id": "Set.iInter_unpair", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 212, 16 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Set.iInter_unpair", "start": [ 210, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Pairing.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Set.iUnion_unpair", "id": "Set.iUnion_unpair", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 206, 16 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Set.iUnion_unpair", "start": [ 204, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Pairing.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "iInf_unpair", "id": "iInf_unpair", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 190, 40 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "iInf_unpair", "start": [ 188, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Pairing.lean" } ], "input_proofs": 36, "input_units": 2, "proofs": 18, "published_proofs": 11, "published_transitions": 16, "replay_failures": [], "transitions": 46, "validation_failures": [ { "errors": [ "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/PSub.lean", "proof_id": "mathlib:Nat.ppred_eq_none", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 74, 56 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.ppred_eq_none", "start": [ 72, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"simp\"", "[]" ], "state_after": "no goals", "state_before": "\u22a2 ppred 0 = none \u2194 0 = 0", "tactic": "simp" }, { "annotated_tactic": [ "\"constructor <;> intro <;> contradiction\"", "[]" ], "state_after": "no goals", "state_before": "n : \u2115\n\u22a2 (n + 1).ppred = none \u2194 n + 1 = 0", "tactic": "constructor <;> intro <;> contradiction" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.ppred_eq_none" }, { "errors": [ "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/PSub.lean", "proof_id": "mathlib:Nat.ppred_eq_some", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 65, 76 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.ppred_eq_some", "start": [ 63, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"constructor <;> intro h <;> contradiction\"", "[]" ], "state_after": "no goals", "state_before": "m : \u2115\n\u22a2 ppred 0 = some m \u2194 m.succ = 0", "tactic": "constructor <;> intro h <;> contradiction" }, { "annotated_tactic": [ "\"constructor <;> intro h <;> injection h <;> subst m <;> rfl\"", "[]" ], "state_after": "no goals", "state_before": "m n : \u2115\n\u22a2 (n + 1).ppred = some m \u2194 m.succ = n + 1", "tactic": "constructor <;> intro h <;> injection h <;> subst m <;> rfl" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.ppred_eq_some" }, { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/PSub.lean", "proof_id": "mathlib:Nat.psub'_eq_psub", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 122, 45 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.psub'_eq_psub", "start": [ 118, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"rw [<a>psub'<\\/a>]\"", "[{\"full_name\":\"Nat.psub'\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/PSub.lean\",\"def_pos\":[114,5],\"def_end_pos\":[114,10]}]" ], "state_after": "m n : \u2115\n\u22a2 (if n \u2264 m then some (m - n) else none) = m.psub n", "state_before": "m n : \u2115\n\u22a2 m.psub' n = m.psub n", "tactic": "rw [psub']" }, { "annotated_tactic": [ "\"split_ifs with h\"", "[]" ], "state_after": "case pos\nm n : \u2115\nh : n \u2264 m\n\u22a2 some (m - n) = m.psub n\n\ncase neg\nm n : \u2115\nh : \u00acn \u2264 m\n\u22a2 none = m.psub n", "state_before": "m n : \u2115\n\u22a2 (if n \u2264 m then some (m - n) else none) = m.psub n", "tactic": "split_ifs with h" }, { "annotated_tactic": [ "\"exact (<a>psub_eq_sub<\\/a> h).<a>symm<\\/a>\"", "[{\"full_name\":\"Nat.psub_eq_sub\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/PSub.lean\",\"def_pos\":[100,9],\"def_end_pos\":[100,20]},{\"full_name\":\"Eq.symm\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[323,9],\"def_end_pos\":[323,16]}]" ], "state_after": "no goals", "state_before": "case pos\nm n : \u2115\nh : n \u2264 m\n\u22a2 some (m - n) = m.psub n", "tactic": "exact (psub_eq_sub h).symm" }, { "annotated_tactic": [ "\"exact (<a>psub_eq_none<\\/a>.2 (<a>not_le<\\/a>.1 h)).<a>symm<\\/a>\"", "[{\"full_name\":\"Nat.psub_eq_none\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/PSub.lean\",\"def_pos\":[85,9],\"def_end_pos\":[85,21]},{\"full_name\":\"not_le\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[375,9],\"def_end_pos\":[375,15]},{\"full_name\":\"Eq.symm\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[323,9],\"def_end_pos\":[323,16]}]" ], "state_after": "no goals", "state_before": "case neg\nm n : \u2115\nh : \u00acn \u2264 m\n\u22a2 none = m.psub n", "tactic": "exact (psub_eq_none.2 (not_le.1 h)).symm" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.psub'_eq_psub" }, { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/PSub.lean", "proof_id": "mathlib:Nat.psub_eq_none", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 93, 26 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.psub_eq_none", "start": [ 85, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"cases s : <a>psub<\\/a> m n <;> simp [<a>eq_comm<\\/a>]\"", "[{\"full_name\":\"Nat.psub\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/PSub.lean\",\"def_pos\":[43,5],\"def_end_pos\":[43,9]},{\"full_name\":\"eq_comm\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Core.lean\",\"def_pos\":[811,9],\"def_end_pos\":[811,16]}]" ], "state_after": "case none\nm n : \u2115\ns : m.psub n = none\n\u22a2 m < n\n\ncase some\nm n val\u271d : \u2115\ns : m.psub n = some val\u271d\n\u22a2 n \u2264 m", "state_before": "m n : \u2115\n\u22a2 m.psub n = none \u2194 m < n", "tactic": "cases s : psub m n <;> simp [eq_comm]" }, { "annotated_tactic": [ "\"refine <a>lt_of_not_ge<\\/a> fun h => ?_\"", "[{\"full_name\":\"lt_of_not_ge\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[334,9],\"def_end_pos\":[334,21]}]" ], "state_after": "case none\nm n : \u2115\ns : m.psub n = none\nh : m \u2265 n\n\u22a2 False", "state_before": "case none\nm n : \u2115\ns : m.psub n = none\n\u22a2 m < n", "tactic": "refine lt_of_not_ge fun h => ?_" }, { "annotated_tactic": [ "\"cases' <a>le.dest<\\/a> h with k e\"", "[{\"full_name\":\"Nat.le.dest\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[421,9],\"def_end_pos\":[421,16]}]" ], "state_after": "case none.intro\nm n : \u2115\ns : m.psub n = none\nh : m \u2265 n\nk : \u2115\ne : n + k = m\n\u22a2 False", "state_before": "case none\nm n : \u2115\ns : m.psub n = none\nh : m \u2265 n\n\u22a2 False", "tactic": "cases' le.dest h with k e" }, { "annotated_tactic": [ "\"injection s.symm.trans (<a>psub_eq_some<\\/a>.2 <| (<a>add_comm<\\/a> _ _).<a>trans<\\/a> e)\"", "[{\"full_name\":\"Nat.psub_eq_some\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/PSub.lean\",\"def_pos\":[77,9],\"def_end_pos\":[77,21]},{\"full_name\":\"add_comm\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Defs.lean\",\"def_pos\":[331,3],\"def_end_pos\":[331,14]},{\"full_name\":\"Eq.trans\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[335,9],\"def_end_pos\":[335,17]}]" ], "state_after": "no goals", "state_before": "case none.intro\nm n : \u2115\ns : m.psub n = none\nh : m \u2265 n\nk : \u2115\ne : n + k = m\n\u22a2 False", "tactic": "injection s.symm.trans (psub_eq_some.2 <| (add_comm _ _).trans e)" }, { "annotated_tactic": [ "\"rw [\\u2190 <a>psub_eq_some<\\/a>.1 s]\"", "[{\"full_name\":\"Nat.psub_eq_some\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/PSub.lean\",\"def_pos\":[77,9],\"def_end_pos\":[77,21]}]" ], "state_after": "case some\nm n val\u271d : \u2115\ns : m.psub n = some val\u271d\n\u22a2 n \u2264 val\u271d + n", "state_before": "case some\nm n val\u271d : \u2115\ns : m.psub n = some val\u271d\n\u22a2 n \u2264 m", "tactic": "rw [\u2190 psub_eq_some.1 s]" }, { "annotated_tactic": [ "\"apply <a>Nat.le_add_left<\\/a>\"", "[{\"full_name\":\"Nat.le_add_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[399,9],\"def_end_pos\":[399,20]}]" ], "state_after": "no goals", "state_before": "case some\nm n val\u271d : \u2115\ns : m.psub n = some val\u271d\n\u22a2 n \u2264 val\u271d + n", "tactic": "apply Nat.le_add_left" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.psub_eq_none" }, { "errors": [ "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/PSub.lean", "proof_id": "mathlib:Nat.psub_eq_some", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 82, 35 ], "file_path": "Mathlib/Data/Nat/PSub.lean", "full_name": "Nat.psub_eq_some", "start": [ 77, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"simp [<a>eq_comm<\\/a>]\"", "[{\"full_name\":\"eq_comm\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Core.lean\",\"def_pos\":[811,9],\"def_end_pos\":[811,16]}]" ], "state_after": "no goals", "state_before": "m k : \u2115\n\u22a2 m.psub 0 = some k \u2194 k + 0 = m", "tactic": "simp [eq_comm]" }, { "annotated_tactic": [ "\"apply Option.bind_eq_some.trans\"", "[]" ], "state_after": "m n k : \u2115\n\u22a2 (\u2203 a, m.psub n = some a \u2227 a.ppred = some k) \u2194 k + (n + 1) = m", "state_before": "m n k : \u2115\n\u22a2 m.psub (n + 1) = some k \u2194 k + (n + 1) = m", "tactic": "apply Option.bind_eq_some.trans" }, { "annotated_tactic": [ "\"simp only [psub_eq_some, <a>ppred_eq_some<\\/a>]\"", "[{\"full_name\":\"Nat.ppred_eq_some\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/PSub.lean\",\"def_pos\":[63,9],\"def_end_pos\":[63,22]}]" ], "state_after": "m n k : \u2115\n\u22a2 (\u2203 a, a + n = m \u2227 k.succ = a) \u2194 k + (n + 1) = m", "state_before": "m n k : \u2115\n\u22a2 (\u2203 a, m.psub n = some a \u2227 a.ppred = some k) \u2194 k + (n + 1) = m", "tactic": "simp only [psub_eq_some, ppred_eq_some]" }, { "annotated_tactic": [ "\"simp [<a>add_comm<\\/a>, <a>add_left_comm<\\/a>]\"", "[{\"full_name\":\"add_comm\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Defs.lean\",\"def_pos\":[331,3],\"def_end_pos\":[331,14]},{\"full_name\":\"add_left_comm\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Basic.lean\",\"def_pos\":[183,3],\"def_end_pos\":[183,14]}]" ], "state_after": "no goals", "state_before": "m n k : \u2115\n\u22a2 (\u2203 a, a + n = m \u2227 k.succ = a) \u2194 k + (n + 1) = m", "tactic": "simp [add_comm, add_left_comm]" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.psub_eq_some" }, { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "proof_id": "mathlib:Nat.add_le_pair", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 168, 30 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Nat.add_le_pair", "start": [ 163, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"simp only [<a>pair<\\/a>, <a>Nat.add_assoc<\\/a>]\"", "[{\"full_name\":\"Nat.pair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[35,5],\"def_end_pos\":[35,9]},{\"full_name\":\"Nat.add_assoc\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[168,19],\"def_end_pos\":[168,28]}]" ], "state_after": "m n : \u2115\n\u22a2 m + n \u2264 if m < n then n * n + m else m * m + (m + n)", "state_before": "m n : \u2115\n\u22a2 m + n \u2264 pair m n", "tactic": "simp only [pair, Nat.add_assoc]" }, { "annotated_tactic": [ "\"split_ifs\"", "[]" ], "state_after": "case pos\nm n : \u2115\nh\u271d : m < n\n\u22a2 m + n \u2264 n * n + m\n\ncase neg\nm n : \u2115\nh\u271d : \u00acm < n\n\u22a2 m + n \u2264 m * m + (m + n)", "state_before": "m n : \u2115\n\u22a2 m + n \u2264 if m < n then n * n + m else m * m + (m + n)", "tactic": "split_ifs" }, { "annotated_tactic": [ "\"have := <a>le_mul_self<\\/a> n\"", "[{\"full_name\":\"Nat.le_mul_self\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[486,7],\"def_end_pos\":[486,18]}]" ], "state_after": "case pos\nm n : \u2115\nh\u271d : m < n\nthis : n \u2264 n * n\n\u22a2 m + n \u2264 n * n + m", "state_before": "case pos\nm n : \u2115\nh\u271d : m < n\n\u22a2 m + n \u2264 n * n + m", "tactic": "have := le_mul_self n" }, { "annotated_tactic": [ "\"omega\"", "[]" ], "state_after": "no goals", "state_before": "case pos\nm n : \u2115\nh\u271d : m < n\nthis : n \u2264 n * n\n\u22a2 m + n \u2264 n * n + m", "tactic": "omega" }, { "annotated_tactic": [ "\"exact <a>Nat.le_add_left<\\/a> _ _\"", "[{\"full_name\":\"Nat.le_add_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[399,9],\"def_end_pos\":[399,20]}]" ], "state_after": "no goals", "state_before": "case neg\nm n : \u2115\nh\u271d : \u00acm < n\n\u22a2 m + n \u2264 m * m + (m + n)", "tactic": "exact Nat.le_add_left _ _" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.add_le_pair" }, { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "proof_id": "mathlib:Nat.unpair_lt", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 98, 63 ], "file_path": "Mathlib/Data/Nat/Pairing.lean", "full_name": "Nat.unpair_lt", "start": [ 91, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"let s := <a>sqrt<\\/a> n\"", "[{\"full_name\":\"Nat.sqrt\",\"def_path\":\".lake\\/packages\\/batteries\\/Batteries\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[103,5],\"def_end_pos\":[103,9]}]" ], "state_after": "n : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\n\u22a2 (unpair n).1 < n", "state_before": "n : \u2115\nn1 : 1 \u2264 n\n\u22a2 (unpair n).1 < n", "tactic": "let s := sqrt n" }, { "annotated_tactic": [ "\"simp only [<a>unpair<\\/a>, <a>ge_iff_le<\\/a>, <a>Nat.sub_le_iff_le_add<\\/a>]\"", "[{\"full_name\":\"Nat.unpair\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Pairing.lean\",\"def_pos\":[41,5],\"def_end_pos\":[41,11]},{\"full_name\":\"ge_iff_le\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Core.lean\",\"def_pos\":[1947,17],\"def_end_pos\":[1947,26]},{\"full_name\":\"Nat.sub_le_iff_le_add\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[135,19],\"def_end_pos\":[135,36]}]" ], "state_after": "n : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\n\u22a2 (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt) else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).1 < n", "state_before": "n : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\n\u22a2 (unpair n).1 < n", "tactic": "simp only [unpair, ge_iff_le, Nat.sub_le_iff_le_add]" }, { "annotated_tactic": [ "\"by_cases h : n - s * s < s <;> simp [h]\"", "[]" ], "state_after": "case pos\nn : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\nh : n - s * s < s\n\u22a2 n - n.sqrt * n.sqrt < n\n\ncase neg\nn : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\nh : \u00acn - s * s < s\n\u22a2 n.sqrt < n", "state_before": "n : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\n\u22a2 (if n - n.sqrt * n.sqrt < n.sqrt then (n - n.sqrt * n.sqrt, n.sqrt) else (n.sqrt, n - n.sqrt * n.sqrt - n.sqrt)).1 < n", "tactic": "by_cases h : n - s * s < s <;> simp [h]" }, { "annotated_tactic": [ "\"exact <a>lt_of_lt_of_le<\\/a> h (<a>sqrt_le_self<\\/a> _)\"", "[{\"full_name\":\"lt_of_lt_of_le\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[115,9],\"def_end_pos\":[115,23]},{\"full_name\":\"Nat.sqrt_le_self\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[1626,7],\"def_end_pos\":[1626,19]}]" ], "state_after": "no goals", "state_before": "case pos\nn : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\nh : n - s * s < s\n\u22a2 n - n.sqrt * n.sqrt < n", "tactic": "exact lt_of_lt_of_le h (sqrt_le_self _)" }, { "annotated_tactic": [ "\"simp at h\"", "[]" ], "state_after": "case neg\nn : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\nh : s \u2264 n - s * s\n\u22a2 n.sqrt < n", "state_before": "case neg\nn : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\nh : \u00acn - s * s < s\n\u22a2 n.sqrt < n", "tactic": "simp at h" }, { "annotated_tactic": [ "\"have s0 : 0 < s := <a>sqrt_pos<\\/a>.2 n1\"", "[{\"full_name\":\"Nat.sqrt_pos\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[1661,7],\"def_end_pos\":[1661,15]}]" ], "state_after": "case neg\nn : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\nh : s \u2264 n - s * s\ns0 : 0 < s\n\u22a2 n.sqrt < n", "state_before": "case neg\nn : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\nh : s \u2264 n - s * s\n\u22a2 n.sqrt < n", "tactic": "have s0 : 0 < s := sqrt_pos.2 n1" }, { "annotated_tactic": [ "\"exact <a>lt_of_le_of_lt<\\/a> h (<a>Nat.sub_lt<\\/a> n1 (<a>Nat.mul_pos<\\/a> s0 s0))\"", "[{\"full_name\":\"lt_of_le_of_lt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[122,9],\"def_end_pos\":[122,23]},{\"full_name\":\"Nat.sub_lt\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[296,9],\"def_end_pos\":[296,15]},{\"full_name\":\"Nat.mul_pos\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[731,19],\"def_end_pos\":[731,26]}]" ], "state_after": "no goals", "state_before": "case neg\nn : \u2115\nn1 : 1 \u2264 n\ns : \u2115 := n.sqrt\nh : s \u2264 n - s * s\ns0 : 0 < s\n\u22a2 n.sqrt < n", "tactic": "exact lt_of_le_of_lt h (Nat.sub_lt n1 (Nat.mul_pos s0 s0))" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.unpair_lt" } ], "validation_rejected_proofs": 7, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/mathlib-001021-0000-e1cba61756ed0f98.parquet", "sha256": "e1cba61756ed0f982af91da1b6583794250513e6f25c1d547895e8757b242dd2", "bytes": 54175, "rows": 16, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "mathlib:Nat.left_le_pair", "mathlib:Nat.pair_lt_max_add_one_sq", "mathlib:Nat.pair_unpair'", "mathlib:Nat.pred_eq_ppred", "mathlib:Nat.right_le_pair", "mathlib:Nat.sub_eq_psub", "mathlib:Nat.unpair_left_le", "mathlib:Nat.unpair_right_le", "mathlib:Nat.unpair_zero", "mathlib:Set.iUnion_unpair_prod", "mathlib:iSup_unpair" ], "proof_keys": [ "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/PSub.lean\",null,null,\"Nat.pred_eq_ppred\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/PSub.lean\",null,null,\"Nat.sub_eq_psub\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Pairing.lean\",null,null,\"Nat.left_le_pair\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Pairing.lean\",null,null,\"Nat.pair_lt_max_add_one_sq\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Pairing.lean\",null,null,\"Nat.pair_unpair'\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Pairing.lean\",null,null,\"Nat.right_le_pair\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Pairing.lean\",null,null,\"Nat.unpair_left_le\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Pairing.lean\",null,null,\"Nat.unpair_right_le\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Pairing.lean\",null,null,\"Nat.unpair_zero\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Pairing.lean\",null,null,\"Set.iUnion_unpair_prod\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Pairing.lean\",null,null,\"iSup_unpair\"]" ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847{ "format": "leangpt-parquet-v2", "batch": "mathlib/001024", "batch_fingerprint": "fe8a28ebc3384bf0e6f3a3228db5d87c5daf92045a3fa3335d32c0b5cfc76ce0", "evidence": { "batch_fingerprint": "fe8a28ebc3384bf0e6f3a3228db5d87c5daf92045a3fa3335d32c0b5cfc76ce0", "contamination_matches": [], "failures": [ { "error": "theorem has no selected tactic transitions", "full_name": "Nat.range_casesOn", "id": "Nat.range_casesOn", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 51, 25 ], "file_path": "Mathlib/Data/Nat/Set.lean", "full_name": "Nat.range_casesOn", "start": [ 49, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Set.lean" }, { "error": "no internal trace for tactic 'simp'", "full_name": "Nat.lt_size_self", "id": "Nat.lt_size_self", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 116, 80 ], "file_path": "Mathlib/Data/Nat/Size.lean", "full_name": "Nat.lt_size_self", "start": [ 107, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"rw [\\u2190 <a>one_shiftLeft<\\/a>]\"", "[{\"full_name\":\"Nat.one_shiftLeft\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[585,9],\"def_end_pos\":[585,22]}]" ], "state_after": "n : \u2115\n\u22a2 n < 1 <<< n.size", "state_before": "n : \u2115\n\u22a2 n < 2 ^ n.size", "tactic": "rw [\u2190 one_shiftLeft]" }, { "annotated_tactic": [ "\"have : \\u2200 {n}, n = 0 \\u2192 n < 1 <<< (<a>size<\\/a> n) := by simp\"", "[{\"full_name\":\"Nat.size\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[220,5],\"def_end_pos\":[220,9]}]" ], "state_after": "n : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\n\u22a2 n < 1 <<< n.size", "state_before": "n : \u2115\n\u22a2 n < 1 <<< n.size", "tactic": "have : \u2200 {n}, n = 0 \u2192 n < 1 <<< (size n) := by simp" }, { "annotated_tactic": [ "\"apply <a>binaryRec<\\/a> _ _ n\"", "[{\"full_name\":\"Nat.binaryRec\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[204,5],\"def_end_pos\":[204,14]}]" ], "state_after": "n : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\n\u22a2 0 < 1 <<< size 0\n\nn : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\n\u22a2 \u2200 (b : Bool) (n : \u2115), n < 1 <<< n.size \u2192 bit b n < 1 <<< (bit b n).size", "state_before": "n : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\n\u22a2 n < 1 <<< n.size", "tactic": "apply binaryRec _ _ n" }, { "annotated_tactic": [ "\"intro b n IH\"", "[]" ], "state_after": "n\u271d : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\nb : Bool\nn : \u2115\nIH : n < 1 <<< n.size\n\u22a2 bit b n < 1 <<< (bit b n).size", "state_before": "n : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\n\u22a2 \u2200 (b : Bool) (n : \u2115), n < 1 <<< n.size \u2192 bit b n < 1 <<< (bit b n).size", "tactic": "intro b n IH" }, { "annotated_tactic": [ "\"by_cases h : <a>bit<\\/a> b n = 0\"", "[{\"full_name\":\"Nat.bit\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[138,5],\"def_end_pos\":[138,8]}]" ], "state_after": "case pos\nn\u271d : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\nb : Bool\nn : \u2115\nIH : n < 1 <<< n.size\nh : bit b n = 0\n\u22a2 bit b n < 1 <<< (bit b n).size\n\ncase neg\nn\u271d : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\nb : Bool\nn : \u2115\nIH : n < 1 <<< n.size\nh : \u00acbit b n = 0\n\u22a2 bit b n < 1 <<< (bit b n).size", "state_before": "n\u271d : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\nb : Bool\nn : \u2115\nIH : n < 1 <<< n.size\n\u22a2 bit b n < 1 <<< (bit b n).size", "tactic": "by_cases h : bit b n = 0" }, { "annotated_tactic": [ "\"rw [<a>size_bit<\\/a> h, <a>shiftLeft_succ<\\/a>, <a>shiftLeft_eq<\\/a>, <a>one_mul<\\/a>, \\u2190 <a>bit0_val<\\/a>]\"", "[{\"full_name\":\"Nat.size_bit\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Size.lean\",\"def_pos\":[55,9],\"def_end_pos\":[55,17]},{\"full_name\":\"Nat.shiftLeft_succ\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[790,9],\"def_end_pos\":[790,23]},{\"full_name\":\"Nat.shiftLeft_eq\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Bitwise\\/Basic.lean\",\"def_pos\":[54,9],\"def_end_pos\":[54,21]},{\"full_name\":\"one_mul\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Defs.lean\",\"def_pos\":[477,9],\"def_end_pos\":[477,16]},{\"full_name\":\"Nat.bit0_val\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[141,7],\"def_end_pos\":[141,15]}]" ], "state_after": "case neg\nn\u271d : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\nb : Bool\nn : \u2115\nIH : n < 1 <<< n.size\nh : \u00acbit b n = 0\n\u22a2 bit b n < bit0 (2 ^ n.size)", "state_before": "case neg\nn\u271d : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\nb : Bool\nn : \u2115\nIH : n < 1 <<< n.size\nh : \u00acbit b n = 0\n\u22a2 bit b n < 1 <<< (bit b n).size", "tactic": "rw [size_bit h, shiftLeft_succ, shiftLeft_eq, one_mul, \u2190 bit0_val]" }, { "annotated_tactic": [ "\"exact <a>bit_lt_bit0<\\/a> _ (by simpa [<a>shiftLeft_eq<\\/a>, <a>shiftRight_eq_div_pow<\\/a>] using IH)\"", "[{\"full_name\":\"Nat.bit_lt_bit0\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[474,7],\"def_end_pos\":[474,18]},{\"full_name\":\"Nat.shiftLeft_eq\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Bitwise\\/Basic.lean\",\"def_pos\":[54,9],\"def_end_pos\":[54,21]},{\"full_name\":\"Nat.shiftRight_eq_div_pow\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Bitwise\\/Basic.lean\",\"def_pos\":[68,9],\"def_end_pos\":[68,30]}]" ], "state_after": "no goals", "state_before": "case neg\nn\u271d : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\nb : Bool\nn : \u2115\nIH : n < 1 <<< n.size\nh : \u00acbit b n = 0\n\u22a2 bit b n < bit0 (2 ^ n.size)", "tactic": "exact bit_lt_bit0 _ (by simpa [shiftLeft_eq, shiftRight_eq_div_pow] using IH)" }, { "annotated_tactic": [ "\"simp\"", "[]" ], "state_after": "no goals", "state_before": "n : \u2115\n\u22a2 \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size", "tactic": "simp" }, { "annotated_tactic": [ "\"apply this <a>rfl<\\/a>\"", "[{\"full_name\":\"rfl\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[294,22],\"def_end_pos\":[294,25]}]" ], "state_after": "no goals", "state_before": "n : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\n\u22a2 0 < 1 <<< size 0", "tactic": "apply this rfl" }, { "annotated_tactic": [ "\"apply this h\"", "[]" ], "state_after": "no goals", "state_before": "case pos\nn\u271d : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\nb : Bool\nn : \u2115\nIH : n < 1 <<< n.size\nh : bit b n = 0\n\u22a2 bit b n < 1 <<< (bit b n).size", "tactic": "apply this h" }, { "annotated_tactic": [ "\"simpa [<a>shiftLeft_eq<\\/a>, <a>shiftRight_eq_div_pow<\\/a>] using IH\"", "[{\"full_name\":\"Nat.shiftLeft_eq\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Bitwise\\/Basic.lean\",\"def_pos\":[54,9],\"def_end_pos\":[54,21]},{\"full_name\":\"Nat.shiftRight_eq_div_pow\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Bitwise\\/Basic.lean\",\"def_pos\":[68,9],\"def_end_pos\":[68,30]}]" ], "state_after": "no goals", "state_before": "n\u271d : \u2115\nthis : \u2200 {n : \u2115}, n = 0 \u2192 n < 1 <<< n.size\nb : Bool\nn : \u2115\nIH : n < 1 <<< n.size\nh : \u00acbit b n = 0\n\u22a2 n < 2 ^ n.size", "tactic": "simpa [shiftLeft_eq, shiftRight_eq_div_pow] using IH" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Size.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.shiftLeft'_tt_ne_zero", "id": "Nat.shiftLeft'_tt_ne_zero", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 44, 36 ], "file_path": "Mathlib/Data/Nat/Size.lean", "full_name": "Nat.shiftLeft'_tt_ne_zero", "start": [ 42, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Size.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.shiftLeft_eq_mul_pow", "id": "Nat.shiftLeft_eq_mul_pow", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 20, 78 ], "file_path": "Mathlib/Data/Nat/Size.lean", "full_name": "Nat.shiftLeft_eq_mul_pow", "start": [ 20, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Size.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.size_bit0", "id": "Nat.size_bit0", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 69, 41 ], "file_path": "Mathlib/Data/Nat/Size.lean", "full_name": "Nat.size_bit0", "start": [ 68, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Size.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.size_bit1", "id": "Nat.size_bit1", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 74, 40 ], "file_path": "Mathlib/Data/Nat/Size.lean", "full_name": "Nat.size_bit1", "start": [ 73, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Size.lean" }, { "error": "no internal trace for tactic 'simp'", "full_name": "Nat.size_eq_bits_len", "id": "Nat.size_eq_bits_len", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 161, 28 ], "file_path": "Mathlib/Data/Nat/Size.lean", "full_name": "Nat.size_eq_bits_len", "start": [ 157, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"induction' n using <a>Nat.binaryRec'<\\/a> with b n h ih\"", "[{\"full_name\":\"Nat.binaryRec'\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[566,5],\"def_end_pos\":[566,15]}]" ], "state_after": "case z\n\n\u22a2 (bits 0).length = size 0\n\ncase f\nb : Bool\nn : \u2115\nh : n = 0 \u2192 b = true\nih : n.bits.length = n.size\n\u22a2 (bit b n).bits.length = (bit b n).size", "state_before": "n : \u2115\n\u22a2 n.bits.length = n.size", "tactic": "induction' n using Nat.binaryRec' with b n h ih" }, { "annotated_tactic": [ "\"rw [<a>size_bit<\\/a>, <a>bits_append_bit<\\/a> _ _ h]\"", "[{\"full_name\":\"Nat.size_bit\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Size.lean\",\"def_pos\":[55,9],\"def_end_pos\":[55,17]},{\"full_name\":\"Nat.bits_append_bit\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[592,9],\"def_end_pos\":[592,24]}]" ], "state_after": "case f\nb : Bool\nn : \u2115\nh : n = 0 \u2192 b = true\nih : n.bits.length = n.size\n\u22a2 (b :: n.bits).length = n.size.succ\n\ncase f\nb : Bool\nn : \u2115\nh : n = 0 \u2192 b = true\nih : n.bits.length = n.size\n\u22a2 bit b n \u2260 0", "state_before": "case f\nb : Bool\nn : \u2115\nh : n = 0 \u2192 b = true\nih : n.bits.length = n.size\n\u22a2 (bit b n).bits.length = (bit b n).size", "tactic": "rw [size_bit, bits_append_bit _ _ h]" }, { "annotated_tactic": [ "\"simp\"", "[]" ], "state_after": "no goals", "state_before": "case z\n\n\u22a2 (bits 0).length = size 0", "tactic": "simp" }, { "annotated_tactic": [ "\"simp [ih]\"", "[]" ], "state_after": "no goals", "state_before": "case f\nb : Bool\nn : \u2115\nh : n = 0 \u2192 b = true\nih : n.bits.length = n.size\n\u22a2 (b :: n.bits).length = n.size.succ", "tactic": "simp [ih]" }, { "annotated_tactic": [ "\"simpa [<a>bit_eq_zero_iff<\\/a>]\"", "[{\"full_name\":\"Nat.bit_eq_zero_iff\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[444,9],\"def_end_pos\":[444,24]}]" ], "state_after": "no goals", "state_before": "case f\nb : Bool\nn : \u2115\nh : n = 0 \u2192 b = true\nih : n.bits.length = n.size\n\u22a2 bit b n \u2260 0", "tactic": "simpa [bit_eq_zero_iff]" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Size.lean" }, { "error": "no internal trace for tactic 'simp [e]'", "full_name": "Nat.size_le", "id": "Nat.size_le", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 134, 55 ], "file_path": "Mathlib/Data/Nat/Size.lean", "full_name": "Nat.size_le", "start": [ 119, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"decide\"", "[]" ], "state_after": "no goals", "state_before": "m n : \u2115\nh : m.size \u2264 n\n\u22a2 2 > 0", "tactic": "decide" }, { "annotated_tactic": [ "\"rw [\\u2190 <a>one_shiftLeft<\\/a>]\"", "[{\"full_name\":\"Nat.one_shiftLeft\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[585,9],\"def_end_pos\":[585,22]}]" ], "state_after": "m n : \u2115\n\u22a2 m < 1 <<< n \u2192 m.size \u2264 n", "state_before": "m n : \u2115\n\u22a2 m < 2 ^ n \u2192 m.size \u2264 n", "tactic": "rw [\u2190 one_shiftLeft]" }, { "annotated_tactic": [ "\"revert n\"", "[]" ], "state_after": "m : \u2115\n\u22a2 \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n", "state_before": "m n : \u2115\n\u22a2 m < 1 <<< n \u2192 m.size \u2264 n", "tactic": "revert n" }, { "annotated_tactic": [ "\"apply <a>binaryRec<\\/a> _ _ m\"", "[{\"full_name\":\"Nat.binaryRec\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[204,5],\"def_end_pos\":[204,14]}]" ], "state_after": "m : \u2115\n\u22a2 \u2200 {n : \u2115}, 0 < 1 <<< n \u2192 size 0 \u2264 n\n\nm : \u2115\n\u22a2 \u2200 (b : Bool) (n : \u2115),\n (\u2200 {n_1 : \u2115}, n < 1 <<< n_1 \u2192 n.size \u2264 n_1) \u2192 \u2200 {n_1 : \u2115}, bit b n < 1 <<< n_1 \u2192 (bit b n).size \u2264 n_1", "state_before": "m : \u2115\n\u22a2 \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n", "tactic": "apply binaryRec _ _ m" }, { "annotated_tactic": [ "\"intro n\"", "[]" ], "state_after": "m n : \u2115\n\u22a2 0 < 1 <<< n \u2192 size 0 \u2264 n", "state_before": "m : \u2115\n\u22a2 \u2200 {n : \u2115}, 0 < 1 <<< n \u2192 size 0 \u2264 n", "tactic": "intro n" }, { "annotated_tactic": [ "\"simp\"", "[]" ], "state_after": "no goals", "state_before": "m n : \u2115\n\u22a2 0 < 1 <<< n \u2192 size 0 \u2264 n", "tactic": "simp" }, { "annotated_tactic": [ "\"intro b m IH n h\"", "[]" ], "state_after": "m\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\nn : \u2115\nh : bit b m < 1 <<< n\n\u22a2 (bit b m).size \u2264 n", "state_before": "m : \u2115\n\u22a2 \u2200 (b : Bool) (n : \u2115),\n (\u2200 {n_1 : \u2115}, n < 1 <<< n_1 \u2192 n.size \u2264 n_1) \u2192 \u2200 {n_1 : \u2115}, bit b n < 1 <<< n_1 \u2192 (bit b n).size \u2264 n_1", "tactic": "intro b m IH n h" }, { "annotated_tactic": [ "\"by_cases e : <a>bit<\\/a> b m = 0\"", "[{\"full_name\":\"Nat.bit\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[138,5],\"def_end_pos\":[138,8]}]" ], "state_after": "case pos\nm\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\nn : \u2115\nh : bit b m < 1 <<< n\ne : bit b m = 0\n\u22a2 (bit b m).size \u2264 n\n\ncase neg\nm\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\nn : \u2115\nh : bit b m < 1 <<< n\ne : \u00acbit b m = 0\n\u22a2 (bit b m).size \u2264 n", "state_before": "m\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\nn : \u2115\nh : bit b m < 1 <<< n\n\u22a2 (bit b m).size \u2264 n", "tactic": "by_cases e : bit b m = 0" }, { "annotated_tactic": [ "\"rw [<a>size_bit<\\/a> e]\"", "[{\"full_name\":\"Nat.size_bit\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Size.lean\",\"def_pos\":[55,9],\"def_end_pos\":[55,17]}]" ], "state_after": "case neg\nm\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\nn : \u2115\nh : bit b m < 1 <<< n\ne : \u00acbit b m = 0\n\u22a2 m.size.succ \u2264 n", "state_before": "case neg\nm\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\nn : \u2115\nh : bit b m < 1 <<< n\ne : \u00acbit b m = 0\n\u22a2 (bit b m).size \u2264 n", "tactic": "rw [size_bit e]" }, { "annotated_tactic": [ "\"cases' n with n\"", "[]" ], "state_after": "case neg.zero\nm\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\ne : \u00acbit b m = 0\nh : bit b m < 1 <<< 0\n\u22a2 m.size.succ \u2264 0\n\ncase neg.succ\nm\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\ne : \u00acbit b m = 0\nn : \u2115\nh : bit b m < 1 <<< (n + 1)\n\u22a2 m.size.succ \u2264 n + 1", "state_before": "case neg\nm\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\nn : \u2115\nh : bit b m < 1 <<< n\ne : \u00acbit b m = 0\n\u22a2 m.size.succ \u2264 n", "tactic": "cases' n with n" }, { "annotated_tactic": [ "\"simp [e]\"", "[]" ], "state_after": "no goals", "state_before": "case pos\nm\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\nn : \u2115\nh : bit b m < 1 <<< n\ne : bit b m = 0\n\u22a2 (bit b m).size \u2264 n", "tactic": "simp [e]" }, { "annotated_tactic": [ "\"exact e.elim (<a>Nat.eq_zero_of_le_zero<\\/a> (<a>le_of_lt_succ<\\/a> h))\"", "[{\"full_name\":\"Nat.eq_zero_of_le_zero\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[367,9],\"def_end_pos\":[367,27]},{\"full_name\":\"Nat.le_of_lt_succ\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[1716,9],\"def_end_pos\":[1716,26]}]" ], "state_after": "no goals", "state_before": "case neg.zero\nm\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\ne : \u00acbit b m = 0\nh : bit b m < 1 <<< 0\n\u22a2 m.size.succ \u2264 0", "tactic": "exact e.elim (Nat.eq_zero_of_le_zero (le_of_lt_succ h))" }, { "annotated_tactic": [ "\"apply <a>succ_le_succ<\\/a> (IH _)\"", "[{\"full_name\":\"Nat.succ_le_succ\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[1667,9],\"def_end_pos\":[1667,25]}]" ], "state_after": "m\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\ne : \u00acbit b m = 0\nn : \u2115\nh : bit b m < 1 <<< (n + 1)\n\u22a2 m < 1 <<< n", "state_before": "case neg.succ\nm\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\ne : \u00acbit b m = 0\nn : \u2115\nh : bit b m < 1 <<< (n + 1)\n\u22a2 m.size.succ \u2264 n + 1", "tactic": "apply succ_le_succ (IH _)" }, { "annotated_tactic": [ "\"apply <a>Nat.lt_of_mul_lt_mul_left<\\/a> (a := 2)\"", "[{\"full_name\":\"Nat.lt_of_mul_lt_mul_left\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Mod.lean\",\"def_pos\":[36,19],\"def_end_pos\":[36,40]}]" ], "state_after": "m\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\ne : \u00acbit b m = 0\nn : \u2115\nh : bit b m < 1 <<< (n + 1)\n\u22a2 2 * m < 2 * 1 <<< n", "state_before": "m\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\ne : \u00acbit b m = 0\nn : \u2115\nh : bit b m < 1 <<< (n + 1)\n\u22a2 m < 1 <<< n", "tactic": "apply Nat.lt_of_mul_lt_mul_left (a := 2)" }, { "annotated_tactic": [ "\"simp only [\\u2190 <a>bit0_val<\\/a>, <a>shiftLeft_succ<\\/a>] at *\"", "[{\"full_name\":\"Nat.bit0_val\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[141,7],\"def_end_pos\":[141,15]},{\"full_name\":\"Nat.shiftLeft_succ\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Lemmas.lean\",\"def_pos\":[790,9],\"def_end_pos\":[790,23]}]" ], "state_after": "m\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\ne : \u00acbit b m = 0\nn : \u2115\nh : bit b m < bit0 (1 <<< n)\n\u22a2 bit0 m < bit0 (1 <<< n)", "state_before": "m\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\ne : \u00acbit b m = 0\nn : \u2115\nh : bit b m < 1 <<< (n + 1)\n\u22a2 2 * m < 2 * 1 <<< n", "tactic": "simp only [\u2190 bit0_val, shiftLeft_succ] at *" }, { "annotated_tactic": [ "\"exact <a>lt_of_le_of_lt<\\/a> (<a>bit0_le_bit<\\/a> b rfl.le) h\"", "[{\"full_name\":\"lt_of_le_of_lt\",\"def_path\":\"Mathlib\\/Init\\/Order\\/Defs.lean\",\"def_pos\":[122,9],\"def_end_pos\":[122,23]},{\"full_name\":\"Nat.bit0_le_bit\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[464,7],\"def_end_pos\":[464,18]}]" ], "state_after": "no goals", "state_before": "m\u271d : \u2115\nb : Bool\nm : \u2115\nIH : \u2200 {n : \u2115}, m < 1 <<< n \u2192 m.size \u2264 n\ne : \u00acbit b m = 0\nn : \u2115\nh : bit b m < bit0 (1 <<< n)\n\u22a2 bit0 m < bit0 (1 <<< n)", "tactic": "exact lt_of_le_of_lt (bit0_le_bit b rfl.le) h" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Size.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.size_le_size", "id": "Nat.size_le_size", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 154, 49 ], "file_path": "Mathlib/Data/Nat/Size.lean", "full_name": "Nat.size_le_size", "start": [ 153, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Size.lean" }, { "error": "no internal trace for tactic 'exact absurd rfl h'", "full_name": "Nat.size_shiftLeft'", "id": "Nat.size_shiftLeft'", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 97, 6 ], "file_path": "Mathlib/Data/Nat/Size.lean", "full_name": "Nat.size_shiftLeft'", "start": [ 85, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"induction' n with n IH <;> simp [<a>shiftLeft'<\\/a>] at h \\u22a2\"", "[{\"full_name\":\"Nat.shiftLeft'\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[174,5],\"def_end_pos\":[174,15]}]" ], "state_after": "case succ\nb : Bool\nm n : \u2115\nIH : shiftLeft' b m n \u2260 0 \u2192 (shiftLeft' b m n).size = m.size + n\nh : \u00acbit b (shiftLeft' b m n) = 0\n\u22a2 (bit b (shiftLeft' b m n)).size = m.size + (n + 1)", "state_before": "b : Bool\nm n : \u2115\nh : shiftLeft' b m n \u2260 0\n\u22a2 (shiftLeft' b m n).size = m.size + n", "tactic": "induction' n with n IH <;> simp [shiftLeft'] at h \u22a2" }, { "annotated_tactic": [ "\"rw [<a>size_bit<\\/a> h, <a>Nat.add_succ<\\/a>]\"", "[{\"full_name\":\"Nat.size_bit\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Size.lean\",\"def_pos\":[55,9],\"def_end_pos\":[55,17]},{\"full_name\":\"Nat.add_succ\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[148,9],\"def_end_pos\":[148,17]}]" ], "state_after": "case succ\nb : Bool\nm n : \u2115\nIH : shiftLeft' b m n \u2260 0 \u2192 (shiftLeft' b m n).size = m.size + n\nh : \u00acbit b (shiftLeft' b m n) = 0\n\u22a2 (shiftLeft' b m n).size.succ = (m.size + n).succ", "state_before": "case succ\nb : Bool\nm n : \u2115\nIH : shiftLeft' b m n \u2260 0 \u2192 (shiftLeft' b m n).size = m.size + n\nh : \u00acbit b (shiftLeft' b m n) = 0\n\u22a2 (bit b (shiftLeft' b m n)).size = m.size + (n + 1)", "tactic": "rw [size_bit h, Nat.add_succ]" }, { "annotated_tactic": [ "\"by_cases s0 : <a>shiftLeft'<\\/a> b m n = 0 <;> [skip; rw [IH s0]]\"", "[{\"full_name\":\"Nat.shiftLeft'\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[174,5],\"def_end_pos\":[174,15]}]" ], "state_after": "case pos\nb : Bool\nm n : \u2115\nIH : shiftLeft' b m n \u2260 0 \u2192 (shiftLeft' b m n).size = m.size + n\nh : \u00acbit b (shiftLeft' b m n) = 0\ns0 : shiftLeft' b m n = 0\n\u22a2 (shiftLeft' b m n).size.succ = (m.size + n).succ", "state_before": "case succ\nb : Bool\nm n : \u2115\nIH : shiftLeft' b m n \u2260 0 \u2192 (shiftLeft' b m n).size = m.size + n\nh : \u00acbit b (shiftLeft' b m n) = 0\n\u22a2 (shiftLeft' b m n).size.succ = (m.size + n).succ", "tactic": "by_cases s0 : shiftLeft' b m n = 0 <;> [skip; rw [IH s0]]" }, { "annotated_tactic": [ "\"rw [s0] at h \\u22a2\"", "[]" ], "state_after": "case pos\nb : Bool\nm n : \u2115\nIH : shiftLeft' b m n \u2260 0 \u2192 (shiftLeft' b m n).size = m.size + n\nh : \u00acbit b 0 = 0\ns0 : shiftLeft' b m n = 0\n\u22a2 (size 0).succ = (m.size + n).succ", "state_before": "case pos\nb : Bool\nm n : \u2115\nIH : shiftLeft' b m n \u2260 0 \u2192 (shiftLeft' b m n).size = m.size + n\nh : \u00acbit b (shiftLeft' b m n) = 0\ns0 : shiftLeft' b m n = 0\n\u22a2 (shiftLeft' b m n).size.succ = (m.size + n).succ", "tactic": "rw [s0] at h \u22a2" }, { "annotated_tactic": [ "\"cases b\"", "[]" ], "state_after": "case pos.false\nm n : \u2115\nIH : shiftLeft' false m n \u2260 0 \u2192 (shiftLeft' false m n).size = m.size + n\nh : \u00acbit false 0 = 0\ns0 : shiftLeft' false m n = 0\n\u22a2 (size 0).succ = (m.size + n).succ\n\ncase pos.true\nm n : \u2115\nIH : shiftLeft' true m n \u2260 0 \u2192 (shiftLeft' true m n).size = m.size + n\nh : \u00acbit true 0 = 0\ns0 : shiftLeft' true m n = 0\n\u22a2 (size 0).succ = (m.size + n).succ", "state_before": "case pos\nb : Bool\nm n : \u2115\nIH : shiftLeft' b m n \u2260 0 \u2192 (shiftLeft' b m n).size = m.size + n\nh : \u00acbit b 0 = 0\ns0 : shiftLeft' b m n = 0\n\u22a2 (size 0).succ = (m.size + n).succ", "tactic": "cases b" }, { "annotated_tactic": [ "\"rw [<a>shiftLeft'_tt_eq_mul_pow<\\/a>] at this\"", "[{\"full_name\":\"Nat.shiftLeft'_tt_eq_mul_pow\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Size.lean\",\"def_pos\":[23,9],\"def_end_pos\":[23,33]}]" ], "state_after": "case pos.true\nm n : \u2115\nIH : shiftLeft' true m n \u2260 0 \u2192 (shiftLeft' true m n).size = m.size + n\nh : \u00acbit true 0 = 0\ns0 : shiftLeft' true m n = 0\nthis : (m + 1) * 2 ^ n = 1\n\u22a2 (size 0).succ = (m.size + n).succ", "state_before": "case pos.true\nm n : \u2115\nIH : shiftLeft' true m n \u2260 0 \u2192 (shiftLeft' true m n).size = m.size + n\nh : \u00acbit true 0 = 0\ns0 : shiftLeft' true m n = 0\nthis : shiftLeft' true m n + 1 = 1\n\u22a2 (size 0).succ = (m.size + n).succ", "tactic": "rw [shiftLeft'_tt_eq_mul_pow] at this" }, { "annotated_tactic": [ "\"obtain rfl := <a>succ.inj<\\/a> (<a>eq_one_of_dvd_one<\\/a> \\u27e8_, this.symm\\u27e9)\"", "[{\"full_name\":\"Nat.succ.inj\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Core.lean\",\"def_pos\":[1320,9],\"def_end_pos\":[1320,21]},{\"full_name\":\"Nat.eq_one_of_dvd_one\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Dvd.lean\",\"def_pos\":[67,9],\"def_end_pos\":[67,26]}]" ], "state_after": "case pos.true\nn : \u2115\nh : \u00acbit true 0 = 0\nIH : shiftLeft' true 0 n \u2260 0 \u2192 (shiftLeft' true 0 n).size = size 0 + n\ns0 : shiftLeft' true 0 n = 0\nthis : (0 + 1) * 2 ^ n = 1\n\u22a2 (size 0).succ = (size 0 + n).succ", "state_before": "case pos.true\nm n : \u2115\nIH : shiftLeft' true m n \u2260 0 \u2192 (shiftLeft' true m n).size = m.size + n\nh : \u00acbit true 0 = 0\ns0 : shiftLeft' true m n = 0\nthis : (m + 1) * 2 ^ n = 1\n\u22a2 (size 0).succ = (m.size + n).succ", "tactic": "obtain rfl := succ.inj (eq_one_of_dvd_one \u27e8_, this.symm\u27e9)" }, { "annotated_tactic": [ "\"simp only [<a>zero_add<\\/a>, <a>one_mul<\\/a>] at this\"", "[{\"full_name\":\"zero_add\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Defs.lean\",\"def_pos\":[476,3],\"def_end_pos\":[476,14]},{\"full_name\":\"one_mul\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Defs.lean\",\"def_pos\":[477,9],\"def_end_pos\":[477,16]}]" ], "state_after": "case pos.true\nn : \u2115\nh : \u00acbit true 0 = 0\nIH : shiftLeft' true 0 n \u2260 0 \u2192 (shiftLeft' true 0 n).size = size 0 + n\ns0 : shiftLeft' true 0 n = 0\nthis : 2 ^ n = 1\n\u22a2 (size 0).succ = (size 0 + n).succ", "state_before": "case pos.true\nn : \u2115\nh : \u00acbit true 0 = 0\nIH : shiftLeft' true 0 n \u2260 0 \u2192 (shiftLeft' true 0 n).size = size 0 + n\ns0 : shiftLeft' true 0 n = 0\nthis : (0 + 1) * 2 ^ n = 1\n\u22a2 (size 0).succ = (size 0 + n).succ", "tactic": "simp only [zero_add, one_mul] at this" }, { "annotated_tactic": [ "\"obtain rfl : n = 0 := <a>not_ne_iff<\\/a>.1 fun hn \\u21a6 <a>ne_of_gt<\\/a> (<a>Nat.one_lt_pow<\\/a> hn (by decide)) this\"", "[{\"full_name\":\"not_ne_iff\",\"def_path\":\"Mathlib\\/Logic\\/Basic.lean\",\"def_pos\":[258,9],\"def_end_pos\":[258,19]},{\"full_name\":\"Nat.ne_of_gt\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[454,9],\"def_end_pos\":[454,17]},{\"full_name\":\"Nat.one_lt_pow\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[793,7],\"def_end_pos\":[793,17]}]" ], "state_after": "case pos.true\nh : \u00acbit true 0 = 0\nIH : shiftLeft' true 0 0 \u2260 0 \u2192 (shiftLeft' true 0 0).size = size 0 + 0\ns0 : shiftLeft' true 0 0 = 0\nthis : 2 ^ 0 = 1\n\u22a2 (size 0).succ = (size 0 + 0).succ", "state_before": "case pos.true\nn : \u2115\nh : \u00acbit true 0 = 0\nIH : shiftLeft' true 0 n \u2260 0 \u2192 (shiftLeft' true 0 n).size = size 0 + n\ns0 : shiftLeft' true 0 n = 0\nthis : 2 ^ n = 1\n\u22a2 (size 0).succ = (size 0 + n).succ", "tactic": "obtain rfl : n = 0 := not_ne_iff.1 fun hn \u21a6 ne_of_gt (Nat.one_lt_pow hn (by decide)) this" }, { "annotated_tactic": [ "\"rfl\"", "[]" ], "state_after": "no goals", "state_before": "case pos.true\nh : \u00acbit true 0 = 0\nIH : shiftLeft' true 0 0 \u2260 0 \u2192 (shiftLeft' true 0 0).size = size 0 + 0\ns0 : shiftLeft' true 0 0 = 0\nthis : 2 ^ 0 = 1\n\u22a2 (size 0).succ = (size 0 + 0).succ", "tactic": "rfl" }, { "annotated_tactic": [ "\"exact <a>absurd<\\/a> <a>rfl<\\/a> h\"", "[{\"full_name\":\"absurd\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[246,21],\"def_end_pos\":[246,27]},{\"full_name\":\"rfl\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[294,22],\"def_end_pos\":[294,25]}]" ], "state_after": "no goals", "state_before": "case pos.false\nm n : \u2115\nIH : shiftLeft' false m n \u2260 0 \u2192 (shiftLeft' false m n).size = m.size + n\nh : \u00acbit false 0 = 0\ns0 : shiftLeft' false m n = 0\n\u22a2 (size 0).succ = (m.size + n).succ", "tactic": "exact absurd rfl h" }, { "annotated_tactic": [ "\"decide\"", "[]" ], "state_after": "no goals", "state_before": "n : \u2115\nh : \u00acbit true 0 = 0\nIH : shiftLeft' true 0 n \u2260 0 \u2192 (shiftLeft' true 0 n).size = size 0 + n\ns0 : shiftLeft' true 0 n = 0\nthis : 2 ^ n = 1\nhn : n \u2260 0\n\u22a2 1 < 2", "tactic": "decide" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/Size.lean" } ], "input_proofs": 24, "input_units": 2, "proofs": 14, "published_proofs": 12, "published_transitions": 16, "replay_failures": [], "transitions": 28, "validation_failures": [ { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/Set.lean", "proof_id": "mathlib:Nat.range_rec", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 46, 13 ], "file_path": "Mathlib/Data/Nat/Set.lean", "full_name": "Nat.range_rec", "start": [ 37, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"convert (<a>range_of_succ<\\/a> (fun n => <a>Nat.rec<\\/a> x f n : \\u2115 \\u2192 \\u03b1)).<a>symm<\\/a> using 4\"", "[{\"full_name\":\"Nat.range_of_succ\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Set.lean\",\"def_pos\":[33,9],\"def_end_pos\":[33,22]},{\"full_name\":\"Nat.rec\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[1073,11],\"def_end_pos\":[1073,14]},{\"full_name\":\"Eq.symm\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[323,9],\"def_end_pos\":[323,16]}]" ], "state_after": "case h.e'_3.h.e'_4.h.e'_3.h\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\nx\u271d : \u2115\n\u22a2 rec (f 0 x) (f \u2218 succ) x\u271d = ((fun n => rec x f n) \u2218 succ) x\u271d", "state_before": "\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\n\u22a2 (range fun n => rec x f n) = {x} \u222a range fun n => rec (f 0 x) (f \u2218 succ) n", "tactic": "convert (range_of_succ (fun n => Nat.rec x f n : \u2115 \u2192 \u03b1)).symm using 4" }, { "annotated_tactic": [ "\"dsimp\"", "[]" ], "state_after": "case h.e'_3.h.e'_4.h.e'_3.h\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\nx\u271d : \u2115\n\u22a2 rec (f 0 x) (f \u2218 succ) x\u271d = f x\u271d (rec x f x\u271d)", "state_before": "case h.e'_3.h.e'_4.h.e'_3.h\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\nx\u271d : \u2115\n\u22a2 rec (f 0 x) (f \u2218 succ) x\u271d = ((fun n => rec x f n) \u2218 succ) x\u271d", "tactic": "dsimp" }, { "annotated_tactic": [ "\"rename_i n\"", "[]" ], "state_after": "case h.e'_3.h.e'_4.h.e'_3.h\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\nn : \u2115\n\u22a2 rec (f 0 x) (f \u2218 succ) n = f n (rec x f n)", "state_before": "case h.e'_3.h.e'_4.h.e'_3.h\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\nx\u271d : \u2115\n\u22a2 rec (f 0 x) (f \u2218 succ) x\u271d = f x\u271d (rec x f x\u271d)", "tactic": "rename_i n" }, { "annotated_tactic": [ "\"induction' n with n ihn\"", "[]" ], "state_after": "case h.e'_3.h.e'_4.h.e'_3.h.zero\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\n\u22a2 rec (f 0 x) (f \u2218 succ) 0 = f 0 (rec x f 0)\n\ncase h.e'_3.h.e'_4.h.e'_3.h.succ\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\nn : \u2115\nihn : rec (f 0 x) (f \u2218 succ) n = f n (rec x f n)\n\u22a2 rec (f 0 x) (f \u2218 succ) (n + 1) = f (n + 1) (rec x f (n + 1))", "state_before": "case h.e'_3.h.e'_4.h.e'_3.h\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\nn : \u2115\n\u22a2 rec (f 0 x) (f \u2218 succ) n = f n (rec x f n)", "tactic": "induction' n with n ihn" }, { "annotated_tactic": [ "\"rfl\"", "[]" ], "state_after": "no goals", "state_before": "case h.e'_3.h.e'_4.h.e'_3.h.zero\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\n\u22a2 rec (f 0 x) (f \u2218 succ) 0 = f 0 (rec x f 0)", "tactic": "rfl" }, { "annotated_tactic": [ "\"dsimp at ihn \\u22a2\"", "[]" ], "state_after": "case h.e'_3.h.e'_4.h.e'_3.h.succ\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\nn : \u2115\nihn : rec (f 0 x) (f \u2218 succ) n = f n (rec x f n)\n\u22a2 f (n + 1) (rec (f 0 x) (f \u2218 succ) n) = f (n + 1) (f n (rec x f n))", "state_before": "case h.e'_3.h.e'_4.h.e'_3.h.succ\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\nn : \u2115\nihn : rec (f 0 x) (f \u2218 succ) n = f n (rec x f n)\n\u22a2 rec (f 0 x) (f \u2218 succ) (n + 1) = f (n + 1) (rec x f (n + 1))", "tactic": "dsimp at ihn \u22a2" }, { "annotated_tactic": [ "\"rw [ihn]\"", "[]" ], "state_after": "no goals", "state_before": "case h.e'_3.h.e'_4.h.e'_3.h.succ\n\u03b1\u271d : Type u_1\n\u03b1 : Type u_2\nx : \u03b1\nf : \u2115 \u2192 \u03b1 \u2192 \u03b1\nn : \u2115\nihn : rec (f 0 x) (f \u2218 succ) n = f n (rec x f n)\n\u22a2 f (n + 1) (rec (f 0 x) (f \u2218 succ) n) = f (n + 1) (f n (rec x f n))", "tactic": "rw [ihn]" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.range_rec" }, { "errors": [ "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/Size.lean", "proof_id": "mathlib:Nat.shiftLeft'_tt_eq_mul_pow", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 29, 65 ], "file_path": "Mathlib/Data/Nat/Size.lean", "full_name": "Nat.shiftLeft'_tt_eq_mul_pow", "start": [ 23, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"simp [<a>shiftLeft'<\\/a>, <a>pow_zero<\\/a>, <a>Nat.one_mul<\\/a>]\"", "[{\"full_name\":\"Nat.shiftLeft'\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[174,5],\"def_end_pos\":[174,15]},{\"full_name\":\"pow_zero\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Defs.lean\",\"def_pos\":[651,9],\"def_end_pos\":[651,17]},{\"full_name\":\"Nat.one_mul\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[225,27],\"def_end_pos\":[225,34]}]" ], "state_after": "no goals", "state_before": "m : \u2115\n\u22a2 shiftLeft' true m 0 + 1 = (m + 1) * 2 ^ 0", "tactic": "simp [shiftLeft', pow_zero, Nat.one_mul]" }, { "annotated_tactic": [ "\"change <a>bit1<\\/a> (<a>shiftLeft'<\\/a> <a>true<\\/a> m k) + 1 = (m + 1) * (2 ^ k * 2)\"", "[{\"full_name\":\"bit1\",\"def_path\":\"Mathlib\\/Init\\/ZeroOne.lean\",\"def_pos\":[41,5],\"def_end_pos\":[41,9]},{\"full_name\":\"Nat.shiftLeft'\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[174,5],\"def_end_pos\":[174,15]},{\"full_name\":\"Bool.true\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[571,5],\"def_end_pos\":[571,9]}]" ], "state_after": "m k : \u2115\n\u22a2 bit1 (shiftLeft' true m k) + 1 = (m + 1) * (2 ^ k * 2)", "state_before": "m k : \u2115\n\u22a2 shiftLeft' true m (k + 1) + 1 = (m + 1) * 2 ^ (k + 1)", "tactic": "change bit1 (shiftLeft' true m k) + 1 = (m + 1) * (2 ^ k * 2)" }, { "annotated_tactic": [ "\"rw [<a>bit1_val<\\/a>]\"", "[{\"full_name\":\"Nat.bit1_val\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[148,7],\"def_end_pos\":[148,15]}]" ], "state_after": "m k : \u2115\n\u22a2 2 * shiftLeft' true m k + 1 + 1 = (m + 1) * (2 ^ k * 2)", "state_before": "m k : \u2115\n\u22a2 bit1 (shiftLeft' true m k) + 1 = (m + 1) * (2 ^ k * 2)", "tactic": "rw [bit1_val]" }, { "annotated_tactic": [ "\"change 2 * (<a>shiftLeft'<\\/a> <a>true<\\/a> m k + 1) = _\"", "[{\"full_name\":\"Nat.shiftLeft'\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Bits.lean\",\"def_pos\":[174,5],\"def_end_pos\":[174,15]},{\"full_name\":\"Bool.true\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[571,5],\"def_end_pos\":[571,9]}]" ], "state_after": "m k : \u2115\n\u22a2 2 * (shiftLeft' true m k + 1) = (m + 1) * (2 ^ k * 2)", "state_before": "m k : \u2115\n\u22a2 2 * shiftLeft' true m k + 1 + 1 = (m + 1) * (2 ^ k * 2)", "tactic": "change 2 * (shiftLeft' true m k + 1) = _" }, { "annotated_tactic": [ "\"rw [shiftLeft'_tt_eq_mul_pow m k, <a>mul_left_comm<\\/a>, <a>mul_comm<\\/a> 2]\"", "[{\"full_name\":\"mul_left_comm\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Basic.lean\",\"def_pos\":[184,9],\"def_end_pos\":[184,22]},{\"full_name\":\"mul_comm\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Defs.lean\",\"def_pos\":[332,9],\"def_end_pos\":[332,17]}]" ], "state_after": "no goals", "state_before": "m k : \u2115\n\u22a2 2 * (shiftLeft' true m k + 1) = (m + 1) * (2 ^ k * 2)", "tactic": "rw [shiftLeft'_tt_eq_mul_pow m k, mul_left_comm, mul_comm 2]" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.shiftLeft'_tt_eq_mul_pow" } ], "validation_rejected_proofs": 2, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/mathlib-001024-0000-9ca4a237a663200a.parquet", "sha256": "9ca4a237a663200a531824cd7f5fe91a7f3fa8437b95e6b2fffef5861d9d1369", "bytes": 49596, "rows": 14, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" }, { "path": "data/internal_test/mathlib-001024-0000-4a338b5ce8e32bf6.parquet", "sha256": "4a338b5ce8e32bf6dae77dfaadae051cc227b8a0e8cef0388f1c4c299e18a012", "bytes": 28257, "rows": 2, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "mathlib:Nat.lt_size", "mathlib:Nat.range_of_succ", "mathlib:Nat.range_succ", "mathlib:Nat.shiftLeft'_ne_zero_left", "mathlib:Nat.size_bit", "mathlib:Nat.size_eq_zero", "mathlib:Nat.size_one", "mathlib:Nat.size_pos", "mathlib:Nat.size_pow", "mathlib:Nat.size_shiftLeft", "mathlib:Nat.size_zero", "mathlib:Nat.zero_union_range_succ" ], "proof_keys": [ "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Set.lean\",null,null,\"Nat.range_of_succ\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Set.lean\",null,null,\"Nat.range_succ\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Set.lean\",null,null,\"Nat.zero_union_range_succ\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Size.lean\",null,null,\"Nat.lt_size\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Size.lean\",null,null,\"Nat.shiftLeft'_ne_zero_left\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Size.lean\",null,null,\"Nat.size_bit\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Size.lean\",null,null,\"Nat.size_eq_zero\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Size.lean\",null,null,\"Nat.size_one\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Size.lean\",null,null,\"Nat.size_pos\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Size.lean\",null,null,\"Nat.size_pow\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Size.lean\",null,null,\"Nat.size_shiftLeft\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/Size.lean\",null,null,\"Nat.size_zero\"]" ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627{ "format": "leangpt-parquet-v2", "batch": "mathlib/001027", "batch_fingerprint": "135cf7a3f8a6b662dda7b735ccb95f2d35d4edce29783509e9174ef12d23d195", "evidence": { "batch_fingerprint": "135cf7a3f8a6b662dda7b735ccb95f2d35d4edce29783509e9174ef12d23d195", "contamination_matches": [], "failures": [ { "error": "no internal trace for tactic 'simp only [WithBot.bot_add, WithBot.bot_ne_one, WithBot.bot_ne_zero, false_and, or_self]'", "full_name": "Nat.WithBot.add_eq_one_iff", "id": "Nat.WithBot.add_eq_one_iff", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 41, 47 ], "file_path": "Mathlib/Data/Nat/WithBot.lean", "full_name": "Nat.WithBot.add_eq_one_iff", "start": [ 36, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"cases n\"", "[]" ], "state_after": "case bot\nm : WithBot \u2115\n\u22a2 \u22a5 + m = 1 \u2194 \u22a5 = 0 \u2227 m = 1 \u2228 \u22a5 = 1 \u2227 m = 0\n\ncase coe\nm : WithBot \u2115\na\u271d : \u2115\n\u22a2 \u2191a\u271d + m = 1 \u2194 \u2191a\u271d = 0 \u2227 m = 1 \u2228 \u2191a\u271d = 1 \u2227 m = 0", "state_before": "n m : WithBot \u2115\n\u22a2 n + m = 1 \u2194 n = 0 \u2227 m = 1 \u2228 n = 1 \u2227 m = 0", "tactic": "cases n" }, { "annotated_tactic": [ "\"cases m\"", "[]" ], "state_after": "case coe.bot\na\u271d : \u2115\n\u22a2 \u2191a\u271d + \u22a5 = 1 \u2194 \u2191a\u271d = 0 \u2227 \u22a5 = 1 \u2228 \u2191a\u271d = 1 \u2227 \u22a5 = 0\n\ncase coe.coe\na\u271d\u00b9 a\u271d : \u2115\n\u22a2 \u2191a\u271d\u00b9 + \u2191a\u271d = 1 \u2194 \u2191a\u271d\u00b9 = 0 \u2227 \u2191a\u271d = 1 \u2228 \u2191a\u271d\u00b9 = 1 \u2227 \u2191a\u271d = 0", "state_before": "case coe\nm : WithBot \u2115\na\u271d : \u2115\n\u22a2 \u2191a\u271d + m = 1 \u2194 \u2191a\u271d = 0 \u2227 m = 1 \u2228 \u2191a\u271d = 1 \u2227 m = 0", "tactic": "cases m" }, { "annotated_tactic": [ "\"simp [\\u2190 <a>WithBot.coe_add<\\/a>, <a>Nat.add_eq_one_iff<\\/a>]\"", "[{\"full_name\":\"WithBot.coe_add\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[617,9],\"def_end_pos\":[617,16]},{\"full_name\":\"Nat.add_eq_one_iff\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[313,7],\"def_end_pos\":[313,21]}]" ], "state_after": "no goals", "state_before": "case coe.coe\na\u271d\u00b9 a\u271d : \u2115\n\u22a2 \u2191a\u271d\u00b9 + \u2191a\u271d = 1 \u2194 \u2191a\u271d\u00b9 = 0 \u2227 \u2191a\u271d = 1 \u2228 \u2191a\u271d\u00b9 = 1 \u2227 \u2191a\u271d = 0", "tactic": "simp [\u2190 WithBot.coe_add, Nat.add_eq_one_iff]" }, { "annotated_tactic": [ "\"simp only [<a>WithBot.bot_add<\\/a>, <a>WithBot.bot_ne_one<\\/a>, <a>WithBot.bot_ne_zero<\\/a>, <a>false_and<\\/a>, <a>or_self<\\/a>]\"", "[{\"full_name\":\"WithBot.bot_add\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[625,9],\"def_end_pos\":[625,16]},{\"full_name\":\"WithBot.bot_ne_one\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[491,37],\"def_end_pos\":[491,47]},{\"full_name\":\"WithBot.bot_ne_zero\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[491,3],\"def_end_pos\":[491,14]},{\"full_name\":\"false_and\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/SimpLemmas.lean\",\"def_pos\":[110,17],\"def_end_pos\":[110,26]},{\"full_name\":\"or_self\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/SimpLemmas.lean\",\"def_pos\":[117,17],\"def_end_pos\":[117,24]}]" ], "state_after": "no goals", "state_before": "case bot\nm : WithBot \u2115\n\u22a2 \u22a5 + m = 1 \u2194 \u22a5 = 0 \u2227 m = 1 \u2228 \u22a5 = 1 \u2227 m = 0", "tactic": "simp only [WithBot.bot_add, WithBot.bot_ne_one, WithBot.bot_ne_zero, false_and, or_self]" }, { "annotated_tactic": [ "\"simp [<a>WithBot.add_bot<\\/a>]\"", "[{\"full_name\":\"WithBot.add_bot\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[630,9],\"def_end_pos\":[630,16]}]" ], "state_after": "no goals", "state_before": "case coe.bot\na\u271d : \u2115\n\u22a2 \u2191a\u271d + \u22a5 = 1 \u2194 \u2191a\u271d = 0 \u2227 \u22a5 = 1 \u2228 \u2191a\u271d = 1 \u2227 \u22a5 = 0", "tactic": "simp [WithBot.add_bot]" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/WithBot.lean" }, { "error": "no internal trace for tactic 'simp [WithBot.bot_add]'", "full_name": "Nat.WithBot.add_eq_three_iff", "id": "Nat.WithBot.add_eq_three_iff", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 59, 49 ], "file_path": "Mathlib/Data/Nat/WithBot.lean", "full_name": "Nat.WithBot.add_eq_three_iff", "start": [ 53, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"cases n\"", "[]" ], "state_after": "case bot\nm : WithBot \u2115\n\u22a2 \u22a5 + m = 3 \u2194 \u22a5 = 0 \u2227 m = 3 \u2228 \u22a5 = 1 \u2227 m = 2 \u2228 \u22a5 = 2 \u2227 m = 1 \u2228 \u22a5 = 3 \u2227 m = 0\n\ncase coe\nm : WithBot \u2115\na\u271d : \u2115\n\u22a2 \u2191a\u271d + m = 3 \u2194 \u2191a\u271d = 0 \u2227 m = 3 \u2228 \u2191a\u271d = 1 \u2227 m = 2 \u2228 \u2191a\u271d = 2 \u2227 m = 1 \u2228 \u2191a\u271d = 3 \u2227 m = 0", "state_before": "n m : WithBot \u2115\n\u22a2 n + m = 3 \u2194 n = 0 \u2227 m = 3 \u2228 n = 1 \u2227 m = 2 \u2228 n = 2 \u2227 m = 1 \u2228 n = 3 \u2227 m = 0", "tactic": "cases n" }, { "annotated_tactic": [ "\"cases m\"", "[]" ], "state_after": "case coe.bot\na\u271d : \u2115\n\u22a2 \u2191a\u271d + \u22a5 = 3 \u2194 \u2191a\u271d = 0 \u2227 \u22a5 = 3 \u2228 \u2191a\u271d = 1 \u2227 \u22a5 = 2 \u2228 \u2191a\u271d = 2 \u2227 \u22a5 = 1 \u2228 \u2191a\u271d = 3 \u2227 \u22a5 = 0\n\ncase coe.coe\na\u271d\u00b9 a\u271d : \u2115\n\u22a2 \u2191a\u271d\u00b9 + \u2191a\u271d = 3 \u2194 \u2191a\u271d\u00b9 = 0 \u2227 \u2191a\u271d = 3 \u2228 \u2191a\u271d\u00b9 = 1 \u2227 \u2191a\u271d = 2 \u2228 \u2191a\u271d\u00b9 = 2 \u2227 \u2191a\u271d = 1 \u2228 \u2191a\u271d\u00b9 = 3 \u2227 \u2191a\u271d = 0", "state_before": "case coe\nm : WithBot \u2115\na\u271d : \u2115\n\u22a2 \u2191a\u271d + m = 3 \u2194 \u2191a\u271d = 0 \u2227 m = 3 \u2228 \u2191a\u271d = 1 \u2227 m = 2 \u2228 \u2191a\u271d = 2 \u2227 m = 1 \u2228 \u2191a\u271d = 3 \u2227 m = 0", "tactic": "cases m" }, { "annotated_tactic": [ "\"simp [\\u2190 <a>WithBot.coe_add<\\/a>, <a>Nat.add_eq_three_iff<\\/a>]\"", "[{\"full_name\":\"WithBot.coe_add\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[617,9],\"def_end_pos\":[617,16]},{\"full_name\":\"Nat.add_eq_three_iff\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[321,7],\"def_end_pos\":[321,23]}]" ], "state_after": "no goals", "state_before": "case coe.coe\na\u271d\u00b9 a\u271d : \u2115\n\u22a2 \u2191a\u271d\u00b9 + \u2191a\u271d = 3 \u2194 \u2191a\u271d\u00b9 = 0 \u2227 \u2191a\u271d = 3 \u2228 \u2191a\u271d\u00b9 = 1 \u2227 \u2191a\u271d = 2 \u2228 \u2191a\u271d\u00b9 = 2 \u2227 \u2191a\u271d = 1 \u2228 \u2191a\u271d\u00b9 = 3 \u2227 \u2191a\u271d = 0", "tactic": "simp [\u2190 WithBot.coe_add, Nat.add_eq_three_iff]" }, { "annotated_tactic": [ "\"simp [<a>WithBot.bot_add<\\/a>]\"", "[{\"full_name\":\"WithBot.bot_add\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[625,9],\"def_end_pos\":[625,16]}]" ], "state_after": "no goals", "state_before": "case bot\nm : WithBot \u2115\n\u22a2 \u22a5 + m = 3 \u2194 \u22a5 = 0 \u2227 m = 3 \u2228 \u22a5 = 1 \u2227 m = 2 \u2228 \u22a5 = 2 \u2227 m = 1 \u2228 \u22a5 = 3 \u2227 m = 0", "tactic": "simp [WithBot.bot_add]" }, { "annotated_tactic": [ "\"simp [<a>WithBot.add_bot<\\/a>]\"", "[{\"full_name\":\"WithBot.add_bot\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[630,9],\"def_end_pos\":[630,16]}]" ], "state_after": "no goals", "state_before": "case coe.bot\na\u271d : \u2115\n\u22a2 \u2191a\u271d + \u22a5 = 3 \u2194 \u2191a\u271d = 0 \u2227 \u22a5 = 3 \u2228 \u2191a\u271d = 1 \u2227 \u22a5 = 2 \u2228 \u2191a\u271d = 2 \u2227 \u22a5 = 1 \u2228 \u2191a\u271d = 3 \u2227 \u22a5 = 0", "tactic": "simp [WithBot.add_bot]" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/WithBot.lean" }, { "error": "no internal trace for tactic 'simp [WithBot.bot_add]'", "full_name": "Nat.WithBot.add_eq_two_iff", "id": "Nat.WithBot.add_eq_two_iff", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 50, 47 ], "file_path": "Mathlib/Data/Nat/WithBot.lean", "full_name": "Nat.WithBot.add_eq_two_iff", "start": [ 44, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"cases n\"", "[]" ], "state_after": "case bot\nm : WithBot \u2115\n\u22a2 \u22a5 + m = 2 \u2194 \u22a5 = 0 \u2227 m = 2 \u2228 \u22a5 = 1 \u2227 m = 1 \u2228 \u22a5 = 2 \u2227 m = 0\n\ncase coe\nm : WithBot \u2115\na\u271d : \u2115\n\u22a2 \u2191a\u271d + m = 2 \u2194 \u2191a\u271d = 0 \u2227 m = 2 \u2228 \u2191a\u271d = 1 \u2227 m = 1 \u2228 \u2191a\u271d = 2 \u2227 m = 0", "state_before": "n m : WithBot \u2115\n\u22a2 n + m = 2 \u2194 n = 0 \u2227 m = 2 \u2228 n = 1 \u2227 m = 1 \u2228 n = 2 \u2227 m = 0", "tactic": "cases n" }, { "annotated_tactic": [ "\"cases m\"", "[]" ], "state_after": "case coe.bot\na\u271d : \u2115\n\u22a2 \u2191a\u271d + \u22a5 = 2 \u2194 \u2191a\u271d = 0 \u2227 \u22a5 = 2 \u2228 \u2191a\u271d = 1 \u2227 \u22a5 = 1 \u2228 \u2191a\u271d = 2 \u2227 \u22a5 = 0\n\ncase coe.coe\na\u271d\u00b9 a\u271d : \u2115\n\u22a2 \u2191a\u271d\u00b9 + \u2191a\u271d = 2 \u2194 \u2191a\u271d\u00b9 = 0 \u2227 \u2191a\u271d = 2 \u2228 \u2191a\u271d\u00b9 = 1 \u2227 \u2191a\u271d = 1 \u2228 \u2191a\u271d\u00b9 = 2 \u2227 \u2191a\u271d = 0", "state_before": "case coe\nm : WithBot \u2115\na\u271d : \u2115\n\u22a2 \u2191a\u271d + m = 2 \u2194 \u2191a\u271d = 0 \u2227 m = 2 \u2228 \u2191a\u271d = 1 \u2227 m = 1 \u2228 \u2191a\u271d = 2 \u2227 m = 0", "tactic": "cases m" }, { "annotated_tactic": [ "\"simp [\\u2190 <a>WithBot.coe_add<\\/a>, <a>Nat.add_eq_two_iff<\\/a>]\"", "[{\"full_name\":\"WithBot.coe_add\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[617,9],\"def_end_pos\":[617,16]},{\"full_name\":\"Nat.add_eq_two_iff\",\"def_path\":\"Mathlib\\/Data\\/Nat\\/Defs.lean\",\"def_pos\":[317,7],\"def_end_pos\":[317,21]}]" ], "state_after": "no goals", "state_before": "case coe.coe\na\u271d\u00b9 a\u271d : \u2115\n\u22a2 \u2191a\u271d\u00b9 + \u2191a\u271d = 2 \u2194 \u2191a\u271d\u00b9 = 0 \u2227 \u2191a\u271d = 2 \u2228 \u2191a\u271d\u00b9 = 1 \u2227 \u2191a\u271d = 1 \u2228 \u2191a\u271d\u00b9 = 2 \u2227 \u2191a\u271d = 0", "tactic": "simp [\u2190 WithBot.coe_add, Nat.add_eq_two_iff]" }, { "annotated_tactic": [ "\"simp [<a>WithBot.bot_add<\\/a>]\"", "[{\"full_name\":\"WithBot.bot_add\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[625,9],\"def_end_pos\":[625,16]}]" ], "state_after": "no goals", "state_before": "case bot\nm : WithBot \u2115\n\u22a2 \u22a5 + m = 2 \u2194 \u22a5 = 0 \u2227 m = 2 \u2228 \u22a5 = 1 \u2227 m = 1 \u2228 \u22a5 = 2 \u2227 m = 0", "tactic": "simp [WithBot.bot_add]" }, { "annotated_tactic": [ "\"simp [<a>WithBot.add_bot<\\/a>]\"", "[{\"full_name\":\"WithBot.add_bot\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[630,9],\"def_end_pos\":[630,16]}]" ], "state_after": "no goals", "state_before": "case coe.bot\na\u271d : \u2115\n\u22a2 \u2191a\u271d + \u22a5 = 2 \u2194 \u2191a\u271d = 0 \u2227 \u22a5 = 2 \u2228 \u2191a\u271d = 1 \u2227 \u22a5 = 1 \u2228 \u2191a\u271d = 2 \u2227 \u22a5 = 0", "tactic": "simp [WithBot.add_bot]" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/WithBot.lean" }, { "error": "no internal trace for tactic 'simp [WithBot.bot_add]'", "full_name": "Nat.WithBot.add_eq_zero_iff", "id": "Nat.WithBot.add_eq_zero_iff", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 33, 51 ], "file_path": "Mathlib/Data/Nat/WithBot.lean", "full_name": "Nat.WithBot.add_eq_zero_iff", "start": [ 28, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"cases n\"", "[]" ], "state_after": "case bot\nm : WithBot \u2115\n\u22a2 \u22a5 + m = 0 \u2194 \u22a5 = 0 \u2227 m = 0\n\ncase coe\nm : WithBot \u2115\na\u271d : \u2115\n\u22a2 \u2191a\u271d + m = 0 \u2194 \u2191a\u271d = 0 \u2227 m = 0", "state_before": "n m : WithBot \u2115\n\u22a2 n + m = 0 \u2194 n = 0 \u2227 m = 0", "tactic": "cases n" }, { "annotated_tactic": [ "\"cases m\"", "[]" ], "state_after": "case coe.bot\na\u271d : \u2115\n\u22a2 \u2191a\u271d + \u22a5 = 0 \u2194 \u2191a\u271d = 0 \u2227 \u22a5 = 0\n\ncase coe.coe\na\u271d\u00b9 a\u271d : \u2115\n\u22a2 \u2191a\u271d\u00b9 + \u2191a\u271d = 0 \u2194 \u2191a\u271d\u00b9 = 0 \u2227 \u2191a\u271d = 0", "state_before": "case coe\nm : WithBot \u2115\na\u271d : \u2115\n\u22a2 \u2191a\u271d + m = 0 \u2194 \u2191a\u271d = 0 \u2227 m = 0", "tactic": "cases m" }, { "annotated_tactic": [ "\"simp [\\u2190 <a>WithBot.coe_add<\\/a>, <a>_root_.add_eq_zero_iff<\\/a>]\"", "[{\"full_name\":\"WithBot.coe_add\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[617,9],\"def_end_pos\":[617,16]},{\"full_name\":\"add_eq_zero_iff\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/Canonical\\/Defs.lean\",\"def_pos\":[218,3],\"def_end_pos\":[218,14]}]" ], "state_after": "no goals", "state_before": "case coe.coe\na\u271d\u00b9 a\u271d : \u2115\n\u22a2 \u2191a\u271d\u00b9 + \u2191a\u271d = 0 \u2194 \u2191a\u271d\u00b9 = 0 \u2227 \u2191a\u271d = 0", "tactic": "simp [\u2190 WithBot.coe_add, _root_.add_eq_zero_iff]" }, { "annotated_tactic": [ "\"simp [<a>WithBot.bot_add<\\/a>]\"", "[{\"full_name\":\"WithBot.bot_add\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[625,9],\"def_end_pos\":[625,16]}]" ], "state_after": "no goals", "state_before": "case bot\nm : WithBot \u2115\n\u22a2 \u22a5 + m = 0 \u2194 \u22a5 = 0 \u2227 m = 0", "tactic": "simp [WithBot.bot_add]" }, { "annotated_tactic": [ "\"simp [<a>WithBot.add_bot<\\/a>]\"", "[{\"full_name\":\"WithBot.add_bot\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[630,9],\"def_end_pos\":[630,16]}]" ], "state_after": "no goals", "state_before": "case coe.bot\na\u271d : \u2115\n\u22a2 \u2191a\u271d + \u22a5 = 0 \u2194 \u2191a\u271d = 0 \u2227 \u22a5 = 0", "tactic": "simp [WithBot.add_bot]" } ], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/WithBot.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Nat.WithBot.lt_zero_iff", "id": "Nat.WithBot.lt_zero_iff", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 68, 74 ], "file_path": "Mathlib/Data/Nat/WithBot.lean", "full_name": "Nat.WithBot.lt_zero_iff", "start": [ 68, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Nat/WithBot.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Num.land_eq_and", "id": "Num.land_eq_and", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 163, 66 ], "file_path": "Mathlib/Data/Num/Bitwise.lean", "full_name": "Num.land_eq_and", "start": [ 163, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Num/Bitwise.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Num.lor_eq_or", "id": "Num.lor_eq_or", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 152, 63 ], "file_path": "Mathlib/Data/Num/Bitwise.lean", "full_name": "Num.lor_eq_or", "start": [ 152, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Num/Bitwise.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Num.lxor_eq_xor", "id": "Num.lxor_eq_xor", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 188, 66 ], "file_path": "Mathlib/Data/Num/Bitwise.lean", "full_name": "Num.lxor_eq_xor", "start": [ 188, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Num/Bitwise.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Num.shiftl_eq_shiftLeft", "id": "Num.shiftl_eq_shiftLeft", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 198, 84 ], "file_path": "Mathlib/Data/Num/Bitwise.lean", "full_name": "Num.shiftl_eq_shiftLeft", "start": [ 198, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Num/Bitwise.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "Num.shiftr_eq_shiftRight", "id": "Num.shiftr_eq_shiftRight", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 208, 85 ], "file_path": "Mathlib/Data/Num/Bitwise.lean", "full_name": "Num.shiftr_eq_shiftRight", "start": [ 208, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Num/Bitwise.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "PosNum.land_eq_and", "id": "PosNum.land_eq_and", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 54, 69 ], "file_path": "Mathlib/Data/Num/Bitwise.lean", "full_name": "PosNum.land_eq_and", "start": [ 54, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Num/Bitwise.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "PosNum.lor_eq_or", "id": "PosNum.lor_eq_or", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 38, 66 ], "file_path": "Mathlib/Data/Num/Bitwise.lean", "full_name": "PosNum.lor_eq_or", "start": [ 38, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Num/Bitwise.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "PosNum.lxor_eq_xor", "id": "PosNum.lxor_eq_xor", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 90, 69 ], "file_path": "Mathlib/Data/Num/Bitwise.lean", "full_name": "PosNum.lxor_eq_xor", "start": [ 90, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Num/Bitwise.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "PosNum.shiftl_eq_shiftLeft", "id": "PosNum.shiftl_eq_shiftLeft", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 118, 87 ], "file_path": "Mathlib/Data/Num/Bitwise.lean", "full_name": "PosNum.shiftl_eq_shiftLeft", "start": [ 118, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Num/Bitwise.lean" }, { "error": "theorem has no selected tactic transitions", "full_name": "PosNum.shiftr_eq_shiftRight", "id": "PosNum.shiftr_eq_shiftRight", "reason": "import_failure", "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 137, 88 ], "file_path": "Mathlib/Data/Num/Bitwise.lean", "full_name": "PosNum.shiftr_eq_shiftRight", "start": [ 137, 1 ], "traced_tactics": [], "url": "https://github.com/leanprover-community/mathlib4" }, "source_file": "Mathlib/Data/Num/Bitwise.lean" } ], "input_proofs": 20, "input_units": 2, "proofs": 5, "published_proofs": 4, "published_transitions": 5, "replay_failures": [], "transitions": 9, "validation_failures": [ { "errors": [ "internal transition boundary mismatch", "internal transition boundary mismatch" ], "file_path": "Mathlib/Data/Nat/WithBot.lean", "proof_id": "mathlib:Nat.WithBot.one_le_iff_zero_lt", "provenance": { "selection": { "commit": "29dcec074de168ac2bf835a77ef68bbe069194c5", "end": [ 76, 50 ], "file_path": "Mathlib/Data/Nat/WithBot.lean", "full_name": "Nat.WithBot.one_le_iff_zero_lt", "start": [ 71, 1 ], "traced_tactics": [ { "annotated_tactic": [ "\"refine \\u27e8zero_lt_one.trans_le, fun h => ?_\\u27e9\"", "[]" ], "state_after": "x : WithBot \u2115\nh : 0 < x\n\u22a2 1 \u2264 x", "state_before": "x : WithBot \u2115\n\u22a2 1 \u2264 x \u2194 0 < x", "tactic": "refine \u27e8zero_lt_one.trans_le, fun h => ?_\u27e9" }, { "annotated_tactic": [ "\"cases x\"", "[]" ], "state_after": "case bot\nh : 0 < \u22a5\n\u22a2 1 \u2264 \u22a5\n\ncase coe\na\u271d : \u2115\nh : 0 < \u2191a\u271d\n\u22a2 1 \u2264 \u2191a\u271d", "state_before": "x : WithBot \u2115\nh : 0 < x\n\u22a2 1 \u2264 x", "tactic": "cases x" }, { "annotated_tactic": [ "\"exact (<a>not_lt_bot<\\/a> h).<a>elim<\\/a>\"", "[{\"full_name\":\"not_lt_bot\",\"def_path\":\"Mathlib\\/Order\\/BoundedOrder.lean\",\"def_pos\":[284,9],\"def_end_pos\":[284,19]},{\"full_name\":\"False.elim\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Prelude.lean\",\"def_pos\":[236,21],\"def_end_pos\":[236,31]}]" ], "state_after": "no goals", "state_before": "case bot\nh : 0 < \u22a5\n\u22a2 1 \u2264 \u22a5", "tactic": "exact (not_lt_bot h).elim" }, { "annotated_tactic": [ "\"rwa [\\u2190 <a>WithBot.coe_zero<\\/a>, <a>WithBot.coe_lt_coe<\\/a>, \\u2190 <a>Nat.add_one_le_iff<\\/a>, <a>zero_add<\\/a>,\\n \\u2190 <a>WithBot.coe_le_coe<\\/a>, <a>WithBot.coe_one<\\/a>] at h\"", "[{\"full_name\":\"WithBot.coe_zero\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[479,3],\"def_end_pos\":[479,14]},{\"full_name\":\"WithBot.coe_lt_coe\",\"def_path\":\"Mathlib\\/Order\\/WithBot.lean\",\"def_pos\":[299,9],\"def_end_pos\":[299,19]},{\"full_name\":\"Nat.add_one_le_iff\",\"def_path\":\".lake\\/packages\\/lean4\\/src\\/lean\\/Init\\/Data\\/Nat\\/Basic.lean\",\"def_pos\":[618,9],\"def_end_pos\":[618,23]},{\"full_name\":\"zero_add\",\"def_path\":\"Mathlib\\/Algebra\\/Group\\/Defs.lean\",\"def_pos\":[476,3],\"def_end_pos\":[476,14]},{\"full_name\":\"WithBot.coe_le_coe\",\"def_path\":\"Mathlib\\/Order\\/WithBot.lean\",\"def_pos\":[213,9],\"def_end_pos\":[213,19]},{\"full_name\":\"WithBot.coe_one\",\"def_path\":\"Mathlib\\/Algebra\\/Order\\/Monoid\\/WithTop.lean\",\"def_pos\":[479,48],\"def_end_pos\":[479,55]}]" ], "state_after": "no goals", "state_before": "case coe\na\u271d : \u2115\nh : 0 < \u2191a\u271d\n\u22a2 1 \u2264 \u2191a\u271d", "tactic": "rwa [\u2190 WithBot.coe_zero, WithBot.coe_lt_coe, \u2190 Nat.add_one_le_iff, zero_add,\n \u2190 WithBot.coe_le_coe, WithBot.coe_one] at h" } ], "url": "https://github.com/leanprover-community/mathlib4" } }, "theorem_name": "Nat.WithBot.one_le_iff_zero_lt" } ], "validation_rejected_proofs": 1, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/mathlib-001027-0000-ef1a8cf0a209dd7a.parquet", "sha256": "ef1a8cf0a209dd7a19ac9216ba71dc3c5c158ad5384c56706dc3831bfda0bb7d", "bytes": 28302, "rows": 2, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" }, { "path": "data/internal_test/mathlib-001027-0000-d8a66a5909c61cb3.parquet", "sha256": "d8a66a5909c61cb36698b32e9e364834dd07cd7ea1f7a3adbd6015443e37ee85", "bytes": 37047, "rows": 3, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "mathlib:Nat.WithBot.coe_nonneg", "mathlib:Nat.WithBot.lt_one_iff_le_zero", "mathlib:SNum.bit_one", "mathlib:SNum.bit_zero" ], "proof_keys": [ "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/WithBot.lean\",null,null,\"Nat.WithBot.coe_nonneg\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Nat/WithBot.lean\",null,null,\"Nat.WithBot.lt_one_iff_le_zero\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Num/Bitwise.lean\",null,null,\"SNum.bit_one\"]", "[\"mathlib\",\"29dcec074de168ac2bf835a77ef68bbe069194c5\",\"Mathlib/Data/Num/Bitwise.lean\",null,null,\"SNum.bit_zero\"]" ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "format": "leangpt-parquet-v2", "batch": "numina/001778", "batch_fingerprint": "3d4f36f69fa6220959a180ac295777164abf5d6f36af9f5fd234fd77bf1253f3", "evidence": { "batch_fingerprint": "3d4f36f69fa6220959a180ac295777164abf5d6f36af9f5fd234fd77bf1253f3", "contamination_matches": [], "failures": [], "input_proofs": 5, "input_units": 5, "proofs": 5, "published_proofs": 5, "published_transitions": 19, "replay_failures": [], "trace_mode": "bundle", "transitions": 19, "validation_failures": [], "validation_rejected_proofs": 0, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/numina-001778-0000-c3e82931c1842453.parquet", "sha256": "c3e82931c18424537d0b4e20387e9e25673879f37f7a144a46be2989e55ad4c7", "bytes": 150187, "rows": 16, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" }, { "path": "data/internal_test/numina-001778-0000-88b556cdb3df311b.parquet", "sha256": "88b556cdb3df311b5780c2da0ea2b48c3b8b55a610c1fed1cfb4fc60c323d56e", "bytes": 122025, "rows": 3, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "numina:252baa8c-4b55-5e2f-b838-4ca939b9cf8c", "numina:6c5900d5-b84a-5417-abbb-4346997f96e5", "numina:9ac36cf5-d77f-5ee5-a4db-8b20a57a82af", "numina:d216c643-25eb-52c2-bf95-7b4d0d93a66e", "numina:eb2e7e4b-6e6b-5328-9d09-29fb9a2ce347" ], "proof_keys": [ "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008890.lean\",\"055f5e9d10eeb5193b7b22afafcb46816d0dd53ad574805deb5ffad5ced3e519\",0,\"inequalities_602078\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008891.lean\",\"bfbf518d35969b2eed36ae130c15c8908112d08e9eed041fa2afcf4d21e00a98\",0,\"number_theory_101912\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008892.lean\",\"0e8fa9b4564ebffa2b5146c49c9267c38ae2aa44d135e1193969a27641516c30\",0,\"algebra_606264\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008893.lean\",\"87aea9fca162eb0bec47544ae008e70cbe19c935dfff92aa3548c3b01b024c85\",0,\"number_theory_286882\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008894.lean\",\"6f1101640217d6501c9e8154d5614264f20ad46f3263007b677506b40873a141\",0,\"number_theory_4554\"]" ]}1234567891011121314151617181920212223242526272829303132333435363738394041424344{ "format": "leangpt-parquet-v2", "batch": "numina/001779", "batch_fingerprint": "5b7400dc4523c9facb60aa2b666d66d2ee75178a1e2dca19e7ee4436d775061b", "evidence": { "batch_fingerprint": "5b7400dc4523c9facb60aa2b666d66d2ee75178a1e2dca19e7ee4436d775061b", "contamination_matches": [], "failures": [], "input_proofs": 5, "input_units": 5, "proofs": 5, "published_proofs": 5, "published_transitions": 57, "replay_failures": [], "trace_mode": "bundle", "transitions": 57, "validation_failures": [], "validation_rejected_proofs": 0, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/numina-001779-0000-50404b021a10f6f8.parquet", "sha256": "50404b021a10f6f8b29766acbd1a84937853a2a2e7456c126e53ddf75e924c91", "bytes": 406075, "rows": 57, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "numina:26be51ce-a7b3-5e28-85b6-6a9534bd5467", "numina:4bcb9bd4-ca2e-5ecb-9e48-fded20ff1869", "numina:aa0c55a4-cb8d-5312-9e2d-d481b33acd09", "numina:caa13ec2-7ff5-5670-9ca2-9bd26ac4328e", "numina:dc86631a-2f00-57dc-9c78-8931e7fba722" ], "proof_keys": [ "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008895.lean\",\"571f70b4d6eaa1eafdff9c252615d200066ebc506fcffe63e8624e113680b196\",0,\"calculus_23452\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008896.lean\",\"4a1331e416cb0d719215b708f913399fa4a167c5ac4344eb07ca09d465de8812\",0,\"algebra_128626\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008897.lean\",\"66653f0c79a75e516be8d6207aa2f355f71fb02de16e7ba6abf41f738fd21d93\",0,\"inequalities_72088\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008898.lean\",\"3f3a499d1744391f562e72591f6d20a7211016ed09c77d7644bcd7c1f07ac033\",0,\"algebra_156370\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008899.lean\",\"4ab2671be7c60080bceb51f7e22bd3c75341e5cd9ec738c1fe5a15d27a802d20\",0,\"algebra_96241\"]" ]}1234567891011121314151617181920212223242526272829303132333435363738394041424344{ "format": "leangpt-parquet-v2", "batch": "numina/001780", "batch_fingerprint": "6d05dc6960045171c1fce84ac33e26de61becd828c57b8f93380d2111ed95abb", "evidence": { "batch_fingerprint": "6d05dc6960045171c1fce84ac33e26de61becd828c57b8f93380d2111ed95abb", "contamination_matches": [], "failures": [], "input_proofs": 5, "input_units": 5, "proofs": 5, "published_proofs": 5, "published_transitions": 30, "replay_failures": [], "trace_mode": "bundle", "transitions": 30, "validation_failures": [], "validation_rejected_proofs": 0, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/numina-001780-0000-9bbaf6515ef4aa0d.parquet", "sha256": "9bbaf6515ef4aa0d4ac8fc4dfb29257f1858e6f8dcc6a5e6e3ceae0630443aaf", "bytes": 210475, "rows": 30, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "numina:2b873165-22d4-52d4-91c2-3cae919911ff", "numina:41624ef7-bd34-56b5-8e75-a6824c5320af", "numina:a89bb1ad-3eeb-513f-9703-f41e35ac9364", "numina:b06456a1-1eba-5d06-9454-3bdb75e5897b", "numina:bc9756d2-2e2d-5d7a-94ff-808b16bb358e" ], "proof_keys": [ "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008900.lean\",\"9e45281f050dc47c959118841af39cfc54d6c536d7b1a608e080bf089149ba3e\",0,\"calculus_15123\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008901.lean\",\"2e0d188ecbaab609b20ffe573c4d647d9aa28798083c772e4ee25e63371b3146\",0,\"algebra_19365\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008902.lean\",\"366f01aefcf1f39fe4bfd8d9a48ec983dd0c084e902b11e29466c60b6d2f7699\",0,\"inequalities_602273\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008903.lean\",\"0d700d94851a9f1b9775d1fccdd8df3f4672b6d0673766a75961c2e5ca26d967\",0,\"number_theory_4555\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008904.lean\",\"7682afc4c3c980643eb54e4df85028976af494d4b5bdadf50e4bf44eb38cbd32\",0,\"algebra_223455\"]" ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "format": "leangpt-parquet-v2", "batch": "numina/001781", "batch_fingerprint": "a04ab507a6309fce57a82c46021488bab77babb11795c9cfb2fbb67bce27cb0f", "evidence": { "batch_fingerprint": "a04ab507a6309fce57a82c46021488bab77babb11795c9cfb2fbb67bce27cb0f", "contamination_matches": [], "failures": [], "input_proofs": 5, "input_units": 5, "proofs": 5, "published_proofs": 5, "published_transitions": 27, "replay_failures": [], "trace_mode": "bundle", "transitions": 27, "validation_failures": [], "validation_rejected_proofs": 0, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/numina-001781-0000-ba16bdff7c6bcbe5.parquet", "sha256": "ba16bdff7c6bcbe54eda246726a59c16d172b772ccfc3dc47309da6d4bb1a55e", "bytes": 106831, "rows": 17, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" }, { "path": "data/internal_test/numina-001781-0000-36a269e2ae29c52f.parquet", "sha256": "36a269e2ae29c52f3e939e56c85a8138b7dc10f0d9adbe8ddd206530b958992a", "bytes": 153983, "rows": 10, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "numina:041cccd6-9a33-58ff-a27d-83530eb0caa0", "numina:103098e3-59e9-5c01-bdf5-c54bf01c8bad", "numina:5e64c515-400e-5a04-bb81-4a5788a79e4f", "numina:8a1fd1b9-dc68-54e6-bb47-6af0e38fea3a", "numina:e5077727-f689-58d3-9804-c5477c9a711f" ], "proof_keys": [ "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008905.lean\",\"45865b1a466f0575abb0610c95564196b7a1fa2d0469eb1dbcdac7739bd4a2c8\",0,\"number_theory_609689\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008906.lean\",\"e31a0c5221007572bddd66d7e192c8dda56a91aa4754f088f761a4f2f00472b2\",0,\"algebra_20563\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008907.lean\",\"1417bb27575ef2e8835a93692dad48e5aaa6c98013fed60b456ab7df428565ba\",0,\"inequalities_602731\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008908.lean\",\"7f0228e967a15b42965164289b5778aa14b1f2b17a572b6d989db3fc1d037150\",0,\"inequalities_249099\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008909.lean\",\"7740af2017a8d89afcb76ec6a847e9f25d0b0533ceffda8d818e049fd83729c1\",0,\"number_theory_240617\"]" ]}1234567891011121314151617181920212223242526272829303132333435363738394041424344{ "format": "leangpt-parquet-v2", "batch": "numina/001782", "batch_fingerprint": "8d649cf1d22f206fc7cfcfa6bf35218c95a3b6b30ea8d6524e723d1471f7e5d8", "evidence": { "batch_fingerprint": "8d649cf1d22f206fc7cfcfa6bf35218c95a3b6b30ea8d6524e723d1471f7e5d8", "contamination_matches": [], "failures": [], "input_proofs": 5, "input_units": 5, "proofs": 5, "published_proofs": 5, "published_transitions": 20, "replay_failures": [], "trace_mode": "bundle", "transitions": 20, "validation_failures": [], "validation_rejected_proofs": 0, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/numina-001782-0000-3b0f6d2ca27cc1ef.parquet", "sha256": "3b0f6d2ca27cc1ef74a581491daa515a7fbd532cf9d7cdd5a027c3a3b858435b", "bytes": 426098, "rows": 20, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "numina:04baaa88-8d0a-514c-83d3-cb4e2fd5a15d", "numina:59c18eca-ca7f-50c6-8aa6-f7f6988142c4", "numina:6b705760-2eae-555c-b5f9-c7dd2c5437a9", "numina:abdb1e2b-5d30-5979-91a0-d36644e76cf0", "numina:af4b4673-3053-5cd9-a9c7-d4b8c0b052e6" ], "proof_keys": [ "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008910.lean\",\"0170d5102d0499f091c7be8c1676909cf11473aa6eeb7ba139a0f2f142e4fd41\",0,\"number_theory_4556\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008911.lean\",\"06fdd91b533d8c76eb723de8f5db536b99c97d0b0d0b99bb3bb49ca8ebb3a3e3\",0,\"number_theory_606273\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008912.lean\",\"704a08b2eb2176b15c31f73197559fdb1736248afe4387e4e355730a92fef966\",0,\"inequalities_128869\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008913.lean\",\"988059b30cf29f1bb7cc242a0fecc9ae48971394ac2bcce2294705f56e6e2f14\",0,\"algebra_610028\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008914.lean\",\"cf74bcf23eaa588a799e26036151ba708ec8b9abe3a3c21d8b11cfebd7a5368d\",0,\"algebra_182111\"]" ]}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ "format": "leangpt-parquet-v2", "batch": "numina/001783", "batch_fingerprint": "954bb49fd104f79ba920794d3baf241349f5fb25208d3c0d5b20e4809966221f", "evidence": { "batch_fingerprint": "954bb49fd104f79ba920794d3baf241349f5fb25208d3c0d5b20e4809966221f", "bundle_error": "helper declarations require isolated extraction", "contamination_matches": [], "failures": [], "input_proofs": 5, "input_units": 5, "proofs": 5, "published_proofs": 5, "published_transitions": 24, "replay_failures": [], "trace_mode": "individual", "transitions": 24, "validation_failures": [], "validation_rejected_proofs": 0, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/numina-001783-0000-ae092167e7b97b7e.parquet", "sha256": "ae092167e7b97b7edbbe62adb289f80b2363cdf59a5f4d2675de0b8de890f06d", "bytes": 127889, "rows": 20, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" }, { "path": "data/internal_test/numina-001783-0000-3d1b54ff3ccf796e.parquet", "sha256": "3d1b54ff3ccf796eccde2cef820db7cfe0a09d37c6c92004bcd114ed9a79f48f", "bytes": 42561, "rows": 4, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "numina:30392062-9f49-556c-b4a3-69d99815349c", "numina:450ac881-0b82-5304-b287-446ce63abb1d", "numina:490fccaa-aa5a-5846-9229-b765ab90c9bc", "numina:c539f2f2-bc7b-5f8a-befe-4a5b0891a1e2", "numina:c9acf82e-8747-5609-a022-2352b31c57ae" ], "proof_keys": [ "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008915.lean\",\"7c49ac414e84c2a7ceb9265a37a99644d0c6d422cbf814e83a5f448d321bbeef\",0,\"number_theory_610974\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008916.lean\",\"debac00c9851be63c78599de840c053c1acc943cf8c4beba7dd7659be359dae4\",0,\"number_theory_154867\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008917.lean\",\"05d50d56822d58b1ee613600ba50b18d1d1b929266fe8ce5ecd7117da05b5c10\",0,\"algebra_14631\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008918.lean\",\"d6fc2b718566d65c65ef81ca86fb3385c213f482d7543df95c2bab9f09d1b746\",0,\"inequalities_602768\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008919.lean\",\"941a9c98dc18d431f1c651a799cc4ce3afe2cf140e903e5638943115b19739a8\",1,\"number_theory_4514_2\"]" ]}1234567891011121314151617181920212223242526272829303132333435363738394041424344{ "format": "leangpt-parquet-v2", "batch": "numina/001784", "batch_fingerprint": "f1201fa625d8ef0f484afd238e2fafdf0d1ea74fa85022d2127bfeb47eeeb1c3", "evidence": { "batch_fingerprint": "f1201fa625d8ef0f484afd238e2fafdf0d1ea74fa85022d2127bfeb47eeeb1c3", "contamination_matches": [], "failures": [], "input_proofs": 5, "input_units": 5, "proofs": 5, "published_proofs": 5, "published_transitions": 25, "replay_failures": [], "trace_mode": "bundle", "transitions": 25, "validation_failures": [], "validation_rejected_proofs": 0, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/numina-001784-0000-63f03f74239fc150.parquet", "sha256": "63f03f74239fc150101103f09b56cfb62f2c0caaf515ae9867a30c0bac4472fa", "bytes": 313523, "rows": 25, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "numina:07672585-652a-5320-9969-bac00038926d", "numina:085513ab-357e-5e13-9287-ff8df001f57a", "numina:12f54fa9-acfd-5bbd-a911-33bc5efbc3fc", "numina:7a30a024-f00d-5628-bbf8-a6e1a8175a7d", "numina:bd965e37-6930-5fba-b85f-0bf2cabef215" ], "proof_keys": [ "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008920.lean\",\"c708ea5326f5c62199738cb62b2e4ae80f4a22b0534e74d241ec3171d5abfb44\",0,\"inequalities_606277\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008921.lean\",\"9e252d02d41081e9cd452811ec807f44c5d078329bb7ce592a9ee5e17b32db57\",0,\"inequalities_610036\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008922.lean\",\"061f389f12fa1e36f63d55f2b2e5ab7858e61b850bd7cb84195a8fc8f4d85d34\",0,\"algebra_137434\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008923.lean\",\"3b5632b05c581f0401297c4f1e4a38d2f0d003bd71020668222adedd963737ce\",0,\"inequalities_200521\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008924.lean\",\"3b713f28a7c71fb8f72b458eac435fda2d988f40c1ab08a047fc700fbcf74ab8\",0,\"number_theory_116040\"]" ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ "format": "leangpt-parquet-v2", "batch": "numina/001785", "batch_fingerprint": "285d3640e3910bd8223053894269e917f9975c13748fb0a754bad3b7dcd9cf2b", "evidence": { "batch_fingerprint": "285d3640e3910bd8223053894269e917f9975c13748fb0a754bad3b7dcd9cf2b", "contamination_matches": [], "failures": [ { "error": "trace contains no replayable tactic transitions", "id": "a47efa4f-4f34-58a6-b47b-f0eb4481d4ba", "index": 8929, "reason": "import_failure", "selection": { "file_path": "Full/Proof_008929.lean", "id": "a47efa4f-4f34-58a6-b47b-f0eb4481d4ba", "index": 8929, "metadata": { "declaration_kind": "theorem", "source_dataset": "numina", "theorem_name": "inequalities_200534", "theorem_ordinal": 0 }, "source_sha256": "f57c544d0f8e07e6b09c672f3ccaeacb1ab6f7bf20b81a627d9a4c34f8e1ed9e" }, "source_file": "Full/Proof_008929.lean" } ], "input_proofs": 5, "input_units": 5, "proofs": 4, "published_proofs": 4, "published_transitions": 24, "replay_failures": [], "trace_mode": "bundle", "transitions": 24, "validation_failures": [], "validation_rejected_proofs": 0, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/numina-001785-0000-e9cd3f3a84946a32.parquet", "sha256": "e9cd3f3a84946a32016ede6f2e2436e8a6682f3988ec9c880576b49f5d272d68", "bytes": 49903, "rows": 13, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" }, { "path": "data/internal_test/numina-001785-0000-626530b2eab08cf8.parquet", "sha256": "626530b2eab08cf839da4b91882ec703610137ed81bf113c70b59a879c75ef84", "bytes": 119600, "rows": 11, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "numina:0e075d00-9796-546d-ab9d-8b105f37dac3", "numina:334d1633-8f89-5539-94a0-bd4681429b5e", "numina:4acf6310-719e-5567-8a68-b2b69fa2c867", "numina:c2c91166-9b1c-52d6-b76a-07ad11f6ecb9" ], "proof_keys": [ "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008925.lean\",\"e488f276d0f23c2562e4aeff55aa1589f0c7dd292a2b4c16fd6308c006d02732\",0,\"algebra_103398\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008926.lean\",\"b8973a93f742ba3e3b2d63c3acb37764851b8f9baa9cf40ea41e5933663832c7\",0,\"algebra_20567\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008927.lean\",\"5eb51911944be8f2f279219a73d6fea1463ea2ec03a388b3168b6d29177c22e8\",0,\"algebra_240720\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008928.lean\",\"08c999744b744be0d2a96920dd7b54df4d94c4ad75f814d96228da1fd5ee80ec\",0,\"number_theory_4515\"]" ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445{ "format": "leangpt-parquet-v2", "batch": "numina/001786", "batch_fingerprint": "0262fb5afa73bf9ab72658781a0391a7906e7e47c7f8f56bca49719a1c4c3831", "evidence": { "batch_fingerprint": "0262fb5afa73bf9ab72658781a0391a7906e7e47c7f8f56bca49719a1c4c3831", "bundle_error": "helper declarations require isolated extraction", "contamination_matches": [], "failures": [], "input_proofs": 5, "input_units": 5, "proofs": 5, "published_proofs": 5, "published_transitions": 45, "replay_failures": [], "trace_mode": "individual", "transitions": 45, "validation_failures": [], "validation_rejected_proofs": 0, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/numina-001786-0000-a2a7557126294827.parquet", "sha256": "a2a7557126294827579ab3a4fd6036fe35387c621a3368ac8852db2396b13cd7", "bytes": 645794, "rows": 45, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "numina:2fde2018-13e8-5a55-9145-a1fc443fe9ad", "numina:4cffc8e6-6e3a-5e99-90f5-20f21d66c918", "numina:7f6de6ca-6c37-580a-a1eb-cbe3677e8086", "numina:883c85fe-e818-5839-850a-0ad12781b0e0", "numina:db0aa3dc-c75e-5c20-80dc-ab469138b9ec" ], "proof_keys": [ "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008930.lean\",\"0a1e2823e2e7f5e8a108f1fbfcb62955f7951a66bd1a753ca2964337884a3159\",0,\"algebra_95090\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008931.lean\",\"581ccf9fcb2e1b0347df3db8103a22cc571756f3cdac2814490bd5ca8f828840\",0,\"algebra_20171\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008932.lean\",\"bd091306a27999ab22b14a6b3a905184f452e8be0a18df5f4a2d65135f609e87\",0,\"algebra_240729\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008933.lean\",\"c3a3570bc5109f538ec34d9b0b421a48c92c4d25817fed29e0c97417725def0f\",0,\"algebra_253423\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008934.lean\",\"aad016008510d62b8042465738bad44460724caef5959fd535b9779df3bfc173\",1,\"number_theory_4516_2\"]" ]}1234567891011121314151617181920212223242526272829303132333435363738394041424344{ "format": "leangpt-parquet-v2", "batch": "numina/001787", "batch_fingerprint": "ab2603df1c5d14f4f39869c054bbcb01680dc08e7e860684fc003f132ffac076", "evidence": { "batch_fingerprint": "ab2603df1c5d14f4f39869c054bbcb01680dc08e7e860684fc003f132ffac076", "contamination_matches": [], "failures": [], "input_proofs": 5, "input_units": 5, "proofs": 5, "published_proofs": 5, "published_transitions": 22, "replay_failures": [], "trace_mode": "bundle", "transitions": 22, "validation_failures": [], "validation_rejected_proofs": 0, "zero_transition_proofs": 0 }, "shards": [ { "path": "data/train/numina-001787-0000-92a0d5e97ca06d69.parquet", "sha256": "92a0d5e97ca06d69c1057ff1d52972cd818aafdf5054bed6f6d8066fc9d0050a", "bytes": 173844, "rows": 22, "revision": "5c0f41e8f501e35e87ac183e979c36fe8d0fabd3" } ], "proof_ids": [ "numina:2047a367-191c-505e-aca7-ec9fe14faa0f", "numina:581f4cd2-4911-536c-8cc9-35b94d65b0d7", "numina:a250addf-3c3e-51e8-9000-1a715214f55f", "numina:d70377fc-01a5-5bdd-8681-67345659904e", "numina:ffda9ede-db80-5249-a11b-040cd779705e" ], "proof_keys": [ "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008935.lean\",\"dc64ebc65b9f5492761a7e8be60143749a4f0fd4bd7c6baa06627b8bad3ab88f\",0,\"number_theory_23426\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008936.lean\",\"788ea9c7dc1c66b88b1f5d94c41d39f00e86792f3b743f7f5b6f720ffa41904d\",0,\"algebra_211052\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008937.lean\",\"5acffeb03240d834db43f5719540c552468e68b55c8a87c7c1bc43c7eee99ba1\",0,\"algebra_13816\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008938.lean\",\"aeac8b7b0a0331e28ad607d1275e6a0bc7576a56aa2878944410c942f47dc9e9\",0,\"algebra_20173\"]", "[\"numina\",\"51fa67f1f647ae1ecd81eef9f19306aa8a7b3a94\",\"Full/Proof_008939.lean\",\"1fec7e0c2945ebd0cfa02eed8a70fe25d51839b0326488c7ebbeabdeb08e62f8\",0,\"algebra_240739\"]" ]}manifests/batches/mathlib/001019.jsonAdded
manifests/batches/mathlib/001020.jsonAdded+1612
manifests/batches/mathlib/001021.jsonAdded+1338
manifests/batches/mathlib/001022.jsonAdded
manifests/batches/mathlib/001023.jsonAdded
manifests/batches/mathlib/001024.jsonAdded+847
manifests/batches/mathlib/001025.jsonAdded
manifests/batches/mathlib/001026.jsonAdded
manifests/batches/mathlib/001027.jsonAdded+627
manifests/batches/mathlib/001028.jsonAdded
manifests/batches/numina/001778.jsonAdded+51
manifests/batches/numina/001779.jsonAdded+44
manifests/batches/numina/001780.jsonAdded+44
manifests/batches/numina/001781.jsonAdded+51
manifests/batches/numina/001782.jsonAdded+44
manifests/batches/numina/001783.jsonAdded+52
manifests/batches/numina/001784.jsonAdded+44
manifests/batches/numina/001785.jsonAdded+69
manifests/batches/numina/001786.jsonAdded+45
manifests/batches/numina/001787.jsonAdded+44