Details

Time bar (total: 6.3s)

sample1.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.306274%

Guaranteed chance to sample good point: 82.125662%

Results
22.0ms256×body80valid
2.0ms25×body80invalid
1.0ms14×body80nan

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.1b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

1.7b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.9b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series62.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0248644
1898606
23863590
35001586

prune201.0ms

Filtered
60 candidates to 75 candidates (-25.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New651075
Fresh000
Picked101
Done000
Total661076

Merged error: 7.4b

Counts
76 → 10

localize28.0ms

Local error

Found 4 expressions with local error:

9.3b
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
21.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(cbrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(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)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series101.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))))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
26.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify41.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0377865
11397791
25001755

prune256.0ms

Filtered
60 candidates to 67 candidates (-11.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New63467
Fresh369
Picked011
Done000
Total661177

Merged error: 7.3b

Counts
77 → 11

localize29.0ms

Local error

Found 4 expressions with local error:

21.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(cbrt (- (* b b) (* (* 4.0 a) c)))

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

series70.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0218570
1680547
22689538
35002527

prune285.0ms

Filtered
59 candidates to 70 candidates (-18.6%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New70070
Fresh099
Picked011
Done011
Total701181

Merged error: 7.3b

Counts
81 → 11

localize26.0ms

Local error

Found 4 expressions with local error:

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

series58.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0127536
1460520
21957516
35001512

prune232.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New71172
Fresh088
Picked101
Done022
Total721183

Merged error: 7.3b

Counts
83 → 11

regimes344.0ms

Accuracy

92.6% (0.9b remaining)

Error of 8.6b against oracle of 7.6b and baseline of 20.1b

bsearch65.0ms

Steps
ItersRangePoint
7
4.117318380954776e+122
2.407345990094287e+124
1.0296911536192026e+123
8
-1.11355135107887e+150
-2.8449590834025068e+147
-1.0998363878598405e+150

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05459
15459

end0.0ms

sample2.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.306274%

Guaranteed chance to sample good point: 82.125662%

Results
703.0ms8000×body80valid
53.0ms637×body80invalid
31.0ms383×body80nan

Profiling

Loading profile data...