Details

Time bar (total: 5.0s)

sample30.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
7.0ms230×body80nan

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
1.6b
(+ (+ (* x y) (* x z)) (* y z))
17.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

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

series178.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(+ (* x y) (* x z))
27.0ms
(+ (+ (* x y) (* x z)) (* y z))
118.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify148.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (142.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune197.0ms

Filtered
60 candidates to 48 candidates (80.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New54660
Fresh000
Picked011
Done000
Total54761

Merged error: 18.5b

Counts
61 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

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

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

series282.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (+ (* x y) (* x z)) (* y z))
22.0ms
(+ (+ (* x y) (* x z)) (* y z))
117.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
117.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify122.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune337.0ms

Filtered
84 candidates to 68 candidates (81.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh145
Picked011
Done011
Total84791

Merged error: 18.4b

Counts
91 → 7

localize20.0ms

Local error

Found 4 expressions with local error:

17.5b
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
18.1b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
18.1b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
18.1b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite52.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:
26.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
6.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
9.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
6.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series821.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
241.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
228.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
231.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify141.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
03722240
19302168
234532120
350012099

prune475.0ms

Filtered
109 candidates to 79 candidates (72.5%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1090109
Fresh044
Picked011
Done022
Total1097116

Merged error: 18.4b

Counts
116 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(+ (+ (* x y) (* x z)) (* y z))
1.6b
(+ (+ (* x y) (* x z)) (* y z))
18.1b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
18.1b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite31.0ms

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

series524.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (+ (* x y) (* x z)) (* y z))
23.0ms
(+ (+ (* x y) (* x z)) (* y z))
233.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
238.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify108.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0208636
1684580
22983550
35001548

prune344.0ms

Filtered
80 candidates to 70 candidates (87.5%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New78280
Fresh213
Picked011
Done123
Total81687

Merged error: 18.4b

Counts
87 → 6

regimes211.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0177
1177

end0.0ms

sample825.0ms

Algorithm
intervals
Results
253.0ms8000×body80valid
243.0ms7925×body80nan