Details

Time bar (total: 3.9s)

sample257.0ms

Algorithm
intervals
Results
202.0ms75×body80nan
31.0ms278×body80valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune6.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

localize26.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)))

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

series68.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (115.0ms)

IterNodesCost
0223579
1875551
23958543
35001540

prune188.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

localize25.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)))

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)))

series59.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))))))
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
16.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify106.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0221725
1823631
23496612
35001592

prune213.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

localize25.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)))

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

series56.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))))))
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify109.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0227680
1870574
23628562
35001558

prune203.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

localize30.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)))

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 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:
4.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)))

series97.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))))))
17.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
25.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify41.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0377866
11391791
25001755

prune211.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

regimes237.0ms

Accuracy

92.5% (0.9b remaining)

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

bsearch88.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.6s

Algorithm
intervals
Results
876.0ms8698×body80valid
291.0ms3010×body80nan

Profiling

Loading profile data...