Details

Time bar (total: 5.7s)

sample48.0ms

Algorithm
intervals
Results
18.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

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

Counts
2 → 1

localize116.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)))

series273.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 4.0 a) c))
80.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify122.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0223579
1875551
23958543
35001540

prune387.0ms

Filtered
72 candidates to 55 candidates (76.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New65772
Fresh000
Picked101
Done000
Total66773

Merged error: 7.9b

Counts
73 → 7

localize117.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)))

rewrite23.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))
10.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)))

series223.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 4.0 a) c))
80.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
19.0ms
(/ (* a c) b)
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0423596
11940520
25002518

prune444.0ms

Filtered
84 candidates to 61 candidates (72.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New77784
Fresh336
Picked101
Done000
Total811091

Merged error: 5.8b

Counts
91 → 10

localize118.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)))

rewrite34.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:
18.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)))

series454.0ms

Counts
4 → 12
Calls
4 calls:
254.0ms
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
81.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
48.0ms
(- (* b b) (* (* 4.0 a) c))
71.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

prune426.0ms

Filtered
81 candidates to 61 candidates (75.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New77481
Fresh369
Picked101
Done000
Total811091

Merged error: 5.8b

Counts
91 → 10

localize115.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)))

rewrite33.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:
12.0ms
(/ 2.0 (/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) 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)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(/ 2.0 (/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) c))
85.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
49.0ms
(- (* b b) (* (* 4.0 a) c))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify72.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05881909
124601816
250011810

prune612.0ms

Filtered
148 candidates to 102 candidates (68.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1471148
Fresh279
Picked011
Done000
Total1499158

Merged error: 5.6b

Counts
158 → 9

regimes320.0ms

Accuracy

91.6% (1.3b remaining)

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

bsearch109.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
04632
14632

end0.0ms

sample1.2s

Algorithm
intervals
Results
564.0ms8731×body80valid
178.0ms2913×body80nan

Profiling

Loading profile data...