Details

Time bar (total: 4.9s)

sample29.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
7.0ms256×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.3b

localize9.0ms

Local error

Found 3 expressions with local error:

0.8b
(+ (* x y) (* x z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
19.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
pow1 sum-log
add-exp-log expm1-log1p-u flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sqrt-div distribute-lft-out
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
3 → 51
Calls
3 calls:
3.0ms
(+ (* x y) (* x z))
14.0ms
(+ (+ (* x y) (* x z)) (* y z))
18.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series170.0ms

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

simplify132.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (126.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune184.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 20.2b

localize12.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (+ (* x y) (* x z)) (* y z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
19.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
10×add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
pow1 sum-log sqrt-prod
add-exp-log expm1-log1p-u flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
4 → 72
Calls
4 calls:
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
15.0ms
(+ (+ (* x y) (* x z)) (* y z))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
15.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series267.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (+ (* x y) (* x z)) (* y z))
21.0ms
(+ (+ (* x y) (* x z)) (* y z))
111.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
110.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify106.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune338.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 20.2b

localize20.0ms

Local error

Found 4 expressions with local error:

19.2b
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
19.9b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.9b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.9b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite111.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 expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 97
Calls
4 calls:
82.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
9.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series765.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
220.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
215.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
215.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify129.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
03722234
19192168
234402120
350012099

prune487.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 20.2b

localize27.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (+ (* x y) (* x z)) (* y z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
19.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.9b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
sum-log
pow1
add-exp-log expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
cbrt-prod sqrt-prod
+-commutative associate-+l+ cbrt-div sqrt-div distribute-lft-out
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 70
Calls
4 calls:
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series377.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (+ (* x y) (* x z)) (* y z))
22.0ms
(+ (+ (* x y) (* x z)) (* y z))
118.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
216.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify112.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0274627
1888559
23686536
35001534

prune375.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 20.2b

regimes282.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample794.0ms

Algorithm
intervals
Results
246.0ms8067×body80nan
238.0ms8000×body80valid