Details

Time bar (total: 4.2s)

sample45.0ms

Algorithm
intervals
Results
9.0ms35×body2560valid
8.0ms183×body80valid
5.0ms25×body1280valid
4.0ms99×body80nan
2.0ms11×body640valid
2.0ms13×body320valid
1.0msbody5120valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1337
2467
3497
4497

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.8b
(- (* b_2 b_2) (* a c))
1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
78×*-un-lft-identity
61×prod-diff
58×add-cube-cbrt
38×sqrt-prod
26×distribute-rgt-neg-in
21×distribute-lft-neg-in times-frac
11×fma-neg
10×distribute-lft-out-- add-log-exp difference-of-squares
neg-mul-1 associate-/l*
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log associate-/r*
sub-neg sqrt-div associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log clear-num div-inv
Counts
4 → 171
Calls
4 calls:
14.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
4.0ms
(- (* b_2 b_2) (* a c))
10.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
32.0ms
(- (* b_2 b_2) (* a c))
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify65.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05493055
118262150
250022063

prune325.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.6b

localize13.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
55×add-sqr-sqrt
52×*-un-lft-identity
48×add-cube-cbrt
40×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
10×fma-neg
add-log-exp
pow1 neg-mul-1
sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2
diff-log distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg neg-log
Counts
4 → 141
Calls
4 calls:
10.0ms
(- (- b_2) (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)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series235.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))
54.0ms
(sqrt (- (* b_2 b_2) (* a c)))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify60.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03692603
112031735
250011648

prune332.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 5.6b

localize13.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
55×add-sqr-sqrt
52×*-un-lft-identity
48×add-cube-cbrt
40×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
10×fma-neg
add-log-exp
pow1 neg-mul-1
sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2
diff-log distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg neg-log
Counts
4 → 141
Calls
4 calls:
10.0ms
(- (- b_2) (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)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series240.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
55.0ms
(sqrt (- (* b_2 b_2) (* a c)))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify62.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03692603
112031735
250011648

prune353.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 5.6b

localize21.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
55×add-sqr-sqrt
52×*-un-lft-identity
48×add-cube-cbrt
40×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
10×fma-neg
add-log-exp
pow1 neg-mul-1
sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2
diff-log distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg neg-log
Counts
4 → 141
Calls
4 calls:
11.0ms
(- (- b_2) (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)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
59.0ms
(sqrt (- (* b_2 b_2) (* a c)))
55.0ms
(sqrt (- (* b_2 b_2) (* a c)))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify52.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03692603
112031735
250011648

prune371.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 5.6b

regimes295.0ms

Accuracy

84.1% (4.6b remaining)

Error of 10.4b against oracle of 5.7b and baseline of 34.9b

bsearch92.0ms

Steps
ItersRangePoint
9
1.846147638884188e+104
1.7844061428947563e+109
5.968766258400916e+107
9
-1.056015916808718e-80
-5.187604248060094e-86
-1.0674124610604968e-82

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03221
13221

end0.0ms

sample1.0s

Algorithm
intervals
Results
214.0ms1089×body2560valid
199.0ms5824×body80valid
134.0ms845×body1280valid
97.0ms2971×body80nan
56.0ms453×body640valid
30.0ms113×body5120valid
24.0ms260×body320valid
8.0ms129×body160valid