Skip to content

Commit 68a79e9

Browse files
committed
Revert "fix: Balloon.leanRank.lean の解消不能な overlappingInstances 警告を明示的に抑制"
This reverts commit f4145cf.
1 parent f4145cf commit 68a79e9

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

Foundation/Modal/Kripke/Balloon.lean

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,9 @@ open Formula.Kripke
1818

1919
variable {F : Frame} [IsStrictTotalOrder _ F] {e : Cluster F} [F.IsBalloon e] {x : F.World} {φ : Formula ℕ}
2020

21-
-- `[IsStrictTotalOrder _ F]` must be given explicitly before `e : Cluster F` can even be stated,
22-
-- so it cannot avoid overlapping with the `IsStrictTotalOrder` bundled inside `[F.IsBalloon e]`.
23-
set_option linter.overlappingInstances false in
2421
/-- Every points in enverope is reflexive. -/
2522
lemma rfl_in_envelope (hx : x ∈ e) : x ≺ x := Cluster.refl_of_mem_non_degenerate (envelope_non_degenerated) hx
2623

27-
set_option linter.overlappingInstances false in
2824
/-- Every point in balloon can see all points in envelope. -/
2925
lemma covered_in_envelope (x : F.World) : ∀ t ∈ e, x ≺ t := by
3026
obtain ⟨t₁, rfl⟩ := Quotient.exists_rep e;
@@ -45,7 +41,6 @@ lemma covered_in_envelope (x : F.World) : ∀ t ∈ e, x ≺ t := by
4541
. have := IsTerminated.direct_terminated_of_trans (F := F.strictSkelteon) (t := ⟦t₁⟧) ⟦x⟧ ext₁;
4642
exact _root_.trans this.1 Rt₁₂;
4743

48-
set_option linter.overlappingInstances false in
4944
/-- Every points from enverope is in enverope. -/
5045
lemma in_envelope_of_in_envelope (hx : x ∈ e) : ∀ {y}, x ≺ y → y ∈ e := by
5146
obtain ⟨t, rfl⟩ := Quotient.exists_rep e;
@@ -71,9 +66,6 @@ end Frame.IsBalloon
7166
lemma farthermost_point_of_not_box {M : Kripke.Model} [IsStrictOrder _ M.toFrame] {x : M} (h : ¬x ⊧ □φ) : ∃ y, x ≺ y ∧ ¬y ⊧ φ ∧ y ⊧ □φ := by
7267
sorry;
7368

74-
-- `[F.IsTransitive]` is a required prior argument of the `Frame.IsBalloon` class itself,
75-
-- so it cannot avoid overlapping with the `IsTransitive` bundled inside `[F.IsBalloon e]`.
76-
set_option linter.overlappingInstances false in
7769
open
7870
Formula.Kripke
7971
Frame.IsBalloon

Foundation/Modal/Kripke/Rank.lean

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,6 @@ namespace pointGenerate
181181
open Classical in
182182
instance : Fintype (F↾x) := by apply Subtype.fintype;
183183

184-
-- the outer `variable [F.IsTransitive]` is needed by unrelated declarations in this section,
185-
-- so it cannot avoid overlapping with the `IsTransitive` bundled inside `[F.IsTree]` here.
186-
set_option linter.overlappingInstances false in
187184
instance [F.IsTree] : (F↾x).IsTree := by constructor;
188185

189186
axiom eq_original_height (hxy : y = x ∨ x ≺ y) : Frame.rank (F := F↾x) (⟨y, hxy⟩) = Frame.rank y

0 commit comments

Comments
 (0)