Details

Time bar (total: 6.0s)

sample69.0ms

Algorithm
intervals
Results
16.0ms32×body2560valid
16.0ms188×body80valid
8.0ms25×body1280valid
7.0ms91×body80nan
5.0ms18×body640valid
3.0msbody5120valid
1.0msbody320valid
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.4b

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

rewrite76.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))
16.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series247.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05493056
118142150
250012063

prune335.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 6.2b

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

rewrite85.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:
53.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
3.0ms
(- (* b_2 b_2) (* a c))
17.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series244.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06092985
123341993
250021940

prune313.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 6.2b

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

rewrite27.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)
0.0ms
(cbrt a)
17.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series491.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt a)
184.0ms
(cbrt a)
66.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify52.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04052448
112741575
250021488

prune323.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 6.2b

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

rewrite27.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)
16.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series669.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(cbrt a)
358.0ms
(cbrt a)
69.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04052447
112801575
250011488

prune351.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 6.2b

regimes299.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

sample2.0s

Algorithm
intervals
Results
494.0ms5789×body80valid
421.0ms1042×body2560valid
302.0ms918×body1280valid
223.0ms2837×body80nan
132.0ms481×body640valid
51.0ms107×body5120valid
50.0ms250×body320valid
18.0ms108×body160valid