Details

Time bar (total: 2.0s)

sample20.0ms

Algorithm
intervals
Results
10.0ms310×body80valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0163
1223
2333
3363
4423
5463
6543
72823
820723
950013

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

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
14.2b
(/ (* x (+ y z)) z)

rewrite15.0ms

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

series80.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(* x (+ y z))
44.0ms
(/ (* x (+ y z)) z)

simplify47.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0226206
11099177
25001177

prune105.0ms

Filtered
52 candidates to 35 candidates (67.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New47552
Fresh000
Picked101
Done000
Total48553

Merged error: 0b

Counts
53 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ y z))
1.6b
(/ x (/ z (+ y z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
94×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
16×distribute-lft-out
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
Counts
2 → 123
Calls
2 calls:
6.0ms
(/ z (+ y z))
9.0ms
(/ x (/ z (+ y z)))

series106.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(/ z (+ y z))
59.0ms
(/ x (/ z (+ y z)))

simplify69.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0413869
11890835
25002832

prune249.0ms

Filtered
129 candidates to 91 candidates (70.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1281129
Fresh134
Picked011
Done000
Total1295134

Merged error: 0b

Counts
134 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ y z) z)
1.8b
(* x (/ (+ y z) z))

rewrite19.0ms

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

series65.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(/ (+ y z) z)
43.0ms
(* x (/ (+ y z) z))

simplify115.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0233344
11013313
23962313
35001313

prune124.0ms

Filtered
74 candidates to 48 candidates (64.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh033
Picked011
Done011
Total74579

Merged error: 0b

Counts
79 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (/ (* x y) z) x)
6.1b
(/ (* x y) z)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt add-log-exp
times-frac associate-/r*
pow1 cbrt-undiv div-exp
+-commutative frac-2neg flip3-+ prod-exp clear-num sum-log cbrt-unprod flip-+ div-inv distribute-lft-out associate-/l*
Counts
2 → 33
Calls
2 calls:
6.0ms
(+ (/ (* x y) z) x)
5.0ms
(/ (* x y) z)

series63.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(+ (/ (* x y) z) x)
25.0ms
(/ (* x y) z)

simplify99.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0168160
1736144
23353142
35001142

prune58.0ms

Filtered
39 candidates to 26 candidates (66.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New39039
Fresh022
Picked011
Done022
Total39544

Merged error: 0b

Counts
44 → 5

regimes77.0ms

Accuracy

24.9% (2.3b remaining)

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

bsearch73.0ms

Steps
ItersRangePoint
8
1.3630700529814987e-251
9.95841995844553e-249
1.1988184646526967e-249
9
-1.0312084262195005e+35
-1.2303818987046844e+30
-1.3343627764232323e+30

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1219

end0.0ms

sample441.0ms

Algorithm
intervals
Results
238.0ms9611×body80valid