Details

Time bar (total: 4.6s)

sample36.0ms

Algorithm
intervals
Results
8.0ms37×body2560valid
7.0ms197×body80valid
4.0ms24×body1280valid
3.0ms77×body80nan
2.0ms16×body640valid
0.0msbody160valid
0.0msbody320valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.6b
(- (* b b) (* (* 3.0 a) c))
0.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite31.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:
12.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
4.0ms
(- (* b b) (* (* 3.0 a) c))
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series296.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
43.0ms
(- (* b b) (* (* 3.0 a) c))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
71.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0433855
11670751
25001736

prune302.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 8.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.6b
(- (* b b) (* (* 3.0 a) c))
0.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite30.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:
12.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)))

series300.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
47.0ms
(- (* b b) (* (* 3.0 a) c))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0433855
11670751
25001736

prune287.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 8.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ 1 3.0) (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
0.6b
(- (* b b) (* (* 3.0 a) c))
0.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt *-un-lft-identity
31×times-frac
26×add-exp-log
24×add-cube-cbrt
19×associate-*r*
16×add-cbrt-cube
13×associate-*l*
10×fma-def add-log-exp
div-exp prod-exp distribute-lft-out
pow1 distribute-rgt-neg-in
unswap-sqr
cbrt-undiv expm1-log1p-u cbrt-unprod log1p-expm1-u
distribute-lft-neg-in sqrt-prod
rec-exp flip3-- sqrt-div 1-exp sum-log flip-- div-inv
+-commutative neg-sub0 frac-times associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*r/ prod-diff pow-prod-down neg-log associate-*l/ *-commutative flip-+
Counts
4 → 124
Calls
4 calls:
22.0ms
(* (/ 1 3.0) (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
4.0ms
(- (* b b) (* (* 3.0 a) c))
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series302.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(* (/ 1 3.0) (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
47.0ms
(- (* b b) (* (* 3.0 a) c))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
68.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify74.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06451311
131291145
250011130

prune362.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 8.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) (/ 1 a))
0.6b
(- (* b b) (* (* 3.0 a) c))
0.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt *-un-lft-identity
31×times-frac
26×add-exp-log
24×add-cube-cbrt
19×associate-*l*
16×add-cbrt-cube
13×associate-*r*
10×fma-def add-log-exp
div-exp prod-exp distribute-lft-out
pow1 distribute-rgt-neg-in
unswap-sqr
cbrt-undiv expm1-log1p-u cbrt-unprod log1p-expm1-u
distribute-lft-neg-in sqrt-prod
rec-exp flip3-- sqrt-div 1-exp sum-log flip-- div-inv
+-commutative neg-sub0 frac-times associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*r/ prod-diff pow-prod-down neg-log associate-*l/ un-div-inv *-commutative flip-+
Counts
4 → 125
Calls
4 calls:
19.0ms
(* (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) (/ 1 a))
4.0ms
(- (* b b) (* (* 3.0 a) c))
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series306.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(* (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) (/ 1 a))
44.0ms
(- (* b b) (* (* 3.0 a) c))
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
73.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify71.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06441347
127501185
250021164

prune354.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 8.0b

regimes401.0ms

Accuracy

88.1% (3.3b remaining)

Error of 9.1b against oracle of 5.8b and baseline of 33.9b

bsearch135.0ms

Steps
ItersRangePoint
6
6254161.133583045
42925490.781275615
31296389.294779938
5
1.4848686600671973e-153
5.873735982633398e-153
4.6569086088577344e-153
10
-4.4721271386820616e+151
-9.712280864301115e+136
-1.1259751240381662e+137

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05432
16232
26232

end0.0ms

sample1.1s

Algorithm
intervals
Results
225.0ms1046×body2560valid
211.0ms5939×body80valid
142.0ms853×body1280valid
105.0ms2866×body80nan
59.0ms441×body640valid
28.0ms111×body5120valid
22.0ms226×body320valid
8.0ms117×body160valid