Details

Time bar (total: 3.2s)

sample18.0ms

Algorithm
intervals
Results
8.0ms312×body80valid

simplify92.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1464
21214
32584
44344
56874
619574
750024

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 9.4b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (- y z) 1.0)
0.0b
(* x (+ (- y z) 1.0))
8.8b
(/ (* x (+ (- y z) 1.0)) z)

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
63×add-sqr-sqrt
51×add-cube-cbrt
42×times-frac
33×associate-+l+
27×prod-diff
25×associate-*r*
15×associate-*l*
14×associate-/l*
13×distribute-rgt-in distribute-lft-in
12×distribute-lft-out
10×add-exp-log add-cbrt-cube
add-log-exp
distribute-lft-out--
pow1 fma-def *-commutative unswap-sqr
associate-*r/
+-commutative expm1-log1p-u sub-neg flip3-+ associate-/r* flip-+ log1p-expm1-u
cbrt-undiv div-exp prod-exp sum-log cbrt-unprod associate-/l/
associate-+l- frac-2neg diff-log pow-prod-down clear-num div-inv difference-of-squares
Counts
3 → 160
Calls
3 calls:
9.0ms
(+ (- y z) 1.0)
11.0ms
(* x (+ (- y z) 1.0))
22.0ms
(/ (* x (+ (- y z) 1.0)) z)

series104.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(+ (- y z) 1.0)
41.0ms
(* x (+ (- y z) 1.0))
46.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify94.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
05081150
12507932
25002932

prune216.0ms

Filtered
169 candidates to 105 candidates (37.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1645169
Fresh000
Picked011
Done000
Total1646170

Merged error: 0b

Counts
170 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (- y z) 1.0)
0.0b
(/ z (+ (- y z) 1.0))
1.5b
(/ (* x 1) (/ z (+ (- y z) 1.0)))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
498×times-frac
478×*-un-lft-identity
282×add-sqr-sqrt
214×add-cube-cbrt
96×distribute-lft-out
66×associate-*r* associate-*l*
49×distribute-lft-out--
44×unswap-sqr
41×associate-/r/
31×associate-/r*
22×add-exp-log *-commutative
19×associate-/l*
17×add-cbrt-cube
16×flip3-+ flip-+ div-inv
11×associate-+l+
10×div-exp
prod-diff
add-log-exp
cbrt-undiv
fma-def
prod-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u
1-exp sum-log cbrt-unprod
+-commutative associate-+l- sub-neg diff-log difference-of-squares
Counts
3 → 412
Calls
3 calls:
9.0ms
(+ (- y z) 1.0)
8.0ms
(/ z (+ (- y z) 1.0))
25.0ms
(/ (* x 1) (/ z (+ (- y z) 1.0)))

series125.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(+ (- y z) 1.0)
54.0ms
(/ z (+ (- y z) 1.0))
54.0ms
(/ (* x 1) (/ z (+ (- y z) 1.0)))

simplify82.0ms

Algorithm
egg-herbie
Counts
421 → 421
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
012203947
150013596

prune362.0ms

Filtered
421 candidates to 161 candidates (61.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New4192421
Fresh224
Picked011
Done011
Total4216427

Merged error: 0b

Counts
427 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (- y z) 1.0)
0.0b
(/ (+ (- y z) 1.0) z)
1.6b
(* (* x 1) (/ (+ (- y z) 1.0) z))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
90×*-un-lft-identity
56×add-sqr-sqrt
34×add-cube-cbrt
33×times-frac
22×add-exp-log associate-*r*
20×distribute-lft-out
17×add-cbrt-cube
16×associate-*l*
13×associate-*r/ associate-/l*
12×unswap-sqr
11×associate-+l+ distribute-lft-out--
10×prod-exp
prod-diff
pow1 add-log-exp
associate-/r* cbrt-unprod
fma-def
div-exp un-div-inv associate-/l/
cbrt-undiv expm1-log1p-u flip3-+ pow-prod-down clear-num flip-+ log1p-expm1-u
associate-+l- frac-2neg 1-exp sum-log *-commutative div-inv
+-commutative sub-neg diff-log div-sub difference-of-squares
Counts
3 → 150
Calls
3 calls:
11.0ms
(+ (- y z) 1.0)
11.0ms
(/ (+ (- y z) 1.0) z)
22.0ms
(* (* x 1) (/ (+ (- y z) 1.0) z))

series96.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(+ (- y z) 1.0)
33.0ms
(/ (+ (- y z) 1.0) z)
46.0ms
(* (* x 1) (/ (+ (- y z) 1.0) z))

simplify93.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0521859
12337727
25002725

prune205.0ms

Filtered
159 candidates to 99 candidates (37.7%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1581159
Fresh123
Picked011
Done022
Total1596165

Merged error: 0b

Counts
165 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (- y z) 1.0)
0.1b
(* (+ (- y z) 1.0) (/ 1 z))
1.6b
(* (* x 1) (* (+ (- y z) 1.0) (/ 1 z)))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
71×*-un-lft-identity
62×add-exp-log
55×associate-*r*
50×associate-*r/
42×add-cube-cbrt
41×prod-exp
37×unswap-sqr
36×frac-times
29×add-cbrt-cube
28×times-frac
26×associate-*l*
21×flip3-+ flip-+
20×associate-/l*
18×associate-/r*
17×pow1
15×cbrt-unprod
11×associate-+l+
1-exp prod-diff pow-prod-down
div-exp clear-num add-log-exp
frac-2neg un-div-inv distribute-lft-out
fma-def
rec-exp associate-*l/ *-commutative distribute-lft-out--
cbrt-undiv expm1-log1p-u log1p-expm1-u
sum-log div-inv
+-commutative associate-+l- sub-neg diff-log difference-of-squares
Counts
3 → 221
Calls
3 calls:
8.0ms
(+ (- y z) 1.0)
18.0ms
(* (+ (- y z) 1.0) (/ 1 z))
33.0ms
(* (* x 1) (* (+ (- y z) 1.0) (/ 1 z)))

series95.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(+ (- y z) 1.0)
33.0ms
(* (+ (- y z) 1.0) (/ 1 z))
46.0ms
(* (* x 1) (* (+ (- y z) 1.0) (/ 1 z)))

simplify117.0ms

Algorithm
egg-herbie
Counts
230 → 230
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
08521574
137971299
250011245

prune511.0ms

Filtered
230 candidates to 138 candidates (40.0%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New2300230
Fresh022
Picked011
Done033
Total2306236

Merged error: 0b

Counts
236 → 6

regimes130.0ms

Accuracy

97.6% (0.1b remaining)

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

bsearch82.0ms

Steps
ItersRangePoint
8
1.0035131970971057e-07
0.0002664861222813985
1.8069642135443806e-06
9
-145180044356031.62
-3082808.993858609
-11400309608.36395

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0279
1319
2319

end0.0ms

sample476.0ms

Algorithm
intervals
Results
263.0ms10115×body80valid