Details

Time bar (total: 3.8s)

analyze461.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%74.9%0.1%6
25%68.6%6.4%7
31.2%62.4%6.4%8
36.7%54.6%8.7%9
38.2%48.4%13.4%10
42.7%42.3%15%11
47.8%34.1%18.1%12
49.1%30.3%20.5%13
51.9%25.8%22.3%14

sample41.0ms

Algorithm
intervals
Results
9.0ms180×body80valid
9.0ms29×body1280valid
6.0ms21×body2560valid
2.0ms11×body640valid
1.0ms23×body80nan
1.0msbody5120valid
1.0msbody320valid
1.0ms12×body80invalid
0.0msbody160valid

simplify180.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (178.0ms)

IterNodesCost
0178416
1178416

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 29.8b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.5b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
1.9b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
19.9b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite29.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-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 69
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series64.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 3.0 a) c))
25.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
17.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
058991226

prune189.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New711081
Fresh000
Picked101
Done000
Total721082

Merged error: 5.0b

Counts
82 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.4b
(/ 1 (* 3.0 a))
1.9b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
19.9b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite21.0ms

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

series38.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
04889824
14889824

prune165.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New78381
Fresh279
Picked011
Done000
Total801191

Merged error: 5.0b

Counts
91 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* 3.0 (* a c)))
0.2b
(* 3.0 (* a c))
1.9b
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)
19.9b
(sqrt (- (* b b) (* 3.0 (* a c))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×pow1
add-exp-log add-cbrt-cube
*-un-lft-identity add-log-exp
add-cube-cbrt
sqrt-prod
flip3-- associate-*l* pow-prod-down prod-exp flip-- cbrt-unprod
sub-neg sqrt-div diff-log difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r* *-commutative distribute-lft-out--
Counts
4 → 58
Calls
4 calls:
4.0ms
(- (* b b) (* 3.0 (* a c)))
5.0ms
(* 3.0 (* a c))
7.0ms
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

series39.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* 3.0 (* a c)))
3.0ms
(* 3.0 (* a c))
14.0ms
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)
14.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

simplify41.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
04938809
14938809

prune142.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New69170
Fresh099
Picked011
Done011
Total691281

Merged error: 5.0b

Counts
81 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.2b
(* (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (/ 0.3333333333333333 a))
1.9b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
19.9b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite35.0ms

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

series63.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 3.0 a) c))
25.0ms
(* (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (/ 0.3333333333333333 a))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify62.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049731414
149731414

prune151.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New90191
Fresh279
Picked011
Done022
Total9211103

Merged error: 5.0b

Counts
103 → 11

regimes514.0ms

Accuracy

87.7% (3.5b remaining)

Error of 9.1b against oracle of 5.6b and baseline of 34.0b

bsearch103.0ms

Steps
ItersRangePoint
9
3.941840907108429e+21
5.2616773805123306e+26
1.6062084660570117e+25
11
1.421928872855589e-225
3.3149207510730995e-205
9.589091698821888e-216
8
-6.283062771645217e+155
-4.3224285963270155e+152
-2.7824475285260255e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
014075
114075

end0.0ms

sample1.2s

Algorithm
intervals
Results
330.0ms1115×body2560valid
261.0ms5136×body80valid
210.0ms887×body1280valid
84.0ms433×body640valid
38.0ms98×body5120valid
35.0ms714×body80nan
31.0ms224×body320valid
19.0ms345×body80invalid
10.0ms107×body160valid

Profiling

Loading profile data...