Details

Time bar (total: 7.7s)

sample39.0ms

Algorithm
intervals
Results
7.0ms34×body2560valid
6.0ms172×body80valid
6.0ms32×body1280valid
3.0ms79×body80nan
2.0msbody5120valid
2.0ms16×body640valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

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.6b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.8b
(- (* b b) (* (* 3.0 a) c))
1.2b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.2b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite32.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:
14.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
4.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series288.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
45.0ms
(- (* b b) (* (* 3.0 a) c))
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
65.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0433855
11670751
25001736

prune274.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New9210102
Fresh000
Picked101
Done000
Total9310103

Merged error: 6.1b

Counts
103 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.6b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
8.8b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
23.2b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
125×add-sqr-sqrt
124×*-un-lft-identity
90×times-frac
80×add-cube-cbrt
60×prod-diff
44×sqrt-prod
32×distribute-rgt-neg-in
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
18×add-exp-log add-cbrt-cube
10×fma-neg
associate-/r* add-log-exp
cbrt-undiv neg-mul-1 div-exp
associate-/r/
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 232
Calls
4 calls:
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
16.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series459.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
141.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
172.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify149.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (111.0ms)

IterNodesCost
08255119
137383863
250013860

prune517.0ms

Filtered
244 candidates to 141 candidates (57.8%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New2413244
Fresh189
Picked011
Done000
Total24212254

Merged error: 6.0b

Counts
254 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(/ 3.0 (* a c))
16.2b
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
23.2b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
192×add-sqr-sqrt
191×times-frac
165×*-un-lft-identity
123×add-cube-cbrt
99×add-exp-log
85×associate-*r*
63×add-cbrt-cube
60×prod-diff
51×div-exp
43×sqrt-prod
31×distribute-rgt-neg-in
29×cbrt-undiv
26×associate-*l* prod-exp
21×distribute-lft-neg-in
20×distribute-lft-out-- difference-of-squares
16×cbrt-unprod
10×fma-neg
div-inv
add-log-exp unswap-sqr
pow1 neg-mul-1 associate-/r/
flip3-- flip--
expm1-log1p-u rec-exp 1-exp log1p-expm1-u
associate-/l*
sqrt-div diff-log
associate--l- neg-sub0 frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num associate-/r* *-commutative
Counts
4 → 295
Calls
4 calls:
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(/ 3.0 (* a c))
55.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
21.0ms
(/ 3.0 (* a c))
142.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
72.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify83.0ms

Algorithm
egg-herbie
Counts
307 → 307
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
015005617
150024095

prune622.0ms

Filtered
307 candidates to 167 candidates (54.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New3043307
Fresh3710
Picked101
Done101
Total30910319

Merged error: 6.0b

Counts
319 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ 3.0 (* a c))
3.6b
(/ (/ (/ 3.0 (/ 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
8.5b
(/ (/ 3.0 (/ 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
23.2b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite177.0ms

Algorithm
rewrite-expression-head
Rules
2557×times-frac
1360×add-sqr-sqrt
1359×*-un-lft-identity
835×add-cube-cbrt
262×distribute-lft-out-- difference-of-squares
217×associate-/l*
151×div-inv
134×sqrt-prod
131×distribute-rgt-neg-in
46×associate-/r/
43×add-exp-log add-cbrt-cube
25×cbrt-undiv div-exp
11×associate-/r*
flip3-- flip--
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod
sqrt-div associate-/l/
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 1056
Calls
4 calls:
4.0ms
(/ 3.0 (* a c))
50.0ms
(/ (/ (/ 3.0 (/ 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
19.0ms
(/ (/ 3.0 (/ 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series414.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ 3.0 (* a c))
149.0ms
(/ (/ (/ 3.0 (/ 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
169.0ms
(/ (/ 3.0 (/ 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
74.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify251.0ms

Algorithm
egg-herbie
Counts
1068 → 1068
Iterations

Useful iterations: 1 (49.0ms)

IterNodesCost
0302223478
1500122405

prune2.3s

Filtered
1068 candidates to 575 candidates (53.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New106621068
Fresh279
Picked101
Done000
Total106991078

Merged error: 6.0b

Counts
1078 → 9

regimes349.0ms

Accuracy

82.2% (4.6b remaining)

Error of 10.0b against oracle of 5.4b and baseline of 31.4b

bsearch83.0ms

Steps
ItersRangePoint
4
2.7062129888597453e-95
4.861630376334293e-95
3.8681552371770574e-95
9
-1.5394173084517817e+70
-1.6289578644700005e+63
-5.139138581373948e+66

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03720
13720

end0.0ms

sample1.1s

Algorithm
intervals
Results
231.0ms1054×body2560valid
215.0ms5816×body80valid
155.0ms889×body1280valid
97.0ms2865×body80nan
65.0ms470×body640valid
29.0ms111×body5120valid
24.0ms235×body320valid
9.0ms125×body160valid