Details

Time bar (total: 4.8s)

sample61.0ms

Algorithm
intervals
Results
26.0ms281×body80valid
9.0ms103×body80nan

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune6.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.2b

localize120.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 4.0 a) c))
2.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
19.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
19.5b
(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:
2.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(- (- 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)))

series266.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0227581
1878551
23814541
35002538

prune277.0ms

Filtered
72 candidates to 55 candidates (76.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 7.3b

localize119.0ms

Local error

Found 4 expressions with local error:

12.8b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
19.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
19.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
19.5b
(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
(- (- 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)))

series284.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))))))
66.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)))

simplify104.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0225725
1835631
23414609
35001589

prune319.0ms

Filtered
72 candidates to 59 candidates (81.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 7.3b

localize126.0ms

Local error

Found 4 expressions with local error:

19.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
19.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
20.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))

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

series330.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0202586
1639554
22437548
35001544

prune429.0ms

Filtered
68 candidates to 60 candidates (88.2%)
Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 7.3b

localize121.0ms

Local error

Found 4 expressions with local error:

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

series362.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
100.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
98.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify76.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0202609
1639571
22437564
35001562

prune334.0ms

Filtered
66 candidates to 60 candidates (90.9%)
Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 7.3b

regimes213.0ms

Accuracy

87.5% (1.5b remaining)

Error of 9.2b against oracle of 7.8b and baseline of 19.5b

bsearch105.0ms

Steps
ItersRangePoint
6
2.6216430800597077e+98
1.6496650416179864e+99
1.0963004586600293e+99
4
-2.4628825350256635e+163
-1.5405955983178716e+163
-1.5694170650899903e+163

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05159
15159

end0.0ms

sample824.0ms

Algorithm
intervals
Results
447.0ms8774×body80valid
133.0ms2888×body80nan