Details

Time bar (total: 2.7s)

sample43.0ms

Algorithm
intervals
Results
9.0ms205×body80valid
8.0ms29×body2560valid
6.0ms28×body1280valid
4.0ms94×body80nan
2.0ms12×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.0b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.6b
(- (* b b) (* (* 3.0 a) c))
0.8b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.0b
(sqrt (- (* b b) (* (* 3.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) (* (* 3.0 a) c)))) (* 3.0 a))
3.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series292.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
45.0ms
(- (* b b) (* (* 3.0 a) c))
77.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0400780
11529686
25002675

prune191.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New75782
Fresh000
Picked011
Done000
Total75883

Merged error: 6.0b

Counts
83 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (* 3.0 a))
0.6b
(- (* b b) (* (* 3.0 a) c))
0.8b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite21.0ms

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

series205.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ 1 (* 3.0 a))
46.0ms
(- (* b b) (* (* 3.0 a) c))
75.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
68.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0338490
11380443
25001427

prune159.0ms

Filtered
82 candidates to 54 candidates (65.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New81182
Fresh066
Picked011
Done011
Total81990

Merged error: 6.0b

Counts
90 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 3.0) (/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
0.6b
(- (* b b) (* (* 3.0 a) c))
0.8b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt *-un-lft-identity
31×times-frac
26×add-exp-log
21×add-cube-cbrt
19×associate-*r*
16×add-cbrt-cube
13×associate-*l*
10×add-log-exp
div-exp prod-exp distribute-lft-out
pow1
unswap-sqr
cbrt-undiv distribute-rgt-neg-in cbrt-unprod
sqrt-prod
rec-exp flip3-- sqrt-div 1-exp sum-log flip-- div-inv
+-commutative neg-sub0 frac-times associate-+l- sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ pow-prod-down neg-log associate-*l/ *-commutative flip-+
Counts
4 → 104
Calls
4 calls:
19.0ms
(* (/ 1 3.0) (/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
3.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series295.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* (/ 1 3.0) (/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
45.0ms
(- (* b b) (* (* 3.0 a) c))
77.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify71.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06121234
129861078
250021068

prune234.0ms

Filtered
116 candidates to 79 candidates (68.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1151116
Fresh156
Picked101
Done022
Total1178125

Merged error: 6.0b

Counts
125 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
0.8b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt sqrt-prod
add-exp-log sqrt-div sum-log add-cbrt-cube distribute-lft-out
+-commutative neg-sub0 associate-+l- rem-sqrt-square flip3-- distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 neg-log flip-- flip-+
Counts
4 → 60
Calls
4 calls:
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series286.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
75.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
67.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify100.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0217598
1808556
23289534
35001530

prune207.0ms

Filtered
72 candidates to 60 candidates (83.3%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New72072
Fresh055
Picked011
Done022
Total72880

Merged error: 6.0b

Counts
80 → 8

regimes376.0ms

bsearch4.0ms

Profiling

Loading profile data...