Details

Time bar (total: 2.8s)

sample22.0ms

Algorithm
intervals
Results
11.0ms397×body80valid

simplify311.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0166
1334
2564
3763
4883
51313
62363
73283
83433
94433
107973
1134993
1250013

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 3 (* z z) (* x y))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma 3 (* z z) (* x y))

series37.0ms

Counts
1 → 3
Calls
1 calls:
37.0ms
(fma 3 (* z z) (* x y))

simplify48.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03359
17952
225652
3102552
4500152

prune33.0ms

Filtered
13 candidates to 11 candidates (84.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New10313
Fresh011
Picked011
Done000
Total10515

Merged error: 0.0b

Counts
15 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (+ (* x y) (* z z)) (* z z))
0.1b
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
sum-log
fma-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u associate-+l+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
Counts
2 → 37
Calls
2 calls:
6.0ms
(+ (+ (* x y) (* z z)) (* z z))
8.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series95.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(+ (+ (* x y) (* z z)) (* z z))
48.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify132.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0179299
1856245
24063223
35001219

prune91.0ms

Filtered
43 candidates to 34 candidates (79.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New38543
Fresh213
Picked101
Done011
Total41748

Merged error: 0.0b

Counts
48 → 7

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 2 (pow z 2) (* x y))
0.1b
(+ (fma 2 (pow z 2) (* x y)) (* z z))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
+-commutative associate-+l+ flip3-+ sum-log flip-+
Counts
2 → 27
Calls
2 calls:
1.0ms
(fma 2 (pow z 2) (* x y))
3.0ms
(+ (fma 2 (pow z 2) (* x y)) (* z z))

series84.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(fma 2 (pow z 2) (* x y))
50.0ms
(+ (fma 2 (pow z 2) (* x y)) (* z z))

simplify76.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0106179
1456165
21816162
35001159

prune124.0ms

Filtered
33 candidates to 26 candidates (78.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New31233
Fresh235
Picked011
Done011
Total33740

Merged error: 0.0b

Counts
40 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* x y) (* z z))) (cbrt (+ (* x y) (* z z))))
3.1b
(cbrt (+ (* x y) (* z z)))
3.1b
(cbrt (+ (* x y) (* z z)))
3.1b
(cbrt (+ (* x y) (* z z)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
10.0ms
(* (cbrt (+ (* x y) (* z z))) (cbrt (+ (* x y) (* z z))))
3.0ms
(cbrt (+ (* x y) (* z z)))
3.0ms
(cbrt (+ (* x y) (* z z)))
3.0ms
(cbrt (+ (* x y) (* z z)))

series521.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(* (cbrt (+ (* x y) (* z z))) (cbrt (+ (* x y) (* z z))))
121.0ms
(cbrt (+ (* x y) (* z z)))
121.0ms
(cbrt (+ (* x y) (* z z)))
119.0ms
(cbrt (+ (* x y) (* z z)))

simplify50.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
02951068
111721002
25001923

prune280.0ms

Filtered
107 candidates to 86 candidates (80.4%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1061107
Fresh044
Picked011
Done022
Total1068114

Merged error: 0.0b

Counts
114 → 8

regimes160.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample631.0ms

Algorithm
intervals
Results
378.0ms12252×body80valid

Profiling

Loading profile data...