Details

Time bar (total: 5.0s)

analyze459.0ms

Algorithm
search

sample41.0ms

Algorithm
intervals
Results
9.0ms181×body80valid
8.0ms28×body2560valid
6.0ms26×body1280valid
2.0ms10×body640valid
1.0ms19×body80nan
1.0msbody320valid
1.0msbody5120valid
1.0ms10×body80invalid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.6b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
0.8b
(- (* b b) (* 4.0 (* a c)))
24.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt times-frac associate-/l*
sqrt-prod distribute-lft-out-- difference-of-squares
pow1
flip3-- flip--
distribute-rgt-neg-in diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 77
Calls
4 calls:
12.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
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))))

series60.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0398888
11466803
25001798

prune177.0ms

Filtered
65 candidates to 89 candidates (-36.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New80989
Fresh000
Picked101
Done000
Total81990

Merged error: 7.5b

Counts
90 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
0.6b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
0.8b
(- (* b b) (* 4.0 (* a c)))
24.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
67×times-frac
48×add-sqr-sqrt
47×*-un-lft-identity
27×add-cube-cbrt
25×add-exp-log
13×associate-/r* add-cbrt-cube
12×div-exp
10×distribute-lft-out-- add-log-exp difference-of-squares
associate-/r/
sqrt-prod
flip3-- flip--
pow1
cbrt-undiv distribute-rgt-neg-in div-inv
rec-exp diff-log 1-exp prod-exp associate-/l*
sub-neg sqrt-div
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 125
Calls
4 calls:
15.0ms
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series75.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
16.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
9.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify68.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05381801
125731602
250021528

prune171.0ms

Filtered
73 candidates to 137 candidates (-87.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1352137
Fresh268
Picked011
Done000
Total1379146

Merged error: 7.5b

Counts
146 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- (* b b) (* 4.0 (* a c)))) (* 2.0 a))
0.8b
(- (* b b) (* 4.0 (* a c)))
7.6b
(- (/ (neg b) (* 2.0 a)) (/ (sqrt (- (* b b) (* 4.0 (* a c)))) (* 2.0 a)))
24.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite31.0ms

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

series81.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0418881
11485823
25002813

prune153.0ms

Filtered
68 candidates to 88 candidates (-29.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh077
Picked011
Done011
Total88997

Merged error: 7.5b

Counts
97 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
14.5b
(/ (* (/ 1 2.0) (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) a)
17.0b
(- (pow b 2) (pow b 2))
24.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
23×*-un-lft-identity
22×unpow-prod-down
19×add-exp-log
16×difference-of-squares
15×add-cube-cbrt
13×add-cbrt-cube
12×unpow2 sqr-pow
10×distribute-rgt-out-- add-log-exp
distribute-lft-out--
div-exp
pow1 associate-/l/
cbrt-undiv prod-exp
flip3-+ times-frac associate-/r* sqrt-prod flip-+
frac-times flip3-- sqrt-div associate-*r/ sum-log flip-- cbrt-unprod distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square rec-exp distribute-rgt-neg-in frac-2neg sqrt-pow1 pow1/2 +-inverses diff-log 1-exp neg-log associate-*l/ clear-num div-inv associate-/l*
Counts
4 → 107
Calls
4 calls:
7.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.0ms
(/ (* (/ 1 2.0) (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) a)
7.0ms
(- (pow b 2) (pow b 2))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series34.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(/ (* (/ 1 2.0) (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) a)
1.0ms
(- (pow b 2) (pow b 2))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify198.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (188.0ms)

IterNodesCost
0590777
13981571
25002555

prune187.0ms

Filtered
79 candidates to 119 candidates (-50.6%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1181119
Fresh066
Picked011
Done022
Total11810128

Merged error: 7.5b

Counts
128 → 10

regimes389.0ms

Accuracy

95.5% (1.1b remaining)

Error of 6.7b against oracle of 5.6b and baseline of 29.3b

bsearch884.0ms

Steps
ItersRangePoint
10
1.3276812284778394e+80
7.239746687445401e+95
7.112223899555998e+94
9
6.316571832843378e-268
1.5817710304477146e-259
2.4401530635164625e-262
10
-4.8908751238470227e+154
-7.181262992992344e+144
-1.164448204895336e+151

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04326
14326

end0.0ms

analyze451.0ms

Algorithm
search

sample1.2s

Algorithm
intervals
Results
325.0ms1059×body2560valid
272.0ms5123×body80valid
218.0ms883×body1280valid
89.0ms464×body640valid
42.0ms115×body5120valid
37.0ms251×body320valid
33.0ms627×body80nan
23.0ms420×body80invalid
10.0ms105×body160valid

Profiling

Loading profile data...