2014-09-13 17:21:10 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "library/unifier.h"
|
2014-10-04 16:15:42 +00:00
|
|
|
#include "frontends/lean/info_manager.h"
|
2014-09-13 17:21:10 +00:00
|
|
|
|
|
|
|
namespace lean {
|
2014-09-25 15:38:02 +00:00
|
|
|
/** \brief Create a "choice" constraint that postpone the
|
|
|
|
solving the constraints <tt>(cs union (m =?= e))</tt>.
|
2014-10-04 16:15:42 +00:00
|
|
|
|
|
|
|
\remark A proof-qed block may instantiate meta-variables in the
|
|
|
|
info_manager. Thus, we provide the info_manager to make sure
|
|
|
|
this assignments are reflected on it.
|
2014-09-13 17:21:10 +00:00
|
|
|
*/
|
2014-09-25 15:38:02 +00:00
|
|
|
constraint mk_proof_qed_cnstr(environment const & env, expr const & m, expr const & e,
|
2014-10-04 16:15:42 +00:00
|
|
|
constraint_seq const & cs, unifier_config const & cfg,
|
|
|
|
info_manager * im, bool relax);
|
2014-09-13 17:21:10 +00:00
|
|
|
}
|