| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | open Names |
| 12 | |
| 13 | val prove_princ_for_struct : |
| 14 | Evd.evar_map ref |
| 15 | -> bool |
| 16 | -> int |
| 17 | -> Constant.t array |
| 18 | -> EConstr.constr array |
| 19 | -> int |
| 20 | -> unit Proofview.tactic |
| 21 | |
| 22 | val prove_principle_for_gen : |
| 23 | Constant.t * Constant.t * Constant.t |
| 24 | -> (* name of the function, the functional and the fixpoint equation *) |
| 25 | Indfun_common.tcc_lemma_value ref |
| 26 | -> (* a pointer to the obligation proofs lemma *) |
| 27 | bool |
| 28 | -> (* is that function uses measure *) |
| 29 | int |
| 30 | -> (* the number of recursive argument *) |
| 31 | EConstr.types |
| 32 | -> (* the type of the recursive argument *) |
| 33 | EConstr.constr |
| 34 | -> (* the wf relation used to prove the function *) |
| 35 | unit Proofview.tactic |
| 36 | |
| 37 | (* val is_pte : rel_declaration -> bool *) |