Details

Time bar (total: 3.8s)

sample36.0ms

Algorithm
intervals
Results
8.0ms265×body80nan
8.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.7b

localize9.0ms

Local error

Found 3 expressions with local error:

1.0b
(+ (+ (* x y) (* x z)) (* y z))
1.4b
(+ (* x y) (* x z))
18.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log
add-exp-log flip3-+ sqrt-prod add-cbrt-cube flip-+
+-commutative sqrt-div
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
3 → 40
Calls
3 calls:
28.0ms
(+ (+ (* x y) (* x z)) (* y z))
8.0ms
(+ (* x y) (* x z))
32.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series149.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(+ (+ (* x y) (* x z)) (* y z))
31.0ms
(+ (* x y) (* x z))
99.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify114.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0249355
1908322
23660314
35001314

prune135.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 19.6b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (+ x y))
1.4b
(+ (* x y) (* z (+ x y)))
18.6b
(sqrt (+ (* x y) (* z (+ x y))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube add-log-exp
associate-*r*
flip3-+ associate-*l* sqrt-prod flip-+
distribute-rgt-in associate-+r+ distribute-lft-in sqrt-div associate-*r/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 51
Calls
3 calls:
19.0ms
(* z (+ x y))
9.0ms
(+ (* x y) (* z (+ x y)))
8.0ms
(sqrt (+ (* x y) (* z (+ x y))))

series143.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(* z (+ x y))
21.0ms
(+ (* x y) (* z (+ x y)))
99.0ms
(sqrt (+ (* x y) (* z (+ x y))))

simplify38.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0273329
11133304
25001300

prune147.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 19.6b

localize12.0ms

Local error

Found 4 expressions with local error:

14.6b
(cbrt (* z (+ x y)))
14.6b
(cbrt (* z (+ x y)))
14.6b
(cbrt (* z (+ x y)))
18.6b
(sqrt (+ (* x y) (* (* (cbrt (* z (+ x y))) (cbrt (* z (+ x y)))) (cbrt (* z (+ x y))))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt cbrt-div associate-*r/
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
cbrt-prod pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 48
Calls
4 calls:
7.0ms
(cbrt (* z (+ x y)))
7.0ms
(cbrt (* z (+ x y)))
7.0ms
(cbrt (* z (+ x y)))
8.0ms
(sqrt (+ (* x y) (* (* (cbrt (* z (+ x y))) (cbrt (* z (+ x y)))) (cbrt (* z (+ x y))))))

series393.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(cbrt (* z (+ x y)))
97.0ms
(cbrt (* z (+ x y)))
97.0ms
(cbrt (* z (+ x y)))
102.0ms
(sqrt (+ (* x y) (* (* (cbrt (* z (+ x y))) (cbrt (* z (+ x y)))) (cbrt (* z (+ x y))))))

simplify60.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0254575
1648528
21985507
35001500

prune214.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 19.6b

localize17.0ms

Local error

Found 4 expressions with local error:

14.6b
(cbrt (* z (+ x y)))
14.6b
(cbrt (* z (+ x y)))
19.1b
(cbrt (+ (* x y) (* (* (cbrt (* z (+ x y))) (cbrt (* z (+ x y)))) (cbrt (* z (+ x y))))))
19.1b
(cbrt (+ (* x y) (* (* (cbrt (* z (+ x y))) (cbrt (* z (+ x y)))) (cbrt (* z (+ x y))))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod cbrt-div
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 associate-*r/ add-cbrt-cube flip-+ add-log-exp
Counts
4 → 48
Calls
4 calls:
7.0ms
(cbrt (* z (+ x y)))
7.0ms
(cbrt (* z (+ x y)))
5.0ms
(cbrt (+ (* x y) (* (* (cbrt (* z (+ x y))) (cbrt (* z (+ x y)))) (cbrt (* z (+ x y))))))
5.0ms
(cbrt (+ (* x y) (* (* (cbrt (* z (+ x y))) (cbrt (* z (+ x y)))) (cbrt (* z (+ x y))))))

series590.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(cbrt (* z (+ x y)))
100.0ms
(cbrt (* z (+ x y)))
194.0ms
(cbrt (+ (* x y) (* (* (cbrt (* z (+ x y))) (cbrt (* z (+ x y)))) (cbrt (* z (+ x y))))))
196.0ms
(cbrt (+ (* x y) (* (* (cbrt (* z (+ x y))) (cbrt (* z (+ x y)))) (cbrt (* z (+ x y))))))

simplify66.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0233878
1585802
21813756
35001752

prune285.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 19.6b

regimes226.0ms

Accuracy

0% (0.1b remaining)

Error of 19.7b against oracle of 19.6b and baseline of 19.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample973.0ms

Algorithm
intervals
Results
261.0ms8000×body80valid
239.0ms7966×body80nan