Details

Time bar (total: 7.0s)

sample29.0ms

Algorithm
intervals
Results
13.0ms263×body80valid

simplify138.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0248
1438
2758
31208
41568
51898
62658
74518
810238
936328
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: 26.0b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.0b
(* z (- b y))
1.9b
(+ (* x y) (* z (- t a)))
25.0b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt
56×*-un-lft-identity
54×prod-diff
52×add-cube-cbrt
33×distribute-rgt-in distribute-lft-in
22×associate-+r+
10×add-exp-log associate-*r* add-cbrt-cube
times-frac
pow1
sub-neg associate-*l* add-log-exp
expm1-log1p-u associate-*r/ log1p-expm1-u
flip3-+ associate-/r* flip-+ associate-/l*
flip3-- pow-prod-down prod-exp associate-/r/ *-commutative flip-- cbrt-unprod associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
cbrt-undiv +-commutative fma-def frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 161
Calls
4 calls:
7.0ms
(* z (- t a))
7.0ms
(* z (- b y))
10.0ms
(+ (* x y) (* z (- t a)))
8.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series486.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* z (- t a))
37.0ms
(* z (- b y))
50.0ms
(+ (* x y) (* z (- t a)))
357.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify88.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06231398
125361029
250021026

prune442.0ms

Filtered
173 candidates to 100 candidates (57.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New16013173
Fresh000
Picked101
Done000
Total16113174

Merged error: 25.3b

Counts
174 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
1.3b
(+ (* z b) (* z (- y)))
1.9b
(+ (* x y) (* z (- t a)))
25.0b
(/ (+ (* x y) (* z (- t a))) (+ y (+ (* z b) (* z (- y)))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
43×add-sqr-sqrt
39×add-cube-cbrt
36×prod-diff
22×distribute-rgt-in associate-+r+ distribute-lft-in
12×times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1
associate-*r* distribute-lft-out
expm1-log1p-u sub-neg flip3-+ associate-/r* flip-+ log1p-expm1-u
associate-*l* associate-/l*
+-commutative fma-def associate-*r/ sum-log associate-/r/ distribute-rgt-neg-out associate-/l/
cbrt-undiv flip3-- frac-2neg div-exp unsub-neg pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 136
Calls
4 calls:
8.0ms
(* z (- t a))
4.0ms
(+ (* z b) (* z (- y)))
6.0ms
(+ (* x y) (* z (- t a)))
10.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (+ (* z b) (* z (- y)))))

series526.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* z (- t a))
47.0ms
(+ (* z b) (* z (- y)))
49.0ms
(+ (* x y) (* z (- t a)))
387.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (+ (* z b) (* z (- y)))))

simplify93.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
05611281
123461004
25002991

prune427.0ms

Filtered
148 candidates to 92 candidates (62.2%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1471148
Fresh11112
Picked011
Done000
Total14813161

Merged error: 25.3b

Counts
161 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.5b
(/ 1 (+ y (* z (- b y))))
1.9b
(+ (* x y) (* z (- t a)))
25.0b
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
49×*-un-lft-identity
46×add-cube-cbrt
36×prod-diff
22×distribute-rgt-in associate-+r+ distribute-lft-in
20×times-frac associate-*r*
19×add-exp-log
13×add-cbrt-cube
pow1
associate-*l* add-log-exp
flip3-+ prod-exp flip-+
expm1-log1p-u sub-neg div-exp associate-/r/ log1p-expm1-u unswap-sqr
associate-*r/ associate-/r* cbrt-unprod associate-/l*
cbrt-undiv frac-times rec-exp 1-exp pow-prod-down associate-*l/ *-commutative div-inv
+-commutative flip3-- pow-flip fma-def frac-2neg clear-num sum-log un-div-inv flip-- distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 161
Calls
4 calls:
8.0ms
(* z (- b y))
5.0ms
(/ 1 (+ y (* z (- b y))))
6.0ms
(+ (* x y) (* z (- t a)))
12.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

series596.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* z (- b y))
103.0ms
(/ 1 (+ y (* z (- b y))))
56.0ms
(+ (* x y) (* z (- t a)))
393.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

simplify106.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06581375
128301048
250011011

prune483.0ms

Filtered
173 candidates to 105 candidates (60.7%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1703173
Fresh3811
Picked011
Done011
Total17313186

Merged error: 25.3b

Counts
186 → 13

localize23.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ 1 (/ (+ y (+ (* z b) (* z (- y)))) (+ (* x y) (* z (- t a)))))
1.3b
(+ (* z b) (* z (- y)))
1.9b
(+ (* x y) (* z (- t a)))
24.9b
(/ (+ y (+ (* z b) (* z (- y)))) (+ (* x y) (* z (- t a))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
108×*-un-lft-identity
76×add-sqr-sqrt add-cube-cbrt
22×associate-+r+
21×associate-/r*
18×prod-diff
17×add-exp-log distribute-lft-out
11×distribute-rgt-in distribute-lft-in associate-/r/ add-cbrt-cube
flip3-+ div-exp flip-+ add-log-exp
associate-/l*
div-inv
pow1
cbrt-undiv expm1-log1p-u distribute-rgt-neg-out log1p-expm1-u
+-commutative associate-+r- sub-neg rec-exp fma-def frac-2neg 1-exp div-sub unsub-neg clear-num sum-log associate-/l/
pow-flip inv-pow
Counts
4 → 190
Calls
4 calls:
13.0ms
(/ 1 (/ (+ y (+ (* z b) (* z (- y)))) (+ (* x y) (* z (- t a)))))
4.0ms
(+ (* z b) (* z (- y)))
7.0ms
(+ (* x y) (* z (- t a)))
11.0ms
(/ (+ y (+ (* z b) (* z (- y)))) (+ (* x y) (* z (- t a))))

series1.4s

Counts
4 → 12
Calls
4 calls:
1.0s
(/ 1 (/ (+ y (+ (* z b) (* z (- y)))) (+ (* x y) (* z (- t a)))))
44.0ms
(+ (* z b) (* z (- y)))
56.0ms
(+ (* x y) (* z (- t a)))
333.0ms
(/ (+ y (+ (* z b) (* z (- y)))) (+ (* x y) (* z (- t a))))

simplify112.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07262838
130692356
250012229

prune519.0ms

Filtered
202 candidates to 117 candidates (57.9%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New2002202
Fresh1910
Picked101
Done022
Total20213215

Merged error: 22.9b

Counts
215 → 13

regimes580.0ms

Accuracy

0% (1.4b remaining)

Error of 22.6b against oracle of 21.2b and baseline of 22.6b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02013
12013

end0.0ms

sample743.0ms

Algorithm
intervals
Results
444.0ms8372×body80valid

Profiling

Loading profile data...