Documentation

Gossip.Error.DecHelp

Helpers for Decidability / Model Checking #

This file does not import anything and thus is not specifically about Gossip.

theorem exists_in_all_iff_exists {α : Type u_1} {all : List α} (all_spec : ∀ (x : α), x all) {P : αProp} :
( (x : α), x all P x) (x : α), P x
def Decidable.exists_of_list_mem {α : Type u_1} {all : List α} (all_spec : ∀ (x : α), x all) {P : αProp} (h : DecidablePred P) :
Decidable ( (x : α), P x)
Equations
Instances For
    theorem forall_in_all_iff_forall {α : Type u_1} {all : List α} (all_spec : ∀ (x : α), x all) {P : αProp} :
    (∀ (x : α), x allP x) ∀ (x : α), P x
    def Decidable.forall_of_list_mem {α : Type u_1} {all : List α} (all_spec : ∀ (x : α), x all) {P : αProp} (h : DecidablePred P) :
    Decidable (∀ (x : α), P x)
    Equations
    Instances For
      def Decidable.forall_implies_of_list_mem {α : Type u_1} {P Q : αProp} (all : List α) (all_spec : ∀ (x : α), Q x x all) (h : DecidablePred P) :
      Decidable (∀ (x : α), Q xP x)
      Equations
      Instances For
        def Decidable.forall_attach_list {α : Type u_1} {L : List α} {P : { x : α // x L }Prop} (h : DecidablePred P) :
        Decidable (∀ (x : α) (h : x L), P x, h)
        Equations
        Instances For