]> matita.cs.unibo.it Git - helm.git/commit
simplified coercDb implementation with additional info about the position of
authorEnrico Tassi <enrico.tassi@inria.fr>
Mon, 7 Jul 2008 21:01:17 +0000 (21:01 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Mon, 7 Jul 2008 21:01:17 +0000 (21:01 +0000)
commit910c252965fe17d6b5af92e4658e7d02bac82d58
tree3a30b5f398f30ff8ecdfc74fd1f8ad662cfc3939
parent790eccfa6b94dc82826d919691f8d4bfadb04573
simplified coercDb implementation with additional info about the position of
the coerced argument. Now (C ??? x ??? y z) is printed as (x y z) when C is a
coercion and ? are implicits or saturations generated to apply the coercion to
x.

New case in unification, when there is a triangular pullback and the
coerced is not flexible an unfolding of the composed coercion is attempted.
this helps in the case:

  C ??? X ??? y ? +?+ C1 ??? (C2 ??? X ???) ??? y z

where C = C1 composed C2 but X is rigid abd conversion fails cause
x != ? and the heads are different... unfolding C helps
23 files changed:
helm/software/components/acic_content/acic2content.ml
helm/software/components/acic_content/termAcicContent.ml
helm/software/components/cic_unification/cicRefine.ml
helm/software/components/cic_unification/cicUnification.ml
helm/software/components/cic_unification/coercGraph.ml
helm/software/components/cic_unification/coercGraph.mli
helm/software/components/grafite_engine/grafiteEngine.ml
helm/software/components/grafite_engine/grafiteSync.mli
helm/software/components/library/cicCoercion.ml
helm/software/components/library/cicCoercion.mli
helm/software/components/library/coercDb.ml
helm/software/components/library/coercDb.mli
helm/software/components/library/librarySync.ml
helm/software/components/library/librarySync.mli
helm/software/components/tactics/closeCoercionGraph.ml
helm/software/components/tactics/closeCoercionGraph.mli
helm/software/components/tactics/universe.ml
helm/software/matita/contribs/dama/dama/models/list_support.ma
helm/software/matita/contribs/dama/dama/models/nat_dedekind_sigma_complete.ma
helm/software/matita/contribs/dama/dama/models/nat_lebesgue.ma
helm/software/matita/contribs/dama/dama/supremum.ma
helm/software/matita/matita.ml
helm/software/matita/matitaExcPp.ml