Details

Time bar (total: 5.2s)

sample50.0ms

Algorithm
intervals
Results
13.0ms45×body2560valid
10.0ms196×body80valid
5.0ms23×body1280valid
5.0ms96×body80nan
2.0ms10×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.3b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.4b
(- (* b b) (* (* 4.0 a) c))
1.1b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×add-cube-cbrt fma-def add-log-exp
add-exp-log add-cbrt-cube
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
11.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
4.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series285.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
41.0ms
(- (* b b) (* (* 4.0 a) c))
75.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0438854
11702750
25001735

prune264.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New939102
Fresh000
Picked101
Done000
Total949103

Merged error: 5.9b

Counts
103 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
5.0b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
8.9b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log prod-diff flip-+
Counts
4 → 158
Calls
4 calls:
6.0ms
(- (* b b) (* (* 4.0 a) c))
22.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series483.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* b b) (* (* 4.0 a) c))
138.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
202.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
96.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify123.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
06742663
134622412
250012406

prune568.0ms

Filtered
170 candidates to 117 candidates (68.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1673170
Fresh178
Picked011
Done000
Total16811179

Merged error: 5.8b

Counts
179 → 11

localize26.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
5.0b
(/ (* 1 (/ 4.0 (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c)))) (* 2.0 a))
9.0b
(/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
86×add-exp-log
54×add-cbrt-cube
40×div-exp
30×prod-exp
22×cbrt-undiv
16×add-sqr-sqrt cbrt-unprod
15×*-un-lft-identity
times-frac 1-exp associate-/l*
add-cube-cbrt
add-log-exp
pow1 sqrt-prod
expm1-log1p-u log1p-expm1-u distribute-lft-out-- difference-of-squares
flip3-- flip-- associate-/l/
distribute-rgt-neg-in frac-2neg sqrt-div clear-num associate-/r* div-inv
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log div-sub associate-*r/ prod-diff
Counts
4 → 111
Calls
4 calls:
6.0ms
(- (* b b) (* (* 4.0 a) c))
27.0ms
(/ (* 1 (/ 4.0 (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c)))) (* 2.0 a))
24.0ms
(/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c))
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series415.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* b b) (* (* 4.0 a) c))
153.0ms
(/ (* 1 (/ 4.0 (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c)))) (* 2.0 a))
130.0ms
(/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c))
90.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify94.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07851632
141111282
250021264

prune238.0ms

Filtered
123 candidates to 73 candidates (59.3%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1230123
Fresh099
Picked011
Done011
Total12311134

Merged error: 5.8b

Counts
134 → 11

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
0.4b
(- (* b b) (* (* 4.0 a) c))
1.1b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
19×*-un-lft-identity
14×add-sqr-sqrt
13×add-cbrt-cube
11×add-cube-cbrt
10×fma-def prod-exp add-log-exp
pow1 associate-*r*
distribute-rgt-neg-in associate-*l*
expm1-log1p-u div-exp cbrt-unprod log1p-expm1-u distribute-lft-out
distribute-lft-neg-in flip3-+ times-frac sqrt-prod flip-+
cbrt-undiv frac-times rec-exp flip3-- sqrt-div 1-exp associate-*l/ sum-log flip--
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log associate-*r/ prod-diff pow-prod-down neg-log un-div-inv *-commutative div-inv unswap-sqr
Counts
4 → 100
Calls
4 calls:
14.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 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)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
41.0ms
(- (* b b) (* (* 4.0 a) c))
75.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify61.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05141011
12322856
25001843

prune235.0ms

Filtered
112 candidates to 85 candidates (75.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1102112
Fresh268
Picked011
Done112
Total11310123

Merged error: 5.8b

Counts
123 → 10

regimes212.0ms

Accuracy

82.2% (4.8b remaining)

Error of 10.6b against oracle of 5.8b and baseline of 32.6b

bsearch98.0ms

Steps
ItersRangePoint
7
3.9327484849495463e-50
8.339071351920685e-49
4.393815400015945e-50
7
-1.337582615490612e+92
-9.459320394366776e+89
-2.864598576127613e+91

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03114
13114

end0.0ms

sample1.4s

Algorithm
intervals
Results
337.0ms1122×body2560valid
295.0ms5737×body80valid
223.0ms912×body1280valid
145.0ms2829×body80nan
100.0ms499×body640valid
41.0ms98×body5120valid
31.0ms220×body320valid
11.0ms117×body160valid

Profiling

Loading profile data...