NLAlib.Ops.QueryContract.Confined.test_congr
Library · theorem
A confined test gives the same verdicts on two memories with the same operand blocks.
NLAlib.Ops.QueryContract.Confined.test_congr {K : Type} {Q : Ops.QueryContract K}
(hQ : Q.Confined) :
∃ lens,
∀ (d : List ℕ) (a : List (ℕ × ℕ)) (m m' : Ops.Mem K) (result : Option Bool),
m.readBlocks a (lens d) = m'.readBlocks a (lens d) →
(Q.test d a m result ↔ Q.test d a m' result)Import NLAlib.Ops.Confined.