Neighborhood: my Step diag Fixed of diag Fixed
ProvedScott1980.Neighborhood.myStep_diagFixed_of_diagFixedscott1980
One-step preservation of DiagFixed. If the accumulator r is already DiagFixed and
e's gate succeeds (qChar e = 1 giving DiagFixed of the raw index e.unpair.2 via hqChar, and
cons (Nat.pair r e.unpair.2) = 1 giving a V-consistency witness), then myStep P qChar cons r e
is DiagFixed too — via fixedNbhd_subsystem a's inter_closed plus P.inter_spec. If the gate
fails, the step no-ops and the invariant is preserved trivially.
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.myStep_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)
{r : ℕ} (hr : DiagFixed P a r) (e : ℕ) :
DiagFixed P a (myStep P qChar cons r e) := by sorrySource