Details

Time bar (total: 2.1s)

sample17.0ms

Algorithm
intervals
Results
7.0ms302×body80valid

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

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

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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:
7.0ms
(* x (- y z))
8.0ms
(/ (* x (- y z)) y)

series90.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0299483
11416328
25001328

prune106.0ms

Filtered
77 candidates to 41 candidates (53.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New70777
Fresh000
Picked101
Done000
Total71778

Merged error: 0b

Counts
78 → 7

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.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:
6.0ms
(/ y (- y z))
9.0ms
(/ x (/ y (- y z)))

series100.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
04791057
122391019
250021016

prune266.0ms

Filtered
149 candidates to 112 candidates (75.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1472149
Fresh336
Picked011
Done000
Total1506156

Merged error: 0b

Counts
156 → 6

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
36×*-un-lft-identity
31×times-frac
22×add-cube-cbrt
19×associate-*r*
add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
flip3-- frac-2neg div-sub associate-*r/ pow-prod-down clear-num *-commutative flip--
Counts
2 → 80
Calls
2 calls:
6.0ms
(/ (- y z) y)
10.0ms
(* x (/ (- y z) y))

series80.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0270409
11205378
25001377

prune136.0ms

Filtered
86 candidates to 61 candidates (70.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh044
Picked011
Done011
Total86692

Merged error: 0b

Counts
92 → 6

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (- y z))
0.2b
(/ 1 (/ y (* x (- y z))))
8.9b
(/ y (* x (- y z)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
42×times-frac
41×add-sqr-sqrt
39×*-un-lft-identity
37×add-cube-cbrt
31×add-exp-log
19×add-cbrt-cube
18×prod-diff
14×div-exp
12×associate-*r/
11×distribute-rgt-in distribute-lft-in associate-/r/
10×associate-/r*
cbrt-undiv
pow1 flip3-- flip-- div-inv associate-/l*
associate-*r* prod-exp
expm1-log1p-u rec-exp 1-exp associate-*l* cbrt-unprod log1p-expm1-u add-log-exp
sub-neg frac-2neg clear-num
pow-flip pow-prod-down *-commutative distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
3 → 137
Calls
3 calls:
7.0ms
(* x (- y z))
13.0ms
(/ 1 (/ y (* x (- y z))))
7.0ms
(/ y (* x (- y z)))

series139.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(* x (- y z))
52.0ms
(/ 1 (/ y (* x (- y z))))
49.0ms
(/ y (* x (- y z)))

simplify73.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0463962
12252745
25001688

prune184.0ms

Filtered
146 candidates to 73 candidates (50.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1460146
Fresh033
Picked011
Done022
Total1466152

Merged error: 0b

Counts
152 → 6

regimes138.0ms

Accuracy

85.7% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 3.0b

bsearch1.0ms

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 2 (1.0ms)

IterNodesCost
02929
13229
23819
34119
44719
55819
66519
76619
86619

end0.0ms

sample410.0ms

Algorithm
intervals
Results
215.0ms9604×body80valid