Details

Time bar (total: 5.2s)

analyze738.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
12.5%87.4%0.1%6
20.3%73.3%6.4%7
27.3%66.3%6.4%8
38.2%53%8.7%9
46%40.6%13.4%10
49.9%35.1%15%11
54.9%26.9%18.1%12
57.4%22%20.6%13
59.7%18%22.4%14

sample42.0ms

Algorithm
intervals
Results
23.0ms256×body80valid
3.0ms27×body80nan
2.0ms20×body80invalid

simplify443.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05738
15738

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 19.8b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite34.0ms

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

series60.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04963913
14963913

prune184.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New61768
Fresh000
Picked101
Done000
Total62769

Merged error: 5.6b

Counts
69 → 7

localize26.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
2.1b
(* c (/ a b))
3.6b
(/ (- (* 2.0 (* c (/ a b))) (+ b b)) (* 2.0 a))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
14×add-exp-log add-cbrt-cube
13×times-frac associate-*r*
pow1
add-log-exp
associate-*r/
associate-/l/
cbrt-undiv flip3-- div-exp associate-*l* prod-exp sqrt-prod flip-- cbrt-unprod associate-/l*
sqrt-div frac-sub div-inv unswap-sqr
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log div-sub pow-prod-down clear-num associate-/r* *-commutative flip-+
Counts
4 → 84
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
6.0ms
(* c (/ a b))
13.0ms
(/ (- (* 2.0 (* c (/ a b))) (+ b b)) (* 2.0 a))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series44.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049711082
149711082

prune198.0ms

Filtered
73 candidates to 96 candidates (-31.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New90696
Fresh336
Picked101
Done000
Total949103

Merged error: 5.5b

Counts
103 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 c) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.5b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.0b
(- (* b b) (* (* 4.0 a) c))
23.2b
(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-/r*
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-/r/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 neg-log prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 74
Calls
4 calls:
11.0ms
(/ (* 2.0 c) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series89.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ (* 2.0 c) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
15.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(- (* b b) (* (* 4.0 a) c))
16.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify62.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049591384
149591384

prune180.0ms

Filtered
67 candidates to 86 candidates (-28.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New82486
Fresh358
Picked101
Done000
Total86995

Merged error: 5.5b

Counts
95 → 9

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 2.0 c) (/ 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
0.5b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.0b
(- (* b b) (* 4.0 (* a c)))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
32×*-un-lft-identity
27×associate-*r*
26×add-exp-log
21×times-frac
16×add-cube-cbrt add-cbrt-cube
12×prod-exp
10×pow1 add-log-exp
distribute-lft-out-- difference-of-squares
sqrt-prod
cbrt-unprod
flip3-- distribute-rgt-neg-in div-exp flip--
diff-log pow-prod-down
cbrt-undiv sub-neg rec-exp sqrt-div 1-exp associate-/r/
associate--l- neg-sub0 rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ associate-*l* neg-log un-div-inv *-commutative div-inv
Counts
4 → 95
Calls
4 calls:
15.0ms
(* (* 2.0 c) (/ 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
5.0ms
(- (* b b) (* 4.0 (* a c)))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series85.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049941621
149941621

prune138.0ms

Filtered
69 candidates to 107 candidates (-55.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh088
Picked011
Done000
Total10610116

Merged error: 5.5b

Counts
116 → 10

regimes336.0ms

Accuracy

92.8% (1.1b remaining)

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

bsearch680.0ms

Steps
ItersRangePoint
8
5.577324776364052e+100
1.6720001984542291e+103
1.3541818436210891e+101
10
-4.850209077949418e-236
-2.648215819544756e-246
-2.68629153848681e-246
5
-6.112864252289094e+90
-2.534970147017114e+90
-6.032911191180909e+90

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067126
167126

end0.0ms

analyze512.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
12.5%87.4%0.1%6
20.3%73.3%6.4%7
27.3%66.3%6.4%8
38.2%53%8.7%9
46%40.6%13.4%10
49.9%35.1%15%11
54.9%26.9%18.1%12
57.4%22%20.6%13
59.7%18%22.4%14

sample1.0s

Algorithm
intervals
Results
721.0ms8000×body80valid
59.0ms678×body80nan
36.0ms401×body80invalid

Profiling

Loading profile data...