Details

Time bar (total: 5.7s)

sample38.0ms

Algorithm
intervals
Results
14.0ms282×body80valid
5.0ms115×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.1b

localize85.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.7b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 63
Calls
4 calls:
22.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
12.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
70.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
62.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
64.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify115.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0246646
1890606
23702588
35001584

prune275.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 7.7b

localize85.0ms

Local error

Found 4 expressions with local error:

1.7b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.8b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
5.8b
(/ (* a c) b)
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
14×add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt times-frac associate-/r*
add-log-exp
pow1
cbrt-undiv div-exp distribute-lft-out--
distribute-rgt-neg-in sqrt-prod
flip3-- frac-2neg sqrt-div prod-exp clear-num sum-log associate-/r/ flip-- cbrt-unprod div-inv distribute-lft-out associate-/l* difference-of-squares
+-commutative neg-sub0 associate-+l- rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 80
Calls
4 calls:
23.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
33.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
9.0ms
(/ (* a c) b)
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series305.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
156.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
17.0ms
(/ (* a c) b)
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify54.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0454718
12113629
25001621

prune340.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.4b

localize91.0ms

Local error

Found 4 expressions with local error:

1.7b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.8b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))))))
3.0b
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
34×*-un-lft-identity times-frac
30×add-exp-log
23×add-cbrt-cube
22×add-cube-cbrt associate-*r*
11×cbrt-prod
cbrt-undiv div-exp prod-exp cbrt-unprod
add-log-exp
pow1 associate-*l*
associate-/r* unswap-sqr
distribute-lft-out--
distribute-rgt-neg-in sqrt-prod div-inv
flip3-- sqrt-div sum-log associate-/r/ flip-- distribute-lft-out difference-of-squares
+-commutative neg-sub0 frac-times associate-+l- rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num *-commutative flip-+ associate-/l*
Counts
4 → 118
Calls
4 calls:
21.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
32.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))))))
43.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series366.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
07511431
136801244
250021199

prune579.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 6.4b

localize100.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt c)
1.5b
(* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt (sqrt b))))
1.7b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
40×add-exp-log
29×add-sqr-sqrt
22×times-frac add-cbrt-cube
16×*-un-lft-identity
15×prod-exp cbrt-unprod
13×cbrt-prod associate-*r*
12×cbrt-undiv add-cube-cbrt div-exp
sqrt-prod add-log-exp unswap-sqr
pow1 associate-*l*
sqrt-div sum-log div-inv distribute-lft-out
+-commutative neg-sub0 frac-times associate-+l- rem-sqrt-square flip3-- distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 pow1/3 associate-*r/ pow-prod-down neg-log associate-*l/ *-commutative flip-- flip-+
Counts
4 → 99
Calls
4 calls:
1.0ms
(cbrt c)
51.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt (sqrt b))))
24.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series437.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(cbrt c)
135.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt (sqrt b))))
72.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
61.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify75.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06971252
130801061
250011018

prune582.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 6.4b

regimes370.0ms

Accuracy

93% (1.0b remaining)

Error of 7.5b against oracle of 6.5b and baseline of 20.7b

bsearch206.0ms

Steps
ItersRangePoint
9
1.7695728335377845e+74
3.738006738925262e+80
1.9936734105804633e+77
9
-8.193557888742793e+156
-5.650723842587128e+148
-1.3596472614638946e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069100
169100

end0.0ms

sample920.0ms

Algorithm
intervals
Results
446.0ms8694×body80valid
135.0ms2934×body80nan