Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit cabb8ae

Browse files
committed
refactor(data/finset/image): split out of data/finset/basic (#17852)
This somewhat matches the split for `data/set/basic`, and makes the file shorter by a reasonable amount. The proof of `bUnion_singleton_eq_self` was tweaked slightly so that it didn't need to move file.
1 parent 40494fe commit cabb8ae

File tree

8 files changed

+614
-573
lines changed

8 files changed

+614
-573
lines changed

src/data/finset/basic.lean

Lines changed: 1 addition & 568 deletions
Large diffs are not rendered by default.

src/data/finset/card.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Copyright (c) 2015 Microsoft Corporation. All rights reserved.
33
Released under Apache 2.0 license as described in the file LICENSE.
44
Authors: Leonardo de Moura, Jeremy Avigad
55
-/
6-
import data.finset.basic
6+
import data.finset.image
77
import tactic.by_contra
88

99
/-!

src/data/finset/default.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import data.finset.basic
22
import data.finset.fold
3+
import data.finset.image
34
import data.finset.lattice
45
import data.finset.locally_finite
56
import data.finset.nat_antidiagonal

src/data/finset/fold.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
44
Authors: Mario Carneiro
55
-/
66
import algebra.order.monoid.with_top
7-
import data.finset.basic
7+
import data.finset.image
88
import data.multiset.fold
99

1010
/-!

src/data/finset/image.lean

Lines changed: 607 additions & 0 deletions
Large diffs are not rendered by default.

src/data/finset/pi.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Copyright (c) 2018 Johannes Hölzl. All rights reserved.
33
Released under Apache 2.0 license as described in the file LICENSE.
44
Authors: Johannes Hölzl
55
-/
6-
import data.finset.basic
6+
import data.finset.image
77
import data.multiset.pi
88

99
/-!

src/data/fintype/basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Copyright (c) 2017 Mario Carneiro. All rights reserved.
33
Released under Apache 2.0 license as described in the file LICENSE.
44
Authors: Mario Carneiro
55
-/
6-
import data.finset.basic
6+
import data.finset.image
77

88
/-!
99
# Finite types

test/equiv.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import data.set.finite
2-
import data.finset.basic
2+
import data.finset.image
33

44
def s : finset (fin 3) := {0, 1}
55

0 commit comments

Comments
 (0)