Details

Time bar (total: 2.4s)

sample19.0ms

Algorithm
intervals
Results
9.0ms372×body80valid

simplify349.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
0166
1334
2564
3763
4883
51313
62363
73283
83433
94413
107933
1134823
1250013

prune5.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

localize6.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))

series40.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
03359
17952
225652
3102452
4500152

prune28.0ms

Filtered
13 candidates to 11 candidates (84.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New9413
Fresh101
Picked011
Done000
Total10515

Merged error: 0.0b

Counts
15 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3 (* z z)) (* x y))
0.2b
(* 3 (* z z))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
36×associate-*r*
28×fma-def
23×*-un-lft-identity
16×associate-*l*
15×add-cube-cbrt
14×unswap-sqr
swap-sqr
pow1 add-exp-log add-cbrt-cube
*-commutative
distribute-lft-out add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
+-commutative flip3-+ sum-log flip-+
Counts
2 → 84
Calls
2 calls:
28.0ms
(+ (* 3 (* z z)) (* x y))
12.0ms
(* 3 (* z z))

series67.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(+ (* 3 (* z z)) (* x y))
26.0ms
(* 3 (* z z))

simplify61.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0232238
11013217
25001207

prune121.0ms

Filtered
90 candidates to 57 candidates (63.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New86490
Fresh303
Picked101
Done011
Total90595

Merged error: 0b

Counts
95 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* (fabs z) 3) (sqrt (* z z))) (* x y))
0.2b
(* (* (fabs z) 3) (sqrt (* z z)))
16.4b
(sqrt (* z z))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
102×add-sqr-sqrt
65×sqrt-prod
51×associate-*r*
48×associate-*l*
47×fma-def
46×unswap-sqr
39×*-un-lft-identity
27×add-cube-cbrt
16×pow1
14×swap-sqr
12×*-commutative
add-exp-log add-cbrt-cube
sqrt-pow1 distribute-lft-out
rem-sqrt-square add-log-exp
pow-prod-down
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u
+-commutative pow2 flip3-+ pow-plus pow1/2 sum-log pow-sqr pow-prod-up flip-+
Counts
3 → 160
Calls
3 calls:
47.0ms
(+ (* (* (fabs z) 3) (sqrt (* z z))) (* x y))
15.0ms
(* (* (fabs z) 3) (sqrt (* z z)))
5.0ms
(sqrt (* z z))

series103.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(+ (* (* (fabs z) 3) (sqrt (* z z))) (* x y))
48.0ms
(* (* (fabs z) 3) (sqrt (* z z)))
9.0ms
(sqrt (* z z))

simplify75.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
0346662
11277601
25001553

prune282.0ms

Filtered
169 candidates to 112 candidates (66.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1681169
Fresh123
Picked011
Done011
Total1695174

Merged error: 0b

Counts
174 → 5

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
18×associate-*r*
13×unswap-sqr
10×add-cbrt-cube
add-cube-cbrt *-un-lft-identity associate-*l*
cbrt-prod
pow1 add-exp-log
cbrt-unprod
swap-sqr
*-commutative
pow-prod-down prod-exp
expm1-log1p-u log1p-expm1-u add-log-exp
fma-udef
Counts
2 → 59
Calls
2 calls:
1.0ms
(fma (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z)) (* x y))
13.0ms
(* (cbrt 3) (* z z))

series139.0ms

Counts
2 → 6
Calls
2 calls:
90.0ms
(fma (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z)) (* x y))
48.0ms
(* (cbrt 3) (* z z))

simplify160.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (154.0ms)

IterNodesCost
0199365
1806317
24275299
35001297

prune98.0ms

Filtered
65 candidates to 39 candidates (60.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New65065
Fresh022
Picked011
Done022
Total65570

Merged error: 0b

Counts
70 → 5

regimes113.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample535.0ms

Algorithm
intervals
Results
299.0ms12071×body80valid