Details

Time bar (total: 4.4s)

sample45.0ms

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

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt times-frac associate-/l*
sqrt-prod distribute-lft-out-- difference-of-squares
pow1
flip3-- flip--
distribute-rgt-neg-in diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 77
Calls
4 calls:
12.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
4.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series296.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
49.0ms
(- (* b b) (* 4.0 (* a c)))
79.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0404890
11481801
25001796

prune250.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:

0.2b
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
0.8b
(- (* b b) (* 4.0 (* a c)))
1.3b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
67×times-frac
48×add-sqr-sqrt
47×*-un-lft-identity
27×add-cube-cbrt
25×add-exp-log
13×associate-/r* add-cbrt-cube
12×div-exp
10×distribute-lft-out-- add-log-exp difference-of-squares
associate-/r/
sqrt-prod
flip3-- flip--
pow1
cbrt-undiv distribute-rgt-neg-in div-inv
rec-exp diff-log 1-exp prod-exp associate-/l*
sub-neg sqrt-div
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 125
Calls
4 calls:
14.0ms
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
12.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series306.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
44.0ms
(- (* b b) (* 4.0 (* a c)))
78.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
73.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify72.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05331804
125441605
250021531

prune273.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.5b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt times-frac associate-/l*
sqrt-prod distribute-lft-out-- difference-of-squares
pow1
flip3-- flip--
distribute-rgt-neg-in diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 77
Calls
4 calls:
15.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
4.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series291.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
48.0ms
(- (* b b) (* 4.0 (* a c)))
79.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
68.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0404890
11481801
25001796

prune249.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 5.5b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×*-un-lft-identity
10×sqrt-prod
add-log-exp
pow1 add-cube-cbrt
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg distribute-rgt-neg-in neg-log
Counts
4 → 63
Calls
4 calls:
9.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series304.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
73.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
76.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
73.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify101.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0207612
1768588
23109577
35001573

prune278.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 5.5b

regimes284.0ms

Accuracy

83.6% (4.7b remaining)

Error of 10.3b against oracle of 5.6b and baseline of 34.4b

bsearch119.0ms

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

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03917
14317
24317

end0.0ms

sample1.2s

Algorithm
intervals
Results
274.0ms1092×body2560valid
245.0ms5825×body80valid
172.0ms840×body1280valid
112.0ms2974×body80nan
70.0ms456×body640valid
35.0ms112×body5120valid
32.0ms258×body320valid
10.0ms130×body160valid