Details

Time bar (total: 4.5s)

sample20.0ms

Algorithm
intervals
Results
11.0ms280×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0215
1404
2694
31044
41464
51604
61604

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: 6.6b

Counts
2 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

3.2b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
6.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)))

series108.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0416531
12028428
25001420

prune171.0ms

Filtered
80 candidates to 63 candidates (78.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New74680
Fresh101
Picked011
Done000
Total75782

Merged error: 6.4b

Counts
82 → 7

localize8.0ms

Local error

Found 2 expressions with local error:

3.0b
(* (/ 1.0 x) (/ (/ 1 y) (fma z z 1.0)))
6.4b
(/ (/ 1 y) (fma z z 1.0))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
164×times-frac
114×add-sqr-sqrt
88×*-un-lft-identity
86×add-cube-cbrt
46×add-exp-log
43×associate-*r*
28×add-cbrt-cube
23×div-exp
13×associate-*l* associate-/l*
12×cbrt-undiv
10×prod-exp div-inv
unswap-sqr
cbrt-unprod
pow1
rec-exp 1-exp associate-/r*
expm1-log1p-u log1p-expm1-u add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
Counts
2 → 168
Calls
2 calls:
22.0ms
(* (/ 1.0 x) (/ (/ 1 y) (fma z z 1.0)))
7.0ms
(/ (/ 1 y) (fma z z 1.0))

series114.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(* (/ 1.0 x) (/ (/ 1 y) (fma z z 1.0)))
56.0ms
(/ (/ 1 y) (fma z z 1.0))

simplify88.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
08331388
140271228
250011150

prune291.0ms

Filtered
174 candidates to 111 candidates (63.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1704174
Fresh325
Picked101
Done101
Total1756181

Merged error: 6.4b

Counts
181 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ (/ 1 y) (sqrt (fma z z 1.0))) (sqrt (fma z z 1.0)))
3.0b
(* (/ 1.0 x) (/ (/ (/ 1 y) (sqrt (fma z z 1.0))) (sqrt (fma z z 1.0))))
16.6b
(sqrt (fma z z 1.0))
16.6b
(sqrt (fma z z 1.0))

rewrite344.0ms

Algorithm
rewrite-expression-head
Rules
2792×times-frac
1378×add-sqr-sqrt
1249×*-un-lft-identity
1241×add-cube-cbrt
1034×sqrt-prod
496×associate-*r*
94×div-inv
82×associate-/l*
69×add-exp-log
45×add-cbrt-cube
39×div-exp
30×unswap-sqr
22×cbrt-undiv
13×associate-*l*
12×prod-exp
pow1 cbrt-unprod
associate-/r*
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp 1-exp
rem-sqrt-square sqrt-pow1 pow1/2
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
Counts
4 → 1204
Calls
4 calls:
31.0ms
(/ (/ (/ 1 y) (sqrt (fma z z 1.0))) (sqrt (fma z z 1.0)))
178.0ms
(* (/ 1.0 x) (/ (/ (/ 1 y) (sqrt (fma z z 1.0))) (sqrt (fma z z 1.0))))
2.0ms
(sqrt (fma z z 1.0))
2.0ms
(sqrt (fma z z 1.0))

series225.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ (/ (/ 1 y) (sqrt (fma z z 1.0))) (sqrt (fma z z 1.0)))
62.0ms
(* (/ 1.0 x) (/ (/ (/ 1 y) (sqrt (fma z z 1.0))) (sqrt (fma z z 1.0))))
50.0ms
(sqrt (fma z z 1.0))
57.0ms
(sqrt (fma z z 1.0))

simplify235.0ms

Algorithm
egg-herbie
Counts
1216 → 1216
Iterations

Useful iterations: 1 (62.0ms)

IterNodesCost
0371617766
1500116060

prune1.8s

Filtered
1216 candidates to 478 candidates (39.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New121601216
Fresh055
Picked011
Done000
Total121661222

Merged error: 6.4b

Counts
1222 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.4b
(/ 1.0 (* (fma z z 1.0) y))
3.0b
(/ (/ 1.0 (* (fma z z 1.0) y)) x)
6.1b
(* (fma z z 1.0) y)

rewrite17.0ms

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

series163.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0417623
11883553
25003553

prune167.0ms

Filtered
102 candidates to 77 candidates (75.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1020102
Fresh044
Picked011
Done011
Total1026108

Merged error: 6.4b

Counts
108 → 6

regimes142.0ms

Accuracy

0% (1.4b remaining)

Error of 6.3b against oracle of 4.9b and baseline of 6.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0159
1159

end0.0ms

sample473.0ms

Algorithm
intervals
Results
297.0ms8620×body80valid