Details

Time bar (total: 4.6s)

analyze445.0ms

Algorithm
search

sample45.0ms

Algorithm
intervals
Results
9.0ms29×body1280valid
9.0ms31×body2560valid
8.0ms161×body80valid
3.0ms15×body640valid
2.0ms12×body320valid
1.0msbody5120valid
1.0ms26×body80nan
0.0ms10×body80invalid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.2b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.4b
(- (* b b) (* 4.0 (* a c)))
0.9b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
20.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite27.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 → 77
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))))

series59.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))))

simplify43.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0398888
11466803
25001798

prune162.0ms

Filtered
65 candidates to 89 candidates (-36.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New81889
Fresh000
Picked011
Done000
Total81990

Merged error: 4.6b

Counts
90 → 9

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.4b
(- (* b b) (* 4.0 (* a c)))
0.9b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
20.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
67×times-frac
48×add-sqr-sqrt
47×*-un-lft-identity
27×add-cube-cbrt
25×add-exp-log
13×associate-/r* add-cbrt-cube
12×div-exp
10×distribute-lft-out-- add-log-exp difference-of-squares
associate-/r/
sqrt-prod
flip3-- flip--
pow1
cbrt-undiv distribute-rgt-neg-in div-inv
rec-exp diff-log 1-exp prod-exp associate-/l*
sub-neg sqrt-div
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 125
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)))
9.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series72.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05381801
125731602
250021528

prune154.0ms

Filtered
73 candidates to 137 candidates (-87.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1334137
Fresh527
Picked101
Done011
Total1397146

Merged error: 4.6b

Counts
146 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

1.9b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
11.2b
(/ (* (/ 1 2.0) (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) a)
16.1b
(- (pow b 2) (pow b 2))
20.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
23×*-un-lft-identity
22×unpow-prod-down
19×add-exp-log
16×difference-of-squares
15×add-cube-cbrt
13×add-cbrt-cube
12×unpow2 sqr-pow
10×distribute-rgt-out-- add-log-exp
distribute-lft-out--
div-exp
pow1 associate-/l/
cbrt-undiv prod-exp
flip3-+ times-frac associate-/r* sqrt-prod flip-+
frac-times flip3-- sqrt-div associate-*r/ sum-log flip-- cbrt-unprod distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square rec-exp distribute-rgt-neg-in frac-2neg sqrt-pow1 pow1/2 +-inverses diff-log 1-exp neg-log associate-*l/ clear-num div-inv associate-/l*
Counts
4 → 107
Calls
4 calls:
7.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
20.0ms
(/ (* (/ 1 2.0) (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) a)
7.0ms
(- (pow b 2) (pow b 2))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series33.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(/ (* (/ 1 2.0) (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) a)
1.0ms
(- (pow b 2) (pow b 2))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify200.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (190.0ms)

IterNodesCost
0590777
13981571
25002555

prune200.0ms

Filtered
79 candidates to 119 candidates (-50.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1172119
Fresh055
Picked101
Done011
Total1188126

Merged error: 4.6b

Counts
126 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.9b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
20.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite25.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-/r*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv flip3-- flip3-+ sqrt-div div-exp sum-log associate-/r/ flip-- flip-+
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log neg-log prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 69
Calls
4 calls:
10.0ms
(/ (* 2.0 c) (+ (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)))))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series89.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0374757
11550658
25002645

prune100.0ms

Filtered
60 candidates to 81 candidates (-35.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New78381
Fresh336
Picked011
Done011
Total81889

Merged error: 4.6b

Counts
89 → 8

regimes327.0ms

Accuracy

95% (1.2b remaining)

Error of 6.9b against oracle of 5.7b and baseline of 29.6b

bsearch642.0ms

Steps
ItersRangePoint
9
1.4890696065677669e+56
2.670383127192816e+62
8.507949512374696e+61
4
3.4350767417723785e-237
5.70701445617709e-237
3.4936871713412144e-237
8
-1.5025131698978002e+154
-5.606218013898765e+150
-1.294421671741153e+152

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04024
14024

end0.0ms

analyze448.0ms

Algorithm
search

sample1.2s

Algorithm
intervals
Results
310.0ms1073×body2560valid
270.0ms5127×body80valid
212.0ms870×body1280valid
89.0ms445×body640valid
41.0ms111×body5120valid
36.0ms252×body320valid
36.0ms692×body80nan
18.0ms353×body80invalid
12.0ms122×body160valid

Profiling

Loading profile data...