Details

Time bar (total: 5.4s)

sample24.0ms

Algorithm
intervals
Results
11.0ms272×body80valid

simplify118.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: 19.4b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.0b
(+ y (* z (- b y)))
0.9b
(+ (* x y) (* z (- t a)))
18.9b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

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

series410.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* z (- t a))
28.0ms
(+ y (* z (- b y)))
44.0ms
(+ (* x y) (* z (- t a)))
305.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify56.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0359708
11499648
25001648

prune286.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 18.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.0b
(+ y (* z (- b y)))
0.9b
(+ (* x y) (* z (- t a)))
18.9b
(/ (* 1 (+ (* x y) (* z (- t a)))) (+ y (* z (- b y))))

rewrite24.0ms

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

series473.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* z (- t a))
34.0ms
(+ y (* z (- b y)))
62.0ms
(+ (* x y) (* z (- t a)))
340.0ms
(/ (* 1 (+ (* x y) (* z (- t a)))) (+ y (* z (- b y))))

simplify54.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0404611
11918532
25003532

prune247.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 18.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.3b
(/ 1 (+ y (* z (- b y))))
0.9b
(+ (* x y) (* z (- t a)))
18.6b
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

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

series472.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ y (* z (- b y)))
82.0ms
(/ 1 (+ y (* z (- b y))))
39.0ms
(+ (* x y) (* z (- t a)))
317.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0400951
11818838
25001812

prune297.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 18.9b

localize18.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)))))
0.9b
(+ (* x y) (* z (- t a)))
18.9b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite28.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)))
8.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
4.0ms
(+ (* x y) (* z (- t a)))
7.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

series1.3s

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ y (* z (- b y)))
960.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
39.0ms
(+ (* x y) (* z (- t a)))
256.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify65.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05252048
123731870
250021782

prune321.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 18.9b

regimes443.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample632.0ms

Algorithm
intervals
Results
356.0ms8436×body80valid