Details

Time bar (total: 4.8s)

sample35.0ms

Algorithm
intervals
Results
14.0ms283×body80valid
5.0ms92×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.7b

localize119.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.0b
(- (* b b) (* (* 4.0 a) c))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite14.0ms

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

series233.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* b b) (* (* 4.0 a) c))
44.0ms
(- (* b b) (* (* 4.0 a) c))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify81.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0149476
1576446
22486444
35001440

prune267.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 9.4b

localize116.0ms

Local error

Found 4 expressions with local error:

8.9b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite19.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
(- (- 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)))

series289.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify105.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0225725
1835631
23414609
35001589

prune336.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 9.4b

localize125.0ms

Local error

Found 4 expressions with local error:

23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))
23.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log cbrt-div flip3-- sqrt-div add-cbrt-cube flip-- add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 56
Calls
4 calls:
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)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
96.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
100.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify77.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0202586
1639554
22437548
35001544

prune439.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 9.4b

localize122.0ms

Local error

Found 4 expressions with local error:

23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))
23.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))
23.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite12.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:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series364.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0202609
1639571
22437564
35001562

prune342.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 9.4b

regimes243.0ms

Accuracy

90.5% (1.2b remaining)

Error of 8.6b against oracle of 7.5b and baseline of 20.0b

bsearch186.0ms

Steps
ItersRangePoint
8
9.456042252142157e+48
5.633410846004884e+51
5.5792500737545097e+51
9
-8.652530131639494e+154
-2.4576771469086066e+149
-1.349043816933319e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05668
15668

end0.0ms

sample837.0ms

Algorithm
intervals
Results
445.0ms8700×body80valid
134.0ms2856×body80nan