aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping
Commit message (Collapse)AuthorAge
...
* | | | | | | | | Merge PR #946: Functional pretyping interfaceGravatar Maxime Dénès2017-08-29
|\ \ \ \ \ \ \ \ \
| | | | | | * | | | Adapting code to renaming fold_map/fold_map' into fold_left_map/fold_right_mapGravatar Hugo Herbelin2017-08-29
| |_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | (from module List).
| | | | * | | | | primproj: fix bug 5245, hnf on proj with simpl never flag.Gravatar Matthieu Sozeau2017-08-25
| |_|_|/ / / / / |/| | | | | | |
| | | | * | | | Program: fix BZ#5683, missing lift when building case predicateGravatar Matthieu Sozeau2017-08-24
| |_|_|/ / / / |/| | | | | |
| | * | | | | use OCaml 4.03-compatible Filename functionsGravatar Paul Steckler2017-08-22
| | | | | | |
| | | * | | | Prevent overallocation in Array.map_to_list and remove custom implementation ↵Gravatar Guillaume Melquiond2017-08-22
| |_|/ / / / |/| | | | | | | | | | | | | | | | | from Detyping.
| | | | | * Fixing another regression with 8.4 wrt to βι-normalization of created hyps.Gravatar Hugo Herbelin2017-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This one is a continuation of e2a8edaf59 which was βι-normalizing the hypotheses created by a "match". We forgot to do it for "let" and "if". This is what this commit is doing.
| | | | | * Fixing a new regresssion with 8.4 wrt to βι-normalization of created hyps.Gravatar Hugo Herbelin2017-08-21
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Formerly, mk_refgoals in logic.ml was applying full βι on new Meta-based goals. We simulate part of this βι-normalization in pose_all_metas_as_evars. I suspect that we don't βι-normalize goals more than in 8.4 by doing that, since all Metas would have eventually gone to mk_refgoals, but difficult to know for sure as there were probably metas turned to evars (and hence a priori not βι-normalized) even when logic.ml was used more pervasively. However, βι-normalizing is a priori a better heuristic than no βι-normalizing, independently of what it was in 8.4 and before (even if, ideally, I would personally lean towards preferring a "chirurgical" substitution with reduction only at the place of substitution).
| | * | | use OCaml temp_file, instead of our own versionGravatar Paul Steckler2017-08-18
| | | | |
| | * | | move filename search to start_profilerGravatar Paul Steckler2017-08-18
| | | | |
| | * | | Add native compute profiling, BZ#5170Gravatar Paul Steckler2017-08-17
| |/ / / |/| | |
* | | | Merge PR #841: Timorous fix of bug #5598 on global existing class in sectionsGravatar Maxime Dénès2017-08-16
|\ \ \ \
| | * | | Remove understand_tcc_evars.Gravatar Maxime Dénès2017-08-01
| | | | | | | | | | | | | | | | | | | | Use the functional interface understand_tcc instead.
| | * | | Move type_uconstr to Tacinterp.Gravatar Maxime Dénès2017-08-01
| | | | |
| | * | | Remove understand_judgment and understand_judgment_tcc.Gravatar Maxime Dénès2017-08-01
| | | | |
| | * | | Remove allow_anonymous_refs.Gravatar Maxime Dénès2017-08-01
| | | | |
| | * | | Remove pure_open_constr (now open_constr)Gravatar Maxime Dénès2017-08-01
| | | | |
| | * | | Move glob_constr_ltac_closure to evar_refiner.Gravatar Maxime Dénès2017-08-01
| |/ / / |/| | |
* | | | Merge PR #913: Less allocations in DetypingGravatar Maxime Dénès2017-08-01
|\ \ \ \
* \ \ \ \ Merge PR #806: closing bug 5315Gravatar Maxime Dénès2017-08-01
|\ \ \ \ \
* \ \ \ \ \ Merge PR #761: deprecate Pp.std_ppcmds type and promote Pp.t insteadGravatar Maxime Dénès2017-07-31
|\ \ \ \ \ \
| | * | | | | closing bug 5315Gravatar Julien Forest2017-07-29
| |/ / / / / |/| | | | |
| | | | | * Fixing one part of #5669 (unification heuristics sensitive to choice of names).Gravatar Hugo Herbelin2017-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This surprising bug was caused by an Id.Set which was ordering solutions to variable-projection problems in ascii order. We fix it by re-considering the variables involved in the solutions using the declaration order. Note that in practice, this implies preferring a dependent solution over a non-dependent one.
| * | | | | deprecate Pp.std_ppcmds type aliasGravatar Matej Košík2017-07-27
| | |_|_|/ | |/| | |
| | * | | Add a comment regarding the specialization of the combinator in Detyping.Gravatar Pierre-Marie Pédrot2017-07-26
| | | | |
* | | | | Removing template polymorphism for definitions.Gravatar Pierre-Marie Pédrot2017-07-26
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The use of template polymorphism in constants was quite limited, as it only applied to definitions that were exactly inductive types without any parameter whatsoever. Furthermore, it seems that following the introduction of polymorphic definitions, the code path enforced regular polymorphism as soon as the type of a definition was given, which was in practice almost always. Removing this feature had no observable effect neither on the test-suite, nor on any development that we monitor on Travis. I believe it is safe to assume it was nowadays useless.
| * / / Allocation-friendly detyping of term arrays.Gravatar Pierre-Marie Pédrot2017-07-21
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This is important for externalization big terms. We were indeed allocating twice as much as needed lists for the application node case, as the Array.map_to_list function is exactly List.map o Array.to_list. We could probably tweak this function instead, at the expense that order of evaluation is not guaranteed. I'm not willing to do that though.
* | | Merge branch 'v8.7'Gravatar Maxime Dénès2017-07-20
|\ \ \
* | | | Remove the function Global.type_of_global_unsafe.Gravatar Pierre-Marie Pédrot2017-07-13
| | | |
* | | | Safer API for constr_of_global, and getting rid of unsafe_constr_of_global.Gravatar Pierre-Marie Pédrot2017-07-13
| | | |
* | | | Getting rid of AUContext abstraction breakers in Discharge.Gravatar Pierre-Marie Pédrot2017-07-13
| | | |
* | | | Make the typeclass implementation fully compatible with universe polymorphism.Gravatar Pierre-Marie Pédrot2017-07-13
| | | | | | | | | | | | | | | | | | | | This essentially means storing the abstract universe context in the typeclass data, and abstracting it when necessary.
* | | | Safer API for Global.type_of_global_in_context.Gravatar Pierre-Marie Pédrot2017-07-13
| | | | | | | | | | | | | | | | We return the abstract context instead of an arbitrary instantiation.
* | | | Getting rid of AUContext abstraction breakers in Recordops.Gravatar Pierre-Marie Pédrot2017-07-13
| | | |
* | | | Merge PR #870: Prepare De Bruijn universe abstractions, Episode I: KernelGravatar Maxime Dénès2017-07-13
|\ \ \ \
| | * | | Deprecate options that were introduced for compatibility with 8.5.Gravatar Théo Zimmermann2017-07-11
| |/ / / |/| | |
| * | | Safe API for accessing universe constraints of global references.Gravatar Pierre-Marie Pédrot2017-07-11
| | | | | | | | | | | | | | | | | | | | | | | | Instead of returning either an instance or the set of constraints, we rather return the corresponding abstracted context. We also push back all uses of abstraction-breaking calls from these functions out of the kernel.
| * | | Less footguns in universe handling: remove subst_instance_context.Gravatar Pierre-Marie Pédrot2017-07-11
| | | | | | | | | | | | | | | | | | | | This function was lurking around, waiting to bite anybody willing to use it. We use instead a better API, correct and much less error-prone.
| * | | Getting rid of simple calls to AUContext.instance.Gravatar Pierre-Marie Pédrot2017-07-11
| | | | | | | | | | | | | | | | | | | | | | | | This function breaks the abstraction barrier of abstract universe contexts, as it provides a way to observe the bound names of such a context. We remove all the uses that can be easily get rid of with the current API.
* | | | Merge PR #863: Fixing environment in warning "Projection value has no head ↵Gravatar Maxime Dénès2017-07-07
|\ \ \ \ | |/ / / |/| | | | | | | constant".
| * | | Fixing environment in warning "Projection value has no head constant".Gravatar Hugo Herbelin2017-07-07
| | | | | | | | | | | | | | | | | | | | Delaying also some computation needed for printing to the time of really printing it.
* | | | Merge branch 'v8.6'Gravatar Pierre-Marie Pédrot2017-07-04
|\ \ \ \
* | | | | Bump year in headers.Gravatar Pierre-Marie Pédrot2017-07-04
| |/ / / |/| | |
| | * | A fix for #5598 (no discharge of Existing Classes referring to local variables).Gravatar Hugo Herbelin2017-06-28
| | | |
| | * | Avoiding an optional int rather than using -1 to encode a local flag.Gravatar Hugo Herbelin2017-06-28
| |/ / |/| | | | | | | | | | | | | | Also giving the proper local flag to the hint registration, even on a Global instance, since the instance discharge manage itself the redefinition of a hint.
| | * Addressing #5434 (ltac pattern-matching refusing to match anonymous variables).Gravatar Hugo Herbelin2017-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ltac pattern-matching was requiring dependent variables to be named. This "natural" expectation is however not guaranteed by unification: an evar can be dependent on an anonymous variable, resulting in elaborated terms with dependent anonymous variables (see example in file 5434.v). This commit "fixes" the problem by not requiring that dependent variables are named in ltac pattern-matching. Ltac pattern-matching names itself these anonymous dependent variables, using the same strategy as the printer (i.e. using "H" to display such internally-anonymous dependent variables).
* | | Fix a bug in cumulativityGravatar Amin Timany2017-06-16
| | |
* | | Clean up universes of constants and inductivesGravatar Amin Timany2017-06-16
| | |
* | | Fix a bugGravatar Amin Timany2017-06-16
| | | | | | | | | | | | | | | Incorrect environment was used when checking subtyping information of inductive types.
* | | Fix bugs and add an option for cumulativityGravatar Amin Timany2017-06-16
| | |