Details

Time bar (total: 4.2s)

sample38.0ms

Algorithm
intervals
Results
7.0ms35×body2560valid
6.0ms183×body80valid
6.0ms25×body1280valid
3.0ms99×body80nan
1.0ms11×body640valid
1.0ms13×body320valid
1.0msbody5120valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1337
2467
3497
4497

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.0b

localize9.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)))

rewrite38.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)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
32.0ms
(- (* b_2 b_2) (* a c))
70.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify69.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05493055
118262150
250022063

prune329.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)))

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:
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)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
59.0ms
(sqrt (- (* b_2 b_2) (* a c)))
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03692603
112031735
250011648

prune347.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)))

rewrite30.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)))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series247.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03692606
111971735
250011648

prune355.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 5.6b

localize17.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:
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)))

series257.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
70.0ms
(sqrt (- (* b_2 b_2) (* a c)))
59.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 (33.0ms)

IterNodesCost
03692603
112031735
250011648

prune374.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 5.6b

regimes256.0ms

Accuracy

84.1% (4.6b remaining)

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

bsearch94.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
220.0ms1089×body2560valid
196.0ms5824×body80valid
142.0ms845×body1280valid
91.0ms2971×body80nan
56.0ms453×body640valid
27.0ms113×body5120valid
24.0ms260×body320valid
8.0ms129×body160valid