Details

Time bar (total: 4.1s)

analyze447.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

sample44.0ms

Algorithm
intervals
Results
11.0ms167×body80valid
8.0ms35×body1280valid
8.0ms27×body2560valid
3.0ms18×body640valid
1.0ms14×body80invalid
1.0msbody320valid
1.0ms16×body80nan
1.0msbody5120valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05017
15017

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 35.7b

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.2b
(- (* b b) (* 4.0 (* a c)))
0.2b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
24.2b
(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 → 75
Calls
4 calls:
11.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
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))))

series60.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
8.0ms
(- (* b b) (* 4.0 (* a c)))
15.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
17.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
056641454

prune162.0ms

Filtered
64 candidates to 87 candidates (-35.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New78987
Fresh000
Picked101
Done000
Total79988

Merged error: 6.8b

Counts
88 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* 4.0 (* a c)))
0.2b
(* (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* a 2.0)))
0.2b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
24.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite33.0ms

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

series55.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* 4.0 (* a c)))
18.0ms
(* (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* a 2.0)))
15.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
13.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify51.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
051931531

prune136.0ms

Filtered
64 candidates to 95 candidates (-48.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New93295
Fresh358
Picked011
Done000
Total968104

Merged error: 6.8b

Counts
104 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
5.1b
(/ (/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))) (* 2.0 a))
11.6b
(/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
24.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite46.0ms

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

series129.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
43.0ms
(/ (/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))) (* 2.0 a))
58.0ms
(/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify49.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
050302415

prune174.0ms

Filtered
80 candidates to 122 candidates (-52.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1202122
Fresh066
Picked011
Done011
Total12010130

Merged error: 6.7b

Counts
130 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ c (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
0.2b
(- (* b b) (* 4.0 (* a c)))
0.6b
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
24.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite28.0ms

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

series85.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049701398
149701398

prune126.0ms

Filtered
68 candidates to 91 candidates (-33.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New90191
Fresh167
Picked101
Done022
Total929101

Merged error: 6.7b

Counts
101 → 9

regimes304.0ms

Accuracy

84.3% (4.5b remaining)

Error of 9.9b against oracle of 5.4b and baseline of 34.2b

bsearch339.0ms

Steps
ItersRangePoint
4
1.3385522824099182e+107
2.5817609460188806e+107
1.8526227140702638e+107
8
-5.998972135711252e-68
-1.1319009519835325e-70
-3.600616946333796e-70

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03437
13437

end0.0ms

analyze440.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.2s

Algorithm
intervals
Results
333.0ms1093×body2560valid
265.0ms5098×body80valid
213.0ms886×body1280valid
91.0ms470×body640valid
41.0ms116×body5120valid
33.0ms220×body320valid
29.0ms595×body80nan
19.0ms365×body80invalid
11.0ms117×body160valid

Profiling

Loading profile data...