Details

Time bar (total: 4.3s)

sample39.0ms

Algorithm
intervals
Results
7.0ms35×body2560valid
7.0ms194×body80valid
4.0ms27×body1280valid
3.0ms84×body80nan
2.0ms14×body640valid
1.0msbody320valid
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: 34.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.6b
(- (* b_2 b_2) (* a c))
0.9b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite72.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:
42.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
16.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series240.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
34.0ms
(- (* b_2 b_2) (* a c))
65.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify68.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05493055
118262150
250022063

prune349.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 4.6b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.6b
(- (* b_2 b_2) (* a c))
0.9b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
70×add-sqr-sqrt
63×*-un-lft-identity
61×prod-diff
54×add-cube-cbrt
35×sqrt-prod
23×distribute-rgt-neg-in
21×distribute-lft-neg-in
13×add-exp-log associate-*r*
11×times-frac fma-neg
10×add-log-exp
add-cbrt-cube
pow1 neg-mul-1 associate-*l*
flip3-- flip--
expm1-log1p-u prod-exp log1p-expm1-u distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
frac-times sub-neg sqrt-div div-exp associate-*l/ cbrt-unprod
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv
Counts
4 → 169
Calls
4 calls:
52.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
3.0ms
(- (* b_2 b_2) (* a c))
16.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series244.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
35.0ms
(- (* b_2 b_2) (* a c))
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify76.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06092985
123341993
250021940

prune318.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.6b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.6b
(- (* b_2 b_2) (* a c))
0.9b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite75.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:
41.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
16.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series241.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05493055
118262150
250022063

prune279.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 4.6b

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b_2 b_2) (* a c))
12.9b
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
22.5b
(sqrt (- (* b_2 b_2) (* a c)))
22.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
11×fma-neg prod-diff
10×add-log-exp
pow1 distribute-lft-neg-in distribute-rgt-neg-in sqrt-prod
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
diff-log
neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 pow1/2
associate--l- neg-sub0 neg-log difference-of-squares
Counts
4 → 87
Calls
4 calls:
3.0ms
(- (* b_2 b_2) (* a c))
8.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)))

series217.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (* b_2 b_2) (* a c))
67.0ms
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
56.0ms
(sqrt (- (* b_2 b_2) (* a c)))
59.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify151.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
03021169
11027928
24556830
35001830

prune281.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.5b

regimes262.0ms

Accuracy

86.3% (3.7b remaining)

Error of 9.2b against oracle of 5.4b and baseline of 32.6b

bsearch108.0ms

Steps
ItersRangePoint
6
1.1594993669073426e+93
1.3006782908792091e+94
3.098027387382756e+93
8
-5.4709755232795946e-74
-1.0204472502960642e-77
-1.041303973732452e-77
6
-6.220135295626221e+60
-4.759771033625146e+59
-2.503976408825374e+60

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03823
14023
24023

end0.0ms

sample1.1s

Algorithm
intervals
Results
219.0ms1037×body2560valid
213.0ms5813×body80valid
158.0ms911×body1280valid
101.0ms2949×body80nan
60.0ms452×body640valid
32.0ms125×body5120valid
22.0ms222×body320valid
9.0ms126×body160valid