This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Commit d101e93
committed
refactor(topology/discrete_quotient): review API (#18401)
Backport various changes I made to the API while porting to Lean 4 in leanprover-community/mathlib4#2157.
* extend `setoid X`;
* require only that the fibers are open in the definition, prove that they are clopen;
* golf proofs, reuse lattice structure on `setoid`s;
* use bundled continuous maps for `comap`;
* swap LHS and RHS in some `simp` lemmas;
* generalize the `order_bot` instance from a discrete space to a locally connected space;
* prove that a discrete topological space is locally connected.1 parent db53863 commit d101e93
3 files changed
Lines changed: 179 additions & 197 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 59 | + | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
681 | 685 | | |
682 | 686 | | |
683 | 687 | | |
| |||
1168 | 1172 | | |
1169 | 1173 | | |
1170 | 1174 | | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
1171 | 1183 | | |
1172 | 1184 | | |
1173 | 1185 | | |
| |||
1353 | 1365 | | |
1354 | 1366 | | |
1355 | 1367 | | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
1356 | 1372 | | |
1357 | 1373 | | |
1358 | 1374 | | |
| |||
1463 | 1479 | | |
1464 | 1480 | | |
1465 | 1481 | | |
1466 | | - | |
| 1482 | + | |
1467 | 1483 | | |
1468 | 1484 | | |
1469 | 1485 | | |
| |||
0 commit comments