Details

Time bar (total: 3.3s)

analyze464.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
6.2%93.6%0.1%6
12.5%87.4%0.1%7
15.6%84.3%0.1%8
18.7%71.8%9.5%9
23.4%56%20.6%10
26.3%52.2%21.5%11
31%40.1%28.9%12
35.6%28.9%35.5%13
36.8%27.5%35.7%14

sample25.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
3.0ms61×body80nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03712
13712

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 17.3b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (+ x y))
0.4b
(+ (* x y) (* z (+ x y)))
16.4b
(sqrt (+ (* x y) (* z (+ x y))))

rewrite15.0ms

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

series52.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
05081617

prune99.0ms

Filtered
43 candidates to 60 candidates (-39.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New54660
Fresh000
Picked011
Done000
Total54761

Merged error: 17.2b

Counts
61 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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-+ unswap-sqr
add-exp-log add-cbrt-cube add-log-exp
pow-prod-down pow-sqr
frac-times
rem-sqrt-square associate-+r+ associate-*r/ associate-*l/
+-commutative pow2 distribute-rgt-in distribute-lft-in pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 126
Calls
4 calls:
4.0ms
(+ (* x y) (* z (+ x y)))
16.0ms
(* (sqrt (sqrt (+ (* x y) (* z (+ x y))))) (sqrt (sqrt (+ (* x y) (* z (+ x y))))))
4.0ms
(sqrt (+ (* x y) (* z (+ x y))))
4.0ms
(sqrt (+ (* x y) (* z (+ x y))))

series115.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049342047
149342047

prune141.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1353138
Fresh325
Picked101
Done011
Total1396145

Merged error: 17.2b

Counts
145 → 6

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* x y) (* z (+ x y))))) (sqrt (* (fabs (cbrt (+ (* x y) (* z (+ x y))))) (sqrt (cbrt (+ (* x y) (* z (+ x y))))))))
16.4b
(sqrt (+ (* x y) (* z (+ x y))))
17.0b
(cbrt (+ (* x y) (* z (+ x y))))
17.0b
(cbrt (+ (* x y) (* z (+ x y))))

rewrite31.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:
16.0ms
(* (sqrt (sqrt (+ (* x y) (* z (+ x y))))) (sqrt (* (fabs (cbrt (+ (* x y) (* z (+ x y))))) (sqrt (cbrt (+ (* x y) (* z (+ x y))))))))
4.0ms
(sqrt (+ (* x y) (* z (+ x y))))
4.0ms
(cbrt (+ (* x y) (* z (+ x y))))
4.0ms
(cbrt (+ (* x y) (* z (+ x y))))

series297.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(* (sqrt (sqrt (+ (* x y) (* z (+ x y))))) (sqrt (* (fabs (cbrt (+ (* x y) (* z (+ x y))))) (sqrt (cbrt (+ (* x y) (* z (+ x y))))))))
35.0ms
(sqrt (+ (* x y) (* z (+ x y))))
67.0ms
(cbrt (+ (* x y) (* z (+ x y))))
68.0ms
(cbrt (+ (* x y) (* z (+ x y))))

simplify47.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
052992630

prune162.0ms

Filtered
78 candidates to 92 candidates (-17.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh044
Picked011
Done011
Total92698

Merged error: 17.2b

Counts
98 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (* x y) (* z (+ x y)))
16.4b
(sqrt (+ (* x y) (* z (+ x y))))
17.0b
(cbrt (+ (* x y) (* z (+ x y))))
17.0b
(cbrt (+ (* x y) (* z (+ x y))))

rewrite17.0ms

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

series177.0ms

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

simplify28.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
05974942

prune104.0ms

Filtered
57 candidates to 66 candidates (-15.8%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh033
Picked011
Done022
Total66672

Merged error: 17.2b

Counts
72 → 6

regimes197.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
01512
11512

end0.0ms

analyze458.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
6.2%93.6%0.1%6
12.5%87.4%0.1%7
15.6%84.3%0.1%8
18.7%71.8%9.5%9
23.4%56%20.6%10
26.3%52.2%21.5%11
31%40.1%28.9%12
35.6%28.9%35.5%13
36.8%27.5%35.7%14

sample662.0ms

Algorithm
intervals
Results
354.0ms8000×body80valid
106.0ms2300×body80nan

Profiling

Loading profile data...