Details

Time bar (total: 4.6s)

sample36.0ms

Algorithm
intervals
Results
7.0ms204×body80valid
6.0ms29×body2560valid
4.0ms24×body1280valid
3.0ms91×body80nan
2.0ms14×body640valid
1.0msbody320valid
1.0msbody5120valid
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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.7b

localize12.0ms

Local error

Found 4 expressions with local error:

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

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

series291.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
46.0ms
(- (* b b) (* (* 3.0 a) c))
68.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

prune277.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 6.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series206.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0337530
11440479
25002467

prune265.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 6.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 3.0 (* a c))
0.5b
(+ (- b) (sqrt (- (* b b) (* 3.0 (* a c)))))
0.8b
(- (* b b) (* 3.0 (* a c)))
20.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-*l* 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-*r* prod-diff neg-log *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
6.0ms
(* 3.0 (* a c))
12.0ms
(+ (- b) (sqrt (- (* b b) (* 3.0 (* a c)))))
3.0ms
(- (* b b) (* 3.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

series255.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0330529
11217478
25001467

prune256.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 6.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 3.0 a) c))
2.7b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
9.9b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
20.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite86.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:
3.0ms
(- (* b b) (* (* 3.0 a) c))
46.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
27.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series430.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* b b) (* (* 3.0 a) c))
146.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
173.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify123.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
06692663
134312412
250012406

prune415.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 6.2b

regimes415.0ms

Accuracy

84.4% (4.5b remaining)

Error of 10.3b against oracle of 5.7b and baseline of 34.9b

bsearch96.0ms

Steps
ItersRangePoint
8
1.0581952271802821e-68
3.094434386839899e-66
1.2392895115955295e-66
8
-3.7610221637517924e+157
-1.1271380753219535e+153
-4.198238632002835e+153

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample1.1s

Algorithm
intervals
Results
238.0ms1101×body2560valid
208.0ms5784×body80valid
156.0ms896×body1280valid
100.0ms2794×body80nan
68.0ms483×body640valid
28.0ms107×body5120valid
26.0ms232×body320valid
8.0ms118×body160valid