Details

Time bar (total: 5.7s)

sample65.0ms

Algorithm
intervals
Results
38.0ms278×body80valid
11.0ms91×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: 17.7b

localize115.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite37.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:
17.0ms
(- (- b) (sqrt (- (* 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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series298.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
79.0ms
(+ (- b) (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)))

simplify110.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0246646
1890606
23702588
35001586

prune303.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 7.7b

localize118.0ms

Local error

Found 4 expressions with local error:

9.7b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.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:
5.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)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
80.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)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify112.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune315.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 7.7b

localize117.0ms

Local error

Found 4 expressions with local error:

7.3b
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.8b
(cbrt (- (* b b) (* (* 4.0 a) c)))
22.8b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite20.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)))
7.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series359.0ms

Counts
4 → 12
Calls
4 calls:
83.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)))
94.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
111.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify52.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0368805
11471730
25001697

prune369.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 7.7b

localize123.0ms

Local error

Found 4 expressions with local error:

22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.8b
(cbrt (- (* 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 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)))

series345.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
96.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
81.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify79.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0202563
1639537
22437532
35001526

prune381.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 7.7b

regimes155.0ms

Accuracy

91.3% (1.0b remaining)

Error of 8.7b against oracle of 7.6b and baseline of 19.7b

bsearch201.0ms

Steps
ItersRangePoint
8
5.408584085660923e+89
1.6744273082514658e+93
1.2877938682172937e+92
9
-8.797100102514414e+136
-1.2511146020293208e+129
-2.8730895203943987e+136

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05259
15259

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.1s8694×body80valid
322.0ms2838×body80nan