Common.Set.Peano #
Data types and theorems used to define Peano systems.
A Peano system is a triple ⟨N, S, e⟩ consisting of a set N, a function
S : N → N, and a member e ∈ N such that the following three conditions are
met:
e ∉ ran S.Sis one-to-one.- Every subset
AofNcontainingeand closed underSisNitself.
- maps_to : Set.MapsTo S N N
- mem : e ∈ N
- zero_range : e ∉ Set.range S
- injective : Function.Injective S
Instances
Equations
- One or more equations did not get rendered due to their size.
The unique (by virtue of the Recursion Theorem for ω) function that maps the
natural numbers to an arbitrary Peano system.
Equations
- Peano.of_nat 0 = e
- Peano.of_nat (Nat.succ n) = S (Peano.of_nat n)
Instances For
theorem
Peano.nat_maps_to :
∀ {α : Type u_1} {N : Set α} {S : α → α} {e : α} [h : Peano.System N S e], Set.MapsTo Peano.of_nat Set.univ N
The of_nat function maps all natural numbers to the set N defined in the
provided Peano system.
Let ⟨N, S, e⟩ be a Peano system. Then ⟨ω, σ, 0⟩ is isomorphic to
⟨N, S, e⟩, i.e., there is a function h mapping ω one-to-one onto N in a
way that preserves the successor operation
h(σ(n)) = S(h(n))
and the zero element
h(0) = e.