Details

Time bar (total: 5.1s)

sample28.0ms

Algorithm
intervals
Results
18.0ms320×body80valid

simplify83.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1223
2443
3703
41003
51173
64203
729763
850013

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.6b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- y z))
13.0b
(/ (* x (- y z)) y)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt prod-diff
11×distribute-rgt-in distribute-lft-in
add-exp-log add-cbrt-cube
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u sub-neg flip3-- div-exp prod-exp flip-- cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 71
Calls
2 calls:
12.0ms
(* x (- y z))
11.0ms
(/ (* x (- y z)) y)

series97.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(* x (- y z))
57.0ms
(/ (* x (- y z)) y)

simplify56.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0299483
11416328
25001328

prune127.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ y (- y z))
3.2b
(/ x (/ y (- y z)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
102×add-sqr-sqrt *-un-lft-identity
70×add-cube-cbrt
26×associate-/r*
16×distribute-lft-out-- difference-of-squares
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-- flip--
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
2 → 143
Calls
2 calls:
5.0ms
(/ y (- y z))
10.0ms
(/ x (/ y (- y z)))

series101.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(/ y (- y z))
51.0ms
(/ x (/ y (- y z)))

simplify71.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
04791057
122391019
250021016

prune341.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y) (- (- y z)))
3.2b
(/ x (/ (- y) (- (- y z))))

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
1138×times-frac
723×add-sqr-sqrt *-un-lft-identity
519×add-cube-cbrt
468×distribute-lft-neg-in distribute-rgt-neg-in
160×associate-/r*
122×neg-mul-1
102×distribute-lft-out-- difference-of-squares
13×associate-/l*
11×associate-/r/
10×distribute-neg-frac
add-exp-log add-cbrt-cube
div-inv
flip3-- flip--
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
neg-sub0 div-sub distribute-frac-neg
Counts
2 → 786
Calls
2 calls:
14.0ms
(/ (- y) (- (- y z)))
41.0ms
(/ x (/ (- y) (- (- y z))))

series128.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(/ (- y) (- (- y z)))
76.0ms
(/ x (/ (- y) (- (- y z))))

simplify137.0ms

Algorithm
egg-herbie
Counts
792 → 792
Iterations

Useful iterations: 1 (53.0ms)

IterNodesCost
021088310
150018064

prune1.6s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (- y z))
0.2b
(/ 1 (/ (/ y (- y z)) x))
3.2b
(/ (/ y (- y z)) x)

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
771×times-frac
439×add-sqr-sqrt *-un-lft-identity
335×add-cube-cbrt
75×associate-/r*
52×distribute-lft-out-- difference-of-squares
35×associate-/r/
31×add-exp-log
27×associate-/l*
23×div-inv
19×div-exp add-cbrt-cube
17×flip3-- flip--
10×cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u add-log-exp
pow-flip associate-/l/ inv-pow
Counts
3 → 441
Calls
3 calls:
5.0ms
(/ y (- y z))
22.0ms
(/ 1 (/ (/ y (- y z)) x))
18.0ms
(/ (/ y (- y z)) x)

series180.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(/ y (- y z))
51.0ms
(/ 1 (/ (/ y (- y z)) x))
81.0ms
(/ (/ y (- y z)) x)

simplify92.0ms

Algorithm
egg-herbie
Counts
450 → 450
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
014134478
150014011

prune990.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes93.0ms

Accuracy

-12.8% (3.6b remaining)

Error of 3.6b against oracle of 0.0b and baseline of 3.2b

bsearch77.0ms

Steps
ItersRangePoint
6
-1.6232427560740034e-140
-2.7841068021777377e-141
-1.276743401231038e-140
9
-4.745992706628307e-48
-1.7646529456537145e-53
-9.434850190373923e-51

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0228
1228

end0.0ms

sample691.0ms

Algorithm
intervals
Results
482.0ms9609×body80valid