Details

Time bar (total: 3.5s)

sample56.0ms

Algorithm
intervals
Results
25.0ms281×body80valid
7.0ms84×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 17.8b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
1.4b
(- (neg 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)))

rewrite23.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))
11.0ms
(- (neg 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)))

series53.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 4.0 a) c))
15.0ms
(- (neg b) (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)))

simplify120.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0223579
1875551
23958543
35001540

prune171.0ms

Filtered
72 candidates to 55 candidates (23.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New66672
Fresh000
Picked101
Done000
Total67673

Merged error: 6.7b

Counts
73 → 6

localize24.0ms

Local error

Found 4 expressions with local error:

12.6b
(- (neg 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)))

rewrite16.0ms

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

series58.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0221722
1829631
23533612
35001592

prune203.0ms

Filtered
72 candidates to 59 candidates (18.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh055
Picked011
Done000
Total72678

Merged error: 6.7b

Counts
78 → 6

localize26.0ms

Local error

Found 4 expressions with local error:

5.0b
(+ (neg 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)))

rewrite17.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
(+ (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series95.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
25.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify41.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0382835
11434761
25002721

prune231.0ms

Filtered
66 candidates to 60 candidates (9.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New65166
Fresh044
Picked011
Done011
Total65772

Merged error: 6.7b

Counts
72 → 7

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.0ms

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

series86.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0218638
1680601
22689582
35002557

prune208.0ms

Filtered
66 candidates to 57 candidates (13.6%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh044
Picked011
Done022
Total66773

Merged error: 6.7b

Counts
73 → 7

regimes265.0ms

Accuracy

93.2% (0.8b remaining)

Error of 8.5b against oracle of 7.7b and baseline of 19.8b

bsearch66.0ms

Steps
ItersRangePoint
9
3.740966656805541e+90
2.271321644956683e+99
1.0706833997838064e+97
8
-1.795609024723082e+157
-2.0984588557191883e+153
-1.3277288429394208e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05159
15159

end0.0ms

sample1.4s

Algorithm
intervals
Results
769.0ms8730×body80valid
231.0ms2788×body80nan

Profiling

Loading profile data...