Details

Time bar (total: 5.0s)

analyze729.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
0%99.9%0.1%5
12.5%87.4%0.1%6
20.3%73.3%6.4%7
27.3%66.3%6.4%8
38.2%53%8.7%9
46%40.6%13.4%10
49.9%35.1%15%11
54.9%26.9%18.1%12
57.4%22%20.6%13
59.7%18%22.4%14

sample39.0ms

Algorithm
intervals
Results
23.0ms256×body80valid
2.0ms22×body80nan
1.0ms10×body80invalid

simplify407.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05738
15738

prune23.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: 21.8b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
2.1b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

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

series66.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
19.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify36.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04963913
14963913

prune185.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New60868
Fresh000
Picked101
Done000
Total61869

Merged error: 7.2b

Counts
69 → 8

localize28.0ms

Local error

Found 4 expressions with local error:

2.1b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0b
(* c (/ a b))
3.5b
(/ (* 2.0 c) (- (neg b) (- b (* 2.0 (* c (/ a b))))))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
25×add-sqr-sqrt
16×times-frac
15×add-cube-cbrt
14×add-exp-log add-cbrt-cube
13×associate-*r*
add-log-exp
pow1
associate-/r*
distribute-lft-out--
cbrt-undiv distribute-rgt-neg-in div-exp associate-*l* prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log associate-/r/ flip-- div-inv distribute-lft-out difference-of-squares unswap-sqr
+-commutative neg-sub0 associate-+l- rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down neg-log clear-num *-commutative flip-+ associate-/l*
Counts
4 → 91
Calls
4 calls:
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
7.0ms
(* c (/ a b))
9.0ms
(/ (* 2.0 c) (- (neg b) (- b (* 2.0 (* c (/ a b))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series62.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
053811278

prune211.0ms

Filtered
77 candidates to 103 candidates (-33.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New976103
Fresh347
Picked101
Done000
Total10110111

Merged error: 7.1b

Counts
111 → 10

localize33.0ms

Local error

Found 4 expressions with local error:

3.5b
(/ (* 2.0 c) (- (neg b) (- b (* 2.0 (* c (/ a b))))))
12.1b
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c)))))))
24.2b
(sqrt (- (* b b) (* 4.0 (* a c))))
24.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite23.0ms

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

series71.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
049461251
149461251

prune220.0ms

Filtered
64 candidates to 84 candidates (-31.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New83184
Fresh099
Picked101
Done000
Total841094

Merged error: 7.1b

Counts
94 → 10

localize30.0ms

Local error

Found 4 expressions with local error:

7.3b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c)))))))
24.2b
(sqrt (- (* b b) (* 4.0 (* a c))))
24.2b
(sqrt (- (* b b) (* 4.0 (* a c))))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 59
Calls
4 calls:
4.0ms
(- (neg b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c)))))))
5.0ms
(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 (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (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))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05080983

prune176.0ms

Filtered
61 candidates to 71 candidates (-16.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New70171
Fresh189
Picked011
Done000
Total711081

Merged error: 7.1b

Counts
81 → 10

regimes326.0ms

Accuracy

93% (1.0b remaining)

Error of 6.5b against oracle of 5.5b and baseline of 19.7b

bsearch575.0ms

Steps
ItersRangePoint
8
1.4510983022418856e+94
8.522349741829671e+97
3.921780894513456e+97
9
-9.227781755529824e+134
-5.174829238339161e+129
-9.42133325574221e+131

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063133
163133

end0.0ms

analyze499.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
0%99.9%0.1%5
12.5%87.4%0.1%6
20.3%73.3%6.4%7
27.3%66.3%6.4%8
38.2%53%8.7%9
46%40.6%13.4%10
49.9%35.1%15%11
54.9%26.9%18.1%12
57.4%22%20.6%13
59.7%18%22.4%14

sample976.0ms

Algorithm
intervals
Results
695.0ms8000×body80valid
53.0ms665×body80nan
38.0ms406×body80invalid

Profiling

Loading profile data...