]> matita.cs.unibo.it Git - helm.git/commit
Added ad-hoc optimization for check_metasenv_consistency, case Rel to Let-in
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sun, 9 Mar 2008 18:28:05 +0000 (18:28 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sun, 9 Mar 2008 18:28:05 +0000 (18:28 +0000)
commit8ef5515dd9adff2cd185123e371ee4bd84a890d0
treeebdaafdcda9f7656f39b17721a1c57c5b90cd1d5
parentd000041898471a4337a5e1af0f14ef2434d542b8
Added ad-hoc optimization for check_metasenv_consistency, case Rel to Let-in
vs Def. Rationale: this is the case of an IRL when the metavariable is
created in a context with definitions. Without this optimization, a (possibly
expensive) reduction is always triggered.

Note: this should be better handled using a reduction strategy based on
heights.
helm/software/components/cic_proof_checking/cicTypeChecker.ml