Details

Time bar (total: 4.5s)

sample281.0ms

Algorithm
intervals
Results
6.0ms181×body80valid
6.0ms29×body2560valid
4.0ms26×body1280valid
4.0ms14×body640valid
3.0ms105×body80nan
1.0msbody5120valid
1.0ms10×body160valid
0.0msbody320valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0147
1227
2257
3277
4297
5297

prune4.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: 34.2b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.4b
(- (* b_2 b_2) (* a c))
2.3b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
16×add-sqr-sqrt
15×add-cube-cbrt times-frac
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in associate-/l*
associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub div-exp neg-log clear-num div-inv
Counts
4 → 80
Calls
4 calls:
22.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series277.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
35.0ms
(- (* b_2 b_2) (* a c))
77.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
71.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0358790
11261727
25001705

prune229.0ms

Filtered
92 candidates to 69 candidates (75.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New84892
Fresh000
Picked101
Done000
Total85893

Merged error: 6.4b

Counts
93 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.4b
(- (* b_2 b_2) (* a c))
2.3b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
21×add-sqr-sqrt
13×add-exp-log add-cube-cbrt associate-*r*
11×times-frac
10×add-log-exp
add-cbrt-cube
pow1
associate-*l*
prod-exp distribute-lft-out
flip3-+ sqrt-prod flip-+ unswap-sqr
frac-times flip3-- distribute-rgt-neg-in sqrt-div div-exp associate-*l/ sum-log flip-- cbrt-unprod
cbrt-undiv +-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square rec-exp sqrt-pow1 pow1/2 diff-log 1-exp associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv
Counts
4 → 84
Calls
4 calls:
17.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
34.0ms
(- (* b_2 b_2) (* a c))
74.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify58.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0448823
11968724
25003682

prune211.0ms

Filtered
96 candidates to 72 candidates (75.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh167
Picked011
Done000
Total968104

Merged error: 6.4b

Counts
104 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
11.1b
(+ (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
21.4b
(sqrt (- (* b_2 b_2) (* a c)))
21.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
flip3-- flip-- add-log-exp
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times
rem-sqrt-square associate-*r/ associate-*l/ sum-log
+-commutative pow2 neg-sub0 associate-+l- flip3-+ pow-plus sqrt-unprod neg-log prod-exp rem-square-sqrt *-commutative cbrt-unprod flip-+
Counts
4 → 126
Calls
4 calls:
15.0ms
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
4.0ms
(+ (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series259.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
71.0ms
(+ (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify54.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03291174
113531028
25001995

prune251.0ms

Filtered
138 candidates to 77 candidates (55.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1380138
Fresh066
Picked011
Done011
Total1388146

Merged error: 6.4b

Counts
146 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.7b
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
9.9b
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
21.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
186×times-frac
158×add-sqr-sqrt
157×*-un-lft-identity
89×add-cube-cbrt
34×distribute-lft-out-- difference-of-squares
30×associate-/l*
20×sqrt-prod
17×distribute-rgt-neg-in
11×add-exp-log add-cbrt-cube
10×associate-/r* associate-/r/
add-log-exp
flip3-- flip--
div-inv
pow1
cbrt-undiv div-exp
associate-/l/
frac-2neg sqrt-div diff-log clear-num
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 206
Calls
4 calls:
11.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
17.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
12.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series448.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
143.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
173.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify113.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
07413477
133293295
250013269

prune449.0ms

Filtered
218 candidates to 147 candidates (67.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2162218
Fresh055
Picked101
Done112
Total2188226

Merged error: 6.2b

Counts
226 → 8

regimes227.0ms

Accuracy

89.8% (2.9b remaining)

Error of 8.3b against oracle of 5.4b and baseline of 33.9b

bsearch130.0ms

Steps
ItersRangePoint
9
1.6278444403979259e+38
5.796736762262291e+44
2.51019106813355e+42
6
-1.4045781091447122e-218
-3.445376932344153e-219
-3.490156328556992e-219
8
-1.0818597257815559e+95
-2.772945999025709e+91
-9.612795529269333e+93

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04325
14325

end0.0ms

sample1.0s

Algorithm
intervals
Results
211.0ms1077×body2560valid
203.0ms5830×body80valid
140.0ms882×body1280valid
91.0ms3037×body80nan
55.0ms448×body640valid
29.0ms112×body5120valid
23.0ms245×body320valid
8.0ms123×body160valid