Questions with the same answers
DefinitionAPFOriginalQuestion_questionSetoidapforiginal-questionprivate
Questions with the same answers
Two primitive questions are equivalent exactly when their truth values agree on every original observed state at the same context.
This equality uses the existing state family.
Generic supporting mathematics in the reference mission, at the hypotheses shown in the formal statement.
Definition code
import Definitions.Def_APFOriginalQuestion_Primitive
import Definitions.Def_APFObservedHistory
import Definitions.Def_APFOriginalQuestion_evaluate
import Definitions.Def_APFTypedHistory
import Mathlib.Tactic
set_option autoImplicit false
open APFTypedHistory APFObservedHistory APFOriginalQuestion
universe u v w
variable {N : Type u} {E : N → N → Type v} {V : Type w} {a b c : N}
variable {L : Language E a} {B : Observation E V a}
def APFOriginalQuestion.questionSetoid (L : Language E a) (B : Observation E V a) (b : N) :
Setoid (Primitive E V b) where
r e f := ∀ s : APFObservedHistory.State L B b, evaluate e s ↔ evaluate f s
iseqv := ⟨fun _ _ => Iff.rfl,fun h s => (h s).symm,
fun h k s => (h s).trans (k s)⟩
Source
Accepted OriginalQuestion source SHA decb78490bd436cb643e1ecdff9ee05b8926450b93117b4b62346c4e695e9cd2