Details

Time bar (total: 3.6s)

sample30.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
8.0ms265×body80nan

simplify10.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.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.8b
(+ (* x y) (* x z))
1.6b
(+ (+ (* x y) (* x z)) (* y z))
18.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite16.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:
4.0ms
(+ (* x y) (* x z))
6.0ms
(+ (+ (* x y) (* x z)) (* y z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series166.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0249355
1908322
23660314
35001314

prune134.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 19.0b

localize9.0ms

Local error

Found 2 expressions with local error:

1.6b
(+ (* x (+ y z)) (* y z))
18.0b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite13.0ms

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

series130.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(+ (* x (+ y z)) (* y z))
109.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

simplify89.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0184248
1617228
22649224
35001224

prune93.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 19.0b

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(+ (* x (+ y z)) (* y z))
1.6b
(+ (* x (+ y z)) (* y z))
18.0b
(sqrt (+ (* x (+ y z)) (* y z)))
18.0b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite26.0ms

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

series257.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (* x (+ y z)) (* y z))
20.0ms
(+ (* x (+ y z)) (* y z))
105.0ms
(sqrt (+ (* x (+ y z)) (* y z)))
107.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

simplify87.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0184496
1617456
22649448
35001448

prune230.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 19.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-+ flip-+
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log add-cbrt-cube add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 89
Calls
4 calls:
24.0ms
(sqrt (* (* (cbrt (+ (* x (+ y z)) (* y z))) (cbrt (+ (* x (+ y z)) (* y z)))) (cbrt (+ (* x (+ y z)) (* y z)))))
6.0ms
(cbrt (+ (* x (+ y z)) (* y z)))
6.0ms
(cbrt (+ (* x (+ y z)) (* y z)))
6.0ms
(cbrt (+ (* x (+ y z)) (* y z)))

series732.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
03631855
18791792
231511752
350011668

prune343.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 19.0b

regimes98.0ms

Accuracy

0% (0.1b remaining)

Error of 19.9b against oracle of 19.8b and baseline of 19.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample821.0ms

Algorithm
intervals
Results
247.0ms8000×body80valid
240.0ms8006×body80nan