Details

Time bar (total: 4.7s)

analyze463.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
10.0ms34×body2560valid
9.0ms166×body80valid
7.0ms28×body1280valid
3.0ms15×body640valid
2.0msbody5120valid
1.0ms18×body80nan
1.0ms12×body80invalid
1.0msbody320valid
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: 33.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.4b
(- (* b b) (* 4.0 (* a c)))
0.8b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.5b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite30.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:
13.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))))

series57.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)))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify47.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
056641454

prune164.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New771087
Fresh000
Picked101
Done000
Total781088

Merged error: 4.1b

Counts
88 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
4.9b
(/ (/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))) (* 2.0 a))
8.6b
(/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
21.5b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite44.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:
8.0ms
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
16.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))))

series133.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
46.0ms
(/ (/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))) (* 2.0 a))
59.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 (35.0ms)

IterNodesCost
050302415

prune174.0ms

Filtered
81 candidates to 122 candidates (-50.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1193122
Fresh459
Picked101
Done000
Total1248132

Merged error: 4.0b

Counts
132 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ c (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.1b
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
21.5b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite31.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:
12.0ms
(/ c (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
4.0ms
(- (* b b) (* 4.0 (* a c)))
9.0ms
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series86.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ c (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
9.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 (38.0ms)

IterNodesCost
049701398
149701398

prune146.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New89291
Fresh167
Picked011
Done000
Total90999

Merged error: 3.9b

Counts
99 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(* c (/ a (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))))
1.1b
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
4.9b
(/ (* 4.0 (* c (/ a (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))))) (* 2.0 a))
21.5b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
41×add-exp-log add-cbrt-cube
31×*-un-lft-identity
21×add-sqr-sqrt associate-*r*
17×times-frac
16×prod-exp cbrt-unprod
15×add-cube-cbrt
11×cbrt-undiv div-exp
distribute-lft-out add-log-exp
pow1
distribute-rgt-neg-in
associate-*r/ associate-*l* sqrt-prod
flip3-+ sqrt-div sum-log associate-/r/ flip-+ div-inv unswap-sqr
+-commutative neg-sub0 associate-+r- rem-sqrt-square flip3-- frac-2neg sqrt-pow1 pow1/2 unsub-neg pow-prod-down neg-log clear-num associate-/r* *-commutative flip-- associate-/l/ associate-/l*
Counts
4 → 101
Calls
4 calls:
15.0ms
(* c (/ a (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))))
8.0ms
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
16.0ms
(/ (* 4.0 (* c (/ a (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))))) (* 2.0 a))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series137.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
053981892

prune134.0ms

Filtered
74 candidates to 113 candidates (-52.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1121113
Fresh077
Picked011
Done011
Total11210122

Merged error: 3.9b

Counts
122 → 10

regimes505.0ms

Accuracy

95.4% (1.1b remaining)

Error of 6.6b against oracle of 5.5b and baseline of 30.0b

bsearch528.0ms

Steps
ItersRangePoint
7
3.992595040800578e+135
1.8924807240822056e+137
4.90748962395899e+136
6
4.392347151905198e-281
1.8688373648975135e-280
7.34590175634683e-281
5
-1.130439217872028e+121
-5.174635489623954e+120
-1.1128077792598092e+121

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05572
15572

end0.0ms

analyze457.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
320.0ms1047×body2560valid
281.0ms5144×body80valid
231.0ms899×body1280valid
94.0ms460×body640valid
43.0ms111×body5120valid
33.0ms623×body80nan
31.0ms207×body320valid
20.0ms373×body80invalid
13.0ms132×body160valid

Profiling

Loading profile data...