Documentation

Mathlib.Init.Data.List.Instances

Note about Mathlib/Init/ #

The files in Mathlib/Init are leftovers from the port from Mathlib3. (They contain content moved from lean3 itself that Mathlib needed but was not moved to lean4.)

We intend to move all the content of these files out into the main Mathlib directory structure. Contributions assisting with this are appreciated.

Decidable and Monad instances for List not (yet) in Batteries #

Equations
@[simp]
theorem List.pure_def {α : Type u} (a : α) :
pure a = [a]
Equations