Details

Time bar (total: 6.9s)

sample28.0ms

Algorithm
intervals
Results
15.0ms268×body80valid

simplify105.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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.8b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.0b
(* z (- t a))
0.4b
(+ (* x y) (* z (- t a)))
22.1b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

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

series404.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0359708
11499648
25001648

prune266.0ms

Filtered
99 candidates to 69 candidates (69.7%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New861399
Fresh000
Picked011
Done000
Total8614100

Merged error: 22.1b

Counts
100 → 14

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
62×add-sqr-sqrt
60×*-un-lft-identity
58×add-cube-cbrt
19×add-exp-log
18×associate-/r*
13×add-cbrt-cube
11×associate-/r/
div-exp
pow1 flip3-+ flip-+
div-inv associate-/l* add-log-exp
associate-*r*
cbrt-undiv distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
associate-*l*
rec-exp frac-2neg 1-exp associate-*r/ clear-num associate-/l/
+-commutative flip3-- pow-flip pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
4 → 156
Calls
4 calls:
6.0ms
(* z (- t a))
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.2s

Counts
4 → 12
Calls
4 calls:
38.0ms
(* z (- t a))
808.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
44.0ms
(+ (* x y) (* z (- t a)))
262.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify72.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05702054
127521881
250011793

prune325.0ms

Filtered
168 candidates to 92 candidates (54.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1635168
Fresh5712
Picked101
Done011
Total16913182

Merged error: 22.1b

Counts
182 → 13

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y)))))
0.2b
(/ 1 (/ 1 (/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))))
0.4b
(+ (* x y) (* z (- t a)))
22.1b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
528×times-frac
255×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
68×associate-/r*
60×add-exp-log
43×div-exp
40×associate-/r/
23×div-inv
20×add-cbrt-cube
19×flip3-+ flip-+
15×rec-exp 1-exp
10×cbrt-undiv
associate-/l*
pow1
add-log-exp
pow-flip
associate-+r+
frac-2neg clear-num inv-pow
distribute-rgt-in sub-neg distribute-lft-in associate-/l/
+-commutative sum-log remove-double-div
Counts
4 → 373
Calls
4 calls:
8.0ms
(/ 1 (/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y)))))
15.0ms
(/ 1 (/ 1 (/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))))
4.0ms
(+ (* x y) (* z (- t a)))
7.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series806.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(/ 1 (/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y)))))
314.0ms
(/ 1 (/ 1 (/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))))
41.0ms
(+ (* x y) (* z (- t a)))
317.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify86.0ms

Algorithm
egg-herbie
Counts
385 → 385
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012136664
150025715

prune690.0ms

Filtered
385 candidates to 190 candidates (49.4%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New3841385
Fresh01111
Picked011
Done011
Total38414398

Merged error: 22.1b

Counts
398 → 14

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a))))))
0.4b
(+ (* x y) (* z (- t a)))
0.8b
(/ 1 (+ (* x y) (* z (- t a))))
21.3b
(* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a)))))

rewrite33.0ms

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

series1.2s

Counts
4 → 12
Calls
4 calls:
822.0ms
(/ 1 (* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a))))))
40.0ms
(+ (* x y) (* z (- t a)))
56.0ms
(/ 1 (+ (* x y) (* z (- t a))))
265.0ms
(* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a)))))

simplify64.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04991409
123911189
250031150

prune280.0ms

Filtered
146 candidates to 80 candidates (54.8%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New1460146
Fresh01111
Picked011
Done022
Total14614160

Merged error: 22.1b

Counts
160 → 14

regimes473.0ms

Accuracy

0% (0.6b remaining)

Error of 23.0b against oracle of 22.4b and baseline of 23.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198
1198

end0.0ms

sample701.0ms

Algorithm
intervals
Results
420.0ms8430×body80valid