Documentation

Examples.MerkleTree.Proof

def DY.Example.MerkleTree.IsHashCollision {Bytes : Type} [Hash.CanHash Bytes] (x : Bytes × Bytes) :
Equations
Instances For
    @[irreducible]
    def DY.Example.MerkleTree.merkleTreeHash_reduceCollision {Bytes : Type} [Comparse.BytesLike Bytes] [Hash.CanHash Bytes] {α : Type} (mf : Comparse.ExtensibleMessageFormat Bytes α) [DecidableEq Bytes] [DecidableEq α] (l1 l2 : List α) :
    Bytes × Bytes
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def DY.Example.MerkleTree.checkInclusionProof_reduceHashCollision {Bytes : Type} [Comparse.BytesLike Bytes] [Hash.CanHash Bytes] {α : Type} (mf : Comparse.ExtensibleMessageFormat Bytes α) [DecidableEq Bytes] [DecidableEq α] (proof : List Bytes) (leaf : α) (i : Nat) (l : List α) :
      Bytes × Bytes
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Instances
          @[instance_reducible]
          Equations
          • One or more equations did not get rendered due to their size.
          Equations
          Instances For
            @[instance_reducible]
            Equations
            • One or more equations did not get rendered due to their size.
            Instances
              @[instance_reducible]
              Equations
              • One or more equations did not get rendered due to their size.
              @[instance_reducible]
              Equations
              • One or more equations did not get rendered due to their size.
              @[instance_reducible]
              Equations
              • One or more equations did not get rendered due to their size.
              Instances