Details

Time bar (total: 6.0s)

sample308.0ms

Algorithm
intervals
Results
16.0ms188×body80valid
12.0ms32×body2560valid
9.0ms91×body80nan
8.0ms25×body1280valid
5.0ms18×body640valid
3.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1337
2467
3497
4497

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.4b

localize11.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))
0.7b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite91.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:
45.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
27.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series255.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))
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
73.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify69.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05493055
118262150
250022063

prune365.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 6.2b

localize11.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))
0.7b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite90.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:
57.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
3.0ms
(- (* b_2 b_2) (* a c))
18.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
36.0ms
(- (* b_2 b_2) (* a c))
64.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify74.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06092985
123341993
250021940

prune333.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 6.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt a)
0.6b
(cbrt a)
0.7b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
53×add-sqr-sqrt
52×*-un-lft-identity
48×add-cube-cbrt
34×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
10×fma-neg
add-log-exp
neg-mul-1
cbrt-prod
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
flip3-- pow1/3 sqrt-div diff-log flip-- distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log
Counts
4 → 133
Calls
4 calls:
1.0ms
(cbrt a)
1.0ms
(cbrt a)
18.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series476.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(cbrt a)
174.0ms
(cbrt a)
69.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04052447
112801575
250011488

prune318.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 6.2b

localize23.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt a)
0.6b
(cbrt a)
0.7b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
53×add-sqr-sqrt
52×*-un-lft-identity
48×add-cube-cbrt
34×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
10×fma-neg
add-log-exp
neg-mul-1
cbrt-prod
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
flip3-- pow1/3 sqrt-div diff-log flip-- distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log
Counts
4 → 133
Calls
4 calls:
0.0ms
(cbrt a)
1.0ms
(cbrt a)
17.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series475.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(cbrt a)
178.0ms
(cbrt a)
65.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify52.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04052448
112741575
250021488

prune339.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 6.2b

regimes297.0ms

Accuracy

84.3% (4.5b remaining)

Error of 10.2b against oracle of 5.7b and baseline of 34.3b

bsearch117.0ms

Steps
ItersRangePoint
8
5.408584085660923e+89
1.6744273082514658e+93
2.8046284917653458e+91
9
-4.531045936315461e-35
-5.36339357665534e-42
-5.4278904486834676e-42

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02914
12914

end0.0ms

sample1.9s

Algorithm
intervals
Results
485.0ms5789×body80valid
408.0ms1042×body2560valid
297.0ms918×body1280valid
227.0ms2837×body80nan
127.0ms481×body640valid
49.0ms250×body320valid
49.0ms107×body5120valid
15.0ms108×body160valid