Details

Time bar (total: 3.3s)

sample44.0ms

Algorithm
intervals
Results
12.0ms292×body80nan
11.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.8b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

0.4b
(+ (* x y) (* x z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
18.8b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite15.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))
5.0ms
(+ (+ (* x y) (* x z)) (* y z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series47.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0256358
1972331
23980326
35002326

prune84.0ms

Filtered
38 candidates to 49 candidates (-28.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New44549
Fresh000
Picked011
Done000
Total44650

Merged error: 19.7b

Counts
50 → 6

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))
18.8b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.8b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite23.0ms

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

series83.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
33.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
35.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify96.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0193582
1729538
23189532
35003532

prune105.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New66268
Fresh044
Picked011
Done011
Total66874

Merged error: 19.7b

Counts
74 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (+ (* x y) (* x z)) (* y z))
18.8b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.4b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.4b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite22.0ms

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

series161.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (+ (* x y) (* x z)) (* y z))
34.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
60.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
60.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify108.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0265653
1904605
23752592
35001583

prune126.0ms

Filtered
55 candidates to 66 candidates (-20.0%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New65166
Fresh055
Picked011
Done022
Total65974

Merged error: 19.7b

Counts
74 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

18.8b
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
19.4b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.4b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.4b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite43.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:
21.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)))
5.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
5.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series211.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
59.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
59.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
57.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify161.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (143.0ms)

IterNodesCost
03662169
19672109
242152076
350011972

prune115.0ms

Filtered
68 candidates to 101 candidates (-48.5%)
Pruning

10 alts after pruning (6 fresh and 4 done)

PrunedKeptTotal
New1001101
Fresh055
Picked011
Done033
Total10010110

Merged error: 19.7b

Counts
110 → 10

regimes470.0ms

Accuracy

0% (0.1b remaining)

Error of 20.2b against oracle of 20.1b and baseline of 20.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample1.2s

Algorithm
intervals
Results
343.0ms8000×body80valid
325.0ms7933×body80nan

Profiling

Loading profile data...