Skip to content

Commit

Permalink
Merge pull request #11 from mseri/types
Browse files Browse the repository at this point in the history
Use Type* instead of Type _ as recommended
  • Loading branch information
mseri authored Feb 29, 2024
2 parents aa105fa + 8af9b90 commit 554736f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BET/Birkhoff.lean
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ open BigOperators MeasureTheory
- `T` is a measure preserving map of a probability space `(α, μ)`,
- `f g : α → ℝ` are integrable.
-/
variable {α : Type _} [MeasurableSpace α]
variable {α : Type*} [MeasurableSpace α]
variable {μ : MeasureTheory.Measure α} [MeasureTheory.IsProbabilityMeasure μ]
variable {T : α → α} (hT : MeasurePreserving T μ)
variable {f g : α → ℝ} (hf : Integrable f μ) (hg : Integrable g μ)
Expand Down
4 changes: 2 additions & 2 deletions BET/Topological.lean
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set_option autoImplicit false

section Topological_Dynamics

variable {α : Type _} [MetricSpace α]
variable {α : Type*} [MetricSpace α]

/-- The non-wandering set of `f` is the set of points which return arbitrarily close after some iterate. -/
def nonWanderingSet (f : α → α) : Set α :=
Expand Down Expand Up @@ -336,7 +336,7 @@ theorem nonWandering_nonempty [hα : Nonempty α] : Set.Nonempty (nonWanderingSe


/-- The recurrent set is the set of points that are recurrent, i.e. that belong to their omega-limit set. -/
def recurrentSet {α : Type _} [TopologicalSpace α] (f : α → α) : Set α :=
def recurrentSet {α : Type*} [TopologicalSpace α] (f : α → α) : Set α :=
{ x | x ∈ ω⁺ (fun n ↦ f^[n]) ({x}) }

theorem recurrentSet_iff_accumulation_point (x : α) :
Expand Down

0 comments on commit 554736f

Please sign in to comment.