Details

Time bar (total: 5.8s)

sample65.0ms

Algorithm
intervals
Results
17.0ms182×body80valid
14.0ms38×body2560valid
9.0ms31×body1280valid
5.0ms66×body80nan
3.0ms14×body640valid
2.0msbody5120valid
2.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.3b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.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:
3.0ms
(- (* b b) (* (* 3.0 a) c))
34.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series295.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0433855
11670751
25001736

prune269.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.8b

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.7b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
9.0b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
24.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite96.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:
15.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
42.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
25.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series451.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
140.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
170.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify150.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
08255119
137383863
250013860

prune518.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.2b
(- (* b b) (* (* 3.0 a) c))
0.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×pow1 add-sqr-sqrt fma-def add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u
distribute-lft-neg-in associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*l* prod-diff neg-log *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
8.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series208.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
45.0ms
(- (* b b) (* (* 3.0 a) c))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
66.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0337530
11440479
25002467

prune228.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 4.8b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.2b
(* (/ 1 3.0) (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
0.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

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

series303.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- (* b b) (* (* 3.0 a) c))
105.0ms
(* (/ 1 3.0) (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
67.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify96.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06451311
131291145
250011130

prune330.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 4.8b

regimes427.0ms

Accuracy

87.7% (3.3b remaining)

Error of 9.3b against oracle of 6.0b and baseline of 32.8b

bsearch233.0ms

Steps
ItersRangePoint
9
2.361395911149281e+44
1.9602768074088032e+49
8.091177282128157e+46
10
3.133963618116426e-134
3.101996799263977e-122
5.035586839884384e-134
8
-4.003837004793086e+154
-2.2826144912851317e+150
-9.196781153225343e+150

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04729
14929
24929

end0.0ms

sample1.8s

Algorithm
intervals
Results
488.0ms5834×body80valid
410.0ms1078×body2560valid
266.0ms856×body1280valid
201.0ms2697×body80nan
114.0ms463×body640valid
44.0ms96×body5120valid
42.0ms222×body320valid
14.0ms104×body160valid