Commit ec6b06a
feat: equivalence of tree maps (leanprover#8210)
This PR adds an equivalence relation to tree maps akin to the existing
one for hash maps. In order to get many congruence lemmas to eventually
use for defining functions on extensional tree maps, almost all of the
remaining tree map functions have also been given lemmas to relate them
to list functions, although these aren't currently used to prove lemmas
other than congruence lemmas.1 parent f686b06 commit ec6b06a
File tree
23 files changed
+4264
-181
lines changed- src
- Init/Data
- Array
- List
- Vector
- Std/Data
- DTreeMap
- Internal
- WF
- Raw
- Internal
- List
- TreeMap
- Raw
- TreeSet
- Raw
23 files changed
+4264
-181
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3621 | 3621 | | |
3622 | 3622 | | |
3623 | 3623 | | |
3624 | | - | |
3625 | | - | |
| 3624 | + | |
| 3625 | + | |
3626 | 3626 | | |
3627 | 3627 | | |
3628 | 3628 | | |
| |||
3632 | 3632 | | |
3633 | 3633 | | |
3634 | 3634 | | |
3635 | | - | |
3636 | | - | |
| 3635 | + | |
| 3636 | + | |
3637 | 3637 | | |
3638 | 3638 | | |
3639 | 3639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2778 | 2778 | | |
2779 | 2779 | | |
2780 | 2780 | | |
2781 | | - | |
2782 | | - | |
| 2781 | + | |
| 2782 | + | |
2783 | 2783 | | |
2784 | 2784 | | |
2785 | 2785 | | |
| |||
2794 | 2794 | | |
2795 | 2795 | | |
2796 | 2796 | | |
2797 | | - | |
2798 | | - | |
| 2797 | + | |
| 2798 | + | |
2799 | 2799 | | |
2800 | 2800 | | |
2801 | 2801 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2538 | 2538 | | |
2539 | 2539 | | |
2540 | 2540 | | |
2541 | | - | |
2542 | | - | |
2543 | | - | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
2544 | 2544 | | |
2545 | | - | |
2546 | | - | |
| 2545 | + | |
| 2546 | + | |
2547 | 2547 | | |
2548 | 2548 | | |
2549 | 2549 | | |
2550 | 2550 | | |
2551 | 2551 | | |
2552 | | - | |
2553 | | - | |
2554 | | - | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
2555 | 2555 | | |
2556 | | - | |
2557 | | - | |
| 2556 | + | |
| 2557 | + | |
2558 | 2558 | | |
2559 | 2559 | | |
2560 | 2560 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
86 | 93 | | |
87 | 94 | | |
88 | 95 | | |
| |||
500 | 507 | | |
501 | 508 | | |
502 | 509 | | |
503 | | - | |
| 510 | + | |
504 | 511 | | |
505 | 512 | | |
506 | 513 | | |
| |||
537 | 544 | | |
538 | 545 | | |
539 | 546 | | |
540 | | - | |
| 547 | + | |
541 | 548 | | |
542 | 549 | | |
543 | 550 | | |
| |||
569 | 576 | | |
570 | 577 | | |
571 | 578 | | |
572 | | - | |
| 579 | + | |
573 | 580 | | |
574 | 581 | | |
575 | 582 | | |
| |||
601 | 608 | | |
602 | 609 | | |
603 | 610 | | |
604 | | - | |
| 611 | + | |
605 | 612 | | |
606 | 613 | | |
607 | 614 | | |
| |||
638 | 645 | | |
639 | 646 | | |
640 | 647 | | |
641 | | - | |
| 648 | + | |
642 | 649 | | |
643 | 650 | | |
644 | 651 | | |
| |||
670 | 677 | | |
671 | 678 | | |
672 | 679 | | |
673 | | - | |
| 680 | + | |
674 | 681 | | |
675 | 682 | | |
676 | 683 | | |
| |||
0 commit comments