Details

Time bar (total: 7.7s)

sample58.0ms

Algorithm
intervals
Results
29.0ms280×body80valid
10.0ms102×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.1b

localize23.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite25.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:
3.0ms
(- (* b b) (* (* 4.0 a) c))
13.0ms
(- (- b) (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)))

series56.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
16.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
16.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify120.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0227581
1878551
23814541
35002538

prune870.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 7.5b

localize24.0ms

Local error

Found 4 expressions with local error:

7.8b
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.5b
(cbrt (- (* b b) (* (* 4.0 a) c)))
24.5b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite15.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:
6.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)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series99.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
26.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
24.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0368805
11471730
25001697

prune1.3s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 7.5b

localize28.0ms

Local error

Found 4 expressions with local error:

23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.5b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite15.0ms

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

series71.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
18.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify78.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0202563
1639537
22437532
35001526

prune1.4s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 7.5b

localize26.0ms

Local error

Found 4 expressions with local error:

23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.0ms

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

series61.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify68.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0129540
1469520
21914516
35002508

prune1.2s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 7.5b

regimes550.0ms

Accuracy

87.4% (1.5b remaining)

Error of 9.4b against oracle of 7.9b and baseline of 19.9b

bsearch79.0ms

Steps
ItersRangePoint
7
7.8930669794294e+68
1.794276654474529e+70
2.5685262206495737e+69
8
-6.30521239297407e+53
-2.0681333037085905e+50
-6.218858286019401e+53

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05876
15876

end0.0ms

sample1.4s

Algorithm
intervals
Results
899.0ms8716×body80valid
282.0ms2868×body80nan