Details

Time bar (total: 4.3s)

sample21.0ms

Algorithm
intervals
Results
9.0ms276×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0215
1404
2694
31044
41464
51604
61604

prune6.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: 4.5b

Counts
2 → 2

localize10.0ms

Local error

Found 2 expressions with local error:

1.7b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
4.1b
(* y (+ 1.0 (* z z)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
20×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
16×add-exp-log add-cbrt-cube
13×associate-/l*
cbrt-undiv div-exp
pow1 associate-*r/
associate-*r* associate-*l* prod-exp cbrt-unprod div-inv
expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative associate-/l/ unswap-sqr
Counts
2 → 74
Calls
2 calls:
8.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
5.0ms
(* y (+ 1.0 (* z z)))

series110.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
50.0ms
(* y (+ 1.0 (* z z)))

simplify47.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0416531
12028428
25001420

prune180.0ms

Filtered
80 candidates to 63 candidates (78.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New75580
Fresh101
Picked011
Done000
Total76682

Merged error: 4.4b

Counts
82 → 6

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
1.0b
(/ (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt x) (cbrt x))) (/ (* (* y (fma z z 1.0)) (cbrt x)) (cbrt 1.0)))
1.0b
(* (* y (fma z z 1.0)) (cbrt x))
4.1b
(* y (fma z z 1.0))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
113×add-exp-log
97×times-frac
54×add-cbrt-cube
51×cbrt-undiv div-exp
40×add-sqr-sqrt
38×add-cube-cbrt *-un-lft-identity
35×prod-exp cbrt-unprod
24×cbrt-prod
18×div-inv
11×pow1
10×associate-/r*
associate-*r*
associate-/l*
expm1-log1p-u associate-*l* pow-prod-down log1p-expm1-u add-log-exp
*-commutative fma-udef
distribute-rgt-in frac-2neg distribute-lft-in pow1/3 clear-num associate-/r/ associate-/l/ unswap-sqr
Counts
4 → 177
Calls
4 calls:
1.0ms
(cbrt x)
21.0ms
(/ (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt x) (cbrt x))) (/ (* (* y (fma z z 1.0)) (cbrt x)) (cbrt 1.0)))
6.0ms
(* (* y (fma z z 1.0)) (cbrt x))
4.0ms
(* y (fma z z 1.0))

series535.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt x)
157.0ms
(/ (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt x) (cbrt x))) (/ (* (* y (fma z z 1.0)) (cbrt x)) (cbrt 1.0)))
144.0ms
(* (* y (fma z z 1.0)) (cbrt x))
54.0ms
(* y (fma z z 1.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09652837
150012243

prune538.0ms

Filtered
189 candidates to 141 candidates (74.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1872189
Fresh044
Picked011
Done011
Total1878195

Merged error: 4.4b

Counts
195 → 8

localize7.0ms

Local error

Found 3 expressions with local error:

0.8b
(/ 1.0 (* (* y (fma z z 1.0)) x))
1.5b
(* (* y (fma z z 1.0)) x)
4.1b
(* y (fma z z 1.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
10×pow1 add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod
associate-*r*
associate-*l* pow-prod-down
cbrt-undiv expm1-log1p-u times-frac div-exp log1p-expm1-u associate-/l* add-log-exp
*-commutative fma-udef
distribute-rgt-in frac-2neg distribute-lft-in clear-num associate-/r* div-inv unswap-sqr
Counts
3 → 67
Calls
3 calls:
6.0ms
(/ 1.0 (* (* y (fma z z 1.0)) x))
5.0ms
(* (* y (fma z z 1.0)) x)
4.0ms
(* y (fma z z 1.0))

series171.0ms

Counts
3 → 9
Calls
3 calls:
67.0ms
(/ 1.0 (* (* y (fma z z 1.0)) x))
46.0ms
(* (* y (fma z z 1.0)) x)
57.0ms
(* y (fma z z 1.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0302385
11633314
25002314

prune306.0ms

Filtered
76 candidates to 51 candidates (67.1%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New76076
Fresh055
Picked011
Done022
Total76884

Merged error: 4.4b

Counts
84 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt x) (cbrt x))) (/ (* (* (* (cbrt y) (cbrt y)) (* (cbrt y) (fma z z 1.0))) (cbrt x)) (cbrt 1.0)))
1.0b
(* (* (* (cbrt y) (cbrt y)) (* (cbrt y) (fma z z 1.0))) (cbrt x))
1.7b
(* (cbrt y) (fma z z 1.0))
2.6b
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (fma z z 1.0)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
257×add-exp-log
115×prod-exp cbrt-unprod
98×add-cbrt-cube
97×times-frac
93×cbrt-undiv div-exp
42×add-sqr-sqrt
38×add-cube-cbrt *-un-lft-identity
36×pow1
25×cbrt-prod
22×pow-prod-down
18×div-inv
10×associate-*r* associate-/r*
associate-*l*
fma-udef
distribute-rgt-in distribute-lft-in associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
*-commutative
unswap-sqr
frac-2neg clear-num associate-/r/ associate-/l/
Counts
4 → 235
Calls
4 calls:
24.0ms
(/ (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt x) (cbrt x))) (/ (* (* (* (cbrt y) (cbrt y)) (* (cbrt y) (fma z z 1.0))) (cbrt x)) (cbrt 1.0)))
16.0ms
(* (* (* (cbrt y) (cbrt y)) (* (cbrt y) (fma z z 1.0))) (cbrt x))
5.0ms
(* (cbrt y) (fma z z 1.0))
10.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (fma z z 1.0)))

series598.0ms

Counts
4 → 12
Calls
4 calls:
158.0ms
(/ (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt x) (cbrt x))) (/ (* (* (* (cbrt y) (cbrt y)) (* (cbrt y) (fma z z 1.0))) (cbrt x)) (cbrt 1.0)))
172.0ms
(* (* (* (cbrt y) (cbrt y)) (* (cbrt y) (fma z z 1.0))) (cbrt x))
188.0ms
(* (cbrt y) (fma z z 1.0))
80.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (fma z z 1.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013045033
150013729

prune767.0ms

Filtered
247 candidates to 168 candidates (68.0%)
Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New2461247
Fresh044
Picked011
Done033
Total2469255

Merged error: 3.1b

Counts
255 → 9

regimes279.0ms

Accuracy

41.7% (1.5b remaining)

Error of 5.1b against oracle of 3.6b and baseline of 6.2b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03528
13528

end0.0ms

sample414.0ms

Algorithm
intervals
Results
241.0ms8623×body80valid