Exercise419: peano induction
ProvedScott1980.Neighborhood.Exercise419.peano_inductionscott1980
Exercise 4.19 — Peano (iii) for {0,1}*. Induction: a predicate holding at Λ and closed
under both successors holds everywhere. (This is List.rec; it is the two-successor analogue of
Definition 4.5(iii) and the recursion engine behind tail/empty/zero/one.)
Preamble
import Definitions.Def_Scott1980_Neighborhood_Example44 import Definitions.Def_Scott1980_Neighborhood_Exercise326 import Definitions.Def_Scott1980_Neighborhood_Exercise419 set_option autoImplicit true open Scott1980 Scott1980.Neighborhood Scott1980.Neighborhood.Exercise419 open Scott1980.Neighborhood NeighborhoodSystem ApproximableMap ExampleB Example44
Formal statement
theorem Scott1980.Neighborhood.Exercise419.peano_induction (P : Str → Prop) (hnil : P []) (hcons : ∀ b σ, P σ → P (b :: σ)) :
∀ σ, P σ := by sorrySource