Details

Time bar (total: 4.7s)

sample34.0ms

Algorithm
intervals
Results
14.0ms275×body80valid
4.0ms99×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.5b

localize116.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
1.3b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
diff-log
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 distribute-rgt-neg-in neg-log
Counts
4 → 60
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(- (- b) (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)))

series264.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify118.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
0227581
1878551
23814541
35002538

prune281.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 7.9b

localize117.0ms

Local error

Found 4 expressions with local error:

7.3b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
21.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log
+-commutative neg-sub0 associate-+l- flip3-+ neg-log flip-+
Counts
4 → 58
Calls
4 calls:
4.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series305.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0232683
1883574
23567559
35001555

prune325.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 7.9b

localize122.0ms

Local error

Found 4 expressions with local error:

8.3b
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
21.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.4b
(cbrt (- (* b b) (* (* 4.0 a) c)))
22.4b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log cbrt-div add-cbrt-cube
flip3-- sqrt-prod flip--
pow1/3 sqrt-div sum-log
+-commutative neg-sub0 associate-+l- rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 54
Calls
4 calls:
4.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series354.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
100.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0368805
11471730
25001697

prune410.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 7.9b

localize121.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.3b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
6.3b
(/ (* a c) b)
21.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.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 sqrt-prod distribute-lft-out
distribute-rgt-neg-in
flip3-- frac-2neg sqrt-div diff-log prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv associate-/l* distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 81
Calls
4 calls:
8.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
11.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
4.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
180.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
19.0ms
(/ (* a c) b)
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify49.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0440739
12043649
25001646

prune316.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 6.8b

regimes212.0ms

Accuracy

92.7% (1.0b remaining)

Error of 7.8b against oracle of 6.8b and baseline of 20.3b

bsearch169.0ms

Steps
ItersRangePoint
9
1.846147638884188e+104
1.7844061428947563e+109
7.447142365186095e+108
8
-5.17073721832495e+150
-9.039588443684179e+147
-9.840754535006383e+147

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05659
15659

end0.0ms

sample814.0ms

Algorithm
intervals
Results
436.0ms8713×body80valid
135.0ms2974×body80nan