2013-07-23 02:31:27 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "expr.h"
|
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
/**
|
2013-07-23 15:59:39 +00:00
|
|
|
\brief The resultant expression is structurally identical to the input one, but
|
|
|
|
it uses maximally shared sub-expressions.
|
2013-07-23 02:31:27 +00:00
|
|
|
*/
|
2013-07-23 15:59:39 +00:00
|
|
|
expr max_sharing(expr const & a);
|
2013-07-23 02:31:27 +00:00
|
|
|
}
|