Details

Time bar (total: 5.9s)

sample25.0ms

Algorithm
intervals
Results
11.0ms269×body80valid

simplify108.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 23.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.0b
(+ y (* z (- b y)))
1.4b
(+ (* x y) (* z (- t a)))
22.2b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite30.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:
10.0ms
(* z (- b y))
3.0ms
(+ y (* z (- b y)))
3.0ms
(+ (* x y) (* z (- t a)))
11.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series404.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* z (- b y))
27.0ms
(+ y (* z (- b y)))
41.0ms
(+ (* x y) (* z (- t a)))
303.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify47.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0353708
11481648
25001648

prune300.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 22.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.4b
(/ 1 (+ y (* z (- b y))))
1.4b
(+ (* x y) (* z (- t a)))
22.0b
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

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-*r*
11×add-cbrt-cube
associate-+r+ add-log-exp
pow1
flip3-+ flip-+
distribute-rgt-in sub-neg distribute-lft-in div-exp prod-exp associate-/r/
associate-*l* associate-/r* associate-/l* unswap-sqr
cbrt-undiv +-commutative frac-times rec-exp 1-exp associate-*l/ sum-log cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
4 → 105
Calls
4 calls:
3.0ms
(+ y (* z (- b y)))
4.0ms
(/ 1 (+ y (* z (- b y))))
3.0ms
(+ (* x y) (* z (- t a)))
19.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

series441.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ y (* z (- b y)))
77.0ms
(/ 1 (+ y (* z (- b y))))
39.0ms
(+ (* x y) (* z (- t a)))
296.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0400951
11818838
25001812

prune278.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 22.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.3b
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
1.4b
(+ (* x y) (* z (- t a)))
22.2b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite35.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)))))
6.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:
27.0ms
(+ y (* z (- b y)))
789.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
39.0ms
(+ (* x y) (* z (- t a)))
249.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify64.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05252048
123731870
250021782

prune347.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 22.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.4b
(/ 1 (+ y (* z (- b y))))
1.4b
(+ (* x y) (* z (- t a)))
22.0b
(* (/ 1 (+ y (* z (- b y)))) (+ (* x y) (* z (- t a))))

rewrite33.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)))
4.0ms
(/ 1 (+ y (* z (- b y))))
3.0ms
(+ (* x y) (* z (- t a)))
19.0ms
(* (/ 1 (+ y (* z (- b y)))) (+ (* x y) (* z (- t a))))

series961.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ y (* z (- b y)))
81.0ms
(/ 1 (+ y (* z (- b y))))
41.0ms
(+ (* x y) (* z (- t a)))
811.0ms
(* (/ 1 (+ y (* z (- b y)))) (+ (* x y) (* z (- t a))))

simplify66.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0495969
12585854
25001834

prune266.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 22.5b

regimes632.0ms

Accuracy

0% (0.7b remaining)

Error of 23.1b against oracle of 22.5b and baseline of 23.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0249
1249

end0.0ms

sample670.0ms

Algorithm
intervals
Results
369.0ms8454×body80valid