Neighborhood: my Fold diag Fixed of diag Fixed
ProvedScott1980.Neighborhood.myFold_diagFixed_of_diagFixedscott1980
The fold invariant, over an arbitrary starting accumulator.
Preamble
import Definitions.Def_Scott1980_Neighborhood_Theorem88h
import Definitions.Def_Scott1980_Neighborhood_Theorem88i
set_option autoImplicit true
open Scott1980 Scott1980.Neighborhood
open NeighborhoodSystem Domain.Recursive ApproximableMap
variable {α : Type*} {V : NeighborhoodSystem α} (P : ComputablePresentation V)
(qChar cons : ℕ → ℕ)
variable {P qChar cons}Formal statement
theorem Scott1980.Neighborhood.myFold_diagFixed_of_diagFixed {a : ApproximableMap V V}
(hqChar : ∀ n, DiagFixed P a n ↔ ∃ i, qChar (Nat.pair i n) = 1)
(hcons : ∀ n m, cons (Nat.pair n m) = 1 ↔ ∃ k, P.X k ⊆ P.X n ∩ P.X m) (l : List ℕ) :
∀ {r : ℕ}, DiagFixed P a r → DiagFixed P a (l.foldl (myStep P qChar cons) r) := by sorrySource