Details

Time bar (total: 5.4s)

sample53.0ms

Algorithm
intervals
Results
22.0ms276×body80valid
7.0ms98×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune5.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: 22.7b

Counts
2 → 1

localize142.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* (* 4.0 a) c))
1.3b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
26.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))
26.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite20.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:
3.0ms
(- (* 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)))

series51.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
0223579
1875551
23958543
35001540

prune402.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: 7.9b

Counts
73 → 7

localize144.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* (* 4.0 a) c))
4.5b
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
5.8b
(/ (* a c) b)
26.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite22.0ms

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

series40.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
5.0ms
(/ (* a c) b)
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify52.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0423596
11940520
25002518

prune560.0ms

Filtered
84 candidates to 61 candidates (27.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New77784
Fresh336
Picked101
Done000
Total811091

Merged error: 5.8b

Counts
91 → 10

localize143.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.6b
(- (* b b) (* (* 4.0 a) c))
26.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/r*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv flip3-- flip3-+ sqrt-div div-exp sum-log associate-/r/ flip-- flip-+
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log neg-log prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 69
Calls
4 calls:
14.0ms
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series90.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0375757
11596658
25001645

prune479.0ms

Filtered
81 candidates to 61 candidates (24.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New77481
Fresh369
Picked101
Done000
Total811091

Merged error: 5.8b

Counts
91 → 10

localize142.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 2.0 (/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) c))
0.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.6b
(- (* b b) (* (* 4.0 a) c))
26.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
117×times-frac
113×*-un-lft-identity
62×add-sqr-sqrt
61×add-cube-cbrt
26×distribute-lft-out
19×associate-/r*
13×distribute-rgt-neg-in
10×add-log-exp
add-exp-log add-cbrt-cube
pow1 div-inv
cbrt-undiv div-exp sqrt-prod associate-/l*
flip3-- sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log neg-log clear-num associate-/r/ flip-+
Counts
4 → 136
Calls
4 calls:
16.0ms
(/ 2.0 (/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) c))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series67.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05881909
124601816
250011810

prune1.1s

Filtered
148 candidates to 102 candidates (31.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1471148
Fresh279
Picked011
Done000
Total1499158

Merged error: 5.6b

Counts
158 → 9

regimes318.0ms

Accuracy

91.6% (1.3b remaining)

Error of 7.0b against oracle of 5.7b and baseline of 21.4b

bsearch116.0ms

Steps
ItersRangePoint
4
3.1466272044128187e+123
6.05509838734878e+123
4.330289328360896e+123
6
-4.4427042201329086e+164
-7.317214014952993e+163
-7.436798123151509e+163

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04645
14645

end0.0ms

sample1.1s

Algorithm
intervals
Results
566.0ms8731×body80valid
176.0ms2913×body80nan

Profiling

Loading profile data...