Details

Time bar (total: 6.9s)

sample102.0ms

Algorithm
intervals
Results
53.0ms282×body80valid
14.0ms89×body80nan

simplify417.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (414.0ms)

IterNodesCost
0353237
1353237

prune29.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.8b

Counts
2 → 2

localize44.0ms

Local error

Found 4 expressions with local error:

1.7b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.8b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite60.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:
17.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
18.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series117.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
30.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
28.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
30.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify112.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
049001074
149001074

prune414.0ms

Filtered
63 candidates to 75 candidates (-19.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New68775
Fresh101
Picked101
Done000
Total70777

Merged error: 6.0b

Counts
77 → 7

localize52.0ms

Local error

Found 4 expressions with local error:

1.7b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.6b
(/ (+ (* 2.0 (* c (/ a b))) (* b -2)) (* 2.0 a))
4.7b
(* c (/ a b))
24.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite69.0ms

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

series100.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
31.0ms
(/ (+ (* 2.0 (* c (/ a b))) (* b -2)) (* 2.0 a))
9.0ms
(* c (/ a b))
28.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
051031167

prune374.0ms

Filtered
74 candidates to 97 candidates (-31.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New91697
Fresh426
Picked101
Done000
Total968104

Merged error: 6.0b

Counts
104 → 8

localize40.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.7b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite55.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:
22.0ms
(/ (* 2.0 c) (+ (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))))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series168.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
056651174

prune354.0ms

Filtered
64 candidates to 81 candidates (-26.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New73881
Fresh437
Picked101
Done000
Total781189

Merged error: 6.0b

Counts
89 → 11

localize53.0ms

Local error

Found 4 expressions with local error:

1.7b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.6b
(/ (+ (* 2.0 (* (/ c (* (cbrt b) (cbrt b))) (/ a (cbrt b)))) (* b -2)) (* 2.0 a))
3.0b
(* (/ c (* (cbrt b) (cbrt b))) (/ a (cbrt b)))
24.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
31×times-frac
30×add-exp-log
26×*-un-lft-identity
23×add-cbrt-cube
22×add-cube-cbrt associate-*r*
11×cbrt-prod
cbrt-undiv div-exp prod-exp cbrt-unprod
add-log-exp
pow1 associate-*l*
unswap-sqr
sqrt-prod div-inv associate-/l*
flip3-+ sqrt-div sum-log flip-+ associate-/l/ distribute-lft-out
+-commutative neg-sub0 frac-times associate-+l- rem-sqrt-square flip3-- distribute-rgt-neg-in frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num associate-/r* *-commutative flip--
Counts
4 → 112
Calls
4 calls:
18.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
29.0ms
(/ (+ (* 2.0 (* (/ c (* (cbrt b) (cbrt b))) (/ a (cbrt b)))) (* b -2)) (* 2.0 a))
26.0ms
(* (/ c (* (cbrt b) (cbrt b))) (/ a (cbrt b)))
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series107.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
35.0ms
(/ (+ (* 2.0 (* (/ c (* (cbrt b) (cbrt b))) (/ a (cbrt b)))) (* b -2)) (* 2.0 a))
18.0ms
(* (/ c (* (cbrt b) (cbrt b))) (/ a (cbrt b)))
25.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify113.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (89.0ms)

IterNodesCost
049751638
149751638

prune412.0ms

Filtered
96 candidates to 124 candidates (-29.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1222124
Fresh01010
Picked101
Done000
Total12312135

Merged error: 6.0b

Counts
135 → 12

regimes722.0ms

Accuracy

92% (1.2b remaining)

Error of 6.9b against oracle of 5.6b and baseline of 21.2b

bsearch102.0ms

Steps
ItersRangePoint
5
1.1994113433831075e+59
2.551497614016684e+59
2.517726559601462e+59
9
-3.834665564060995e+111
-7.937815030826972e+105
-1.281214642187557e+111

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0174152
1174152

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.4s8707×body80valid
452.0ms2935×body80nan

Profiling

Loading profile data...