Simplify constraints also in graph isomorphism
rdf/rdf.scm
449 | 449 | (define (rdf-isomorphic? g1 g2) | |
450 | 450 | "Compare two graphs and return whether they are isomorph." | |
451 | 451 | (let* ((constraints (generate-graph-constraints g1 g2)) | |
452 | - | (disjunctions (to-disjunctions constraints))) | |
452 | + | (disjunctions (to-disjunctions (simplify-constraints constraints)))) | |
453 | 453 | (if (list? disjunctions) | |
454 | 454 | (let loop ((disjunctions (filter sat? disjunctions))) | |
455 | 455 | (match disjunctions |