From: Claudio Sacerdoti Coen Date: Mon, 4 Jun 2007 13:24:09 +0000 (+0000) Subject: Another optimization, already done for geq. X-Git-Tag: 0.4.95@7852~405 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=2aedc9a14cddce5c5bd86a796ff6ff5a02bf2059;p=helm.git Another optimization, already done for geq. --- diff --git a/matita/contribs/formal_topology/bin/theory_explorer.ml b/matita/contribs/formal_topology/bin/theory_explorer.ml index e1c02cd29..39a021c9d 100644 --- a/matita/contribs/formal_topology/bin/theory_explorer.ml +++ b/matita/contribs/formal_topology/bin/theory_explorer.ml @@ -357,6 +357,9 @@ let locate_using_leq to_be_considered_and_now ((repr,_,leq,geq) as node) else if repr=repr' then aux set (node'::already_visited) (!geq'@tl) else if leq_reachable node' !leq then aux set (node'::already_visited) (!geq'@tl) + else if (List.exists (function n -> not (geq_reachable n [node'])) !geq) + then + aux set (node'::already_visited) tl else if test to_be_considered_and_now set SubsetEqual repr repr' then begin if List.exists (function n -> n===node') !geq then