Details

Time bar (total: 6.6s)

sample79.0ms

Algorithm
intervals
Results
21.0ms188×body80valid
14.0ms30×body2560valid
12.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

localize11.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)))

rewrite52.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:
33.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
2.0ms
(- (* b b) (* (* 4.0 a) c))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series309.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
48.0ms
(- (* b b) (* (* 4.0 a) c))
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0405779
11563685
25001674

prune237.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 6.1b

localize15.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)))

rewrite95.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:
14.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
41.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
29.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series492.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
147.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
193.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify111.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06512694
131392439
250022426

prune451.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 6.0b

localize25.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)))

rewrite13.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:
1.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series316.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0259537
11023510
25001498

prune558.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 6.0b

localize17.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)))

rewrite112.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))))
63.0ms
(* (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 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)))

series471.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
148.0ms
(* (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 2.0 a)))
178.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify138.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (116.0ms)

IterNodesCost
07432417
139142081
250032074

prune389.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 6.0b

regimes215.0ms

Accuracy

83.5% (4.4b remaining)

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

bsearch134.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.3s

Algorithm
intervals
Results
582.0ms5912×body80valid
533.0ms1057×body2560valid
349.0ms843×body1280valid
266.0ms2844×body80nan
150.0ms460×body640valid
56.0ms93×body5120valid
56.0ms228×body320valid
23.0ms128×body160valid