Details

Time bar (total: 7.0s)

sample79.0ms

Algorithm
intervals
Results
20.0ms188×body80valid
15.0ms30×body2560valid
13.0ms31×body1280valid
8.0ms91×body80nan
5.0ms15×body640valid
2.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.6b

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.4b
(- (* b b) (* (* 4.0 a) c))
1.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
36.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
2.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series306.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
45.0ms
(- (* b b) (* (* 4.0 a) c))
82.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0405779
11563685
25001674

prune246.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 6.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.4b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
9.9b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
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 → 154
Calls
4 calls:
13.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
47.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
27.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series520.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
164.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
198.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
80.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify121.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
06512692
131392439
250022426

prune461.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 6.0b

localize31.0ms

Local error

Found 4 expressions with local error:

14.1b
(cbrt (+ 0 (* 4.0 (* a c))))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity
pow1
sqrt-div
add-exp-log add-cbrt-cube add-log-exp
cbrt-prod rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
cbrt-div
flip3-+ pow1/3 flip-+
Counts
4 → 58
Calls
4 calls:
2.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series329.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0259537
11023510
25001498

prune400.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 6.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.2b
(* (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 2.0 a)))
9.9b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
68×add-sqr-sqrt
62×*-un-lft-identity
51×add-exp-log
46×times-frac
30×add-cube-cbrt
27×associate-*l* add-cbrt-cube
20×prod-exp
16×div-exp distribute-lft-out-- difference-of-squares
11×sqrt-prod
cbrt-undiv distribute-rgt-neg-in cbrt-unprod add-log-exp
pow1 associate-*r* associate-/r*
rec-exp flip3-- 1-exp associate-/r/ flip--
div-inv associate-/l*
sqrt-div diff-log associate-/l/ unswap-sqr
associate--l- neg-sub0 frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num un-div-inv *-commutative flip-+
Counts
4 → 149
Calls
4 calls:
12.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
67.0ms
(* (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 2.0 a)))
26.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series545.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
157.0ms
(* (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 2.0 a)))
230.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
78.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify137.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
07432415
139142081
250032074

prune607.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 6.0b

regimes222.0ms

Accuracy

83.5% (4.4b remaining)

Error of 10.0b against oracle of 5.6b and baseline of 32.4b

bsearch143.0ms

Steps
ItersRangePoint
8
2.3682374127768157e-71
9.144612143045527e-68
1.1752867948836086e-69
7
-1.2511146020293208e+129
-2.5570389401985865e+127
-4.032376794487168e+127

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03315
13315

end0.0ms

sample2.4s

Algorithm
intervals
Results
608.0ms5912×body80valid
558.0ms1057×body2560valid
369.0ms843×body1280valid
271.0ms2844×body80nan
158.0ms460×body640valid
59.0ms228×body320valid
58.0ms93×body5120valid
22.0ms128×body160valid