Details

Time bar (total: 4.2s)

sample65.0ms

Algorithm
intervals
Results
26.0ms302×body80nan
23.0ms256×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.0b

localize13.0ms

Local error

Found 3 expressions with local error:

1.0b
(+ (+ (* x y) (* x z)) (* y z))
1.0b
(+ (* x y) (* x z))
18.9b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite28.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:
12.0ms
(+ (+ (* x y) (* x z)) (* y z))
2.0ms
(+ (* x y) (* x z))
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series164.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0249355
1908322
23660314
35001314

prune138.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 19.9b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ y z))
1.0b
(+ (* x (+ y z)) (* y z))
18.9b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite25.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-+l+ 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:
9.0ms
(* x (+ y z))
5.0ms
(+ (* x (+ y z)) (* y z))
10.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

series149.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* x (+ y z))
20.0ms
(+ (* x (+ y z)) (* y z))
105.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

simplify45.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0274329
11112304
25001300

prune148.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 19.9b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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:
9.0ms
(* z (+ x y))
3.0ms
(+ (* y x) (* z (+ x y)))
7.0ms
(sqrt (+ (* y x) (* z (+ x y))))

series152.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0273328
11146303
25001299

prune147.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 19.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
1.0b
(+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z))
18.9b
(sqrt (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-prod add-log-exp
pow1
add-exp-log distribute-rgt-in associate-+l+ distribute-lft-in add-cbrt-cube
sqrt-prod
flip3-+ pow1/3 sqrt-div flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
4 → 52
Calls
4 calls:
0.0ms
(cbrt x)
0.0ms
(cbrt x)
22.0ms
(+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z))
41.0ms
(sqrt (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z)))

series563.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt x)
182.0ms
(cbrt x)
56.0ms
(+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z))
144.0ms
(sqrt (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z)))

simplify199.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (193.0ms)

IterNodesCost
0247549
1884479
24764459
35001451

prune197.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 19.9b

regimes106.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample1.7s

Algorithm
intervals
Results
721.0ms8000×body80valid
666.0ms8035×body80nan