Details

Time bar (total: 6.5s)

sample26.0ms

Algorithm
intervals
Results
13.0ms271×body80valid

simplify109.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0238
1378
2658
3948
41088
51328
62018
73598
88258
932128
1050018

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 23.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.0b
(+ y (* z (- b y)))
0.7b
(+ (* x y) (* z (- t a)))
22.6b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
times-frac
add-exp-log associate-+r+ add-cbrt-cube add-log-exp
pow1 distribute-rgt-in sub-neg distribute-lft-in
associate-*r*
flip3-+ flip-+
associate-*l* associate-/r* associate-/l*
+-commutative associate-*r/ sum-log associate-/r/ associate-/l/
cbrt-undiv flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 87
Calls
4 calls:
9.0ms
(* z (- t a))
3.0ms
(+ y (* z (- b y)))
3.0ms
(+ (* x y) (* z (- t a)))
12.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series435.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* z (- t a))
31.0ms
(+ y (* z (- b y)))
50.0ms
(+ (* x y) (* z (- t a)))
318.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify50.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0359708
11499648
25001648

prune281.0ms

Filtered
99 candidates to 69 candidates (69.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 22.8b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.2b
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
0.7b
(+ (* x y) (* z (- t a)))
22.6b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
associate-+r+ flip3-+ div-exp flip-+ add-log-exp
div-inv associate-/l*
pow1
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in
+-commutative rec-exp frac-2neg 1-exp clear-num sum-log associate-/l/
pow-flip inv-pow
Counts
4 → 145
Calls
4 calls:
3.0ms
(+ y (* z (- b y)))
10.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
3.0ms
(+ (* x y) (* z (- t a)))
11.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

series1.1s

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ y (* z (- b y)))
789.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
40.0ms
(+ (* x y) (* z (- t a)))
263.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify68.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05252048
123731870
250021782

prune323.0ms

Filtered
157 candidates to 87 candidates (55.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 22.8b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.7b
(+ (* x y) (* z (- t a)))
0.8b
(/ 1 (+ y (* z (- b y))))
22.2b
(* (/ 1 (+ y (* z (- b y)))) (+ (* x y) (* z (- t a))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
21×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
15×associate-*l*
11×add-cbrt-cube
associate-+r+ add-log-exp
pow1
flip3-+ flip-+
distribute-rgt-in distribute-lft-in
sub-neg div-exp prod-exp associate-/r/
associate-*r* associate-/r* associate-/l* unswap-sqr
cbrt-undiv +-commutative frac-times rec-exp 1-exp associate-*r/ sum-log cbrt-unprod div-inv
pow-flip frac-2neg pow-prod-down associate-*l/ clear-num *-commutative inv-pow
Counts
4 → 106
Calls
4 calls:
3.0ms
(+ y (* z (- b y)))
3.0ms
(+ (* x y) (* z (- t a)))
4.0ms
(/ 1 (+ y (* z (- b y))))
19.0ms
(* (/ 1 (+ y (* z (- b y)))) (+ (* x y) (* z (- t a))))

series997.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ y (* z (- b y)))
40.0ms
(+ (* x y) (* z (- t a)))
80.0ms
(/ 1 (+ y (* z (- b y))))
846.0ms
(* (/ 1 (+ y (* z (- b y)))) (+ (* x y) (* z (- t a))))

simplify62.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0495969
12585854
25001834

prune282.0ms

Filtered
118 candidates to 76 candidates (64.4%)
Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 22.8b

localize15.0ms

Local error

Found 4 expressions with local error:

13.8b
(cbrt (+ y (* z (- b y))))
13.8b
(cbrt (+ y (* z (- b y))))
13.8b
(cbrt (+ y (* z (- b y))))
22.6b
(/ (+ (* x y) (* z (- t a))) (* (* (cbrt (+ y (* z (- b y)))) (cbrt (+ y (* z (- b y))))) (cbrt (+ y (* z (- b y))))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
31×flip3-+ flip-+
28×frac-times
26×associate-/r/
14×associate-*l/
13×add-exp-log
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r/
pow1 add-log-exp
cbrt-undiv times-frac pow1/3 div-exp prod-exp cbrt-unprod associate-/l*
associate-/l/
frac-2neg clear-num associate-/r* div-inv
Counts
4 → 90
Calls
4 calls:
1.0ms
(cbrt (+ y (* z (- b y))))
1.0ms
(cbrt (+ y (* z (- b y))))
2.0ms
(cbrt (+ y (* z (- b y))))
36.0ms
(/ (+ (* x y) (* z (- t a))) (* (* (cbrt (+ y (* z (- b y)))) (cbrt (+ y (* z (- b y))))) (cbrt (+ y (* z (- b y))))))

series1.0s

Counts
4 → 12
Calls
4 calls:
251.0ms
(cbrt (+ y (* z (- b y))))
245.0ms
(cbrt (+ y (* z (- b y))))
235.0ms
(cbrt (+ y (* z (- b y))))
304.0ms
(/ (+ (* x y) (* z (- t a))) (* (* (cbrt (+ y (* z (- b y)))) (cbrt (+ y (* z (- b y))))) (cbrt (+ y (* z (- b y))))))

simplify52.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04991837
114931685
250021599

prune366.0ms

Filtered
102 candidates to 75 candidates (73.5%)
Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 22.8b

regimes427.0ms

Accuracy

0% (0.7b remaining)

Error of 22.8b against oracle of 22.1b and baseline of 22.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0239
1239

end0.0ms

sample627.0ms

Algorithm
intervals
Results
348.0ms8417×body80valid