@@ -2846,6 +2846,7 @@ public theorem size_eq_if_rcc [LE α] [DecidableLE α] [UpwardEnumerable α]
28462846 · split <;> simp [*]
28472847 · rfl
28482848
2849+ @[simp]
28492850public theorem length_toList [LE α] [DecidableLE α] [UpwardEnumerable α]
28502851 [Rxc.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLE α]
28512852 [Rxc.IsAlwaysFinite α] [Rxc.LawfulHasSize α] :
@@ -2864,6 +2865,7 @@ public theorem length_toList [LE α] [DecidableLE α] [UpwardEnumerable α]
28642865 simp [h, ← ih _ h]
28652866 · simp
28662867
2868+ @[simp]
28672869public theorem size_toArray [LE α] [DecidableLE α] [UpwardEnumerable α]
28682870 [Rxc.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLE α]
28692871 [Rxc.IsAlwaysFinite α] [Rxc.LawfulHasSize α] :
@@ -2988,13 +2990,15 @@ public theorem size_eq_match_roc [LE α] [DecidableLE α] [UpwardEnumerable α]
29882990 rw [size_eq_match_rcc]
29892991 simp [Rcc.size_eq_if_roc]
29902992
2993+ @[simp]
29912994public theorem length_toList [LE α] [DecidableLE α] [UpwardEnumerable α]
29922995 [Rxc.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLE α]
29932996 [Rxc.IsAlwaysFinite α] [Rxc.LawfulHasSize α] :
29942997 r.toList.length = r.size := by
29952998 simp only [toList_eq_match_rcc, size_eq_match_rcc]
29962999 split <;> simp [Rcc.length_toList]
29973000
3001+ @[simp]
29983002public theorem size_toArray [LE α] [DecidableLE α] [UpwardEnumerable α]
29993003 [Rxc.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLE α]
30003004 [Rxc.IsAlwaysFinite α] [Rxc.LawfulHasSize α] :
@@ -3094,13 +3098,15 @@ public theorem size_eq_match_roc [Least? α] [LE α] [DecidableLE α] [UpwardEnu
30943098 rw [size_eq_match_rcc]
30953099 simp [Rcc.size_eq_if_roc]
30963100
3101+ @[simp]
30973102public theorem length_toList [Least? α] [LE α] [DecidableLE α] [UpwardEnumerable α]
30983103 [Rxc.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLE α]
30993104 [Rxc.IsAlwaysFinite α] [Rxc.LawfulHasSize α] :
31003105 r.toList.length = r.size := by
31013106 rw [toList_eq_match_rcc, size_eq_match_rcc]
31023107 split <;> simp [Rcc.length_toList]
31033108
3109+ @[simp]
31043110public theorem size_toArray [Least? α] [LE α] [DecidableLE α] [UpwardEnumerable α]
31053111 [Rxc.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLE α]
31063112 [Rxc.IsAlwaysFinite α] [Rxc.LawfulHasSize α] :
@@ -3223,6 +3229,7 @@ public theorem size_eq_if_rcc [LT α] [DecidableLT α] [UpwardEnumerable α]
32233229 · split <;> simp [*]
32243230 · rfl
32253231
3232+ @[simp]
32263233public theorem length_toList [LT α] [DecidableLT α] [UpwardEnumerable α]
32273234 [Rxo.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLT α]
32283235 [Rxo.IsAlwaysFinite α] [Rxo.LawfulHasSize α] :
@@ -3241,6 +3248,7 @@ public theorem length_toList [LT α] [DecidableLT α] [UpwardEnumerable α]
32413248 simp [h, ← ih _ h]
32423249 · simp
32433250
3251+ @[simp]
32443252public theorem size_toArray [LT α] [DecidableLT α] [UpwardEnumerable α]
32453253 [Rxo.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLT α]
32463254 [Rxo.IsAlwaysFinite α] [Rxo.LawfulHasSize α] :
@@ -3366,13 +3374,15 @@ public theorem size_eq_match_roc [LT α] [DecidableLT α] [UpwardEnumerable α]
33663374 rw [size_eq_match_rcc]
33673375 simp [Rco.size_eq_if_roo]
33683376
3377+ @[simp]
33693378public theorem length_toList [LT α] [DecidableLT α] [UpwardEnumerable α]
33703379 [Rxo.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLT α]
33713380 [Rxo.IsAlwaysFinite α] [Rxo.LawfulHasSize α] :
33723381 r.toList.length = r.size := by
33733382 simp only [toList_eq_match_rco, size_eq_match_rcc]
33743383 split <;> simp [Rco.length_toList]
33753384
3385+ @[simp]
33763386public theorem size_toArray [LT α] [DecidableLT α] [UpwardEnumerable α]
33773387 [Rxo.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLT α]
33783388 [Rxo.IsAlwaysFinite α] [Rxo.LawfulHasSize α] :
@@ -3472,13 +3482,15 @@ public theorem size_eq_match_roc [Least? α] [LT α] [DecidableLT α] [UpwardEnu
34723482 rw [size_eq_match_rcc]
34733483 simp [Rco.size_eq_if_roo]
34743484
3485+ @[simp]
34753486public theorem length_toList [Least? α] [LT α] [DecidableLT α] [UpwardEnumerable α]
34763487 [Rxo.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLT α]
34773488 [Rxo.IsAlwaysFinite α] [Rxo.LawfulHasSize α] :
34783489 r.toList.length = r.size := by
34793490 rw [toList_eq_match_rco, size_eq_match_rcc]
34803491 split <;> simp [Rco.length_toList]
34813492
3493+ @[simp]
34823494public theorem size_toArray [Least? α] [LT α] [DecidableLT α] [UpwardEnumerable α]
34833495 [Rxo.HasSize α] [LawfulUpwardEnumerable α] [LawfulUpwardEnumerableLT α]
34843496 [Rxo.IsAlwaysFinite α] [Rxo.LawfulHasSize α] :
@@ -3590,6 +3602,7 @@ public theorem size_eq_match_rci [UpwardEnumerable α] [Rxi.HasSize α] [LawfulU
35903602 simp only [Rci.size]
35913603 split <;> simp [*]
35923604
3605+ @[simp]
35933606public theorem length_toList [UpwardEnumerable α] [Rxi.HasSize α] [LawfulUpwardEnumerable α]
35943607 [Rxi.IsAlwaysFinite α] [Rxi.LawfulHasSize α] :
35953608 r.toList.length = r.size := by
@@ -3605,6 +3618,7 @@ public theorem length_toList [UpwardEnumerable α] [Rxi.HasSize α] [LawfulUpwar
36053618 · simp only [Nat.add_right_cancel_iff, *] at h
36063619 simp [ih _ h, h]
36073620
3621+ @[simp]
36083622public theorem size_toArray [UpwardEnumerable α] [Rxi.HasSize α] [LawfulUpwardEnumerable α]
36093623 [Rxi.IsAlwaysFinite α] [Rxi.LawfulHasSize α] :
36103624 r.toArray.size = r.size := by
@@ -3711,12 +3725,14 @@ public theorem size_eq_match_roi [UpwardEnumerable α] [Rxi.HasSize α] [LawfulU
37113725 rw [size_eq_match_rci]
37123726 simp [Rci.size_eq_size_roi]
37133727
3728+ @[simp]
37143729public theorem length_toList [UpwardEnumerable α] [Rxi.HasSize α] [LawfulUpwardEnumerable α]
37153730 [Rxi.IsAlwaysFinite α] [Rxi.LawfulHasSize α] :
37163731 r.toList.length = r.size := by
37173732 simp only [toList_eq_match_rci, size_eq_match_rci]
37183733 split <;> simp [Rci.length_toList]
37193734
3735+ @[simp]
37203736public theorem size_toArray [UpwardEnumerable α] [Rxi.HasSize α] [LawfulUpwardEnumerable α]
37213737 [Rxi.IsAlwaysFinite α] [Rxi.LawfulHasSize α] :
37223738 r.toArray.size = r.size := by
@@ -3809,13 +3825,15 @@ public theorem size_eq_match_roi [Least? α] [UpwardEnumerable α] [Rxi.HasSize
38093825 rw [size_eq_match_rci]
38103826 simp [Rci.size_eq_size_roi]
38113827
3828+ @[simp]
38123829public theorem length_toList [Least? α] [UpwardEnumerable α]
38133830 [Rxi.HasSize α] [LawfulUpwardEnumerable α]
38143831 [Rxi.IsAlwaysFinite α] [Rxi.LawfulHasSize α] :
38153832 r.toList.length = r.size := by
38163833 rw [toList_eq_match_rci, size_eq_match_rci]
38173834 split <;> simp [Rci.length_toList]
38183835
3836+ @[simp]
38193837public theorem size_toArray [Least? α] [UpwardEnumerable α]
38203838 [Rxi.HasSize α] [LawfulUpwardEnumerable α]
38213839 [Rxi.IsAlwaysFinite α] [Rxi.LawfulHasSize α] :
0 commit comments