Details

Time bar (total: 5.0s)

analyze450.0ms

Algorithm
search

sample46.0ms

Algorithm
intervals
Results
12.0ms42×body2560valid
8.0ms151×body80valid
7.0ms29×body1280valid
4.0ms19×body640valid
2.0msbody5120valid
1.0ms20×body80nan
1.0msbody320valid
0.0msbody80invalid
0.0msbody160valid

simplify10.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: 35.4b

Counts
2 → 1

localize16.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.6b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite28.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))
3.0ms
(- (* b b) (* 4.0 (* a c)))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series66.0ms

Counts
4 → 12
Calls
4 calls:
28.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))))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0394773
11501683
25002673

prune151.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New74882
Fresh000
Picked011
Done000
Total74983

Merged error: 6.1b

Counts
83 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.4b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
8.8b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
16.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series134.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06352693
129742447
250012434

prune271.0ms

Filtered
111 candidates to 166 candidates (-49.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1642166
Fresh257
Picked011
Done011
Total1669175

Merged error: 6.0b

Counts
175 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ 4.0 (/ 2.0 (* a c)))
0.8b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
14.6b
(* (/ 4.0 (/ 2.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) a))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
221×times-frac
165×add-sqr-sqrt
138×*-un-lft-identity
103×add-exp-log
96×add-cube-cbrt
85×associate-*r*
67×add-cbrt-cube
54×div-exp
32×cbrt-undiv
26×associate-*l* prod-exp
20×distribute-lft-out-- difference-of-squares
16×cbrt-unprod
13×sqrt-prod div-inv
10×distribute-rgt-neg-in
associate-/r/ add-log-exp unswap-sqr
pow1 associate-/r*
flip3-- flip--
rec-exp 1-exp
associate-/l*
sqrt-div diff-log
associate--l- neg-sub0 frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num *-commutative
Counts
4 → 244
Calls
4 calls:
6.0ms
(/ 4.0 (/ 2.0 (* a c)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
56.0ms
(* (/ 4.0 (/ 2.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) a))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series80.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
256 → 256
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013933426
150022945

prune411.0ms

Filtered
165 candidates to 256 candidates (-55.2%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2560256
Fresh066
Picked011
Done022
Total2569265

Merged error: 6.0b

Counts
265 → 9

localize12.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.2b
(- (* b b) (* 4.0 (* a c)))
0.6b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

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

series76.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05251585
125501372
250011305

prune124.0ms

Filtered
71 candidates to 126 candidates (-77.5%)
Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New1251126
Fresh145
Picked011
Done033
Total1269135

Merged error: 6.0b

Counts
135 → 9

regimes407.0ms

Accuracy

88.6% (3.1b remaining)

Error of 8.3b against oracle of 5.1b and baseline of 32.5b

bsearch533.0ms

Steps
ItersRangePoint
8
1.1344596947434557e+44
1.7587978671157717e+47
6.803825997763841e+46
4
1.0383840758260193e-138
1.6537116651443586e-138
1.0527671810604839e-138
5
-2.4082024510636466e+117
-1.0457114575651237e+117
-2.334250401022177e+117

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04228
14428
24428

end0.0ms

analyze443.0ms

Algorithm
search

sample1.2s

Algorithm
intervals
Results
326.0ms1112×body2560valid
266.0ms5086×body80valid
224.0ms926×body1280valid
83.0ms438×body640valid
34.0ms96×body5120valid
33.0ms233×body320valid
31.0ms631×body80nan
20.0ms387×body80invalid
10.0ms109×body160valid

Profiling

Loading profile data...