Details

Time bar (total: 2.5s)

sample22.0ms

Algorithm
intervals
Results
11.0ms347×body80valid

simplify117.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0275
1765
21685
32645
43545
54425
69125
724305
850015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.4b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (* z z) (+ z 1.0))
14.0b
(/ (* x y) (* (* z z) (+ z 1.0)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log add-cbrt-cube
12×prod-exp cbrt-unprod
pow1
cbrt-undiv div-exp
*-un-lft-identity
add-sqr-sqrt associate-*r/ associate-*r*
add-cube-cbrt pow-prod-down
flip3-+ associate-/r/ flip-+ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in times-frac associate-*l* clear-num associate-/r* *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
2 → 51
Calls
2 calls:
7.0ms
(* (* z z) (+ z 1.0))
10.0ms
(/ (* x y) (* (* z z) (+ z 1.0)))

series114.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0380385
12326297
25001297

prune86.0ms

Filtered
57 candidates to 33 candidates (57.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New50757
Fresh000
Picked101
Done000
Total51758

Merged error: 7.3b

Counts
58 → 7

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ z 1.0))
3.6b
(* (/ x (* z z)) (/ y (+ z 1.0)))
10.7b
(/ x (* z z))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
34×add-sqr-sqrt times-frac
31×add-exp-log add-cbrt-cube
24×add-cube-cbrt
18×associate-*r*
10×cbrt-undiv div-exp
prod-exp cbrt-unprod
associate-*l* distribute-lft-out
associate-/l*
pow1 associate-/r*
associate-/r/ div-inv unswap-sqr
add-log-exp
frac-2neg flip3-+ clear-num flip-+
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
3 → 107
Calls
3 calls:
5.0ms
(/ y (+ z 1.0))
16.0ms
(* (/ x (* z z)) (/ y (+ z 1.0)))
4.0ms
(/ x (* z z))

series102.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ y (+ z 1.0))
47.0ms
(* (/ x (* z z)) (/ y (+ z 1.0)))
21.0ms
(/ x (* z z))

simplify61.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0523706
12630610
25002610

prune189.0ms

Filtered
116 candidates to 78 candidates (67.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1088116
Fresh336
Picked101
Done000
Total11211123

Merged error: 0.0b

Counts
123 → 11

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ z 1.0))
2.1b
(* (/ 1 z) (* (/ x z) (/ y (+ z 1.0))))
2.3b
(* (/ x z) (/ y (+ z 1.0)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
94×add-exp-log
58×add-cbrt-cube
48×*-un-lft-identity
46×add-sqr-sqrt times-frac
40×prod-exp
34×add-cube-cbrt
31×div-exp
26×associate-*l*
22×cbrt-unprod
19×associate-*r*
18×cbrt-undiv
10×pow1
distribute-lft-out
frac-times associate-*r/
rec-exp 1-exp
pow-prod-down associate-*l/ associate-/r* associate-/r/ div-inv unswap-sqr
associate-/l* add-log-exp
flip3-+ *-commutative flip-+
frac-2neg clear-num
Counts
3 → 149
Calls
3 calls:
5.0ms
(/ y (+ z 1.0))
13.0ms
(* (/ 1 z) (* (/ x z) (/ y (+ z 1.0))))
15.0ms
(* (/ x z) (/ y (+ z 1.0)))

series120.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(/ y (+ z 1.0))
46.0ms
(* (/ 1 z) (* (/ x z) (/ y (+ z 1.0))))
44.0ms
(* (/ x z) (/ y (+ z 1.0)))

simplify98.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07821119
14277918
25001910

prune223.0ms

Filtered
158 candidates to 96 candidates (60.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1553158
Fresh4610
Picked101
Done000
Total1609169

Merged error: 0b

Counts
169 → 9

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (* (/ x z) y) (+ z 1.0))
2.1b
(* (/ 1 z) (/ (* (/ x z) y) (+ z 1.0)))
3.3b
(* (/ x z) y)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
77×add-exp-log
49×add-cbrt-cube
34×add-sqr-sqrt
29×*-un-lft-identity times-frac div-exp
28×prod-exp
26×associate-*l*
22×add-cube-cbrt
17×cbrt-undiv
16×cbrt-unprod
13×associate-*r*
pow1
unswap-sqr
rec-exp 1-exp associate-/r* associate-/r/ div-inv
associate-*l/ distribute-lft-out add-log-exp
flip3-+ pow-prod-down *-commutative flip-+
frac-times frac-2neg associate-*r/ clear-num associate-/l/ associate-/l*
Counts
3 → 122
Calls
3 calls:
8.0ms
(/ (* (/ x z) y) (+ z 1.0))
14.0ms
(* (/ 1 z) (/ (* (/ x z) y) (+ z 1.0)))
6.0ms
(* (/ x z) y)

series114.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(/ (* (/ x z) y) (+ z 1.0))
50.0ms
(* (/ 1 z) (/ (* (/ x z) y) (+ z 1.0)))
20.0ms
(* (/ x z) y)

simplify81.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0658912
13432735
25003729

prune166.0ms

Filtered
131 candidates to 80 candidates (61.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1301131
Fresh178
Picked101
Done000
Total1328140

Merged error: 0b

Counts
140 → 8

regimes177.0ms

Accuracy

-19.4% (3.9b remaining)

Error of 3.9b against oracle of 0.0b and baseline of 3.3b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02612
12612

end0.0ms

sample593.0ms

Algorithm
intervals
Results
365.0ms10748×body80valid

Profiling

Loading profile data...