Details

Time bar (total: 7.3s)

sample75.0ms

Algorithm
intervals
Results
23.0ms256×body80valid
20.0ms227×body80nan

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05017
110817
238917
3176117
4500217

prune5.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: 4.5b

Counts
2 → 1

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(* z (sqrt (+ t a)))
0.3b
(/ 2.0 (* t 3.0))
2.4b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
5.0b
(/ (* z (sqrt (+ t a))) t)

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
75×*-un-lft-identity
63×prod-diff
62×associate--r+
49×add-sqr-sqrt
45×add-cube-cbrt
36×times-frac
31×distribute-rgt-in distribute-lft-in
20×frac-sub
16×add-exp-log add-cbrt-cube
15×distribute-lft-out
12×div-inv
flip3-- flip--
frac-times associate-*r/
fma-neg associate-*r*
pow1 add-log-exp
flip3-+ sqrt-prod flip-+
cbrt-undiv expm1-log1p-u sqrt-div div-exp associate-/r* log1p-expm1-u associate-/l*
sub-neg associate-*l* prod-exp cbrt-unprod
frac-2neg associate-*l/ associate--l+ clear-num associate-/l/ unswap-sqr
diff-log pow-prod-down *-commutative
Counts
4 → 179
Calls
4 calls:
7.0ms
(* z (sqrt (+ t a)))
5.0ms
(/ 2.0 (* t 3.0))
24.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
8.0ms
(/ (* z (sqrt (+ t a))) t)

series332.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* z (sqrt (+ t a)))
18.0ms
(/ 2.0 (* t 3.0))
174.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
80.0ms
(/ (* z (sqrt (+ t a))) t)

simplify61.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
013772637
150012324

prune817.0ms

Filtered
191 candidates to 137 candidates (71.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1874191
Fresh000
Picked101
Done000
Total1884192

Merged error: 0.7b

Counts
192 → 4

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
0.3b
(/ (sqrt (+ t a)) t)
0.3b
(/ 2.0 (* t 3.0))
2.4b
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
97×*-un-lft-identity
60×add-sqr-sqrt
56×prod-diff
54×add-cube-cbrt
48×times-frac
31×distribute-rgt-in distribute-lft-in
19×distribute-lft-out
16×sqrt-prod
13×add-exp-log add-cbrt-cube
10×div-inv associate-/l*
frac-times flip3-- flip--
pow1 associate-*r* frac-sub
associate-*l*
expm1-log1p-u flip3-+ associate-*r/ associate-/r* flip-+ log1p-expm1-u add-log-exp
cbrt-undiv div-exp distribute-lft-out--
sub-neg frac-2neg sqrt-div associate-*l/ prod-exp associate--l+ clear-num cbrt-unprod associate-/l/ difference-of-squares
pow-prod-down *-commutative fma-udef unswap-sqr
Counts
4 → 181
Calls
4 calls:
19.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
6.0ms
(/ (sqrt (+ t a)) t)
5.0ms
(/ 2.0 (* t 3.0))
1.0ms
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

series354.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
59.0ms
(/ (sqrt (+ t a)) t)
21.0ms
(/ 2.0 (* t 3.0))
209.0ms
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

simplify113.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
08942691
140232163
250022158

prune656.0ms

Filtered
193 candidates to 107 candidates (55.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1921193
Fresh123
Picked011
Done000
Total1934197

Merged error: 0.5b

Counts
197 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

0.3b
(* z (sqrt (+ t a)))
0.3b
(/ 2.0 (* t 3.0))
4.0b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log1p (expm1 (/ 2.0 (* t 3.0)))))))
5.0b
(/ (* z (sqrt (+ t a))) t)

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
33×add-sqr-sqrt
31×prod-diff
30×associate--r+
29×add-cube-cbrt
16×add-exp-log add-cbrt-cube
15×distribute-rgt-in distribute-lft-in
12×times-frac
frac-sub
flip3-- fma-neg associate-*r* flip-- distribute-lft-out
pow1 associate-*r/ add-log-exp
sqrt-prod
cbrt-undiv expm1-log1p-u frac-times sqrt-div div-exp associate-/r* log1p-expm1-u div-inv associate-/l*
sub-neg associate-*l* prod-exp cbrt-unprod
frac-2neg flip3-+ associate-*l/ associate--l+ clear-num flip-+ associate-/l/ unswap-sqr
diff-log pow-prod-down *-commutative
Counts
4 → 141
Calls
4 calls:
10.0ms
(* z (sqrt (+ t a)))
5.0ms
(/ 2.0 (* t 3.0))
19.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log1p (expm1 (/ 2.0 (* t 3.0)))))))
8.0ms
(/ (* z (sqrt (+ t a))) t)

series422.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* z (sqrt (+ t a)))
21.0ms
(/ 2.0 (* t 3.0))
263.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log1p (expm1 (/ 2.0 (* t 3.0)))))))
80.0ms
(/ (* z (sqrt (+ t a))) t)

simplify127.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (103.0ms)

IterNodesCost
010282010
149241664
250011614

prune697.0ms

Filtered
153 candidates to 112 candidates (73.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh202
Picked101
Done011
Total1552157

Merged error: 0b

Counts
157 → 2

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 2.0 (* t 3.0))
0.3b
(/ 2.0 (* t 3.0))
1.1b
(fma (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))) (- (- b c)) (/ (* z (sqrt (+ t a))) t))
5.0b
(/ (* z (sqrt (+ t a))) t)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
associate-/l*
cbrt-undiv div-exp
associate-/r*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod div-inv
sqrt-div associate-*r/ associate-/l/
flip3-+ flip-+ fma-udef
Counts
4 → 81
Calls
4 calls:
5.0ms
(/ 2.0 (* t 3.0))
8.0ms
(/ 2.0 (* t 3.0))
1.0ms
(fma (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))) (- (- b c)) (/ (* z (sqrt (+ t a))) t))
8.0ms
(/ (* z (sqrt (+ t a))) t)

series278.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ 2.0 (* t 3.0))
20.0ms
(/ 2.0 (* t 3.0))
168.0ms
(fma (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))) (- (- b c)) (/ (* z (sqrt (+ t a))) t))
74.0ms
(/ (* z (sqrt (+ t a))) t)

simplify42.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0415538
11639457
25002454

prune445.0ms

Filtered
93 candidates to 73 candidates (78.5%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh000
Picked011
Done011
Total93295

Merged error: 0b

Counts
95 → 2

regimes223.0ms

Accuracy

33.3% (1.3b remaining)

Error of 1.6b against oracle of 0.3b and baseline of 2.2b

bsearch154.0ms

Steps
ItersRangePoint
8
4.094979821473785e-123
1.4379210740990664e-120
1.1163399401523421e-121

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06746
17146
27146

end0.0ms

sample2.2s

Algorithm
intervals
Results
774.0ms8000×body80valid
745.0ms7937×body80nan