Details

Time bar (total: 2.6s)

sample22.0ms

Algorithm
intervals
Results
11.0ms347×body80valid

simplify116.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0275
1785
21795
32775
43755
54885
69775
725115
850025

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
expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u 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 → 55
Calls
2 calls:
8.0ms
(* (* z z) (+ z 1.0))
10.0ms
(/ (* x y) (* (* z z) (+ z 1.0)))

series121.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0387405
12384314
25001313

prune105.0ms

Filtered
61 candidates to 37 candidates (60.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New53861
Fresh000
Picked101
Done000
Total54862

Merged error: 7.3b

Counts
62 → 8

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

rewrite26.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
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg flip3-+ clear-num flip-+
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
3 → 113
Calls
3 calls:
5.0ms
(/ y (+ z 1.0))
13.0ms
(* (/ x (* z z)) (/ y (+ z 1.0)))
4.0ms
(/ x (* z z))

series105.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(/ y (+ z 1.0))
52.0ms
(* (/ x (* z z)) (/ y (+ z 1.0)))
22.0ms
(/ x (* z z))

simplify63.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0534730
12689629
25003629

prune209.0ms

Filtered
122 candidates to 84 candidates (68.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1148122
Fresh437
Picked101
Done000
Total11911130

Merged error: 0.0b

Counts
130 → 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)))

rewrite38.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
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp
flip3-+ *-commutative flip-+
frac-2neg clear-num
Counts
3 → 155
Calls
3 calls:
5.0ms
(/ y (+ z 1.0))
13.0ms
(* (/ 1 z) (* (/ x z) (/ y (+ z 1.0))))
13.0ms
(* (/ x z) (/ y (+ z 1.0)))

series127.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/ y (+ z 1.0))
47.0ms
(* (/ 1 z) (* (/ x z) (/ y (+ z 1.0))))
48.0ms
(* (/ x z) (/ y (+ z 1.0)))

simplify99.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07951149
14362939
25001939

prune256.0ms

Filtered
164 candidates to 102 candidates (62.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1604164
Fresh5510
Picked101
Done000
Total1669175

Merged error: 0b

Counts
175 → 9

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

rewrite37.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
expm1-log1p-u associate-*l/ log1p-expm1-u 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 → 128
Calls
3 calls:
8.0ms
(/ (* (/ x z) y) (+ z 1.0))
18.0ms
(* (/ 1 z) (/ (* (/ x z) y) (+ z 1.0)))
6.0ms
(* (/ x z) y)

series116.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0669942
13493759
25003753

prune185.0ms

Filtered
137 candidates to 87 candidates (63.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1361137
Fresh178
Picked101
Done000
Total1388146

Merged error: 0b

Counts
146 → 8

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

sample591.0ms

Algorithm
intervals
Results
366.0ms10748×body80valid

Profiling

Loading profile data...