Details

Time bar (total: 6.1s)

sample47.0ms

Algorithm
intervals
Results
24.0ms285×body80valid
6.0ms96×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03618
16718
212318
316018
417518
517718
617718

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: 22.5b

Counts
2 → 1

localize117.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
1.1b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
11×add-sqr-sqrt
10×fma-def add-log-exp
add-cube-cbrt
pow1 sqrt-prod
add-exp-log expm1-log1p-u distribute-rgt-neg-in sqrt-div add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in flip3-- flip--
rem-sqrt-square sqrt-pow1 pow1/2 sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg flip3-+ fma-neg diff-log prod-diff neg-log flip-+
Counts
4 → 77
Calls
4 calls:
4.0ms
(- (* 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)))

series272.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* b b) (* (* 4.0 a) c))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify137.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0264600
11046558
24657542
35001542

prune348.0ms

Filtered
89 candidates to 76 candidates (85.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New82789
Fresh000
Picked101
Done000
Total83790

Merged error: 7.8b

Counts
90 → 7

localize118.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
5.5b
(/ (* a c) b)
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
17×add-sqr-sqrt
14×add-exp-log add-cbrt-cube
12×add-cube-cbrt
10×fma-def
times-frac associate-/r*
add-log-exp
distribute-rgt-neg-in
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u distribute-lft-out--
distribute-lft-neg-in sqrt-prod
flip3-- frac-2neg sqrt-div prod-exp clear-num sum-log associate-/r/ flip-- cbrt-unprod div-inv distribute-lft-out associate-/l* difference-of-squares
+-commutative neg-sub0 associate-+l- neg-mul-1 rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 98
Calls
4 calls:
13.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
5.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series355.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
183.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
24.0ms
(/ (* a c) b)
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify55.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0476778
12207680
25001672

prune388.0ms

Filtered
110 candidates to 84 candidates (76.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1064110
Fresh246
Picked101
Done000
Total1098117

Merged error: 7.4b

Counts
117 → 8

localize123.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.3b
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
4.0b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))))))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
37×*-un-lft-identity
34×times-frac
30×add-exp-log
25×add-cube-cbrt
23×add-cbrt-cube
22×associate-*r*
11×cbrt-prod
10×fma-def
cbrt-undiv div-exp prod-exp cbrt-unprod
add-log-exp
pow1 associate-*l*
distribute-rgt-neg-in associate-/r* unswap-sqr
expm1-log1p-u log1p-expm1-u distribute-lft-out--
distribute-lft-neg-in sqrt-prod div-inv
flip3-- sqrt-div sum-log associate-/r/ flip-- distribute-lft-out difference-of-squares
+-commutative neg-sub0 frac-times associate-+l- neg-mul-1 rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num *-commutative flip-+ associate-/l*
Counts
4 → 136
Calls
4 calls:
13.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
15.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
9.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series416.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
53.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
217.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))))))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify95.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07731510
137751315
250011269

prune599.0ms

Filtered
148 candidates to 113 candidates (76.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1453148
Fresh077
Picked101
Done000
Total14610156

Merged error: 7.4b

Counts
156 → 10

localize128.0ms

Local error

Found 4 expressions with local error:

4.9b
(cbrt (/ c (cbrt b)))
4.9b
(cbrt (/ c (cbrt b)))
4.9b
(cbrt (/ c (cbrt b)))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
93×cbrt-prod
54×times-frac
45×add-sqr-sqrt
44×add-cube-cbrt *-un-lft-identity
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-div pow1/3 sqrt-prod div-inv
sqrt-div
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
Counts
4 → 116
Calls
4 calls:
3.0ms
(cbrt (/ c (cbrt b)))
3.0ms
(cbrt (/ c (cbrt b)))
3.0ms
(cbrt (/ c (cbrt b)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series553.0ms

Counts
4 → 12
Calls
4 calls:
161.0ms
(cbrt (/ c (cbrt b)))
162.0ms
(cbrt (/ c (cbrt b)))
163.0ms
(cbrt (/ c (cbrt b)))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify105.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0281978
1865952
23747944
35001923

prune646.0ms

Filtered
128 candidates to 104 candidates (81.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1262128
Fresh189
Picked101
Done000
Total12810138

Merged error: 7.4b

Counts
138 → 10

regimes267.0ms

Accuracy

88.3% (1.7b remaining)

Error of 8.8b against oracle of 7.1b and baseline of 21.5b

bsearch170.0ms

Steps
ItersRangePoint
6
2087876908255263.8
9946277058360104.0
9787957843074626.0
9
-3.1093417089968686e+156
-2.796615923212647e+151
-1.3570665871440235e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06783
16783

end0.0ms

sample1.0s

Algorithm
intervals
Results
569.0ms8705×body80valid
180.0ms2829×body80nan

Profiling

Loading profile data...