Details

Time bar (total: 1.5s)

sample19.0ms

Algorithm
intervals
Results
7.0ms313×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.8b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

1.7b
(* x (- 1.0 (* y z)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
5.0ms
(* x (- 1.0 (* y z)))

series9.0ms

Counts
1 → 3
Calls
1 calls:
9.0ms
(* x (- 1.0 (* y z)))

simplify53.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0122127
1493111
21989111
35001111

prune54.0ms

Filtered
17 candidates to 27 candidates (-58.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New20727
Fresh000
Picked101
Done000
Total21728

Merged error: 1.7b

Counts
28 → 7

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (neg (* y z))))
4.7b
(* x (neg (* y z)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l* distribute-rgt-neg-out
+-commutative distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* x (neg (* y z))))
5.0ms
(* x (neg (* y z)))

series16.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(+ (* x 1.0) (* x (neg (* y z))))
6.0ms
(* x (neg (* y z)))

simplify42.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0181204
11018178
25001174

prune51.0ms

Filtered
32 candidates to 42 candidates (-31.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New41142
Fresh426
Picked011
Done000
Total45449

Merged error: 0.0b

Counts
49 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x (neg y)) z))
4.9b
(* (* x (neg y)) z)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
distribute-lft-neg-out add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp distribute-rgt-neg-out cbrt-unprod
+-commutative flip3-+ associate-*l* unsub-neg sum-log *-commutative flip-+
Counts
2 → 32
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* (* x (neg y)) z))
5.0ms
(* (* x (neg y)) z)

series15.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(+ (* x 1.0) (* (* x (neg y)) z))
6.0ms
(* (* x (neg y)) z)

simplify37.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0203197
1955172
25001160

prune50.0ms

Filtered
28 candidates to 38 candidates (-35.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New36238
Fresh022
Picked011
Done011
Total36642

Merged error: 0.0b

Counts
42 → 6

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (sqrt (- 1.0 (* y z))))
0.1b
(* (* x (sqrt (- 1.0 (* y z)))) (sqrt (- 1.0 (* y z))))
0.7b
(sqrt (- 1.0 (* y z)))
0.7b
(sqrt (- 1.0 (* y z)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-div
17×add-sqr-sqrt
13×pow1 sqrt-prod
12×associate-*r*
11×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
10×associate-*r/
flip3-- flip--
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative unswap-sqr
Counts
4 → 83
Calls
4 calls:
6.0ms
(* x (sqrt (- 1.0 (* y z))))
10.0ms
(* (* x (sqrt (- 1.0 (* y z)))) (sqrt (- 1.0 (* y z))))
2.0ms
(sqrt (- 1.0 (* y z)))
2.0ms
(sqrt (- 1.0 (* y z)))

series53.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* x (sqrt (- 1.0 (* y z))))
9.0ms
(* (* x (sqrt (- 1.0 (* y z)))) (sqrt (- 1.0 (* y z))))
13.0ms
(sqrt (- 1.0 (* y z)))
15.0ms
(sqrt (- 1.0 (* y z)))

simplify45.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0346714
11537637
25001631

prune130.0ms

Filtered
68 candidates to 95 candidates (-39.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New94195
Fresh033
Picked101
Done022
Total956101

Merged error: 0.0b

Counts
101 → 6

regimes278.0ms

Accuracy

13.2% (2.9b remaining)

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

bsearch32.0ms

Steps
ItersRangePoint
6
-1.1928289536765795e-221
-1.3185365163251068e-222
-1.836477749590079e-222
9
-1.1762651014300478e+113
-4.5098908183440684e+105
-5.423014990298349e+105

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03610
14910
25310
35310

end0.0ms

sample495.0ms

Algorithm
intervals
Results
237.0ms9582×body80valid

Profiling

Loading profile data...