Skip to content

Commit fd6add7

Browse files
committed
chore: import Aesop.Frontend when declaring aesop rule sets (leanprover-community#35165)
This PR turns some `import Aesop` into `import Aesop.Frontend` in places where we want to tag `aesop` lemmas, but do not yet want to use the tactic itself.
1 parent a5f6d77 commit fd6add7

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

Mathlib/Data/Finset/Attr.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ Authors: Yaël Dillies
66
module
77

88
public import Mathlib.Init
9-
public import Aesop
10-
public import Aesop.Frontend.Basic
9+
public import Aesop.Frontend
1110

1211
/-!
1312
# Aesop rule set for finsets

Mathlib/Data/Prod/Lex.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ instance [LT α] [LT β] [WellFoundedLT α] [WellFoundedLT β] : WellFoundedRela
7373
instance instPreorder (α β : Type*) [Preorder α] [Preorder β] : Preorder (α ×ₗ β) where
7474
le_refl := refl_of <| Prod.Lex _ _
7575
le_trans _ _ _ := trans_of <| Prod.Lex _ _
76-
lt_iff_le_not_ge x₁ x₂ := by aesop (add simp [le_iff, lt_iff, lt_iff_le_not_ge])
76+
lt_iff_le_not_ge x₁ x₂ := by grind [le_iff, lt_iff, lt_iff_le_not_ge]
7777

7878
/-- See also `monotone_fst_ofLex` for a version stated in terms of `Monotone`. -/
7979
theorem monotone_fst [Preorder α] [LE β] (t c : α ×ₗ β) (h : t ≤ c) :

Mathlib/Tactic/Finiteness/Attr.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Authors: Floris van Doorn
66
module
77

88
public import Mathlib.Init
9-
public import Aesop
9+
public import Aesop.Frontend
1010

1111
/-! # Finiteness tactic attribute -/
1212

Mathlib/Tactic/SetLike.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ Authors: Jireh Loreaux
55
-/
66
module
77

8-
public import Aesop
8+
public import Aesop.Frontend
99
public meta import Batteries.Util.LibraryNote
1010
public import Mathlib.Tactic.Basic
11-
public import Aesop.Frontend.Basic
1211

1312
/-!
1413
# SetLike Rule Set

0 commit comments

Comments
 (0)