Details

Time bar (total: 4.5s)

sample58.0ms

Algorithm
intervals
Results
13.0ms34×body2560valid
11.0ms194×body80valid
8.0ms29×body1280valid
5.0ms92×body80nan
3.0ms13×body640valid
1.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune2.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: 32.1b

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))
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.6b
(sqrt (- (* b b) (* (* 4.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) (* (* 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))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series286.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
41.0ms
(- (* b b) (* (* 4.0 a) c))
75.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0405779
11563685
25001674

prune199.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New73982
Fresh000
Picked101
Done000
Total74983

Merged error: 6.0b

Counts
83 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
0.4b
(- (* b b) (* (* 4.0 a) c))
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite35.0ms

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

series312.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(* (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
45.0ms
(- (* b b) (* (* 4.0 a) c))
73.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify62.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0481920
12189790
25001777

prune202.0ms

Filtered
92 candidates to 65 candidates (70.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New91192
Fresh268
Picked011
Done000
Total938101

Merged error: 6.0b

Counts
101 → 8

localize12.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))
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

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

series339.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
42.0ms
(- (* b b) (* (* 4.0 a) c))
76.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify101.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
05251586
125701373
250011306

prune230.0ms

Filtered
126 candidates to 71 candidates (56.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1233126
Fresh336
Picked101
Done011
Total1277134

Merged error: 5.9b

Counts
134 → 7

localize27.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))))
10.8b
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
flip3-- flip-- add-log-exp
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times
rem-sqrt-square associate-*r/ associate-*l/ sum-log
+-commutative pow2 neg-sub0 associate-+l- flip3-+ pow-plus sqrt-unprod neg-log prod-exp rem-square-sqrt *-commutative cbrt-unprod flip-+
Counts
4 → 126
Calls
4 calls:
15.0ms
(* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series275.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03371382
114041213
250011175

prune305.0ms

Filtered
138 candidates to 78 candidates (56.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1380138
Fresh055
Picked011
Done011
Total1387145

Merged error: 5.9b

Counts
145 → 7

regimes179.0ms

Accuracy

89.9% (3.0b remaining)

Error of 8.3b against oracle of 5.3b and baseline of 34.6b

bsearch186.0ms

Steps
ItersRangePoint
8
1.3889487570498298e+76
5.0983209320788285e+78
4.404095572199115e+76
6
8.311617275315721e-208
1.2391898617977871e-206
1.3799070328184513e-207
9
-4.225393322780344e+106
-5.495421239091533e+98
-3.944298534745975e+106

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05332
15332

end0.0ms

sample1.5s

Algorithm
intervals
Results
351.0ms1178×body2560valid
301.0ms5750×body80valid
219.0ms912×body1280valid
159.0ms2942×body80nan
90.0ms450×body640valid
40.0ms102×body5120valid
34.0ms233×body320valid
10.0ms109×body160valid

Profiling

Loading profile data...