Details

Time bar (total: 4.5s)

analyze487.0ms

Algorithm
search

sample35.0ms

Algorithm
intervals
Results
21.0ms256×body80valid
2.0ms20×body80invalid
2.0ms20×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 17.3b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

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

series59.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0248644
1898606
23865590
35001586

prune169.0ms

Filtered
60 candidates to 75 candidates (-25.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New71475
Fresh000
Picked101
Done000
Total72476

Merged error: 5.6b

Counts
76 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

1.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.3b
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
5.3b
(/ (* a c) b)
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite26.0ms

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

series48.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0483657
12202575
25002570

prune164.0ms

Filtered
66 candidates to 87 candidates (-31.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New84387
Fresh033
Picked101
Done000
Total85691

Merged error: 4.5b

Counts
91 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
1.2b
(- (* b b) (* (* 4.0 a) c))
1.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.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:
11.0ms
(/ (* 2.0 c) (+ (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))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series87.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0375757
11596658
25001645

prune150.0ms

Filtered
61 candidates to 81 candidates (-32.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New78381
Fresh145
Picked101
Done000
Total80787

Merged error: 4.3b

Counts
87 → 7

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 2.0 (/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) c))
1.2b
(- (* b b) (* (* 4.0 a) c))
1.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
117×times-frac
113×*-un-lft-identity
62×add-sqr-sqrt
61×add-cube-cbrt
26×distribute-lft-out
19×associate-/r*
13×distribute-rgt-neg-in
10×add-log-exp
add-exp-log add-cbrt-cube
pow1 div-inv
cbrt-undiv div-exp sqrt-prod associate-/l*
flip3-- sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log neg-log clear-num associate-/r/ flip-+
Counts
4 → 136
Calls
4 calls:
13.0ms
(/ 2.0 (/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) 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)))

series61.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05881909
124601816
250011810

prune230.0ms

Filtered
102 candidates to 148 candidates (-45.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1471148
Fresh156
Picked011
Done000
Total1487155

Merged error: 3.3b

Counts
155 → 7

regimes255.0ms

Accuracy

93.3% (1.1b remaining)

Error of 6.5b against oracle of 5.4b and baseline of 21.4b

bsearch762.0ms

Steps
ItersRangePoint
8
9.144327109996892e+76
1.3276812284778394e+80
1.3032715722902576e+80
10
-4.333399588719628e-307
6.755413889334521e-300
-2.7627623064713e-311
9
-5.864897776381327e+156
-7.426998906524376e+148
-6.156948689723155e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06874
17074
27074

end0.0ms

analyze485.0ms

Algorithm
search

sample954.0ms

Algorithm
intervals
Results
677.0ms8000×body80valid
56.0ms671×body80nan
31.0ms385×body80invalid

Profiling

Loading profile data...