Details

Time bar (total: 3.6s)

analyze437.0ms

Algorithm
search

sample23.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
3.0ms70×body80nan

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.6b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.4b
(+ (* x y) (* x z))
0.4b
(+ (+ (* x y) (* x z)) (* y z))
18.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite17.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:
3.0ms
(+ (* x y) (* x z))
8.0ms
(+ (+ (* x y) (* x z)) (* y z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series44.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0256358
1972331
23980326
35002326

prune79.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.5b

Counts
50 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (+ (* x y) (* x z)) (* y z))
0.5b
(* (sqrt (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (sqrt (+ (+ (* x y) (* x z)) (* y z)))))
18.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ add-log-exp unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times
sum-log
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 associate-+l+ pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 126
Calls
4 calls:
6.0ms
(+ (+ (* x y) (* x z)) (* y z))
18.0ms
(* (sqrt (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (sqrt (+ (+ (* x y) (* x z)) (* y z)))))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series102.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03061439
113021332
250021304

prune128.0ms

Filtered
74 candidates to 138 candidates (-86.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1353138
Fresh134
Picked101
Done011
Total1377144

Merged error: 19.5b

Counts
144 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (* (fabs (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (cbrt (+ (+ (* x y) (* x z)) (* y z)))))))
18.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.1b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.1b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
26×sqrt-div
18×add-sqr-sqrt
16×sqrt-prod
12×pow1
11×add-cube-cbrt *-un-lft-identity
10×cbrt-div
flip3-+ associate-*l* flip-+
associate-*r/
add-exp-log cbrt-prod add-cbrt-cube
sqrt-pow1 pow-prod-down
frac-times associate-*r* add-log-exp
pow1/2 unswap-sqr
pow1/3 associate-*l/
rem-sqrt-square sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 80
Calls
4 calls:
18.0ms
(* (sqrt (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (* (fabs (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (cbrt (+ (+ (* 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)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (sqrt (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (* (fabs (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (cbrt (+ (+ (* x y) (* x z)) (* y z)))))))
31.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
56.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
54.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify56.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04861916
115621820
250011794

prune172.0ms

Filtered
79 candidates to 92 candidates (-16.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New90292
Fresh055
Picked101
Done011
Total91899

Merged error: 19.5b

Counts
99 → 8

localize26.0ms

Local error

Found 4 expressions with local error:

19.1b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.1b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.1b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.1b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 52
Calls
4 calls:
5.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)))
5.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series222.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
54.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
56.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
56.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify65.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0152724
1489672
21854652
35001628

prune116.0ms

Filtered
60 candidates to 64 candidates (-6.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New64064
Fresh066
Picked011
Done011
Total64872

Merged error: 19.5b

Counts
72 → 8

regimes415.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
0177
1177

end0.0ms

analyze437.0ms

Algorithm
search

sample646.0ms

Algorithm
intervals
Results
352.0ms8000×body80valid
94.0ms2304×body80nan

Profiling

Loading profile data...