Details

Time bar (total: 4.4s)

sample295.0ms

Algorithm
intervals
Results
28.0ms278×body80valid
7.0ms75×body80nan

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune11.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: 18.6b

Counts
2 → 1

localize47.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* b b) (* (* 4.0 a) c))
1.9b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite42.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:
6.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
10.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series106.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
20.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
37.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
41.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify145.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (137.0ms)

IterNodesCost
0223579
1875551
23958543
35001540

prune231.0ms

Filtered
72 candidates to 55 candidates (23.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New65772
Fresh000
Picked101
Done000
Total66773

Merged error: 8.4b

Counts
73 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

8.2b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
21.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series70.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
25.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify117.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0221725
1823631
23496612
35001592

prune225.0ms

Filtered
72 candidates to 59 candidates (18.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh066
Picked011
Done000
Total72779

Merged error: 8.4b

Counts
79 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

10.7b
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
21.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series65.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)))
20.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
16.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify126.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0227677
1876574
23665562
35003558

prune281.0ms

Filtered
70 candidates to 59 candidates (15.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New68270
Fresh235
Picked101
Done011
Total71677

Merged error: 8.4b

Counts
77 → 6

localize33.0ms

Local error

Found 4 expressions with local error:

7.2b
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
21.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))
22.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite22.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 flip3-- add-cbrt-cube flip--
sqrt-prod
pow1/3 sqrt-div diff-log
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log
Counts
4 → 55
Calls
4 calls:
7.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series111.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
24.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
27.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0377865
11397791
25001755

prune258.0ms

Filtered
67 candidates to 60 candidates (10.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New66167
Fresh044
Picked101
Done011
Total67673

Merged error: 8.4b

Counts
73 → 6

regimes263.0ms

Accuracy

92.5% (0.9b remaining)

Error of 8.1b against oracle of 7.2b and baseline of 19.5b

bsearch83.0ms

Steps
ItersRangePoint
8
1.2099936426732458e+107
2.3384458119324726e+110
1.8771340102380541e+109
11
-2.766539085620364e+156
-7.786185162824564e+124
-2.9565804549553922e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04858
14858

end0.0ms

sample1.7s

Algorithm
intervals
Results
891.0ms8698×body80valid
295.0ms3010×body80nan

Profiling

Loading profile data...