Details

Time bar (total: 4.8s)

sample34.0ms

Algorithm
intervals
Results
14.0ms276×body80valid
5.0ms91×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.4b

Counts
2 → 1

localize123.0ms

Local error

Found 4 expressions with local error:

1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.4b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite24.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:
7.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.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)))

series308.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
81.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify125.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0246646
1890606
23700588
35001584

prune302.0ms

Filtered
75 candidates to 60 candidates (80.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New68775
Fresh000
Picked101
Done000
Total69776

Merged error: 7.2b

Counts
76 → 7

localize123.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))))))
20.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.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
(+ (- 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)))

series311.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune341.0ms

Filtered
70 candidates to 59 candidates (84.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh156
Picked011
Done000
Total70777

Merged error: 7.2b

Counts
77 → 7

localize130.0ms

Local error

Found 4 expressions with local error:

9.7b
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
20.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))
20.9b
(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
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series373.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
101.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
104.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0363835
11402760
25001731

prune384.0ms

Filtered
67 candidates to 59 candidates (88.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New67067
Fresh055
Picked011
Done011
Total67774

Merged error: 7.2b

Counts
74 → 7

localize122.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.1b
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
4.6b
(/ (* a c) b)
20.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-sqr-sqrt add-cbrt-cube
13×*-un-lft-identity
add-cube-cbrt
add-log-exp
times-frac
pow1
cbrt-undiv div-exp associate-/r* sqrt-prod associate-/l*
flip3-- flip--
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod div-inv associate-/l/ distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 div-sub neg-log
Counts
4 → 78
Calls
4 calls:
13.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
4.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
83.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
24.0ms
(/ (* a c) b)
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify63.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0478706
12176625
25001623

prune333.0ms

Filtered
90 candidates to 66 candidates (73.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New88290
Fresh044
Picked101
Done022
Total89897

Merged error: 6.8b

Counts
97 → 8

regimes184.0ms

Accuracy

93.1% (0.9b remaining)

Error of 7.6b against oracle of 6.7b and baseline of 20.2b

bsearch144.0ms

Steps
ItersRangePoint
7
6.66182219120084e+105
6.051047097450507e+107
5.164639341262976e+106
7
-2.7078859601421552e+87
-1.2247309707199115e+86
-1.717333928407713e+87

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05256
15256

end0.0ms

sample863.0ms

Algorithm
intervals
Results
462.0ms8747×body80valid
143.0ms2942×body80nan