Details

Time bar (total: 4.6s)

analyze503.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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
21.8%71.8%6.4%7
31.2%62.4%6.4%8
35.9%55.4%8.7%9
37.8%48.8%13.4%10
42.7%42.3%15%11
47.7%34.2%18.1%12
49.1%30.4%20.5%13
51.9%25.8%22.3%14

sample47.0ms

Algorithm
intervals
Results
12.0ms32×body2560valid
9.0ms166×body80valid
5.0ms21×body1280valid
4.0ms19×body640valid
3.0msbody5120valid
1.0ms20×body80nan
1.0msbody320valid
1.0msbody160valid
1.0ms10×body80invalid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.6b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.8b
(- (* b b) (* 4.0 (* a c)))
1.2b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.4b
(sqrt (- (* b b) (* 4.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 → 70
Calls
4 calls:
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
4.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series70.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
9.0ms
(- (* b b) (* 4.0 (* a c)))
18.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify47.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0394773
11501683
25002673

prune161.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New75782
Fresh000
Picked011
Done000
Total75883

Merged error: 6.1b

Counts
83 → 8

localize13.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.8b
(- (* b b) (* 4.0 (* a c)))
1.2b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite33.0ms

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

series78.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05251585
125501372
250011305

prune151.0ms

Filtered
72 candidates to 126 candidates (-75.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1233126
Fresh336
Picked011
Done101
Total1277134

Merged error: 6.0b

Counts
134 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 (* 2.0 a)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
0.8b
(- (* b b) (* 4.0 (* a c)))
1.2b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
19×add-sqr-sqrt
13×add-cbrt-cube
12×*-un-lft-identity
10×prod-exp
add-cube-cbrt add-log-exp
pow1 associate-*l*
associate-*r*
flip3-- sqrt-prod flip--
sub-neg div-exp cbrt-unprod difference-of-squares
times-frac
cbrt-undiv distribute-rgt-in frac-times rec-exp distribute-lft-in sqrt-div diff-log 1-exp associate-*r/ distribute-lft-out--
rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down associate-*l/ *-commutative div-inv unswap-sqr
Counts
4 → 84
Calls
4 calls:
14.0ms
(* (/ 1 (* 2.0 a)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
4.0ms
(- (* b b) (* 4.0 (* a c)))
9.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series77.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* (/ 1 (* 2.0 a)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
9.0ms
(- (* b b) (* 4.0 (* a c)))
15.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify56.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0453918
12083801
25002799

prune132.0ms

Filtered
66 candidates to 96 candidates (-45.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New96096
Fresh055
Picked011
Done011
Total967103

Merged error: 6.0b

Counts
103 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.2b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.4b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt sqrt-prod
add-exp-log sqrt-div sum-log add-cbrt-cube distribute-lft-out
+-commutative neg-sub0 associate-+l- rem-sqrt-square flip3-- distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 neg-log flip-- flip-+
Counts
4 → 60
Calls
4 calls:
10.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
8.0ms
(+ (neg 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))))

series60.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify110.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0211596
1802556
23351536
35001532

prune145.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New72072
Fresh044
Picked011
Done022
Total72779

Merged error: 6.0b

Counts
79 → 7

regimes296.0ms

Accuracy

88.7% (3.2b remaining)

Error of 8.7b against oracle of 5.5b and baseline of 33.9b

bsearch628.0ms

Steps
ItersRangePoint
8
6.029001116355918e+25
1.6676262361556963e+28
1.0861034364166031e+28
7
1.7100919896914193e-235
3.9743121543390314e-234
1.903249263771736e-235
6
-9.30457335168013e+120
-6.183477667694778e+119
-1.2770854895858139e+120

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04832
14832

end0.0ms

analyze467.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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
21.8%71.8%6.4%7
31.2%62.4%6.4%8
35.9%55.4%8.7%9
37.8%48.8%13.4%10
42.7%42.3%15%11
47.7%34.2%18.1%12
49.1%30.4%20.5%13
51.9%25.8%22.3%14

sample1.3s

Algorithm
intervals
Results
329.0ms1059×body2560valid
296.0ms5140×body80valid
216.0ms862×body1280valid
101.0ms485×body640valid
45.0ms119×body5120valid
34.0ms227×body320valid
31.0ms603×body80nan
22.0ms415×body80invalid
11.0ms108×body160valid

Profiling

Loading profile data...