Documentation

FraudProof.Games.Simultaneous

inductive SimWinner :
Instances For
    def leaf_game {α ℍ : Type} [DecidableEq ℍ] [o : Hash α ℍ] (a : α) (p commit : ℍ) :
    Equations
    Instances For
      def node_game {ℍ : Type} [DecidableEq ℍ] [mag : HashMagma ℍ] (lp rp : ℍ × ℍ) (commit : ℍ) (recl recr : SimWinner) :
      Equations
      Instances For
        def simultaneous_game {α ℍ : Type} [o : Hash α ℍ] [mag : HashMagma ℍ] [DecidableEq ℍ] (public_data : ABTree ℍ Unit) (lplayer : ABTree (Option α) (Option (ℍ × ℍ))) (lplayer_commit : ℍ) (rplayer : ABTree Unit (Option (ℍ × ℍ))) :
        Equations
        Instances For
          def gen_to_chooser {ℍ : Type} [DecidableEq ℍ] (md : Option (ℍ × ℍ)) (a : ℍ × ℍ × ℍ) :
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem eq_sim_games {α ℍ : Type} [o : Hash α ℍ] [mag : HashMagma ℍ] [DecidableEq ℍ] (pub : ABTree ℍ Unit) (lplayer : ABTree (Option α) (Option (ℍ × ℍ))) (lplayer_commit : ℍ) (rplayer : ABTree Unit (Option (ℍ × ℍ))) :
            treeArbitrationGame { computation := pub, res := lplayer_commit } lplayer (ABTree.map id gen_to_chooser rplayer) = Player.Proposer ↔ simultaneous_game pub lplayer lplayer_commit rplayer = SimWinner.Left
            def simultaneous_elemenin_game {α ℍ : Type} [o : Hash α ℍ] [mag : HashMagma ℍ] [DecidableEq ℍ] (public_data : ABTree SkElem Unit) (lplayer : ABTree (Option α) (Option ℍ)) (lplayer_commit : ℍ × ℍ) (rplayer : ABTree Unit (Option ℍ)) :
            Equations
            Instances For